diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-10 14:24:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 14:24:42 -0400 |
commit | 2af9f5f2cfbb183c576fdad5f0aa2509a3f7de9a (patch) | |
tree | 6bc2bf0a743eca6e76d0ee9c9353cb492e8afde8 /cli/js/lib.deno.window.d.ts | |
parent | 8b4508338b15dcc08503553dc9179a154c0165c7 (diff) |
Remove __domTypes namespace (#4698)
Diffstat (limited to 'cli/js/lib.deno.window.d.ts')
-rw-r--r-- | cli/js/lib.deno.window.d.ts | 11 |
1 files changed, 6 insertions, 5 deletions
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 @@ /// <reference lib="deno.shared_globals" /> /// <reference lib="esnext" /> -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; |