@martinmilo/verve
Version:
TypeScript domain modeling library with field-level authorization, business rule validation, and context-aware access control
15 lines • 418 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WithDefault = WithDefault;
function WithDefault(Base) {
return class extends Base {
get default() {
const self = this;
return function (value) {
self.setOption('default', value);
return self;
};
}
};
}
//# sourceMappingURL=WithDefault.js.map