Skip to content

Commit 028f88d

Browse files
committed
fix: polyfills
1 parent ee1d340 commit 028f88d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/angular/polyfills/src/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ if (typeof queueMicrotask === 'undefined') {
3636
global.queueMicrotask = (cb) => Promise.resolve().then(cb);
3737
}
3838

39-
if (typeof AbortController === 'undefined') {
39+
if (typeof global.AbortController === 'undefined') {
40+
// @ts-ignore
4041
global.AbortController = AbortController;
4142
}
4243

43-
if (typeof AbortSignal === 'undefined') {
44+
if (typeof global.AbortSignal === 'undefined') {
45+
// @ts-ignore
4446
global.AbortSignal = AbortSignal;
4547
}
4648

0 commit comments

Comments
 (0)