aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/es6/objectDestructuringEmpty.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/es6/objectDestructuringEmpty.js')
-rw-r--r--node_modules/@babel/runtime/helpers/es6/objectDestructuringEmpty.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/es6/objectDestructuringEmpty.js b/node_modules/@babel/runtime/helpers/es6/objectDestructuringEmpty.js
new file mode 100644
index 00000000..82b67d2c
--- /dev/null
+++ b/node_modules/@babel/runtime/helpers/es6/objectDestructuringEmpty.js
@@ -0,0 +1,3 @@
+export default function _objectDestructuringEmpty(obj) {
+ if (obj == null) throw new TypeError("Cannot destructure undefined");
+} \ No newline at end of file