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

12 lines
264 B
TypeScript

//// [tests/cases/conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration1.ts] ////
//// [parserIndexMemberDeclaration1.ts]
class C {
[a: string]: number
}
//// [parserIndexMemberDeclaration1.js]
"use strict";
class C {
}