From eae537dcab48d957254fd33e91736a6fddd8b466 Mon Sep 17 00:00:00 2001 From: ddonchuk <59068428+ddonchuk@users.noreply.github.com> Date: Tue, 12 May 2020 18:34:12 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20refetch=20queries=20type?= =?UTF-8?q?=20(#481)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: dannying --- types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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