# Type Alias: OutputWithCursor<TData, TCursor>

> 

> **OutputWithCursor**\<`TData`, `TCursor`\>: `object`

Defined in: [packages/react-query/src/shared/hooks/types.ts:39](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/react-query/src/shared/hooks/types.ts#L39)

A page of data and the cursor that fetched it.

## Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| `TData` | - |
| `TCursor` | `any` |

## Type declaration

### cursor

> **cursor**: `TCursor` \| `null`

### data

> **data**: `TData`
