summaryrefslogtreecommitdiff
path: root/cli/js/dom_types.ts
diff options
context:
space:
mode:
authorserverhiccups <hiccup@hiccup01.com>2020-02-04 03:54:47 +1300
committerGitHub <noreply@github.com>2020-02-03 15:54:47 +0100
commit2b0cf74a8f6335ae4e8ef2dfe1010d2695b1c518 (patch)
treed2d725273149dc17e10c306fa4aeaa1a02685530 /cli/js/dom_types.ts
parentfba40d86c4cbb8ff406175820ea9a2d9eb2b40cd (diff)
Make fetch API more standards compliant (#3667)
Diffstat (limited to 'cli/js/dom_types.ts')
-rw-r--r--cli/js/dom_types.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/dom_types.ts b/cli/js/dom_types.ts
index e32b5f0f1..1e6c622c8 100644
--- a/cli/js/dom_types.ts
+++ b/cli/js/dom_types.ts
@@ -530,8 +530,8 @@ type RequestDestination =
| "worker"
| "xslt";
type RequestMode = "navigate" | "same-origin" | "no-cors" | "cors";
-type RequestRedirect = "follow" | "error" | "manual";
-type ResponseType =
+type RequestRedirect = "follow" | "nofollow" | "error" | "manual";
+export type ResponseType =
| "basic"
| "cors"
| "default"