From 7bdeee8997bde0efe40bcec41c0706bdab58893b Mon Sep 17 00:00:00 2001 From: Kurt Mackey Date: Tue, 11 Jun 2019 20:32:49 -0500 Subject: makes global request type an interface (#2503) --- js/globals.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/globals.ts') 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; -- cgit v1.2.3