This repository was archived by the owner on Dec 12, 2023. It is now read-only.
v0.5.0
This release contains a breaking change the JavaScript API. For cli users there are no breaking changes.
New JavaScript API signature
The return value of compileXstate
is now an object include two properties, { js, dts }
. The js
property being a string of JavaScript, and dts
being a string of TypeScript definitions.
Note that dts
is only populated if you provide the option: { dts: true }
.