Hack in TS support for nested exports via `typesVersions`
Hack in TS support for nested exports via `typesVersions`

Ref: https://github.com/microsoft/TypeScript/issues/33079#issuecomment-702617758

reduxjs/redux-toolkit,reduxjs/redux-toolkit