UNPKG

react-query-kit

Version:

🕊️ A toolkit for ReactQuery that make ReactQuery hooks more reusable and typesafe

3 lines (2 loc) • 268 B
import type { CompatibleError, CreateQueryOptions, QueryHook } from './types'; export declare function createQuery<TFnData, TVariables = void, TError = CompatibleError>(options: CreateQueryOptions<TFnData, TVariables, TError>): QueryHook<TFnData, TVariables, TError>;