Open andrecrimb opened 1 month ago
XState version 5
TS throws an error when enqueuedActions is declared within setups > actions.
enqueuedActions
setups > actions
No type error should be raised.
Sandbox link
xstate: 5.13.0 typescript: "5.3.3
Which TypeScript version are you using?
Regardless this may be a TS limitation (cc. @Andarist)
Sorry, I forgot to add it into the description. "typescript": "5.3.3"
"typescript": "5.3.3"
XState version
XState version 5
Description
TS throws an error when
enqueuedActions
is declared withinsetups > actions
.Expected result
No type error should be raised.
Actual result
Reproduction
Sandbox link
Additional context
xstate: 5.13.0 typescript: "5.3.3