Suggestion diagnostics show in untyped JS code when regular diagnostics don't #27852
Labels
Domain: Error Messages
The issue relates to error messaging
Domain: TSServer
Issues related to the TSServer
In Discussion
Not yet reached consensus
Suggestion
An idea for TypeScript
TypeScript Version: 3.2.0-dev.20181011
Code
Expected behavior:
If we're not showing regular diagnostics, we should probably not show any suggestions either.
Actual behavior:
"".toUperKase()
is fine.require
is a real problem that we need to let the user know about right away!The text was updated successfully, but these errors were encountered: