mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
262 B
TypeScript
18 lines
262 B
TypeScript
//// [tests/cases/compiler/classIndexer2.ts] ////
|
|
|
|
//// [classIndexer2.ts]
|
|
class C123 {
|
|
[s: string]: number;
|
|
x: number;
|
|
y: string;
|
|
constructor() {
|
|
}
|
|
}
|
|
|
|
//// [classIndexer2.js]
|
|
"use strict";
|
|
class C123 {
|
|
constructor() {
|
|
}
|
|
}
|