Bug: [TypeScript] Unknown action when using enqueue()
and referencing an action defined with enqueueActions
#4820
Labels
enqueue()
and referencing an action defined with enqueueActions
#4820
XState version
XState version 5
Description
Typescript errors when calling an action via
enqueue
when the action being called is defined withenqueueActions
.Expected result
Typescript should not error when calling
enqueue({ type: "bar" });
Actual result
Reproduction
https://codesandbox.io/p/devbox/currying-darkness-nvv5vh
Additional context
No response
The text was updated successfully, but these errors were encountered: