diff options
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js')
-rw-r--r-- | alarm/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js b/alarm/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js new file mode 100644 index 0000000..09e9330 --- /dev/null +++ b/alarm/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js @@ -0,0 +1,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; +}
\ No newline at end of file |