summaryrefslogtreecommitdiff
path: root/alarm/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js
blob: 09e93304f970e7a68972ecf67bc0eda8c3eba9d4 (plain)
1
2
3
4
5
6
export default function _classPrivateFieldBase(receiver, privateKey) {
  if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
    throw new TypeError("attempted to use private field on non-instance");
  }
  return receiver;
}