How to best use the visualizer with Typescript and multiple files? #1310
-
I'm working on a typescript project that has the state machine defined in a couple files which I would like to be able to use in the visualizer available at https://xstate.js.org/viz/. For a simple example, I have two files, one containing the state machine definition, and the other containing actions. File room-machine.ts:
File room-machine-actions.ts:
How could I go about inserting this into the visualizer? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
davidkpiano
Jul 16, 2020
Replies: 1 comment 2 replies
-
There's a solution coming out soon! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
vck3000
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's a solution coming out soon!