From 21b9b01e5dd6eb84ee24fd3e9f753657e44a0be4 Mon Sep 17 00:00:00 2001 From: Jason O'Neill Date: Sat, 13 Jun 2020 19:45:49 -0700 Subject: [PATCH] fix(types): change return type of removeQueries (#582) --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 2d4895744f..26a86f3557 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -705,7 +705,7 @@ export interface QueryCache { | string | ((query: CachedQuery) => boolean), { exact }?: { exact?: boolean } - ): Promise + ): void getQuery(queryKey: AnyQueryKey): CachedQuery | undefined getQueries(queryKey: AnyQueryKey): Array> cancelQueries(