Skip to content

Inserts trailing comma into TypeScript Type Parameters #6189

@azz

Description

@azz

Due to #6115, after upgrading to 1.18, Prettier does this in .tsx files:

-export interface Group<T> {
+export interface Group<T,> {
  label: string;
  options: T[];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions