From 5f3028af13c25fb3af8f36d3d5913ef0688e5ce7 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Sun, 11 Oct 2020 23:04:43 +0100 Subject: fix(cli/rt/main): Add global interface objects (#7875) --- cli/dts/lib.deno.window.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/dts/lib.deno.window.d.ts') diff --git a/cli/dts/lib.deno.window.d.ts b/cli/dts/lib.deno.window.d.ts index 5c113cd0d..03341636f 100644 --- a/cli/dts/lib.deno.window.d.ts +++ b/cli/dts/lib.deno.window.d.ts @@ -7,7 +7,8 @@ /// /// -declare interface Window extends EventTarget { +declare class Window extends EventTarget { + new(): Window; readonly window: Window & typeof globalThis; readonly self: Window & typeof globalThis; onload: ((this: Window, ev: Event) => any) | null; -- cgit v1.2.3