statelyai / xstate

Actor-based state management & orchestration for complex app logic.
https://stately.ai/docs
MIT License
27.21k stars 1.26k forks source link

[core] Tighten `StateMachine` types and fix issue #5008 #5009

Closed davidkpiano closed 3 months ago

davidkpiano commented 3 months ago

The internal types for StateMachine<...> have been improved so that all type params are required, to prevent errors when using the types. This fixes weird issues like #5008.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 3059beb079cc15246f84971b4f5cdfa7fdb42738

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------ | ----- | | xstate | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR