DOC: ExcelWriter constructor types
#### Location of the documentation

[https://pandas.pydata.org/docs/dev/reference/api/pandas.ExcelWriter.html?highlight=excelwriter](https://pandas.pydata.org/docs/dev/reference/api/pandas.ExcelWriter.html?highlight=excelwriter)
or
[https://github.com/pandas-dev/pandas/blob/d9fff2792bf16178d4e450fe7384244e50635733/pandas/io/excel/_base.py#L544](https://github.com/pandas-dev/pandas/blob/d9fff2792bf16178d4e450fe7384244e50635733/pandas/io/excel/_base.py#L544)


#### Documentation problem

Parameter `path` has type `str`, but based on this feature [https://github.com/pandas-dev/pandas/issues/7074](url) I can pass `io.BytesIO`.

#### Suggested fix for documentation

Change type description to `str | io.BytesIO`.
