Skip to content

Commit d9b285c

Browse files
author
Andy Hanson
committed
Add test for #26044
1 parent c19c6e1 commit d9b285c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)