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