Typescript errors in code

Hi i have a wired issue. In all my typescript projects there is like everything marked as a error. Examples are in the screenshot. I searched the web and tried a lot of things, like updating ts, modifying the tsconfig and eslint config. But the problem appears in all my projects and in cursor and vscode. It runs grate but all these red error are a little bit annoying.
No description
3 Replies
Huijiro
Huijiro3d ago
Typescript doesn't know JSX exists, you need to enable it, I forget how now.
cunu
cunu3d ago
Did you include
"jsx": "preserve" in your tsconfig?

Did you find this page helpful?