eslint-plugin-xstate
eslint-plugin-xstate copied to clipboard
Support for definitions via the `setup` function
The xstate documentation's recommended approach for specifying types in Typescript is to use the setup function
. This then chains into a normal createMachine
call, but this pattern is not currently detected by eslint-plugin-xstate
.