TypeScript/tests/baselines/reference/parserConstructorDeclaration9.errors.txt
2014-09-11 16:11:08 -07:00

6 lines
270 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration9.ts (1 errors) ====
class C {
constructor<T>() { }
~
!!! error TS1092: Type parameters cannot appear on a constructor declaration.
}