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 dbef230 commit 9972745Copy full SHA for 9972745
tests/cases/fourslash/findAllRefsReExportsUseInImportType.ts
@@ -0,0 +1,22 @@
1
+/// <reference path="fourslash.ts" />
2
+
3
+// @Filename: /foo/types/types.ts
4
+////[|export type [|Full|] = { prop: string; };|]
5
6
+// @Filename: /foo/types/index.ts
7
+////import * as foo from './types';
8
+////export { foo };
9
10
+// @Filename: /app.ts
11
+////import { foo } from './foo/types';
12
+////export type fullType = foo.Full;
13
+////type namespaceImport = typeof import('./foo/types');
14
+////type fullType2 = import('./foo/types').foo.Full;
15
16
+verify.noErrors();
17
+const [full0Def, full0] = test.ranges();
18
+verify.referenceGroups([full0], [{
19
+ definition: "type foo",
20
+ ranges: [full0]
21
+}])
22
0 commit comments