Commit graph

2 commits

Author SHA1 Message Date
Andrew Branch
7cdfbceb43
Improve accuracy of remove unnecessary await fix (#32384) 2019-07-15 15:17:32 -07:00
Andrew Branch
89badcc9d5
Add 'Remove unnecessary await' suggestion and fix (#32363)
* Add remove unnecessary await fix

* Add test for removing unnecessary parens after await is gone

* Fix handling of numbers in property access expressions

* Don’t offer suggestion when awaited type is any/unknown

* Fix random other test

* Fix new expression edge cases

* Only remove parens for identifiers and call expressions
2019-07-12 11:03:20 -07:00