function createQuery<TQueryFnData, TError, TData, TQueryKey>(
options,
queryClient?,
): DefinedCreateQueryResult<TData, TError>
function createQuery<TQueryFnData, TError, TData, TQueryKey>(
options,
queryClient?,
): DefinedCreateQueryResult<TData, TError>
• TQueryFnData = unknown
• TError = Error
• TData = TQueryFnData
• TQueryKey extends QueryKey = QueryKey
• options: StoreOrVal<DefinedInitialDataOptions<TQueryFnData, TError, TData, TQueryKey>>
• queryClient?: QueryClient
DefinedCreateQueryResult<TData, TError>
packages/svelte-query/src/createQuery.ts:15
function createQuery<TQueryFnData, TError, TData, TQueryKey>(
options,
queryClient?,
): CreateQueryResult<TData, TError>
function createQuery<TQueryFnData, TError, TData, TQueryKey>(
options,
queryClient?,
): CreateQueryResult<TData, TError>
• TQueryFnData = unknown
• TError = Error
• TData = TQueryFnData
• TQueryKey extends QueryKey = QueryKey
• options: StoreOrVal<UndefinedInitialDataOptions<TQueryFnData, TError, TData, TQueryKey>>
• queryClient?: QueryClient
CreateQueryResult<TData, TError>
packages/svelte-query/src/createQuery.ts:27
function createQuery<TQueryFnData, TError, TData, TQueryKey>(
options,
queryClient?,
): CreateQueryResult<TData, TError>
function createQuery<TQueryFnData, TError, TData, TQueryKey>(
options,
queryClient?,
): CreateQueryResult<TData, TError>
• TQueryFnData = unknown
• TError = Error
• TData = TQueryFnData
• TQueryKey extends QueryKey = QueryKey
• options: StoreOrVal<CreateQueryOptions<TQueryFnData, TError, TData, TQueryKey>>
• queryClient?: QueryClient
CreateQueryResult<TData, TError>