2015-03-02 23:41:44 +01:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////class Base {
|
|
|
|
//// private privateMethod() { }
|
|
|
|
//// private privateProperty;
|
|
|
|
////
|
|
|
|
//// protected protectedMethod() { }
|
|
|
|
//// protected protectedProperty;
|
|
|
|
////
|
|
|
|
//// public publicMethod() { }
|
|
|
|
//// public publicProperty;
|
|
|
|
////
|
|
|
|
//// protected protectedOverriddenMethod() { }
|
|
|
|
//// protected protectedOverriddenProperty;
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////class C1 extends Base {
|
|
|
|
//// public protectedOverriddenMethod() { }
|
|
|
|
//// public protectedOverriddenProperty;
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
//// var c: C1;
|
|
|
|
//// c./*1*/
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({ marker: "1", exact: ["protectedOverriddenMethod", "protectedOverriddenProperty", "publicMethod", "publicProperty"] });
|