(JSDoc, JavaScript) Imported class types by require() are unresolved #59964
Labels
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
Type: Bug
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
With source code below (
a.js
&b.js
), there are two issues present inb.js
, A and B.TS server reports
a.Foo
as alias of class Foo, butFoo
as unresolved.value
/obj
field orprop
getter line is enabled ina.js
exports.TS server reports
a.Foo
as unresolved.The only pattern to make TS server happy is
localObj
line.IMO diagnostics information should be presented other than the casual
/* unresolved */ any
message.VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Linux x64 6.5.0-44-generic
Modes:
A/B Experiments
The text was updated successfully, but these errors were encountered: