6 lines
No EOL
255 B
Text
6 lines
No EOL
255 B
Text
==== tests/cases/conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration11.ts (1 errors) ====
|
|
class C {
|
|
declare get Foo() { }
|
|
~~~~~~~
|
|
!!! 'declare' modifier cannot appear on a class element.
|
|
} |