simple-squiggle/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js

9 lines
309 B
JavaScript

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