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

6 lines
241 B
Plaintext

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