diff options
Diffstat (limited to 'node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js')
| -rw-r--r-- | node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js b/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js new file mode 100644 index 0000000..5623419 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js @@ -0,0 +1,10 @@ +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 };
\ No newline at end of file |
