6 lines
250 B
Text
6 lines
250 B
Text
|
==== tests/cases/conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration9.ts (1 errors) ====
|
||
|
class C {
|
||
|
export [x: string]: string;
|
||
|
~~~~~~
|
||
|
!!! 'export' modifier cannot appear on a class element.
|
||
|
}
|