We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7df5236 commit e9d1277Copy full SHA for e9d1277
packages/node_modules/overmind-react/src/index.ts
@@ -242,7 +242,7 @@ const useReaction = <Context extends IContext<any>>(): IReaction<Context> => {
242
return overmind.reaction as any
243
}
244
245
-interface StateHook<Context extends IContext<any>> {
+export interface StateHook<Context extends IContext<any>> {
246
(): Context['state']
247
<T>(cb?: (state: Context['state']) => T): T
248
0 commit comments