You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[4:24:35 PM] Starting compilation in watch mode...
src/index.tsx:3:9 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
3 let x = <Foo></Foo>;
~~~~~
[4:24:37 PM] Found 1 error. Watching for file changes.
Now add
"jsx": "react",
to thetsconfig.json
.{ "compilerOptions": { + "jsx": "react", "target": "esnext", "module": "commonjs", "noEmit": true, } }
Expected: Error should be gone.
Actual: Error is still present.
The text was updated successfully, but these errors were encountered: