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 9e03db2 commit c4320a2Copy full SHA for c4320a2
tests/cases/fourslash/pathCompletionsAllowTsExtensions.ts
@@ -10,12 +10,14 @@
10
// @Filename: /project/main.ts
11
//// import {} from ".//**/"
12
13
+// Extensionless by default
14
verify.completions({
15
marker: "",
16
isNewIdentifierLocation: true,
17
exact: ["foo"],
18
});
19
20
+// .ts extension when allowImportingTsExtensions is true and setting is js...
21
22
23
@@ -25,8 +27,8 @@ verify.completions({
25
27
},
26
28
29
30
+// ...or when another import uses .ts extension
31
edit.insert(`foo.ts"\nimport {} from "./`);
-
32
33
34
0 commit comments