TypeScript Version: 2.5.2
Code
let n: typeof Foo | typeof Bar;
n.name; // hover on `name` does not show its type
n.n // no autocompletion
namespace Foo {
export function name() {
return "foo";
}
}
namespace Bar {
export function name() {
return "bar";
}
}
Expected behavior: Autocompletion should work.
Actual behavior: It doesn't.
TypeScript Version: 2.5.2
Code
Expected behavior: Autocompletion should work.
Actual behavior: It doesn't.