summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/compile
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/compile')
-rw-r--r--cli/tests/testdata/compile/check_local_by_default.ts3
-rw-r--r--cli/tests/testdata/compile/check_local_by_default2.ts6
2 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/testdata/compile/check_local_by_default.ts b/cli/tests/testdata/compile/check_local_by_default.ts
new file mode 100644
index 000000000..2ae8c2692
--- /dev/null
+++ b/cli/tests/testdata/compile/check_local_by_default.ts
@@ -0,0 +1,3 @@
+import * as a from "http://localhost:4545/subdir/type_error.ts";
+
+console.log(a.a);
diff --git a/cli/tests/testdata/compile/check_local_by_default2.ts b/cli/tests/testdata/compile/check_local_by_default2.ts
new file mode 100644
index 000000000..5177ff944
--- /dev/null
+++ b/cli/tests/testdata/compile/check_local_by_default2.ts
@@ -0,0 +1,6 @@
+import * as a from "http://localhost:4545/subdir/type_error.ts";
+
+const b: "b" = 12;
+
+console.log(a.a);
+console.log(b);