diff options
Diffstat (limited to 'node_modules/@babel/runtime/helpers/builtin/objectDestructuringEmpty.js')
| -rw-r--r-- | node_modules/@babel/runtime/helpers/builtin/objectDestructuringEmpty.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/builtin/objectDestructuringEmpty.js b/node_modules/@babel/runtime/helpers/builtin/objectDestructuringEmpty.js new file mode 100644 index 00000000..1d5c04a7 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/builtin/objectDestructuringEmpty.js @@ -0,0 +1,5 @@ +function _objectDestructuringEmpty(obj) { + if (obj == null) throw new TypeError("Cannot destructure undefined"); +} + +module.exports = _objectDestructuringEmpty;
\ No newline at end of file |
