Skip to content

Commit

Permalink
fix: add default function to refetch ingerval
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirfilosof committed Feb 12, 2025
1 parent a86104f commit f50b83c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/react-query/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ export type QueryDataOptions<TDataSource extends AnyQueryDataSource> = Omit<
refetchInterval?:
| number
| false
| ((query: Query, count: number) => number | false | undefined);
| ((query: Query, count: number) => number | false | undefined)
| ((query: Query) => number | false | undefined);
};

0 comments on commit f50b83c

Please sign in to comment.