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
Yes, but it's referenced in the context of a side-effect import, which generally isn't checked. Usually it's not an issue because TypeScript itself doesn't try to get it's symbol, and API consumers don't have an access to diagnostics producing type checker, but they would have it with #28584
This issue has been marked as 'Question' and has seen no recent activity. It has been automatically closed for house-keeping purposes. If you're still waiting on a response, questions are usually better suited to stackoverflow.
weswigham
added
API
Relates to the public API for TypeScript
Bug
A bug in TypeScript
and removed
Question
An issue which isn't directly actionable in code
labels
Feb 11, 2020
TypeScript Version: 3.7.x-dev.201xxxxx
Search Terms:
Code
Expected behavior:
getSemanticDiagnostics
to return an empty arrayActual behavior:
TS2307: Cannot find module './module'.
Removing
getSemanticDiagnostics
or usinggetTypeAtLocation
instead does not produce a diagnostic.Similarly to #34913, it's observable only with diagnostics producing type checker.
Playground Link:
Related Issues: #34913
The text was updated successfully, but these errors were encountered: