shift73k/assets_old/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js

10 lines
358 B
JavaScript
Raw Normal View History

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