summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.deno.window.d.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-23 15:18:52 -0400
committerGitHub <noreply@github.com>2024-09-23 19:18:52 +0000
commit33f169beb90814b7f2f62a8c0e3990722ae3db4c (patch)
tree9877fb3b7dcbfd4482afc530467c072e38601f55 /cli/tsc/dts/lib.deno.window.d.ts
parente1c8d2755e23182875b8fefeb558e603dd981418 (diff)
chore: add code generation for @types/deno (#25545)
Diffstat (limited to 'cli/tsc/dts/lib.deno.window.d.ts')
-rw-r--r--cli/tsc/dts/lib.deno.window.d.ts8
1 files changed, 4 insertions, 4 deletions
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 @@
/// <reference lib="deno.cache" />
/** @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.