Open mishushakov opened 6 months ago
Awesome! Could you also help me out with the JSX type errors? I'm not using React Danke.
The JSX issue is risky to fix. Can you try installing just the React types and see if that helps?
"@types/react": "^18.2.8",
Fixes it for me (only getting the Mistral error now)! Can I ask you to keep this issue, because it's very non-obvious for Node users?
The JSX issue is risky to fix. Can you try installing just the React types and see if that helps?
"@types/react": "^18.2.8",
Encountering same issue on express backend without react types. Resolved by installing types as a devDependency. Maybe add this to the document for express users?
Description
Using Node.js (v20.12.2) and typescript 5.4.5
Code example
Additional context
My tsconfig: