Skip to content

Type declaration for Link causes type check error in IDE #35709

Answered by LekoArts
hannasage asked this question in Help
Discussion options

You must be logged in to vote

You're using the outdated types, that's why

Update to

    "@types/react": "^18.0.9",
    "@types/react-dom": "^18.0.4",

And it should be fine, at least when I tried it with your repo.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@hannasage
Comment options

Answer selected by hannasage
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #35705 on May 20, 2022 07:50.