Skip to content

Commit

Permalink
fix: fix combineReducers TS type
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Nov 9, 2023
1 parent 546e429 commit 1474d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/combineReducers.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { AnyAction, Reducer } from 'redux'
import { Map as iMap, RecordOf } from 'immutable'

type RecordProps<S extends RecordOf<any>> = S extends RecordOf<infer P>
type RecordProps<S extends RecordOf<any>> = S extends { toJSON(): infer P }
? P
: never

Expand Down

0 comments on commit 1474d98

Please sign in to comment.