source: node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 407 bytes
Line 
1function _classApplyDescriptorSet(receiver, descriptor, value) {
2 if (descriptor.set) {
3 descriptor.set.call(receiver, value);
4 } else {
5 if (!descriptor.writable) {
6 throw new TypeError("attempted to set read only private field");
7 }
8 descriptor.value = value;
9 }
10}
11module.exports = _classApplyDescriptorSet, module.exports.__esModule = true, module.exports["default"] = module.exports;
Note: See TracBrowser for help on using the repository browser.