summaryrefslogtreecommitdiff
path: root/tests/testdata/check/all
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/check/all')
-rw-r--r--tests/testdata/check/all/check_all.out4
-rw-r--r--tests/testdata/check/all/check_all.ts3
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/testdata/check/all/check_all.out b/tests/testdata/check/all/check_all.out
new file mode 100644
index 000000000..344264634
--- /dev/null
+++ b/tests/testdata/check/all/check_all.out
@@ -0,0 +1,4 @@
+error: TS2322 [ERROR]: Type '12' is not assignable to type '"a"'.
+export const a: "a" = 12;
+ ^
+ at http://localhost:4545/subdir/type_error.ts:1:14
diff --git a/tests/testdata/check/all/check_all.ts b/tests/testdata/check/all/check_all.ts
new file mode 100644
index 000000000..2ae8c2692
--- /dev/null
+++ b/tests/testdata/check/all/check_all.ts
@@ -0,0 +1,3 @@
+import * as a from "http://localhost:4545/subdir/type_error.ts";
+
+console.log(a.a);