Skip to content

Commit 3ebb454

Browse files
authored
fix: Fix typing for refetchInterval (#908)
1 parent 2ff6041 commit 3ebb454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export interface QueryObserverConfig<TResult, TError = unknown>
7676
* If set to a number, the query will continuously refetch at this frequency in milliseconds.
7777
* Defaults to `false`.
7878
*/
79-
refetchInterval?: number
79+
refetchInterval?: number | false
8080
/**
8181
* If set to `true`, the query will continue to refetch while their tab/window is in the background.
8282
* Defaults to `false`.

0 commit comments

Comments
 (0)