ts-json-schema-generator
Version:
Generate JSON schema from your Typescript sources
18 lines • 441 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RestType = void 0;
const BaseType_1 = require("./BaseType");
class RestType extends BaseType_1.BaseType {
constructor(item) {
super();
this.item = item;
}
getId() {
return "..." + this.item.getId();
}
getType() {
return this.item;
}
}
exports.RestType = RestType;
//# sourceMappingURL=RestType.js.map