perf(semantic): inline enter_kind for TSTypeAliasDeclaration#17413
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Performance ReportMerging #17413 will not alter performanceComparing Summary
Footnotes
|
Merge activity
|
a31f76c to
dc35189
Compare
There was a problem hiding this comment.
Pull request overview
This PR optimizes the semantic builder by inlining the enter_kind logic for TSTypeAliasDeclaration, reducing function call overhead during AST traversal.
- Adds a custom
visit_ts_type_alias_declarationmethod that handles the complete visiting logic including binding - Removes the
TSTypeAliasDeclarationcase from theenter_kindmethod's match statement
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Ref #18098