Newer
Older
framework / node_modules / @babel / runtime / helpers / esm / classExtractFieldDescriptor.js
@Tiago Leonardo Costa Dias Tiago Leonardo Costa Dias on 13 Mar 2024 246 bytes update
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);
}