prism-react-renderer
prism-react-renderer copied to clipboard
Cannot find namespace 'JSX' on latest prism-react-renderer and TypeScript
Is there an existing issue for this?
- [x] I have searched the existing issues
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Code Sandbox link
No response
Bug report
Recently, TypeScript removed the JSX namespace from the codebase. Now, developers have to use React.JSX. This makes it hard to use the library without modifying the library typings or enabling `skipLibCheck` within tsconfig.json.