You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assess if serde typescript-definitions crates is suitable the type must be determined before compilation so it can't generate n-number of possible types in a union type ❌
investigate if serde typescript-definitions can generate interface (or atleast plain object type can be treated as interface in XState) it can generate type of plain object ✔️
This is just a temporary hack, in the future find a way to use and contribute to swc_ecma_codegen typescript implementation. (hint: fork then include that as a git-submodule)
beware: this might need more RAM since Rust langserver doesn't have a mode to conserve memory. So delay this until I can buy better laptop 😢
assess if serde typescript-definitions crates is suitablethe type must be determined before compilation so it can't generate n-number of possible types in a union type ❌interface
and uniontype
for Stateinvestigate if serde typescript-definitions can generateit can generate type of plain object ✔️interface
(or atleast plain objecttype
can be treated asinterface
in XState)json_typegen
resultsjson_typegen above.json -O typescript --name MachineConfig > below.ts
Things to keep track
The text was updated successfully, but these errors were encountered: