6 lines
261 B
Plaintext
6 lines
261 B
Plaintext
==== tests/cases/conformance/parser/ecmascript5/MemberFunctionDeclarations/parserMemberFunctionDeclaration4.ts (1 errors) ====
|
|
class C {
|
|
export Foo() { }
|
|
~~~~~~
|
|
!!! error TS1031: 'export' modifier cannot appear on a class element.
|
|
} |