Open mbushpilot2b opened 5 months ago
XState version 5
Defining actions outside of the setup() results in a type error.
Actions defined outside the setup should not throw typescript error.
Typescript error as seen here:
https://stackblitz.com/edit/node-c2qnkr?file=index.ts
See discord conversation here for context.
XState version
XState version 5
Description
Defining actions outside of the setup() results in a type error.
Expected result
Actions defined outside the setup should not throw typescript error.
Actual result
Typescript error as seen here:
Reproduction
https://stackblitz.com/edit/node-c2qnkr?file=index.ts
Additional context
See discord conversation here for context.