amis-rpc-design/node_modules/ansi-fragments/build/fragments/Container.js

17 lines
445 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("./utils");
function container(...children) {
return new Container(children);
}
exports.container = container;
class Container {
constructor(children) {
this.children = children;
}
build() {
return utils_1.buildChildren(this.children);
}
}
exports.Container = Container;
//# sourceMappingURL=Container.js.map