Skip to content

Fix iterated type in for-await-of #27247

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

Closed
wants to merge 1 commit into from
Closed

Fix iterated type in for-await-of #27247

wants to merge 1 commit into from

Conversation

rbuckton
Copy link
Contributor

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 added this to the TypeScript 3.1 milestone Sep 20, 2018
@rbuckton
Copy link
Contributor Author

@RyanCavanaugh: should I go ahead merge this into release-3.1 and create another PR to add this to master?

@rbuckton
Copy link
Contributor Author

This change is postponed to 3.2, you can find the PR against master here: #27271

@rbuckton rbuckton closed this Sep 21, 2018
@rbuckton rbuckton deleted the fix24570 branch September 21, 2018 17:45
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.

None yet

2 participants