the-forest/client/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
2024-09-17 20:35:18 -04:00

10 lines
410 B
JavaScript

function _classApplyDescriptorDestructureSet(e, t) {
if (t.set) return "__destrObj" in t || (t.__destrObj = {
set value(r) {
t.set.call(e, r);
}
}), t.__destrObj;
if (!t.writable) throw new TypeError("attempted to set read only private field");
return t;
}
module.exports = _classApplyDescriptorDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports;