@@ -81,15 +81,14 @@ verify.quickInfos({
81
81
verify . quickInfoAt ( "8" , "(property) i2.x: number" , "this is x" ) ;
82
82
verify . completions ( {
83
83
marker : "8" ,
84
- exact : [
84
+ exact : completion . functionMembersWithPrototypePlus ( [
85
85
{ name : "x" , text : "(property) i2.x: number" , documentation : "this is x" } ,
86
86
{ name : "foo" , text : "(property) i2.foo: (b: number) => string" , documentation : "this is foo" } ,
87
87
{ name : "nc_x" , text : "(property) i2.nc_x: number" } ,
88
88
{ name : "nc_foo" , text : "(property) i2.nc_foo: (b: number) => string" } ,
89
89
{ name : "fnfoo" , text : "(method) i2.fnfoo(b: number): string" , documentation : "this is fnfoo" } ,
90
90
{ name : "nc_fnfoo" , text : "(method) i2.nc_fnfoo(b: number): string" } ,
91
- ...completion . functionMembersWithPrototype ,
92
- ] ,
91
+ ] ) ,
93
92
isNewIdentifierLocation : true ,
94
93
} ) ;
95
94
@@ -199,12 +198,12 @@ verify.quickInfoIs("(method) i3.f(a: number): string", "Function i3 f");
199
198
verify . completions ( {
200
199
marker : "41" ,
201
200
exact : [
202
- { name : "x" , text : "(property) i3.x: number" , documentation : "Comment i3 x" } ,
203
201
{ name : "f" , text : "(method) i3.f(a: number): string" , documentation : "Function i3 f" } ,
204
202
{ name : "l" , text : "(property) i3.l: (b: number) => string" , documentation : "i3 l" } ,
205
- { name : "nc_x" , text : "(property) i3.nc_x: number" } ,
206
203
{ name : "nc_f" , text : "(method) i3.nc_f(a: number): string" } ,
207
204
{ name : "nc_l" , text : "(property) i3.nc_l: (b: number) => string" } ,
205
+ { name : "nc_x" , text : "(property) i3.nc_x: number" } ,
206
+ { name : "x" , text : "(property) i3.x: number" , documentation : "Comment i3 x" } ,
208
207
] ,
209
208
} ) ;
210
209
0 commit comments