parcoursup/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js

7 lines
247 B
JavaScript
Raw Normal View History

2023-03-05 13:23:23 +01:00
export default function _classExtractFieldDescriptor(receiver, privateMap, action) {
if (!privateMap.has(receiver)) {
throw new TypeError("attempted to " + action + " private field on non-instance");
}
return privateMap.get(receiver);
}