esnext, allSettled, Promise
https://github.com/tc39/proposal-promise-allSettled is Stage 3 now
My suggestion meets these guidelines:
Giving this a bump since I intend to add this to the node type definitions.
Also, the description for this issue says Stage 3, but it was moved to Stage 4 roughly 2 months ago (https://github.com/tc39/proposals/blob/master/finished-proposals.md). It should probably be added to es2020, and not esnext.
This is already supported in Node 12.9.0, I think it should be added to TS natively. There's a @types definition for this but I didn't manage to get it to work though...
Why am I not able to use these types in the playground?
The playground has a constant single dts file for all the lib files. This doesn't get updated per version, and I've not got around to _an expensive to download but more accurate_ version yet - you can follow https://github.com/microsoft/TypeScript-Website/issues/82 for updates there
Most helpful comment
Also, the description for this issue says Stage 3, but it was moved to Stage 4 roughly 2 months ago (https://github.com/tc39/proposals/blob/master/finished-proposals.md). It should probably be added to
es2020, and notesnext.