Registry Mirror
Skip to content

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

@andrewbranch
Andrew Branch (andrewbranch) added this pull request to the merge queue Dec 2, 2026
@github-project-automation github-project-automation Bot moved this from Not started to Needs merge in PR Backlog Dec 2, 2026
Merged via the queue into microsoft:main with commit 510df88 Dec 2, 2026
34 checks passed
@andrewbranch
Andrew Branch (andrewbranch) deleted the generic-alias-parameter-serialization branch December 2, 2026 20:56
@github-project-automation github-project-automation Bot moved this from Needs merge to Done in PR Backlog Dec 2, 2026
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: Done

Development

Successfully merging this pull request may close these issues.

3 participants