diff --git a/src/state/internal/createQueryStore.ts b/src/state/internal/createQueryStore.ts index 5bf6ab94c74..b1289ede63f 100644 --- a/src/state/internal/createQueryStore.ts +++ b/src/state/internal/createQueryStore.ts @@ -119,13 +119,13 @@ export interface QueryStore, S ex */ getStatus: () => QueryStatusInfo; /** - * Determines if the current data is expired, meaning it has exceeded the `cacheTime` duration. + * Determines if the current data is expired based on whether `cacheTime` has been exceeded. * @param override - An optional override for the default cache time, in milliseconds. * @returns `true` if the data is expired, otherwise `false`. */ isDataExpired: (override?: number) => boolean; /** - * Determines if the current data is stale, meaning it has exceeded the `staleTime` duration. + * Determines if the current data is stale based on whether `staleTime` has been exceeded. * Stale data may be refreshed automatically in the background. * @param override - An optional override for the default stale time, in milliseconds. * @returns `true` if the data is stale, otherwise `false`.