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