From 4025c872034398760b30079c6e05a96413c8cbe7 Mon Sep 17 00:00:00 2001 From: Key5n Date: Mon, 8 Apr 2024 22:26:59 +0900 Subject: [PATCH] refactor: change generics parameter name for consistency --- src/_internal/types.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 } /**