Skip to content

Commit

Permalink
fix: use generic Error type in ReactQueryProviderConfig.queries (TanS…
Browse files Browse the repository at this point in the history
  • Loading branch information
bviebahn authored Jul 15, 2020
1 parent 046f354 commit 67394db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ export function ReactQueryConfigProvider<TError = Error>(props: {
}): React.ReactElement

export interface ReactQueryProviderConfig<TError = Error> {
queries?: BaseQueryOptions & {
queries?: BaseQueryOptions<unknown, TError> & {
/** Defaults to the value of `suspense` if not defined otherwise */
useErrorBoundary?: boolean
refetchOnWindowFocus?: boolean
Expand Down

0 comments on commit 67394db

Please sign in to comment.