classExtractFieldDescriptor.js 358 B

12345678910
  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;
  8. module.exports["default"] = module.exports, module.exports.__esModule = true;