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

Typescript error #356

Open
dramoturg opened this issue Aug 7, 2021 · 1 comment
Open

Typescript error #356

dramoturg opened this issue Aug 7, 2021 · 1 comment

Comments

@dramoturg
Copy link

Hi everyone. I have problem with react-waypoint and typescript.
I have migrated project to typescript 4.1.5
after starting the application I get the error

  Its instance type 'Waypoint' is not a valid JSX element.  TS2786

package versions
"react-waypoint": "10.1.0",
"react": "^17.0.1",
"typescript": "4.1.5",
any ideas about how it fix

@rnatto-gempe
Copy link

rnatto-gempe commented Oct 3, 2022

any solution here? :/

my problem is the same, but using the "@types/react" 18 version.

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