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