TypeScript/tests/baselines/reference/parserMemberAccessorDeclaration11.errors.txt
2014-07-12 17:30:19 -07:00

6 lines
255 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration11.ts (1 errors) ====
class C {
declare get Foo() { }
~~~~~~~
!!! 'declare' modifier cannot appear on a class element.
}