mattpocock / xstate-codegen

A codegen tool for 100% TS type-safety in XState
MIT License
245 stars 12 forks source link

Added typing of options passed in to the second argument of Machine/createMachine #18

Closed mattpocock closed 4 years ago

mattpocock commented 4 years ago

These options will be optional in the Machine, and any declared in the Machine will be optional when the machine is interpreted.

changeset-bot[bot] commented 4 years ago

🦋 Changeset is good to go

Latest commit: 8a1988901614729b4a5ecda0c893e0c5c5a3a756

We got this.

This PR includes changesets to release 1 package | Name | Type | | -------------- | ----- | | xstate-codegen | 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

mattpocock commented 4 years ago

Yet to implement this in the types, to be done when I get back from holiday