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 c19c6e1 commit d9b285cCopy full SHA for d9b285c
tests/cases/fourslash/importNameCodeFix_symlink_own_package.ts
@@ -0,0 +1,21 @@
1
+/// <reference path="fourslash.ts" />
2
+
3
+// @Filename: /packages/b/b0.ts
4
+// @Symlink: /node_modules/b/b0.ts
5
+////x;
6
7
+// @Filename: /packages/b/b1.ts
8
+// @Symlink: /node_modules/b/b1.ts
9
+////import { a } from "a";
10
+////export const x = 0;
11
12
+// @Filename: /packages/a/index.d.ts
13
+// @Symlink: /node_modules/a/index.d.ts
14
+////export const a: number;
15
16
+goTo.file("/packages/b/b0.ts");
17
+verify.importFixAtPosition([
18
+`import { x } from "./b1";
19
20
+x;`,
21
+]);
0 commit comments