Contextual type inference fails in surprising case #25814
Labels
Design Limitation
Constraints of the existing architecture prevent this from being fixed
Fixed
A PR has been merged for this issue
Milestone
TypeScript Version: 3.1.0-dev.20180719
Code
Expected behavior:
Contextually type a to number.
Actual behavior:
A is not contextually typed, while signature help gives the correct answer.
Playground Link: here
The text was updated successfully, but these errors were encountered: