Skip to content

Commit a770dd3

Browse files
author
keenondrums
committed
[Closes #3] Bug Fixed: createReducer typing
1 parent 428407f commit a770dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redux-orm/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ declare module 'redux-orm' {
206206

207207
type IUpdater<State extends IORMCommonState> = (session: ISession<State>, action: any) => any
208208

209-
export function createReducer<State extends IORMCommonState = IORMCommonState>(orm: ORM<State>, updater?: IUpdater<State>): State
209+
export function createReducer<State extends IORMCommonState = IORMCommonState>(orm: ORM<State>, updater?: IUpdater<State>): (state: State, action: any) => State
210210

211211
type IORMSelector<State extends IORMCommonState, Result = any> = (session: ISession<State>, ...args: any[]) => Result
212212

0 commit comments

Comments
 (0)