summaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/esm/checkInRHS.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/esm/checkInRHS.js')
-rw-r--r--node_modules/@babel/runtime/helpers/esm/checkInRHS.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/esm/checkInRHS.js b/node_modules/@babel/runtime/helpers/esm/checkInRHS.js
new file mode 100644
index 00000000..8b59ccf8
--- /dev/null
+++ b/node_modules/@babel/runtime/helpers/esm/checkInRHS.js
@@ -0,0 +1,5 @@
+import _typeof from "./typeof.js";
+export default function _checkInRHS(e) {
+ if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null"));
+ return e;
+} \ No newline at end of file