From b04505458747e07810da515d96d40cf4444dff24 Mon Sep 17 00:00:00 2001 From: Robby6Strings Date: Sun, 24 Mar 2024 04:11:53 +1300 Subject: [PATCH] export store / MethodFactory types --- packages/lib/src/store.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/lib/src/store.ts b/packages/lib/src/store.ts index 02af0b16..49a5cc39 100644 --- a/packages/lib/src/store.ts +++ b/packages/lib/src/store.ts @@ -3,6 +3,7 @@ import { cleanupHook, shouldExecHook, useHook } from "./hooks/utils.js" import { shallowCompare } from "./utils.js" export { createStore } +export type { Store, MethodFactory } type MethodFactory = ( setState: (setter: Kaioken.StateSetter) => void,