Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 16c909b

Browse files
committed
TS: Add test case for import type * as ns
1 parent 260b243 commit 16c909b

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

javascript/ql/test/library-tests/TypeScript/TypeOnlyImportExport/test.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ getAnExportAccess
44
| Foo | tst.ts:3:15:3:17 | Foo |
55
getATypeDecl
66
| Foo | tst.ts:1:15:1:17 | Foo |
7+
| types | tst.ts:7:18:7:22 | types |

javascript/ql/test/library-tests/TypeScript/TypeOnlyImportExport/tst.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ import type { Foo } from "foo";
33
export type { Foo };
44

55
var Foo = 45;
6+
7+
import type * as types from "types";
8+
9+
export type * as blah from "blah";

0 commit comments

Comments
 (0)