summaryrefslogtreecommitdiff
path: root/op_crates/web/internal.d.ts
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-01-28 21:37:21 +0100
committerGitHub <noreply@github.com>2021-01-28 21:37:21 +0100
commit6ecc86cf2ae4bb0aac6f3d0e954382a69176b387 (patch)
tree8405d5a781abda4e59b508af2e6b5beaba86db88 /op_crates/web/internal.d.ts
parent7bda0f567ec7e1a688b41b6026c6124656cd413a (diff)
chore: add jsdoc to 26_fetch.js and enable some fetch tests (#9305)
Diffstat (limited to 'op_crates/web/internal.d.ts')
-rw-r--r--op_crates/web/internal.d.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/op_crates/web/internal.d.ts b/op_crates/web/internal.d.ts
new file mode 100644
index 000000000..8f9160165
--- /dev/null
+++ b/op_crates/web/internal.d.ts
@@ -0,0 +1,16 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+
+/// <reference no-default-lib="true" />
+/// <reference lib="esnext" />
+
+declare namespace globalThis {
+ declare namespace __bootstrap {
+ declare var url: {
+ URLSearchParams: typeof URLSearchParams;
+ };
+
+ declare var location: {
+ getLocationHref(): string | undefined;
+ };
+ }
+}