classPrivateFieldLooseBase.js 345 B

123456789
  1. function _classPrivateFieldBase(receiver, privateKey) {
  2. if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
  3. throw new TypeError("attempted to use private field on non-instance");
  4. }
  5. return receiver;
  6. }
  7. module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports;