classPrivateMethodGet.js 309 B

12345678910
  1. function _classPrivateMethodGet(receiver, privateSet, fn) {
  2. if (!privateSet.has(receiver)) {
  3. throw new TypeError("attempted to get private field on non-instance");
  4. }
  5. return fn;
  6. }
  7. module.exports = _classPrivateMethodGet;
  8. module.exports["default"] = module.exports, module.exports.__esModule = true;