Add quick fix for This condition will always return true since the function is always defined. Did you mean to call it instead
#33792
Labels
Committed
The team has roadmapped this issue
Fixed
A PR has been merged for this issue
Suggestion
An idea for TypeScript
Milestone
TypeScript Version: 3.7.0-dev.20191003
Search Terms:
Code
This code produces the error:
This condition will always return true since the function is always defined. Did you mean to call it instead?
for the conditionalExpected behavior:
A quick fix to add the missing call is returned. This would change the code to:
Actual behavior:
No quick fixes
The text was updated successfully, but these errors were encountered: