prism-react-renderer icon indicating copy to clipboard operation
prism-react-renderer copied to clipboard

Cannot find namespace 'JSX' on latest prism-react-renderer and TypeScript

Open Ciach0 opened this issue 6 months ago • 0 comments

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.

Ciach0 avatar Jul 21 '25 18:07 Ciach0