Skip to content

Commit 66f7494

Browse files
committed
make serializeError description consistent
1 parent 13767f8 commit 66f7494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/createAsyncThunk.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ Options specified when calling `createAsyncThunk` will override options specifie
780780
781781
An object with the following optional fields:
782782
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.
784784
- `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.
785785
786786
### Return Value

0 commit comments

Comments
 (0)