From 2af9f5f2cfbb183c576fdad5f0aa2509a3f7de9a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 10 Apr 2020 14:24:42 -0400 Subject: Remove __domTypes namespace (#4698) --- cli/js/lib.deno.window.d.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'cli/js/lib.deno.window.d.ts') diff --git a/cli/js/lib.deno.window.d.ts b/cli/js/lib.deno.window.d.ts index e4ab6b70d..2b8e6f50f 100644 --- a/cli/js/lib.deno.window.d.ts +++ b/cli/js/lib.deno.window.d.ts @@ -7,19 +7,20 @@ /// /// -declare interface Window extends WindowOrWorkerGlobalScope { - window: Window & WindowOrWorkerGlobalScope & typeof globalThis; - self: Window & WindowOrWorkerGlobalScope & typeof globalThis; +declare interface Window { + window: Window & typeof globalThis; + self: Window & typeof globalThis; onload: Function | undefined; onunload: Function | undefined; + location: Location; crypto: Crypto; close: () => void; closed: boolean; Deno: typeof Deno; } -declare const window: Window & WindowOrWorkerGlobalScope & typeof globalThis; -declare const self: Window & WindowOrWorkerGlobalScope & typeof globalThis; +declare const window: Window & typeof globalThis; +declare const self: Window & typeof globalThis; declare const onload: Function | undefined; declare const onunload: Function | undefined; declare const crypto: Crypto; -- cgit v1.2.3