We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d074910 commit 3a29ef5Copy full SHA for 3a29ef5
src/promise-withResolvers.ts
@@ -24,7 +24,7 @@ export function isPolyfilled(): boolean {
24
}
25
26
export function apply(): void {
27
- if (!('withResolvers' in Promise)) {
+ if (!isSupported()) {
28
Object.assign(Promise, {withResolvers})
29
30
0 commit comments