Skip to content

Fix iterated type in for-await-of #27271

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

Merged
merged 1 commit into from
Sep 21, 2018
Merged

Fix iterated type in for-await-of #27271

merged 1 commit into from
Sep 21, 2018

Conversation

rbuckton
Copy link
Contributor

NOTE: This is the same change in #27247 except this targets "master"

Fixes the type we return in getIteratedTypeOfIterable for for..await..of. and yield* when the expression is an Iterable<Promise<T>>.

Fixes #24570

@rbuckton rbuckton merged commit 5fb3976 into master Sep 21, 2018
@rbuckton rbuckton deleted the fix24570-3 branch September 21, 2018 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants