@hexadrop/command
Version:
Hexagonal architecture utils library
2 lines • 306 B
JavaScript
import{a as m}from"./chunk-LHZGEWBL.js";var a="command-handler";function r(...e){return o=>{if("run"in o.prototype)for(let n of e)Reflect.defineMetadata(a,o,n);else throw new m("CommandHandler must implements a `run()` method");return o}}var t=r;export{a,t as b};
//# sourceMappingURL=chunk-L2QG74AD.js.map