Skip to content

Commit 2684b72

Browse files
authored
fix: missing throwOnError in SWRMutationHook options (#3054)
1 parent f22b274 commit 2684b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mutation/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export interface SWRMutationHook {
224224
SWRMutationKey,
225225
ExtraArg,
226226
SWRData
227-
>
227+
> & { throwOnError?: boolean }
228228
): SWRMutationResponse<Data, Error, SWRMutationKey, ExtraArg>
229229
<
230230
Data = any,

0 commit comments

Comments
 (0)