Skip to content

Don't trailing generic comma when format tsx file when trailingComma: never #636

@NWYLZW

Description

@NWYLZW

Describe the bug

dprint-plugin-typescript version: 0.90.3

Input Code

[].filter(<T,>() => false)

Expected Output

[].filter(<T,>() => false)

Actual Output

[].filter(<T>() => false)

playground

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions