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:
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?
Jump to solution
1 Reply
chirag18
chirag18OP2y ago
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
Want results from more Discord servers?
Add your server