summaryrefslogtreecommitdiff
path: root/tests/testdata/repl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/repl')
-rw-r--r--tests/testdata/repl/import_type.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testdata/repl/import_type.ts b/tests/testdata/repl/import_type.ts
new file mode 100644
index 000000000..851ebad86
--- /dev/null
+++ b/tests/testdata/repl/import_type.ts
@@ -0,0 +1,5 @@
+import { type B, create } from "./subdir/export_types.ts";
+
+const b: B = create();
+
+console.log(b);