-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Add PromiseResult
type to standard lib
#28105
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
Comments
See #17077, and discussion at
Search also for |
Just to clarify, for |
Sounds like recursive conditional types to me... but that's already discussed somewhere else |
Any progress here? :) |
Interested in this as well. The AWS SDK uses this as the return of their promises
|
Coming in #35998, hopefully |
Search Terms
promise result type
Suggestion
Typescript already ships with a
ReturnType
type and aParameters
type, so why not ship with aPromiseResult
type:Use Cases/Examples
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: