Skip to content

Commit 65bcf42

Browse files
committed
feat(queryClient): make ResetOptions also extend RefetchOptions
because the options are forwarded to refetchQueries at runtime
1 parent 941fadb commit 65bcf42

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/core/types.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,7 @@ export interface ResetQueryFilters<TPageData = unknown>
274274
RefetchPageFilters<TPageData> {}
275275

276276
export interface InvalidateOptions extends RefetchOptions {}
277-
278-
export interface ResetOptions {
279-
throwOnError?: boolean
280-
}
277+
export interface ResetOptions extends RefetchOptions {}
281278

282279
export interface FetchNextPageOptions extends ResultOptions {
283280
cancelRefetch?: boolean

0 commit comments

Comments
 (0)