-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Labels
lang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)Issues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Description
Prettier pr-14803
Playground link
--parser typescriptInput:
function makeChainWalker<
ArgT extends {
options: ValidatedOptions;
dirname: string;
filepath?: string;
},
>() {}Output:
function makeChainWalker<
ArgT extends
{
options: ValidatedOptions;
dirname: string;
filepath?: string;
},
>() {}Expected behavior:
(V2 output should be preferred)
function makeChainWalker<
ArgT extends {
options: ValidatedOptions;
dirname: string;
filepath?: string;
}
>() {}Maybe the same problem as #14809
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
lang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)Issues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.