mirror of https://github.com/sundowndev/http.git
style(types): remove extra semicolons
parent
efb7191358
commit
92edc6ab1d
|
@ -11,14 +11,14 @@ interface NuxtAxiosInstance extends AxiosInstance {
|
||||||
$put<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>
|
$put<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>
|
||||||
$patch<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>
|
$patch<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>
|
||||||
|
|
||||||
setHeader(name: string, value?: string | false, scopes?: string | string[]): void;
|
setHeader(name: string, value?: string | false, scopes?: string | string[]): void
|
||||||
setToken(token: string | false, type?: string, scopes?: string | string[]): void;
|
setToken(token: string | false, type?: string, scopes?: string | string[]): void
|
||||||
|
|
||||||
onRequest(callback: (config: AxiosRequestConfig) => void): void;
|
onRequest(callback: (config: AxiosRequestConfig) => void): void
|
||||||
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
|
||||||
onResponseError(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