summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/check_js_points_to_ts/test.js.out
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <espindola@chiselstrike.com>2022-07-14 14:40:47 +0000
committerGitHub <noreply@github.com>2022-07-14 10:40:47 -0400
commita34ed568e98d2f10f699f707841cab96847d3ce9 (patch)
treed919e3316a574393344c7a198b6cdf36f71ce9d1 /cli/tests/testdata/run/check_js_points_to_ts/test.js.out
parent2423f83ca87f5175791af90c05f00946de624d8e (diff)
fix(cli): expand tsc roots when using checkJs (#15164)
A JS file can still point to a TS file, so we need to expand the roots in the checkJs case too. Fixes: #15163
Diffstat (limited to 'cli/tests/testdata/run/check_js_points_to_ts/test.js.out')
-rw-r--r--cli/tests/testdata/run/check_js_points_to_ts/test.js.out4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/testdata/run/check_js_points_to_ts/test.js.out b/cli/tests/testdata/run/check_js_points_to_ts/test.js.out
new file mode 100644
index 000000000..c052a7c3d
--- /dev/null
+++ b/cli/tests/testdata/run/check_js_points_to_ts/test.js.out
@@ -0,0 +1,4 @@
+error: TS2322 [ERROR]: Type 'number' is not assignable to type 'string'.
+ return 42;
+ ~~~~~~~~~~
+ at [WILDCARD]