-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(36266): async function needs Promise<T> return type quick fix #36654
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PromiseLike<foo>
should get auto‑fixed to Promise<foo>
instead of the current Promise<PromiseLike<foo>>
, which is incorrect: #27711.
a813d63
to
f90d850
Compare
This should probably also have some tests for non‑ |
f90d850
to
93aef86
Compare
b54313e
to
2f0e50c
Compare
Also, fix an additional baseline change and break up huge line.
@typescript-bot cherry-pick this to release-3.9 |
Heya @DanielRosenwasser, I've started to run the task to cherry-pick this into |
Hey @DanielRosenwasser, I've opened #38337 for you. |
Fixes #36266