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

Fixed an inference issue that prevented `emit` used directly in `setup` (or bare `createMachine`) to benefit from `types.emitted` types #5039

Closed Andarist closed 3 months ago

Andarist commented 3 months ago

fixes https://github.com/statelyai/xstate/issues/5038

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 5ffcfa53208fd094dac2c2d3e4a8ab78736b088d

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