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