DOC: Add type hint for squeeze method
- [x] closes #60384 (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

This PR adds the missing type hint to the `squeeze` method in order to be consistent with the other methods in `core/generic.py`.

CI failures seem unrelated Thanks @jasonmokk 