mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
281 B
TypeScript
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 {
|
|
}
|