mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
285 B
TypeScript
13 lines
285 B
TypeScript
//// [tests/cases/conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration3.ts] ////
|
|
|
|
//// [parserIndexMemberDeclaration3.ts]
|
|
class C {
|
|
[a: string]: number;
|
|
public v: number
|
|
}
|
|
|
|
//// [parserIndexMemberDeclaration3.js]
|
|
"use strict";
|
|
class C {
|
|
}
|