_class_private_field_set.js 701 B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = _classPrivateFieldSet;
  6. var _classExtractFieldDescriptorMjs = _interopRequireDefault(require("./_class_extract_field_descriptor.js"));
  7. var _classApplyDescriptorSetMjs = _interopRequireDefault(require("./_class_apply_descriptor_set.js"));
  8. function _classPrivateFieldSet(receiver, privateMap, value) {
  9. var descriptor = (0, _classExtractFieldDescriptorMjs).default(receiver, privateMap, "set");
  10. (0, _classApplyDescriptorSetMjs).default(receiver, descriptor, value);
  11. return value;
  12. }
  13. function _interopRequireDefault(obj) {
  14. return obj && obj.__esModule ? obj : {
  15. default: obj
  16. };
  17. }