FormidableLabs / FormidableLabs/prism-react-renderer

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

Open
#261 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2k
Forks
149
PR merge metrics
No merged PRs in 30d

Description

### 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

```markdown
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.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.