You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our use case we are supplying our own polyfill for everything already so we set target to "Latest" to avoid dnt polyfills -- but since Promise.withResolvers is hardcoded to always polyfill, it's breaking our dnt generation runs:
src/_dnt.polyfills.ts:1:9 - error TS2669: Augmentations for the global scope can only be directly nested in external modules or ambient module declarations.
1 declare global {
~~~~~~
error: Uncaught (in promise) Error: Had 1 diagnostics.
throw new Error(`Had ${diagnostics.length} diagnostics.`);
The text was updated successfully, but these errors were encountered:
In our use case we are supplying our own polyfill for everything already so we set target to
"Latest"
to avoid dnt polyfills -- but sincePromise.withResolvers
is hardcoded to always polyfill, it's breaking our dnt generation runs:The text was updated successfully, but these errors were encountered: