ts-api-core
Version:
Nodejs api framework core
22 lines • 473 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ListBase = void 0;
/**
* List基类
*/
class ListBase {
get items() {
if (!this._items) {
this._items = new Array();
}
return this._items;
}
set items(value) {
this._items = value;
}
push(item) {
this.items.push(item);
}
}
exports.ListBase = ListBase;
//# sourceMappingURL=list.base.js.map