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

28 lines
680 B
TypeScript

//// [parser509630.ts]
class Type {
public examples = [ // typing here
}
class Any extends Type {
}
//// [parser509630.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 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));