Skip to content

Commit 6bf1f30

Browse files
author
Andrew Bazhanov
authored
types: add isStale to query results (TanStack#422)
1 parent de67ab7 commit 6bf1f30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ export interface QueryResultBase<TResult> {
411411
status: 'loading' | 'error' | 'success'
412412
error: null | unknown
413413
isFetching: boolean
414+
isStale: boolean
414415
failureCount: number
415416
refetch: ({
416417
force,

0 commit comments

Comments
 (0)