Skip to content

Commit

Permalink
refactor: change generics parameter name for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Key5n committed Jun 17, 2024
1 parent 9538727 commit 4025c87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/_internal/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
<Data = any, T = Data>(
<Data = any, MutationData = Data>(
key: Arguments,
data?: T | Promise<T> | MutatorCallback<T>,
opts?: boolean | MutatorOptions<Data, T>
): Promise<T | undefined>
data?: MutationData | Promise<MutationData> | MutatorCallback<MutationData>,
opts?: boolean | MutatorOptions<Data, MutationData>
): Promise<MutationData | undefined>
}

/**
Expand Down

0 comments on commit 4025c87

Please sign in to comment.