react-query-kit
Version:
🕊️ A toolkit for ReactQuery that make ReactQuery hooks more reusable and typesafe
3 lines (2 loc) • 353 B
TypeScript
import type { CompatibleError, CreateInfiniteQueryOptions, InfiniteQueryHook } from './types';
export declare function createInfiniteQuery<TFnData, TVariables = void, TError = CompatibleError, TPageParam = number>(options: CreateInfiniteQueryOptions<TFnData, TVariables, TError, TPageParam>): InfiniteQueryHook<TFnData, TVariables, TError, TPageParam>;