Not specifically. The general problem we were running into is:
- We recommend inferring `type RootState = ReturnType<typeof store.getState>`
- That type comes from the slice reducers
- Thunks need a `State` type passed in so they know what `getState` returns
- But if you do that _inside_ of `createSlice`, TS can't know that `RootState` type yet, because we haven't constructed the slice reducer yet
Here was the PR where we tried to come up with something:
https://github.com/reduxjs/redux-toolkit/pull/637
If you're seeing some other issue problem related to RTK, please go ahead and file an issue.