We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
onCompleted
1 parent cddbf0e commit 3c7e56fCopy full SHA for 3c7e56f
src/request.ts
@@ -50,7 +50,7 @@ export type RequestCallbackFn<T extends Request> = {
50
*/
51
onCompleted?: (
52
data: Payload<T>,
53
- response: AxiosResponse<BodyData<T>>,
+ response: AxiosResponse<Payload<T>, BodyData<T>>,
54
) => void;
55
/**
56
* A callback function that's called when the request encounters one or more errors.
0 commit comments