Skip to content

Commit

Permalink
export interface ImmerReducerFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
hcharley authored Dec 9, 2019
1 parent c7c5535 commit 6c50b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/immer-reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export type ImmerReducerState<T> = T extends {
: never;

/** generate reducer function type from the ImmerReducer class */
interface ImmerReducerFunction<T extends ImmerReducerClass> {
export interface ImmerReducerFunction<T extends ImmerReducerClass> {
(
state: ImmerReducerState<T> | undefined,
action: ReturnTypeUnion<ActionCreators<T>>,
Expand Down

0 comments on commit 6c50b3f

Please sign in to comment.