8 lines
318 B
Text
8 lines
318 B
Text
|
==== tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration11.ts (2 errors) ====
|
||
|
class C {
|
||
|
constructor<>() { }
|
||
|
~~
|
||
|
!!! Type parameter list cannot be empty.
|
||
|
|
||
|
!!! Type parameters cannot appear on a constructor declaration.
|
||
|
}
|