Skip to content

Commit 11ccee0

Browse files
committed
Add tests
1 parent 6012cce commit 11ccee0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/cases/importTypeOnly.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,11 @@ import type * as types from "mod";
44
import type from "mod";
55
import type = require("mod");
66
import type T = require("mod");
7+
import { type X } from "mod";
8+
import { X, type Y} from "mod";
9+
import type { type X } from "mod"; // grammar error
10+
import { type as foo } from "mod"; // not type-only
11+
import { type type } from "mod";
12+
import { type as as as } from "mod";
13+
import { type type as as } from "mod";
14+
import { type type as type } from "mod";

0 commit comments

Comments
 (0)