classStaticPrivateFieldSpecSet.js 668 B

12345678910
  1. var classApplyDescriptorSet = require("./classApplyDescriptorSet.js");
  2. var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
  3. var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js");
  4. function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
  5. classCheckPrivateStaticAccess(receiver, classConstructor);
  6. classCheckPrivateStaticFieldDescriptor(descriptor, "set");
  7. classApplyDescriptorSet(receiver, descriptor, value);
  8. return value;
  9. }
  10. module.exports = _classStaticPrivateFieldSpecSet, module.exports.__esModule = true, module.exports["default"] = module.exports;