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

12 lines
281 B
TypeScript

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