Skip to content

refactor(generation/typescript): use semantic nodes instead of literal type definitons#2098

Merged
innocenzi merged 3 commits into3.xfrom
fix/typescript-generation
Apr 2, 2026
Merged

refactor(generation/typescript): use semantic nodes instead of literal type definitons#2098
innocenzi merged 3 commits into3.xfrom
fix/typescript-generation

Conversation

@innocenzi
Copy link
Copy Markdown
Member

Closes #1977

This pull request refactors the internals of the TypeScript types generation by changing the approach from resolving raw type definitions in type resolvers to resolving semantic nodes.

That makes the process of writing the TypeScript types in multiple different formats way easier.

@innocenzi innocenzi requested a review from brendt as a code owner April 2, 2026 03:32
Copy link
Copy Markdown
Member

@brendt brendt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to merge when ready

@innocenzi innocenzi merged commit 08df1b9 into 3.x Apr 2, 2026
75 checks passed
@innocenzi innocenzi deleted the fix/typescript-generation branch April 2, 2026 13:09
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.

TypeScript generation issues

2 participants