We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57c5971 commit 1e3a851Copy full SHA for 1e3a851
packages/zone-js/dist/pre-zone-polyfills.ts
@@ -3,3 +3,7 @@ export const disabledPatches = ['legacy', 'EventTarget', 'XHR', 'MutationObserve
3
for (const patch of disabledPatches) {
4
global[`__Zone_disable_${patch}`] = true;
5
}
6
+
7
+if (typeof queueMicrotask === 'undefined') {
8
+ global.queueMicrotask = (cb) => Promise.resolve().then(cb);
9
+}
0 commit comments