TypeScript/tests/baselines/reference/recursiveBaseCheck6.js
2015-12-08 17:51:10 -08:00

19 lines
563 B
TypeScript

//// [recursiveBaseCheck6.ts]
class S18<A> extends S18<{ S19: A; }>{ }
(new S18()).blah;
//// [recursiveBaseCheck6.js]
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var S18 = (function (_super) {
__extends(S18, _super);
function S18() {
_super.apply(this, arguments);
}
return S18;
}(S18));
(new S18()).blah;