6 lines
248 B
Text
6 lines
248 B
Text
|
==== tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration4.ts (1 errors) ====
|
||
|
class C {
|
||
|
declare constructor() { }
|
||
|
~~~~~~~
|
||
|
!!! 'declare' modifier cannot appear on a class element.
|
||
|
}
|