summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/check/jsx_not_checked/main.out
blob: a4e1c60e41fde969f52ae92b2654ca0fcc040329 (plain)
1
2
3
4
5
6
7
8
9
10
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