summaryrefslogtreecommitdiff
path: root/js/lib.deno_runtime.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib.deno_runtime.d.ts')
-rw-r--r--js/lib.deno_runtime.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/lib.deno_runtime.d.ts b/js/lib.deno_runtime.d.ts
index 1e220a29d..d0a720769 100644
--- a/js/lib.deno_runtime.d.ts
+++ b/js/lib.deno_runtime.d.ts
@@ -1248,6 +1248,7 @@ declare interface Window {
setInterval: typeof timers.setInterval;
location: domTypes.Location;
onload: Function | undefined;
+ onunload: Function | undefined;
crypto: Crypto;
Blob: typeof blob.DenoBlob;
File: domTypes.DomFileConstructor;
@@ -1294,6 +1295,7 @@ declare const setTimeout: typeof timers.setTimeout;
declare const setInterval: typeof timers.setInterval;
declare const location: domTypes.Location;
declare const onload: Function | undefined;
+declare const onunload: Function | undefined;
declare const crypto: Crypto;
declare const Blob: typeof blob.DenoBlob;
declare const File: domTypes.DomFileConstructor;