You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix configureStore() state type inference edge case
When passing an object as `reducer` and at the same time
`preloadedState`, TypeScript infers the store state type from the
latter although `preloadedState` is potentially just a partial state.
An additional `PS` type parameter fixes this.
0 commit comments