CI/TYP: Window typing followup
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them

I believe https://github.com/pandas-dev/pandas/pull/40293 may have caused the current typing failures in the CI
Thanks for the follow-up!