TypeScript/tests/baselines/reference/recursiveBaseCheck6.js

24 lines
851 B
TypeScript

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