Skip to content

Fix NodeBuilder porting bug - #65753

Open
Andrew Branch (andrewbranch) wants to merge 1 commit into
microsoft:mainfrom
andrewbranch:generic-alias-parameter-serialization
Open

Andrew Branch (andrewbranch) wants to merge 1 commit into
microsoft:mainfrom
andrewbranch:generic-alias-parameter-serialization

Conversation

@andrewbranch

Copy link
Copy Markdown
Member

Noticed during Copilot review of nearby code.

Copilot AI balanced review requested due to automatic review settings December 1, 2026 22:49
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog Dec 1, 2026
@typescript-automation typescript-automation Bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Dec 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the NodeBuilder type-alias flag correction.

No open issues 🎉

What changed in this PR

Fixes NodeBuilder’s symbol flag check so type aliases are recognized when generating type parameter declarations.

Changes:

  • Replaces SymbolFlagsAlias with SymbolFlagsTypeAlias in the checker.
  • Extends async and sync API tests to cover generic type aliases with constraints and defaults, plus non-generic aliases.
File Description
tsc/​internal/​checker/​nodebuilderimpl.go Corrects the flag check to recognize type aliases.
packages/​typescript/​test/​sync/​api.test.ts Adds synchronous API regression coverage for type aliases.
packages/​typescript/​test/​async/​api.test.ts Adds asynchronous API regression coverage for type aliases.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Not started

Development

Successfully merging this pull request may close these issues.

2 participants