Skip to content

[api] Add TypeFormatFlags enum - #63911

Merged
Andrew Branch (andrewbranch) merged 4 commits into
microsoft:mainfrom
mrazauskas:add-TypeFormatFlags
Aug 20, 2026
Merged

[api] Add TypeFormatFlags enum#63911
Andrew Branch (andrewbranch) merged 4 commits into
microsoft:mainfrom
mrazauskas:add-TypeFormatFlags

Conversation

@mrazauskas

Copy link
Copy Markdown
Contributor

This PR adds the missing TypeFormatFlags enum.

Fixes #63910

Signed-off-by: mrazauskas <tom@mrazauskas.de>
Copilot AI balanced review requested due to automatic review settings August 20, 2026 12:10
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog Aug 20, 2026
@typescript-automation typescript-automation Bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Aug 20, 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.

Pull request overview

Adds the missing TypeFormatFlags enum to the TypeScript sync and async APIs.

Changes:

  • Generates and exports TypeFormatFlags.
  • Types Checker.typeToString flags with the enum.
  • Adds sync and async API tests.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Herebyfile.mjs Registers enum generation.
packages/typescript/src/enums/typeFormatFlags.enum.ts Defines the enum type.
packages/typescript/src/enums/typeFormatFlags.ts Provides runtime enum values.
packages/typescript/src/api/sync/api.ts Exports and uses the enum.
packages/typescript/src/api/async/api.ts Exports and uses the enum.
packages/typescript/test/sync/api.test.ts Tests synchronous formatting.
packages/typescript/test/async/api.test.ts Tests asynchronous formatting.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/typescript/src/enums/typeFormatFlags.enum.ts
Signed-off-by: mrazauskas <tom@mrazauskas.de>
Signed-off-by: mrazauskas <tom@mrazauskas.de>
Signed-off-by: mrazauskas <tom@mrazauskas.de>
@mrazauskas Tom Mrazauskas (mrazauskas) changed the title Add TypeFormatFlags enum [api] Add TypeFormatFlags enum Aug 20, 2026
@github-project-automation github-project-automation Bot moved this from Not started to Needs merge in PR Backlog Aug 20, 2026
@andrewbranch
Andrew Branch (andrewbranch) added this pull request to the merge queue Aug 20, 2026
Merged via the queue into microsoft:main with commit 0d9d53a Aug 20, 2026
22 checks passed
@github-project-automation github-project-automation Bot moved this from Needs merge to Done in PR Backlog Aug 20, 2026
@mrazauskas
Tom Mrazauskas (mrazauskas) deleted the add-TypeFormatFlags branch August 21, 2026 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

TypeFormatFlags enum is missing in the API

3 participants