Skip to content

Commit e9d1277

Browse files
fix(overmind-react): export needed typing
1 parent 7df5236 commit e9d1277

File tree

1 file changed

+1
-1
lines changed
  • packages/node_modules/overmind-react/src

1 file changed

+1
-1
lines changed

packages/node_modules/overmind-react/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const useReaction = <Context extends IContext<any>>(): IReaction<Context> => {
242242
return overmind.reaction as any
243243
}
244244

245-
interface StateHook<Context extends IContext<any>> {
245+
export interface StateHook<Context extends IContext<any>> {
246246
(): Context['state']
247247
<T>(cb?: (state: Context['state']) => T): T
248248
}

0 commit comments

Comments
 (0)