You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of caching, it has noticeable effects only when getSemanticDiagnostics is called after getTypeAtLocation.
It happens only when internal getDiagnosticsProducingTypeChecker method is used, but I think it still might be undesirable and would be an issue if #28584 would be merged.
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered:
TypeScript Version: 3.8.0-dev.20191102
Search Terms:
Code
Expected behavior:
getSemanticDiagnostics
to return an empty arrayActual behavior:
TS2304: Cannot find name 'const'.
Because of caching, it has noticeable effects only when
getSemanticDiagnostics
is called aftergetTypeAtLocation
.It happens only when internal
getDiagnosticsProducingTypeChecker
method is used, but I think it still might be undesirable and would be an issue if #28584 would be merged.Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: