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

12 lines
282 B
TypeScript

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