summaryrefslogtreecommitdiff
path: root/js/lib.deno_runtime.d.ts
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-08-31 12:16:30 -0700
committerRyan Dahl <ry@tinyclouds.org>2019-08-31 15:16:30 -0400
commitfdd4252d49ceb022761b92d953d24672ab67ab91 (patch)
tree2c4e3517339bef1ead257c427f6073dcbc7db604 /js/lib.deno_runtime.d.ts
parent07c3c76d0d7585dc49ffde79d38c406ca9f6e7ca (diff)
Add window.queueMicrotask (#2844)
Diffstat (limited to 'js/lib.deno_runtime.d.ts')
-rw-r--r--js/lib.deno_runtime.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/lib.deno_runtime.d.ts b/js/lib.deno_runtime.d.ts
index bbdc1fcb9..8ece99581 100644
--- a/js/lib.deno_runtime.d.ts
+++ b/js/lib.deno_runtime.d.ts
@@ -1264,6 +1264,7 @@ declare interface Window {
callback: (event: domTypes.Event) => void | null,
options?: boolean | domTypes.EventListenerOptions | undefined
) => void;
+ queueMicrotask: (task: () => void) => void;
Deno: typeof Deno;
}