Skip to content

Commit

Permalink
fix(types): useQuery enabled can be any type
Browse files Browse the repository at this point in the history
  • Loading branch information
dpyzo0o committed Jul 1, 2020
1 parent ef1d0d5 commit 07d3c00
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 @@ -222,7 +222,7 @@ export interface BaseQueryOptions<TResult = unknown, TError = Error> {
* Set this to `false` to disable automatic refetching when the query mounts or changes query keys.
* To refetch the query, use the `refetch` method returned from the `useQuery` instance.
*/
enabled?: boolean
enabled?: any
/**
* If `false`, failed queries will not retry by default.
* If `true`, failed queries will retry infinitely., failureCount: num
Expand Down

0 comments on commit 07d3c00

Please sign in to comment.