summaryrefslogtreecommitdiff
path: root/js/globals.ts
diff options
context:
space:
mode:
authorKurt Mackey <mrkurt@gmail.com>2019-06-11 20:32:49 -0500
committerRyan Dahl <ry@tinyclouds.org>2019-06-11 21:32:49 -0400
commit7bdeee8997bde0efe40bcec41c0706bdab58893b (patch)
tree4ff2e6e11b29f9bf387ba3812e16a3cfcaf8b1a8 /js/globals.ts
parent878d092df9cc89ad92e571e2422ffb1ed488dd0e (diff)
makes global request type an interface (#2503)
Diffstat (limited to 'js/globals.ts')
-rw-r--r--js/globals.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/globals.ts b/js/globals.ts
index 5fc264a59..4f2d53147 100644
--- a/js/globals.ts
+++ b/js/globals.ts
@@ -117,8 +117,8 @@ export type TextEncoder = textEncoding.TextEncoder;
window.TextDecoder = textEncoding.TextDecoder;
export type TextDecoder = textEncoding.TextDecoder;
-window.Request = request.Request;
-export type Request = request.Request;
+window.Request = request.Request as domTypes.RequestConstructor;
+export type Request = domTypes.Request;
//window.Response = response.Response;
//export type Response = response.Response;