TypeScript/tests/cases/fourslash/completionListBeforeKeyword.ts
2014-09-15 13:53:25 -07:00

26 lines
710 B
TypeScript

/// <reference path="fourslash.ts" />
////// Completion after dot in named type, when the following line has a keyword
////module TypeModule1 {
//// export class C1 {}
//// export class C2 {}
////}
////var x : TypeModule1./*TypeReference*/
////module TypeModule2 {
//// export class Test3 {}
////}
////
////// Completion after dot in named type, when the following line has a keyword
////TypeModule1./*ValueReference*/
////module TypeModule3 {
//// export class Test3 {}
////}
goTo.marker("TypeReference");
verify.memberListContains("C1");
verify.memberListContains("C2");
goTo.marker("ValueReference");
verify.memberListContains("C1");
verify.memberListContains("C2");