-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
useInfiniteQuery typing issues #390
Comments
@ivancuric it is not a fix of course but I was able to bypass the issue by changing this: EDIT: For some reason tha data are not returned and the status is kept in loading |
I'm marking this issue as stale. PRs to improve the types are always welcome! |
https://codesandbox.io/s/youtube-react-query-2848d?file=/src/App.tsx
What's even weirder is how TS correctly infers the usage, but then complains about implicit
any
:The function is working fine when used with the regular
useQuery
.The text was updated successfully, but these errors were encountered: