* When adding completions for a module, don't get the type of the module if not necessary. * Use SymbolFlags.Module alias
17 lines
373 B
TypeScript
17 lines
373 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////namespace N {
|
|
//// export type T = number;
|
|
////}
|
|
////const N = { m() {} };
|
|
////let x: N./*type*/;
|
|
////N./*value*/;
|
|
|
|
goTo.marker("type");
|
|
verify.completionListContains("T");
|
|
verify.not.completionListContains("m");
|
|
|
|
goTo.marker("value");
|
|
verify.not.completionListContains("T");
|
|
verify.completionListContains("m");
|