Skip to content

Commit 1407056

Browse files
committed
fix(types): ready return type (RequestFactory)
1 parent f171db8 commit 1407056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface RequestFactory<TRequest extends Request> {
2525
(...args: Parameters<TRequest>): {
2626
cancel: Canceler;
2727
ready: () => Promise<
28-
[Payload<TRequest>, AxiosResponse<unknown, CData<TRequest>>]
28+
[Payload<TRequest>, AxiosResponse<Payload<TRequest>, CData<TRequest>>]
2929
>;
3030
};
3131
}

0 commit comments

Comments
 (0)