2017-07-13 18:20:40 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////class C {
|
|
|
|
//// static m() { }
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////class D extends C {}
|
|
|
|
////namespace D {
|
|
|
|
//// export type T = number;
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////let x: D./*type*/;
|
|
|
|
////D./*value*/
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions(
|
|
|
|
{ marker: "type", exact: "T" },
|
2020-09-11 23:48:24 +02:00
|
|
|
{
|
|
|
|
marker: "value",
|
|
|
|
exact: [
|
|
|
|
{ name: "prototype", sortText: completion.SortText.LocationPriority },
|
|
|
|
{ name: "m", sortText: completion.SortText.LocalDeclarationPriority },
|
|
|
|
...completion.functionMembers
|
|
|
|
]
|
|
|
|
},
|
2018-10-29 18:03:25 +01:00
|
|
|
);
|