@malagu/core
Version:
13 lines • 485 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Value = void 0;
const value_1 = require("../value");
const Value = function (elOrOption) {
return (target, targetKey, index) => {
const option = (0, value_1.parseValueOption)(target, targetKey, index, elOrOption);
option.detached = true;
(0, value_1.applyValueDecorator)(option, target, targetKey, index);
};
};
exports.Value = Value;
//# sourceMappingURL=value.js.map