-
Notifications
You must be signed in to change notification settings - Fork 524
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
No overload matches this call #614
Comments
Same error here!
|
Hi i have the same error, both android and IOS Because typescript needs everything declared... any development on this problem predicted any time soon ? |
I also need a fix for this issue! Just waiting for an update on this thread about a potential fix. |
While we wait... Either
|
also have this problem. this way didn't help me( |
improving on @lgibso34 s suggestion, I explicitly declared that the
|
React has a type helper for working with the import { IPropsSwipeRow } from 'react-native-swipe-list-view';
declare module 'react-native-swipe-list-view' {
interface IPropsSwipeRow extends React.PropsWithChildren {}
} |
Could be something like this
Describe the bug
When I try to use swipe row i get typescript error, it works but the typescript error is annoying and it keeps failing compiling typescript. It seems like SwipeRow does not allow children. When i don't send any children and use just the close it without any children it doesn't give any typescript error.
To Reproduce
Steps to reproduce the behavior:
Just use like in the example https://github.com/jemise111/react-native-swipe-list-view/blob/master/docs/SwipeRow.md
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: