See discussion here: https://github.com/pandas-dev/pandas-stubs/pull/341#issuecomment-1262928643 Should we change `_typing.pyi` to make all these types that we create be declared with `TypeAlias` (imported from `typing_extensions`) ? @twoertwein - your opinion?