diff --git a/src/mutation/types.ts b/src/mutation/types.ts index 1aa984f97..c3623b7ef 100644 --- a/src/mutation/types.ts +++ b/src/mutation/types.ts @@ -224,7 +224,7 @@ export interface SWRMutationHook { SWRMutationKey, ExtraArg, SWRData - > + > & { throwOnError?: boolean } ): SWRMutationResponse < Data = any,