mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
Add window.queueMicrotask (#2844)
This commit is contained in:
parent
07c3c76d0d
commit
fdd4252d49
5 changed files with 49 additions and 0 deletions
1
js/lib.deno_runtime.d.ts
vendored
1
js/lib.deno_runtime.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue