diff options
Diffstat (limited to 'school/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js')
-rw-r--r-- | school/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/school/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js b/school/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js new file mode 100644 index 0000000..bb16c0b --- /dev/null +++ b/school/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js @@ -0,0 +1,7 @@ +function _classPrivateFieldBase(receiver, privateKey) { + if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { + throw new TypeError("attempted to use private field on non-instance"); + } + return receiver; +} +module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
\ No newline at end of file |