Added TypeAlias
- [ ] closes #52448 
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

After running `pre-commit run ruff --all-files` , getting around 26 errors related to line formatting.  See below
![5C39E5C9-9647-45EC-B6CF-34A6962325EF](https://user-images.githubusercontent.com/110608231/230336864-01dd28e1-b19d-4b5e-96a2-9e66c5a51976.jpeg)

Do I need to fix this in this Issue itself, or is there going to be a seperate one.? they'd need to be fixed as part of the same PR, CI need to be green before merging

what's causing the long lines now? Not sure whats causing this, as lines are within limit of 88 chars. Breaking up the line solves this issue though. if you push a commit I can take a look I think this is a false-positive in ruff itself - I've reported it to them here: https://github.com/charliermarsh/ruff/issues/3902

let's put this on hold until they get back to us > I think this is a false-positive in ruff itself - I've reported it to them here: [charliermarsh/ruff#3902](https://github.com/charliermarsh/ruff/issues/3902)
> 
> let's put this on hold until they get back to us

from https://github.com/charliermarsh/ruff/issues/3902 , it looks like we may just have to further split the lines