Remove required generic for query options

This commit is contained in:
jeffvli 2022-11-15 13:33:04 -08:00
parent 758e9d4d2c
commit 2a29f33352

View File

@ -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;