From 98c3efb6ecde4c4e50a10cb4eaffb2cc11e8c527 Mon Sep 17 00:00:00 2001 From: Costas Ioannou Date: Thu, 7 May 2020 13:17:39 +0300 Subject: [PATCH] fix(queryCache): allow throwOnError prefetchQuery option in typescript --- types/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/index.d.ts b/types/index.d.ts index 2f56592ed6..19c30efff9 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -402,6 +402,7 @@ export interface QueryOptions extends BaseQueryOptions { export interface PrefetchQueryOptions extends QueryOptions { force?: boolean + throwOnError?: boolean } export interface InfiniteQueryOptions