diff options
Diffstat (limited to 'alarm/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js')
-rw-r--r-- | alarm/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/alarm/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js b/alarm/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js new file mode 100644 index 0000000..1bbfd34 --- /dev/null +++ b/alarm/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js @@ -0,0 +1,6 @@ +function _checkPrivateRedeclaration(obj, privateCollection) { + if (privateCollection.has(obj)) { + throw new TypeError("Cannot initialize the same private elements twice on an object"); + } +} +module.exports = _checkPrivateRedeclaration, module.exports.__esModule = true, module.exports["default"] = module.exports;
\ No newline at end of file |