diff --git a/types/index.d.ts b/types/index.d.ts index 19c30efff9..02897a3008 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -672,7 +672,7 @@ export interface QueryCache { key: AnyQueryKey | string, dataOrUpdater: unknown | ((oldData: unknown | undefined) => unknown) ): void - refetchQueries( + refetchQueries( queryKeyOrPredicateFn: | AnyQueryKey | string @@ -682,7 +682,7 @@ export interface QueryCache { throwOnError, force, }?: { exact?: boolean; throwOnError?: boolean; force?: boolean } - ): Promise + ): Promise removeQueries( queryKeyOrPredicateFn: | AnyQueryKey