Remove __domTypes namespace (#4698)

This commit is contained in:
Ryan Dahl 2020-04-10 14:24:42 -04:00 committed by GitHub
parent 8b4508338b
commit 2af9f5f2cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 170 additions and 212 deletions

View file

@ -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;