Within my codebase, I have a complex structure involving two levels of nested namespaces and numerous interfaces in the global scope.
declare global {
namespace A {
namespace B {
interface I1 {
}
interface I2 {
}
}
}
}
For example, I create a class C that implements the A.B.I1
interface.
class C implements A.B.I1 {}
While the TypeScript compiler handles this properly, there seems to be an issue with auto-suggestions for interfaces declared within the B
namespace when typing A.B ...
.
I've tested other IDEs and found that suggestions appear in WebStorm but not in Visual Studio 2019.
Using VS Code version 1.43 and TypeScript version 3.8.0
I've searched for information on this specific issue but haven't found any solutions yet.