# Type Alias: unstable_inferQueryHandle<TProcedure>

> 

> **unstable\_inferQueryHandle**\<`TProcedure`\>: `ReturnType`\<`TProcedure`\[`"unstable_$prefetch"`\]\>

Defined in: [tanstack-react-query/src/internals/handles.ts:263](https://github.com/trpc/trpc/blob/a357903312114c6c08952de2c9edc51c713367be/packages/tanstack-react-query/src/internals/handles.ts#L263)

The handle type a query procedure's `unstable_$prefetch()` returns, for
typing props. `unstable_$ensure()` and `unstable_$fetch()` resolve to the
same type.

## Type Parameters

| Type Parameter |
| ------ |
| `TProcedure` *extends* `DecorateQueryHandleVerbs`\<`any`\> |

## See

https://trpc.io/docs/client/tanstack-react-query/handles#typing-props
