infiniteQueryOptions can't infer type if queryFn uses pageParam #7485
Send to my agentTkDodo closed this
TkDodo added labelsduplicate
Sign in to join this conversation.
TkDodo closed this
TkDodo added labelsduplicate
Sign in to join this conversation.
to get type inference for
getNextPageParam, it must come afterqueryFn. It's a known typescript limitation.fixed playground
duplicate of: