26 lines
No EOL
710 B
TypeScript
26 lines
No EOL
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"); |