diff options
| author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-09-25 22:23:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-26 07:23:35 +1000 |
| commit | 0ffaaba1648bab0cf8da04bbb9a2e1fac2ac60aa (patch) | |
| tree | 6cf63e366f298615ea3f9f52f73c55be7c18ca3e /cli/dts/lib.deno.window.d.ts | |
| parent | eb7f70c0b04d07feb30d41418935a3521811f8f8 (diff) | |
fix(cli/dts): Use var instead of const and let for globals (#7680)
Diffstat (limited to 'cli/dts/lib.deno.window.d.ts')
| -rw-r--r-- | cli/dts/lib.deno.window.d.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/dts/lib.deno.window.d.ts b/cli/dts/lib.deno.window.d.ts index 61c5abf8a..5c113cd0d 100644 --- a/cli/dts/lib.deno.window.d.ts +++ b/cli/dts/lib.deno.window.d.ts @@ -17,9 +17,9 @@ declare interface Window extends EventTarget { Deno: typeof Deno; } -declare const window: Window & typeof globalThis; -declare const self: Window & typeof globalThis; -declare const onload: ((this: Window, ev: Event) => any) | null; -declare const onunload: ((this: Window, ev: Event) => any) | null; +declare var window: Window & typeof globalThis; +declare var self: Window & typeof globalThis; +declare var onload: ((this: Window, ev: Event) => any) | null; +declare var onunload: ((this: Window, ev: Event) => any) | null; /* eslint-enable @typescript-eslint/no-explicit-any */ |
