9 lines
No EOL
440 B
Text
9 lines
No EOL
440 B
Text
tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration4.ts(2,3): error TS1031: 'declare' modifier cannot appear on a class element.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration4.ts (1 errors) ====
|
|
class C {
|
|
declare constructor() { }
|
|
~~~~~~~
|
|
!!! error TS1031: 'declare' modifier cannot appear on a class element.
|
|
} |