31 lines
646 B
JavaScript
31 lines
646 B
JavaScript
//// [classIndexer3.ts]
|
|
class C123 {
|
|
[s: string]: number;
|
|
constructor() {
|
|
}
|
|
}
|
|
|
|
class D123 extends C123 {
|
|
x: number;
|
|
y: string;
|
|
}
|
|
|
|
//// [classIndexer3.js]
|
|
var __extends = this.__extends || function (d, b) {
|
|
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
function __() { this.constructor = d; }
|
|
__.prototype = b.prototype;
|
|
d.prototype = new __();
|
|
};
|
|
var C123 = (function () {
|
|
function C123() {
|
|
}
|
|
return C123;
|
|
})();
|
|
var D123 = (function (_super) {
|
|
__extends(D123, _super);
|
|
function D123() {
|
|
_super.apply(this, arguments);
|
|
}
|
|
return D123;
|
|
})(C123);
|