aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/@babel/runtime/helpers/esm/using.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/esm/using.js')
-rw-r--r--node_modules/@babel/runtime/helpers/esm/using.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/esm/using.js b/node_modules/@babel/runtime/helpers/esm/using.js
new file mode 100644
index 0000000..9bda17b
--- /dev/null
+++ b/node_modules/@babel/runtime/helpers/esm/using.js
@@ -0,0 +1,12 @@
+function _using(o, n, e) {
+ if (null == n) return n;
+ if (Object(n) !== n) throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");
+ if (e) var r = n[Symbol.asyncDispose || Symbol["for"]("Symbol.asyncDispose")];
+ if (null == r && (r = n[Symbol.dispose || Symbol["for"]("Symbol.dispose")]), "function" != typeof r) throw new TypeError("Property [Symbol.dispose] is not a function.");
+ return o.push({
+ v: n,
+ d: r,
+ a: e
+ }), n;
+}
+export { _using as default }; \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage