Skip to content

Commit

Permalink
fix: fix transition definition
Browse files Browse the repository at this point in the history
  • Loading branch information
abrgr committed Sep 19, 2023
1 parent d41e0ab commit 86d9a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/xstate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export type Guard = {
};

export type TransitionDefinition = {
source: StateNodeDefinition;
source: { key: string };
target: Array<{ id: string }> | undefined;
actions: Array<ActionObject>;
cond?: Guard;
Expand Down

0 comments on commit 86d9a23

Please sign in to comment.