Ban class with empty type parameter list #14696
Labels
Breaking Change
Would introduce errors in existing code
Bug
A bug in TypeScript
Fixed
A PR has been merged for this issue
Good First Issue
Well scoped, documented and has the green light
Help Wanted
You can do this
Milestone
TypeScript Version: nightly (2.3.0-dev.20170316)
Code
Expected behavior:
All are errors.
Actual behavior:
All but
class X<> {}
are errors. We should consistently fail when a type parameter list is empty.The text was updated successfully, but these errors were encountered: