-
-
Notifications
You must be signed in to change notification settings - Fork 951
Forbid empty type argument/parameter list #13617
Copy link
Copy link
Closed
Labels
A-parserArea - ParserArea - Parsergood first issueExperience Level - Good for newcomersExperience Level - Good for newcomers
Description
typescript-eslint recently forbade this, typescript-eslint/typescript-eslint#11563.
Oxc currently allows
foo<>()
new Foo<>()
class Foo {property: Bar<> = 1}
const foo: Foo<> = 1I'm enabling these tests in Prettier prettier/prettier#17870
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-parserArea - ParserArea - Parsergood first issueExperience Level - Good for newcomersExperience Level - Good for newcomers
Type
Fields
Give feedbackPriority
None yet
Start date
None yet
Target date
None yet
Effort
None yet