redux-promise-middleware-actions
redux-promise-middleware-actions copied to clipboard
createReducer allows setting unknown fields to new state
See line 17 nane: action.payload.name
, TS is nit complaining about that I typed nane
instead of name
.
If I add the type manually:
Then I see the error fine.
Is there a way to have the error without the manual type?
Thanks