Skip to content

Commit

Permalink
export interface ImmerReducerFunction (#46)
Browse files Browse the repository at this point in the history
export interface ImmerReducerFunction
  • Loading branch information
esamattis authored Dec 12, 2019
2 parents c7c5535 + 6c50b3f commit e806588
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 e806588

Please sign in to comment.