diff --git a/src/immer-reducer.ts b/src/immer-reducer.ts index 38dbe2d..d3bf536 100644 --- a/src/immer-reducer.ts +++ b/src/immer-reducer.ts @@ -57,7 +57,7 @@ export type ImmerReducerState = T extends { : never; /** generate reducer function type from the ImmerReducer class */ -interface ImmerReducerFunction { +export interface ImmerReducerFunction { ( state: ImmerReducerState | undefined, action: ReturnTypeUnion>,