Skip to content

Commit

Permalink
fix(queryCache): allow throwOnError prefetchQuery option in typescript (
Browse files Browse the repository at this point in the history
  • Loading branch information
killerchip authored May 9, 2020
1 parent 2fbb004 commit 827d5bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ export interface QueryOptions<TResult> extends BaseQueryOptions {

export interface PrefetchQueryOptions<TResult> extends QueryOptions<TResult> {
force?: boolean
throwOnError?: boolean
}

export interface InfiniteQueryOptions<TResult, TMoreVariable>
Expand Down

0 comments on commit 827d5bc

Please sign in to comment.