TypeScript/tests
Nathan Shively-Sanders 5deb676b3a
No did-you-mean-to-call error on casts Part 2 (#42779)
* No did-you-mean-to-call error on casts

I chose to do the ad-hoc check rather than yet another tree walk.

1. It's faster to run and easier to read.
2. This error came from looking at real code. It happened twice, so I
think the best estimate for other uses that happened zero times is in
fact zero.
3. I couldn't think of other places to put the cast, given the
restrictions on `testedNode` just before the new code.

* Skip parentheses
2021-02-12 10:07:59 -08:00
..
baselines/reference No did-you-mean-to-call error on casts Part 2 (#42779) 2021-02-12 10:07:59 -08:00
cases No did-you-mean-to-call error on casts Part 2 (#42779) 2021-02-12 10:07:59 -08:00
lib
projects