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