Add query key to custom query options

This commit is contained in:
jeffvli 2022-12-30 22:35:49 -08:00
parent 2a797bd6c9
commit a693981333

View File

@ -39,6 +39,7 @@ export type QueryOptions = {
onError?: (err: any) => void;
onSettled?: any;
onSuccess?: any;
queryKey?: UseQueryOptions['queryKey'];
refetchInterval?: number;
refetchIntervalInBackground?: UseQueryOptions['refetchIntervalInBackground'];
refetchOnWindowFocus?: boolean;