Extract the queryfn return type from a queryOptions object - TanStack