TypeScript/tests/baselines/reference/parserConstructorDeclaration3.errors.txt
2014-07-12 17:30:19 -07:00

6 lines
245 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration3.ts (1 errors) ====
class C {
export constructor() { }
~~~~~~
!!! 'export' modifier cannot appear on a class element.
}