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

13 lines
284 B
TypeScript

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