reactjrx 1.123.1 → 1.124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,4 +2,4 @@ import { DefaultError, QueryClient, QueryFunctionContext, QueryKey, UseQueryOpti
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare function useQuery$<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: Omit<UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>, "queryFn"> & {
|
|
4
4
|
queryFn: ((context: QueryFunctionContext<TQueryKey>) => Observable<TQueryFnData>) | Observable<TQueryFnData>;
|
|
5
|
-
}, queryClient?: QueryClient): import('@tanstack/react-query').UseQueryResult<TData
|
|
5
|
+
}, queryClient?: QueryClient): import('@tanstack/react-query').UseQueryResult<import('@tanstack/query-core').NoInfer<TData>, TError>;
|
|
@@ -23,4 +23,4 @@ export declare function exponentialBackoffDelay(iteration: number, initialInterv
|
|
|
23
23
|
* re-subscriptions (if provided). Retrying can be cancelled at any point if
|
|
24
24
|
* shouldRetry returns false.
|
|
25
25
|
*/
|
|
26
|
-
export declare function retryBackoff<T, TError>(config: RetryBackoffConfig<T, TError>): <
|
|
26
|
+
export declare function retryBackoff<T, TError>(config: RetryBackoffConfig<T, TError>): <T_1>(source: Observable<T_1>) => Observable<T | T_1>;
|