- Empty class type will now throw an error, - Trailing comma in class type will also throw an error, - Added tests for empty class type parameter, - Updated tests for class type parameters with trailing comma This behavior is consistently following function or method like when its type parameter is either empty or has trailing comma.
2 lines
13 B
TypeScript
2 lines
13 B
TypeScript
class C<> {
|
|
} |