Skip to content

Commit 83d97e2

Browse files
fix(overmind): use string typed array for state state
1 parent ac2cab9 commit 83d97e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/node_modules/overmind/src/config/statechart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function statechart<C extends IConfiguration, S extends string>(
113113
): IConfig<{
114114
onInitialize: C['onInitialize']
115115
state: C['state'] & {
116-
state: S
116+
state: string[]
117117
actions: { [N in keyof C['actions']]: boolean }
118118
matches: IDerive<any, any, (...args: string[]) => boolean>
119119
}

0 commit comments

Comments
 (0)