mirror of
https://github.com/tenrok/axios.git
synced 2026-06-14 18:42:33 +03:00
Updating typing for AxiosPromise (#4505)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Vendored
+1
-2
@@ -170,8 +170,7 @@ export class AxiosError<T = unknown, D = any> extends Error {
|
||||
export class CanceledError<T> extends AxiosError<T> {
|
||||
}
|
||||
|
||||
export interface AxiosPromise<T = any> extends Promise<AxiosResponse<T>> {
|
||||
}
|
||||
export type AxiosPromise<T = any> = Promise<AxiosResponse<T>>;
|
||||
|
||||
export interface CancelStatic {
|
||||
new (message?: string): Cancel;
|
||||
|
||||
Reference in New Issue
Block a user