We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 428407f commit a770dd3Copy full SHA for a770dd3
redux-orm/index.d.ts
@@ -206,7 +206,7 @@ declare module 'redux-orm' {
206
207
type IUpdater<State extends IORMCommonState> = (session: ISession<State>, action: any) => any
208
209
- export function createReducer<State extends IORMCommonState = IORMCommonState>(orm: ORM<State>, updater?: IUpdater<State>): State
+ export function createReducer<State extends IORMCommonState = IORMCommonState>(orm: ORM<State>, updater?: IUpdater<State>): (state: State, action: any) => State
210
211
type IORMSelector<State extends IORMCommonState, Result = any> = (session: ISession<State>, ...args: any[]) => Result
212
0 commit comments