From 33f169beb90814b7f2f62a8c0e3990722ae3db4c Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 23 Sep 2024 15:18:52 -0400 Subject: chore: add code generation for @types/deno (#25545) --- cli/tsc/dts/lib.deno.window.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/tsc/dts/lib.deno.window.d.ts') diff --git a/cli/tsc/dts/lib.deno.window.d.ts b/cli/tsc/dts/lib.deno.window.d.ts index 511bb04ad..636e2b0fd 100644 --- a/cli/tsc/dts/lib.deno.window.d.ts +++ b/cli/tsc/dts/lib.deno.window.d.ts @@ -8,14 +8,14 @@ /// /** @category Platform */ -declare interface WindowEventMap { +interface WindowEventMap { "error": ErrorEvent; "unhandledrejection": PromiseRejectionEvent; "rejectionhandled": PromiseRejectionEvent; } /** @category Platform */ -declare interface Window extends EventTarget { +interface Window extends EventTarget { readonly window: Window & typeof globalThis; readonly self: Window & typeof globalThis; onerror: ((this: Window, ev: ErrorEvent) => any) | null; @@ -105,7 +105,7 @@ declare var sessionStorage: Storage; declare var caches: CacheStorage; /** @category Platform */ -declare interface Navigator { +interface Navigator { readonly gpu: GPU; readonly hardwareConcurrency: number; readonly userAgent: string; @@ -221,7 +221,7 @@ declare function removeEventListener( * * @category Platform */ -declare interface Location { +interface Location { /** Returns a DOMStringList object listing the origins of the ancestor * browsing contexts, from the parent browsing context to the top-level * browsing context. -- cgit v1.2.3