diff --git a/_internal/src/types.ts b/_internal/src/types.ts index 139c8f1a7..e49d8e05d 100644 --- a/_internal/src/types.ts +++ b/_internal/src/types.ts @@ -394,7 +394,7 @@ 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 */ -export type KeyedMutator = ( +export type KeyedMutator = ( data?: | MutationData | Promise