Open kkelk opened 4 months ago
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.
to use the setup function
createMachine
eslint-plugin-xstate
Hi @kkelk what is your specific code where you are getting an ESLint error, or else hope to get an ESLint error?
The xstate documentation's recommended approach for specifying types in Typescript is
to use the setup function
. This then chains into a normalcreateMachine
call, but this pattern is not currently detected byeslint-plugin-xstate
.