Repository: pandas-dev/pandas
Issue category: Feature Request

Issue:
DOC: Missing type hint for squeeze method
### Pandas version checks

- [X] I have checked that the issue still exists on the latest versions of the docs on `main` [here](https://pandas.pydata.org/docs/dev/)


### Location of the documentation

https://github.com/pandas-dev/pandas/blob/main/pandas/core/generic.py

### Documentation problem

The squeeze method is missing a type hint. 

### Suggested fix for documentation

Adding a type hint to the squeeze method to be consistent with the rest of the code. 


Hints:
Can confirm, specifically this line: https://github.com/pandas-dev/pandas/blob/1c986d6213904fd7d9acc5622dc91d029d3f1218/pandas/core/generic.py#L841

Patch:
diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 039bdf9c36ee7..a6be17a654aa7 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -838,7 +838,7 @@ def pop(self, item: Hashable) -> Series | Any:
         return result
 
     @final
-    def squeeze(self, axis: Axis | None = None):
+    def squeeze(self, axis: Axis | None = None) -> Scalar | Series | DataFrame:
         """
         Squeeze 1 dimensional axis objects into scalars.
 


Test patch: