Skip to content

Commit

Permalink
make serializeError description consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
EskiMojo14 committed Sep 13, 2024
1 parent 13767f8 commit 66f7494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/createAsyncThunk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ Options specified when calling `createAsyncThunk` will override options specifie
An object with the following optional fields:
- `serializeError(error: unknown) => GetSerializedErrorType<ThunkApiConfig>` to replace or extend the default serializer method with your own serialization logic.
- `serializeError(error: unknown) => any` to replace the internal `miniSerializeError` method with your own serialization logic.
- `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.
### Return Value
Expand Down

0 comments on commit 66f7494

Please sign in to comment.