Add window.queueMicrotask (#2844)

This commit is contained in:
Kevin (Kun) "Kassimo" Qian 2019-08-31 12:16:30 -07:00 committed by Ryan Dahl
parent 07c3c76d0d
commit fdd4252d49
5 changed files with 49 additions and 0 deletions

View file

@ -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;
}