eslint-plugin-xstate icon indicating copy to clipboard operation
eslint-plugin-xstate copied to clipboard

Support for definitions via the `setup` function

Open kkelk opened this issue 4 months ago • 1 comments

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.

kkelk avatar Feb 23 '24 13:02 kkelk