TypeScript/tests/baselines/reference/parser509630.js

29 lines
641 B
TypeScript

//// [parser509630.ts]
class Type {
public examples = [ // typing here
}
class Any extends Type {
}
//// [parser509630.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 Type = (function () {
function Type() {
this.examples = []; // typing here
}
return Type;
})();
var Any = (function (_super) {
__extends(Any, _super);
function Any() {
_super.apply(this, arguments);
}
return Any;
})(Type);