Skip to content
tRPC

Partners

Interface: UndefinedTRPCQueryOptionsOut<TQueryFnData, TOutput, TError>

On this page

Defined in: packages/react-query/src/shared/types.ts:65

What queryOptions returns without initialData.

Extends

  • UndefinedInitialDataOptions<coerceAsyncIterableToArray<TQueryFnData>, TError, coerceAsyncIterableToArray<TOutput>, TRPCQueryKey>.TRPCQueryOptionsResult

Type Parameters

Type Parameter
TQueryFnData
TOutput
TError

Properties

queryKey

queryKey: TRPCQueryKey & object

Defined in: packages/react-query/src/shared/types.ts:74

The query key to use for this query.

The query key will be hashed into a stable hash. See Query Keys for more information.

The query will automatically update when this key changes (as long as enabled is not set to false).

Overrides

UndefinedInitialDataOptions.queryKey


trpc

trpc: object

Defined in: packages/react-query/src/shared/types.ts:35

path

path: string

The dot-separated procedure path, such as post.byId.

Inherited from

TRPCQueryOptionsResult.trpc