[api] Add TypeFormatFlags enum - #63911
Merged
Andrew Branch (andrewbranch) merged 4 commits intoAug 20, 2026
Merged
Conversation
Signed-off-by: mrazauskas <tom@mrazauskas.de>
Copilot started reviewing on behalf of
Tom Mrazauskas (mrazauskas)
August 20, 2026 12:16
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds the missing TypeFormatFlags enum to the TypeScript sync and async APIs.
Changes:
- Generates and exports
TypeFormatFlags. - Types
Checker.typeToStringflags 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.
Signed-off-by: mrazauskas <tom@mrazauskas.de>
Signed-off-by: mrazauskas <tom@mrazauskas.de>
TypeFormatFlags enumTypeFormatFlags enum
Andrew Branch (andrewbranch)
approved these changes
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the missing
TypeFormatFlagsenum.Fixes #63910