mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-14 23:44:01 +02:00
Remove required generic for query options
This commit is contained in:
@@ -57,7 +57,7 @@ export type QueryOptions<TResponse> = {
|
|||||||
cacheTime?: UseQueryOptions['cacheTime'];
|
cacheTime?: UseQueryOptions['cacheTime'];
|
||||||
enabled?: UseQueryOptions['enabled'];
|
enabled?: UseQueryOptions['enabled'];
|
||||||
onError?: (err: any) => void;
|
onError?: (err: any) => void;
|
||||||
onSuccess?: (data: TResponse) => void;
|
onSuccess?: (data: any) => void;
|
||||||
refetchInterval?: number;
|
refetchInterval?: number;
|
||||||
refetchIntervalInBackground?: UseQueryOptions['refetchIntervalInBackground'];
|
refetchIntervalInBackground?: UseQueryOptions['refetchIntervalInBackground'];
|
||||||
refetchOnWindowFocus?: boolean;
|
refetchOnWindowFocus?: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user