TypeScript/tests/cases/fourslash/completionListPrivateMembers3.ts

32 lines
615 B
TypeScript

/// <reference path="fourslash.ts"/>
////class Other {
//// public p;
//// protected p2
//// private p3;
////}
////
////class Self {
//// private other: Other;
////
//// method() {
//// this.other./*1*/;
////
//// this.other.p/*2*/;
////
//// this.other.p/*3*/.toString();
//// }
////}
goTo.marker("1");
verify.completionListContains("p");
verify.completionListCount(1);
goTo.marker("2");
verify.completionListContains("p");
verify.completionListCount(1);
goTo.marker("2");
verify.completionListContains("p");
verify.completionListCount(1);