Skip to content

Commit 177bbbe

Browse files
committed
format: run prettier
1 parent 1e98a65 commit 177bbbe

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

packages/query-core/src/streamedQuery.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import { addToEnd } from './utils'
2-
import type { MaybePromise, QueryFunction, QueryFunctionContext, QueryKey } from './types'
2+
import type {
3+
MaybePromise,
4+
QueryFunction,
5+
QueryFunctionContext,
6+
QueryKey,
7+
} from './types'
38

49
/**
510
* This is a helper function to create a query function that streams data from an AsyncIterable.

packages/query-core/src/types.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,9 +1100,7 @@ export interface MutationOptions<
11001100
> {
11011101
mutationFn?: MutationFunction<TData, TVariables>
11021102
mutationKey?: MutationKey
1103-
onMutate?: (
1104-
variables: TVariables,
1105-
) => MaybePromise<TContext | undefined>
1103+
onMutate?: (variables: TVariables) => MaybePromise<TContext | undefined>
11061104
onSuccess?: (
11071105
data: TData,
11081106
variables: TVariables,

0 commit comments

Comments
 (0)