Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: TypeScript generation #94

Merged
merged 3 commits into from
Jun 22, 2023
Merged

fix: TypeScript generation #94

merged 3 commits into from
Jun 22, 2023

Conversation

guybedford
Copy link
Collaborator

This fixes some 0.9.0 bugs in the TypeScript generation - specifically that namespace identifiers weren't being properly renamed.

This also fixes the emission of types for top-level world types not belonging to an interface, which were previously unsupported.

This fix then gets the TypeScript generation for JCO itself to fully support its own API surface area (including comments!), so that the entire API is now properly typed and automatically generated from WIT to JS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant