classExtractFieldDescriptor.js 358 B

123456789
  1. function _classExtractFieldDescriptor(receiver, privateMap, action) {
  2. if (!privateMap.has(receiver)) {
  3. throw new TypeError("attempted to " + action + " private field on non-instance");
  4. }
  5. return privateMap.get(receiver);
  6. }
  7. module.exports = _classExtractFieldDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports;