Closed
Description
Which @angular/* package(s) are the source of the bug?
zone.js
Is this a regression?
No
Description
This library replaces window.Promise
with window.ZoneAwarePromise
.
In doing so, it eradicates the withResolvers
static method
Please provide a link to a minimal reproduction of the bug
n/a
Please provide the exception or error you saw
This is quite a simple case of replacing a native Class with your own and not propagating method calls properly.
Go to any page that doesn't use `zone.js` and running `Promise.withResolvers()` returns a value.
Go to any page that _does_ use `zone.js` and running `Promise.withResolvers()` returns an error.
Please provide the environment you discovered this bug in (run ng version
)
No response