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