Skip to content

Commit 3fc2ee3

Browse files
fix(overmind): fix modules typing
1 parent 521743f commit 3fc2ee3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/node_modules/overmind/src/modules.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ export function modules<T extends ConfigurationWithModules>(
3636
modules: T
3737
): {
3838
onInitialize?: any
39-
state: { [P in keyof T]: ResolveState<T[P]['state']> }
39+
state: { [P in keyof T]: T[P]['state'] }
4040
effects: { [P in keyof T]: T[P]['effects'] }
41-
actions: { [P in keyof T]: ResolveActions<T[P]['actions']> }
41+
actions: { [P in keyof T]: T[P]['actions'] }
4242
} {
4343
const result: any = {
4444
initializers: [],

0 commit comments

Comments
 (0)