@fast-china/utils
Version:
Fast 工具库.
3 lines (2 loc) • 411 B
JavaScript
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=()=>{};exports.withInstall=(t,e)=>{if(t.install=o=>{for(const s of[t,...Object.values(e??{})])o.component(s.name,s)},e)for(const[o,s]of Object.entries(e))t[o]=s;return t},exports.withInstallDirective=(t,e)=>(t.install=o=>{o.directive(e,t)},t),exports.withNoopInstall=e=>(e.install=t,e);
//# sourceMappingURL=install.js.map