We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b84a59 commit 707e026Copy full SHA for 707e026
tests/cases/fourslash/completionsSelfDeclaring2.ts
@@ -1,18 +1,15 @@
1
/// <reference path="fourslash.ts" />
2
3
-////function f1<T>(x: T) {}
4
-////f1({ abc/*1*/ });
5
-////
6
-////function f2<T extends { xyz: number }>(x: T) {}
7
-////f2({ x/*2*/ });
+//// function f1<T>(x: T) {}
+//// f1({ abc/*1*/ });
+
+//// function f2<T extends { xyz: number }>(x: T) {}
+//// f2({ x/*2*/ });
8
9
10
verify.completions({
11
marker: "1",
12
- includes: [{
13
- name: "Object",
14
- sortText: completion.SortText.GlobalsOrKeywords
15
- }]
+ exact: completion.globalsPlus(["f1", "f2"])
16
});
17
18
0 commit comments