mirror of https://github.com/sundowndev/http.git
fix(types): `onResponseError` typo (#203)
parent
fdfc0a3cde
commit
5fc1441ab7
|
@ -18,7 +18,7 @@ interface NuxtAxiosInstance extends AxiosInstance {
|
||||||
onResponse<T = any>(callback: (response: AxiosResponse<T>) => void): void;
|
onResponse<T = any>(callback: (response: AxiosResponse<T>) => void): void;
|
||||||
onError(callback: (error: AxiosError) => void): void;
|
onError(callback: (error: AxiosError) => void): void;
|
||||||
onRequestError(callback: (error: AxiosError) => void): void;
|
onRequestError(callback: (error: AxiosError) => void): void;
|
||||||
onResponseErro(callback: (error: AxiosError) => void): void;
|
onResponseError(callback: (error: AxiosError) => void): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module 'vue/types/vue' {
|
declare module 'vue/types/vue' {
|
||||||
|
|
Loading…
Reference in New Issue