From 6c50b3fd41f7fa208717bb661295047b140733bb Mon Sep 17 00:00:00 2001 From: Charley Bodkin <1542740+charlex@users.noreply.github.com> Date: Mon, 9 Dec 2019 00:09:57 -0500 Subject: [PATCH] export interface ImmerReducerFunction --- src/immer-reducer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>,