Skip to content

Commit

Permalink
docs: remove "defaults to undefined"
Browse files Browse the repository at this point in the history
  • Loading branch information
TkDodo committed May 18, 2024
1 parent 308aa7e commit 59eef10
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/query-core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ export interface QueryObserverBaseResult<
> {
/**
* The last successfully resolved data for the query.
* - Defaults to `undefined`.
*/
data: TData | undefined
/**
Expand Down Expand Up @@ -976,12 +975,10 @@ export interface MutationObserverBaseResult<
> extends MutationState<TData, TError, TVariables, TContext> {
/**
* The last successfully resolved data for the mutation.
* - Defaults to `undefined`.
*/
data: TData | undefined
/**
* The variables object passed to the `mutationFn`.
* - Defaults to `undefined`.
*/
variables: TVariables | undefined
/**
Expand Down

0 comments on commit 59eef10

Please sign in to comment.