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
typeState={bar: unknown;};declareletpreloadedState: State;declareconstreducer: Reducer<State>;createStore(reducer,// Unexpected type error:/* Argument of type 'State' is not assignable to parameter of type 'DeepPartial<State>'. Types of property 'bar' are incompatible. Type 'unknown' is not assignable to type 'DeepPartial<unknown> | undefined'. Type 'unknown' is not assignable to type 'DeepPartial<unknown>'. */preloadedState,);typeStateDP=DeepPartial<State>;declareletstateDP: StateDP;// Unexpected type error:// Type 'State' is not assignable to type 'DeepPartial<State>'stateDP=preloadedState;
The text was updated successfully, but these errors were encountered:
Repro:
The text was updated successfully, but these errors were encountered: