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

QueryPersister.md

26 lines599 Bytes

Type Alias: QueryPersister<T, TQueryKey, TPageParam>

type QueryPersister<T, TQueryKey, TPageParam> = [TPageParam] extends [never] ? (queryFn, context, query) => T | Promise<T> : (queryFn, context, query) => T | Promise<T>;

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

Type Parameters

T

T = unknown

TQueryKey

TQueryKey extends QueryKey = QueryKey

TPageParam

TPageParam = never