2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/conformance/parser/ecmascript5/MemberFunctionDeclarations/parserMemberFunctionDeclaration4.ts (1 errors) ====
|
|
|
|
class C {
|
|
|
|
export Foo() { }
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1031: 'export' modifier cannot appear on a class element.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|