From 2684b72026c7c80279338e1c8a93f37d609fff13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=AA=20Minh=20C=C6=B0=E1=BB=9Dng?= <43853507+Ram4GB@users.noreply.github.com> Date: Tue, 24 Dec 2024 08:21:13 +0700 Subject: [PATCH] fix: missing `throwOnError` in SWRMutationHook options (#3054) --- src/mutation/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,