Closed with-heart closed 3 months ago
Latest commit: ffc19735c0f395a2c0ec5a2e81c27b798af35398
The changes in this PR will be included in the next version bump.
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
This PR adds the
EventFromStore
utility type to@xstate/store
.EventFromStore
allows us to extract the type of events from a given store:This idea came about thanks to @qiushiyan in #5017.