-
Notifications
You must be signed in to change notification settings - Fork 208
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
Element' is not assignable to type 'ReactNode'.ts(2322) #315
Comments
I got the same issue |
Same here. |
I don't like ignoring ts but thanks anyway |
Why is this typescript bug still exists? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, we have been using reactjs-popup and it worked well so far thanks for the great effort. However, due to the complicated configs of my current project that I am not fond of, giving me strange error while the same code works in another project. I am not quite sure why this is happening and probably not because of this library but I thought I could get some guidance here.
I got this error before and I cloned the project to somewhere else, a different folder and it worked like magic. However I applied the same technique in another project, exactly under the same folder just like I with my previous project that I was getting the same error, it wasn't a successful approach. Now I am stuck with this and I don't want to go ts files and change interface to any. What am I missing?
Version
2.0.5
Test Case
https://codesandbox.io/s/wispy-mountain-m9nfym?file=/src/App.tsx
Expected Behavior
Should not give a type error
Actual Behavior
Here is the error
Here is a clean view of the code
The text was updated successfully, but these errors were encountered: