mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 14:37:06 +01:00
Remove required generic for query options
This commit is contained in:
parent
758e9d4d2c
commit
2a29f33352
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user