9 lines
No EOL
454 B
Text
9 lines
No EOL
454 B
Text
tests/cases/conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration11.ts(2,5): error TS1031: 'declare' modifier cannot appear on a class element.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration11.ts (1 errors) ====
|
|
class C {
|
|
declare get Foo() { }
|
|
~~~~~~~
|
|
!!! error TS1031: 'declare' modifier cannot appear on a class element.
|
|
} |