You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/createAsyncThunk.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -780,7 +780,7 @@ Options specified when calling `createAsyncThunk` will override options specifie
780
780
781
781
An object with the following optional fields:
782
782
783
-
- `serializeError(error: unknown) =>GetSerializedErrorType<ThunkApiConfig>` to replace or extend the default serializer method with your own serialization logic.
783
+
- `serializeError(error: unknown) =>any` to replace the internal `miniSerializeError` method with your own serialization logic.
784
784
- `idGenerator(arg: unknown) =>string`: a function to use when generating the `requestId` for the request sequence. Defaults to use [nanoid](./otherExports.mdx/#nanoid), but you can implement your own ID generation logic.
0 commit comments