Skip to content
tRPC

Partners

Type Alias: unstable_inferQueryHandle<TProcedure>

On this page

unstable_inferQueryHandle<TProcedure>: ReturnType<TProcedure["unstable_$prefetch"]>

Defined in: tanstack-react-query/src/internals/handles.ts:263

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