Open History to see the last commit
1---
2id: InfiniteData
3title: InfiniteData
4---
5β
6Defined in: [packages/query-core/src/types.ts:249](https://github.com/TanStack/query/blob/main/packages/query-core/src/types.ts#L249)
7β
8The data shape of an infinite query: every page fetched so far, plus the page param each one was fetched with.
9`pages` and `pageParams` are index-aligned β `pageParams[i]` is the param that produced `pages[i]`.
10β
11## Type Parameters
12β
13### TData
14β
15`TData`
16β
17### TPageParam
18β
19`TPageParam` = `unknown`
20β
21## Properties
22β
23| Property | Type |
24| ------ | ------ |
25| <a id="pageparams"></a> `pageParams` | `TPageParam`[] |
26| <a id="pages"></a> `pages` | `TData`[] |