Not getting useInfiniteQuery as an fetching option.
I am making an infinite scroll type api but when trying to call it on frontend I am not getting useInfiniteQuery as an option. what could be the reason?
Solution:Jump to solution
I am making an infinite scroll type api but when trying to call it on frontend I am not getting useInfiniteQuery as an option. what could be the reason?
1 Reply
ok solved, if you are having this problem then what worked for me was
in tsconfig turn the
compilerOptions.strict = true
.
It worked for me