_class_private_field_update.js 694 B

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