TypeScript/tests/baselines/reference/parserConstructorDeclaration4.errors.txt

6 lines
248 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration4.ts (1 errors) ====
class C {
declare constructor() { }
~~~~~~~
!!! 'declare' modifier cannot appear on a class element.
}