-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
lang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)Issues affecting TypeScript-specific constructs (not general JS issues)
Description
Prettier 3.8.1
Playground link
--parser typescriptInput:
class A extends (B<T>)
{}
class A extends B<T>
{}Output:
class A extends B<T> {}
class A extends B<T> {}Expected output:
Why?
I think they are the same, but they have different AST, better to have a test for it. Maybe we still need #18728 when massaging AST.
Metadata
Metadata
Assignees
Labels
lang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)Issues affecting TypeScript-specific constructs (not general JS issues)