TypeScript/tests/cases/fourslash/completionsNamespaceMergedWithClass.ts
Andy 69d3ca774a When adding completions for a module, don't get the type of the module if not necessary. (#16768)
* When adding completions for a module, don't get the type of the module if not necessary.

* Use SymbolFlags.Module alias
2017-07-13 09:20:40 -07:00

22 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");