We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XState version 5
the transition event is broken when i pass a type to create.
because i try to access event: { newContext } but types expect update to possibly also be {type: update} which breaks the types.
event: { newContext }
update
{type: update}
Couldn't find an example in your repo on typing stores so maybe i'm doing it wrong.
type to not show an error
showing a type error when passing the update fn
https://replit.com/join/ifbbvxzfvf-wcastand
No response
The text was updated successfully, but these errors were encountered:
Can you try with the latest version?
Sorry, something went wrong.
looks fixed, thanks :)
No branches or pull requests
XState version
XState version 5
Description
the transition event is broken when i pass a type to create.
because i try to access
event: { newContext }
but types expectupdate
to possibly also be{type: update}
which breaks the types.Couldn't find an example in your repo on typing stores so maybe i'm doing it wrong.
Expected result
type to not show an error
Actual result
showing a type error when passing the
update
fnReproduction
https://replit.com/join/ifbbvxzfvf-wcastand
Additional context
No response
The text was updated successfully, but these errors were encountered: