From 231fd73ecd9005628ed85c9294bbd7ed12fa6300 Mon Sep 17 00:00:00 2001 From: Vladislav Shkodin Date: Mon, 29 Jun 2020 15:06:05 +0300 Subject: [PATCH] Default Error type for setQueryData function --- 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 8d807f7570..b9e13d23c6 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -562,7 +562,7 @@ export interface QueryCache { }): Promise getQueryData(key: AnyQueryKey | string): T | undefined - setQueryData( + setQueryData( key: AnyQueryKey | string, dataOrUpdater: | TResult