summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/check/jsx_not_checked/main.out
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-07-27 14:09:02 -0400
committerGitHub <noreply@github.com>2023-07-27 14:09:02 -0400
commitfa52b5e73374dfd1e76f82207dd59020b6520148 (patch)
treeca41133be253fb4feecba5a9848786eddb3b8c68 /cli/tests/testdata/check/jsx_not_checked/main.out
parent7b29f1c934c3754a49be4100ba0ed5ad628255a8 (diff)
fix: do not include jsx without `@ts-check` in tsc roots (#19964)
Closes #19928
Diffstat (limited to 'cli/tests/testdata/check/jsx_not_checked/main.out')
-rw-r--r--cli/tests/testdata/check/jsx_not_checked/main.out11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/testdata/check/jsx_not_checked/main.out b/cli/tests/testdata/check/jsx_not_checked/main.out
new file mode 100644
index 000000000..a4e1c60e4
--- /dev/null
+++ b/cli/tests/testdata/check/jsx_not_checked/main.out
@@ -0,0 +1,11 @@
+Download http://localhost:4545/npm/registry/react
+Download http://localhost:4545/npm/registry/loose-envify
+Download http://localhost:4545/npm/registry/js-tokens
+Download http://localhost:4545/npm/registry/react/react-18.2.0.tgz
+Download http://localhost:4545/npm/registry/loose-envify/loose-envify-1.4.0.tgz
+Download http://localhost:4545/npm/registry/js-tokens/js-tokens-4.0.0.tgz
+Check file:///[WILDCARD]/jsx_not_checked/main.jsx
+error: TS2345 [ERROR]: Argument of type 'string' is not assignable to parameter of type 'number'.
+console.log(add("1", "2"));
+ ~~~
+ at file:///[WILDCARD]/other.ts:5:17