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