@xstate/cli
v0.5.17
Published
### xstate typegen <files>
Downloads
209,312
Keywords
Readme
Commands
xstate typegen
xstate typegen "src/**/*.ts?(x)"
Run the typegen against a glob. This will scan every file targeted, and generate a typegen file accompanying it. It will also import the typegen into your file, as described in our typegen documentation.
Options
--watch
Runs the task on a watch, monitoring for changed files and running the typegen script against them.
Experimental: xstate sky
xstate sky "src/**/*.ts?(x)"
This will scan through the source files and update any Stately Sky-compatible code.