Skip to content

Only add unnecessary-await suggestion on await expressions #32754

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
Aug 7, 2019

Conversation

andrewbranch
Copy link
Member

Doh, checkAwaitedType is used on more than just AwaitExpressions. Good catch @sandersn!

Fixes #32744

@andrewbranch andrewbranch requested a review from sandersn August 7, 2019 18:04
@andrewbranch andrewbranch merged commit 984956a into microsoft:master Aug 7, 2019
@andrewbranch andrewbranch deleted the bug/32744 branch August 7, 2019 18:27
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.

Bad suggestion for return inside async function:
2 participants