Files
tsgo/testdata/baselines/reference/submodule/conformance/parserIndexMemberDeclaration7.js

12 lines
272 B
TypeScript

//// [tests/cases/conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration7.ts] ////
//// [parserIndexMemberDeclaration7.ts]
class C {
public [x: string]: string;
}
//// [parserIndexMemberDeclaration7.js]
"use strict";
class C {
}