diff --git a/src/_internal/types.ts b/src/_internal/types.ts index e88039f5f..7a85047a2 100644 --- a/src/_internal/types.ts +++ b/src/_internal/types.ts @@ -428,11 +428,11 @@ export interface ScopedMutator { * @typeParam Data - The type of the data related to the key * @typeParam MutationData - The type of the data returned by the mutator */ - ( + ( key: Arguments, - data?: T | Promise | MutatorCallback, - opts?: boolean | MutatorOptions - ): Promise + data?: MutationData | Promise | MutatorCallback, + opts?: boolean | MutatorOptions + ): Promise } /**