Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

QueryFunctionContext.md

22 lines519 Bytes

Type Alias: QueryFunctionContext<TQueryKey, TPageParam>

type QueryFunctionContext<TQueryKey, TPageParam> = [TPageParam] extends [never] ? object : object;

Defined in: packages/query-core/src/types.ts:138

Type Parameters

TQueryKey

TQueryKey extends QueryKey = QueryKey

TPageParam

TPageParam = never