Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade @types/react to v18? #430

Open
par5er opened this issue Feb 3, 2024 · 1 comment
Open

Upgrade @types/react to v18? #430

par5er opened this issue Feb 3, 2024 · 1 comment

Comments

@par5er
Copy link

par5er commented Feb 3, 2024

@types/react is pinned to ^17.0.33 in package.json which is causing type errors. Can this be upgraded to v18 please?

"@types/react": "^17.0.33",

@talatkuyuk
Copy link

talatkuyuk commented Feb 7, 2024

+1

But, @par5er, you can use overrides in the package.json that the next-mdx-remote to use the "@types/react": "^18.2" for a temporary solution.

See more explanation about overrides:
https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants