Closed
Description
I am getting below errors after upgrading to redux 4.0.5
app/store/reducer.ts:58:7 - error TS2345: Argument of type 'AnyAction' is not assignable to parameter of type 'never'.
58 action
~~~~~~
app/store/reducer.ts:62:18 - error TS2345: Argument of type 'StateRoot' is not assignable to parameter of type 'CombinedState<{ [x: string]: unknown; }>'.
Type 'StateRoot' is not assignable to type '{ [x: string]: unknown; }'.
Index signature is missing in type 'StateRoot'.
62 return reducer(state, action)
~~~~~
Found 2 errors.
Metadata
Metadata
Assignees
Labels
No labels