This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
todo/client/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js
2025-06-13 14:04:40 +08:00

10 lines
337 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;
}
export { _classApplyDescriptorDestructureSet as default };