38 lines
1 KiB
TypeScript
38 lines
1 KiB
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
////class Base {
|
|
//// private privateInstanceMethod() { }
|
|
//// public publicInstanceMethod() { }
|
|
////
|
|
//// private privateProperty = 1;
|
|
//// public publicProperty = 1;
|
|
////
|
|
//// private static privateStaticProperty = 1;
|
|
//// public static publicStaticProperty = 1;
|
|
////
|
|
//// private static privateStaticMethod() { }
|
|
//// public static publicStaticMethod() {
|
|
//// Class./*staticsInsideClassScope*/publicStaticMethod();
|
|
//// var c = new Class();
|
|
//// c./*instanceMembersInsideClassScope*/privateProperty;
|
|
//// }
|
|
////}
|
|
////class Class extends Base {
|
|
//// private test() {
|
|
//// super./**/
|
|
//// }
|
|
////}
|
|
|
|
verify.completions({
|
|
marker: "",
|
|
includes: "publicInstanceMethod",
|
|
excludes: [
|
|
"publicProperty",
|
|
// No statics
|
|
"publicStaticProperty",
|
|
"publicStaticMethod",
|
|
// No privates
|
|
"privateProperty",
|
|
"privateInstanceMethod",
|
|
]
|
|
});
|