Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal-promise-allSettled #31083

Closed
5 tasks
Kingwl opened this issue Apr 24, 2019 · 5 comments · Fixed by #34065
Closed
5 tasks

proposal-promise-allSettled #31083

Kingwl opened this issue Apr 24, 2019 · 5 comments · Fixed by #34065
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript ES Next New featurers for ECMAScript (a.k.a. ESNext) Fixed A PR has been merged for this issue

Comments

@Kingwl
Copy link
Contributor

Kingwl commented Apr 24, 2019

Search Terms

esnext, allSettled, Promise

Suggestion

https://github.com/tc39/proposal-promise-allSettled is Stage 3 now

Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.
@RyanCavanaugh RyanCavanaugh added the Bug A bug in TypeScript label Apr 30, 2019
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Apr 30, 2019
@RyanCavanaugh RyanCavanaugh added the Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript label Apr 30, 2019
@SimonSchick
Copy link

Giving this a bump since I intend to add this to the node type definitions.

@csvn
Copy link

csvn commented Oct 8, 2019

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.

@khaosdoctor
Copy link

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...

@DanielRosenwasser DanielRosenwasser added the Fixed A PR has been merged for this issue label Jan 3, 2020
@DanielRosenwasser DanielRosenwasser added the ES Next New featurers for ECMAScript (a.k.a. ESNext) label Jan 3, 2020
@Pomar81
Copy link

Pomar81 commented Feb 19, 2020

Why am I not able to use these types in the playground?

demo

@orta
Copy link
Contributor

orta commented Feb 19, 2020

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 microsoft/TypeScript-Website#82 for updates there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript ES Next New featurers for ECMAScript (a.k.a. ESNext) Fixed A PR has been merged for this issue
Projects
None yet
8 participants