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 2e7ce75 commit 749f1f3Copy full SHA for 749f1f3
packages/angular/polyfills/src/index.ts
@@ -43,3 +43,7 @@ if (typeof AbortController === 'undefined') {
43
if (typeof AbortSignal === 'undefined') {
44
global.AbortSignal = AbortSignal;
45
}
46
+
47
+if (typeof queueMicrotask === 'undefined') {
48
+ global.queueMicrotask = (cb) => Promise.resolve().then(cb);
49
+}
packages/zone-js/dist/pre-zone-polyfills.ts
@@ -10,7 +10,3 @@ export const disabledPatches = [
10
for (const patch of disabledPatches) {
11
global[`__Zone_disable_${patch}`] = true;
12
13
-
14
-if (typeof queueMicrotask === 'undefined') {
15
- global.queueMicrotask = (cb) => Promise.resolve().then(cb);
16
-}
0 commit comments