Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Commit

Permalink
fix(typings): add action arguments to defaultReducer (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyaagarkov authored and sergeysova committed Dec 14, 2018
1 parent f52852b commit ee86130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export interface NamespaceOptions<State> {
namespace?: string;
defaultReducer?: (prevState: State) => State;
defaultReducer?: (prevState: State, action: Action) => State;
separator?: string;
}

Expand Down

0 comments on commit ee86130

Please sign in to comment.