Skip to content

Commit 42a68df

Browse files
Made state partial
1 parent 6fc557e commit 42a68df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/state.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
} from 'xstate'
1111

1212
export type Machines<G extends Graph<G>> = {
13-
[N in keyof G['nouns']]: StateMachine<any, any, any, any, any, any, any, any, any>
13+
[N in keyof G['nouns']]: Partial<StateMachine<any, any, any, any, any, any, any, any, any>>
1414
}
1515

1616
export type Context<G extends Graph<G>, N extends keyof G['nouns']> = MachineContext

0 commit comments

Comments
 (0)