diff --git a/packages/angular-query-experimental/src/types.ts b/packages/angular-query-experimental/src/types.ts index e162c7edb9..77c415574d 100644 --- a/packages/angular-query-experimental/src/types.ts +++ b/packages/angular-query-experimental/src/types.ts @@ -137,7 +137,7 @@ export interface CreateMutationOptions< TContext = unknown, > extends Omit< MutationObserverOptions, - '_defaulted' | 'variables' + '_defaulted' > {} export type CreateMutateFunction< diff --git a/packages/react-query/src/types.ts b/packages/react-query/src/types.ts index 9247222522..a442e47427 100644 --- a/packages/react-query/src/types.ts +++ b/packages/react-query/src/types.ts @@ -132,7 +132,7 @@ export interface UseMutationOptions< TContext = unknown, > extends Omit< MutationObserverOptions, - '_defaulted' | 'variables' + '_defaulted' > {} export type UseMutateFunction< diff --git a/packages/solid-query/src/types.ts b/packages/solid-query/src/types.ts index 72205be47f..373bb47871 100644 --- a/packages/solid-query/src/types.ts +++ b/packages/solid-query/src/types.ts @@ -129,7 +129,7 @@ export interface SolidMutationOptions< TContext = unknown, > extends Omit< MutationObserverOptions, - '_defaulted' | 'variables' + '_defaulted' > {} export type CreateMutationOptions< diff --git a/packages/svelte-query/src/types.ts b/packages/svelte-query/src/types.ts index 309c3b7248..a4114198e3 100644 --- a/packages/svelte-query/src/types.ts +++ b/packages/svelte-query/src/types.ts @@ -88,7 +88,7 @@ export type CreateMutationOptions< > = StoreOrVal< Omit< MutationObserverOptions, - '_defaulted' | 'variables' + '_defaulted' > >