Skip to content

Commit

Permalink
docs: remove "defaults to undefined"
Browse files Browse the repository at this point in the history
TkDodo committed May 18, 2024

Verified

This commit was signed with the committer’s verified signature.
cz4rs Cezary Skrzyński
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
@@ -525,7 +525,6 @@ export interface QueryObserverBaseResult<
> {
/**
* The last successfully resolved data for the query.
* - Defaults to `undefined`.
*/
data: TData | undefined
/**
@@ -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
/**

0 comments on commit 59eef10

Please sign in to comment.