Skip to content

Commit 9972745

Browse files
committed
Test
1 parent dbef230 commit 9972745

File tree

1 file changed

+22
-0
lines changed

1 file changed

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

Comments
 (0)