diff options
Diffstat (limited to 'node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js')
| -rw-r--r-- | node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js b/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js index 71bbf1df..0975f95f 100644 --- a/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +++ b/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js @@ -1,11 +1,7 @@ -function _classApplyDescriptorSet(receiver, descriptor, value) { - if (descriptor.set) { - descriptor.set.call(receiver, value); - } else { - if (!descriptor.writable) { - throw new TypeError("attempted to set read only private field"); - } - descriptor.value = value; +function _classApplyDescriptorSet(e, t, l) { + if (t.set) t.set.call(e, l);else { + if (!t.writable) throw new TypeError("attempted to set read only private field"); + t.value = l; } } module.exports = _classApplyDescriptorSet, module.exports.__esModule = true, module.exports["default"] = module.exports;
\ No newline at end of file |
