Type data correctly when using InfiniteQuery and select-Function. - TanStack