Improve display experience for unresolved symbols #45893
Labels
Domain: Type Display
Bugs relating to showing types in Quick Info/Tooltips, Signature Help, or Completion Info
Experimentation Needed
Someone needs to try this out to see what happens
Fix Available
A PR has been opened for this issue
Suggestion
An idea for TypeScript
Milestone
Today if you have code like
and
Thing
is not resolved, quick info will just fill inThing
asany
. It may be preferable to still displayThing
, which could be achieved by synthesizing a new symbol on the fly. This is handy in partial semantic mode, where full program construction is still taking place in the background, or in scenarios like web editors where we'll never have the full project.This should not affect declaration emit. Additionally, there's a risk that users find this confusing because it's occasionally useful to know that something is in a broken state. While
any
s are annoying, they help signal this.The work involved here might be related to #38836
The text was updated successfully, but these errors were encountered: