9 lines
441 B
Plaintext
9 lines
441 B
Plaintext
tests/cases/conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration9.ts(2,4): error TS1031: 'export' modifier cannot appear on a class element.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration9.ts (1 errors) ====
|
|
class C {
|
|
export [x: string]: string;
|
|
~~~~~~
|
|
!!! error TS1031: 'export' modifier cannot appear on a class element.
|
|
} |