mattpocock / xstate-codegen

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

update config properties to be required only if some of the entries are required #35

Closed mwarger closed 3 years ago

mwarger commented 3 years ago

Fixes #30.

The returned configuration items for each config property were changed into objects to denote whether they were required based on the array of items within each. The corresponding template items were updated.

changeset-bot[bot] commented 3 years ago

🦋 Changeset is good to go

Latest commit: febc9945040a3978804a6428fae229e89ea14c61

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