diff --git a/packages/query-core/src/types.ts b/packages/query-core/src/types.ts index ff6c1cf22f8..b978366743d 100644 --- a/packages/query-core/src/types.ts +++ b/packages/query-core/src/types.ts @@ -203,7 +203,7 @@ export interface QueryObserverOptions< */ notifyOnChangeProps?: Array | 'all' /** - * This callback will fire any time the query successfully fetches new data or the cache is updated via `setQueryData`. + * This callback will fire any time the query successfully fetches new data. */ onSuccess?: (data: TData) => void /**