You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
406 B

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function buildChildren(children) {
return children
.map((child) => typeof child === 'string' ? child : child.build())
.join('');
}
exports.buildChildren = buildChildren;
function toArray(value) {
return Array.isArray(value) ? value : [value];
}
exports.toArray = toArray;
//# sourceMappingURL=utils.js.map