diff --git a/types/index.d.ts b/types/index.d.ts index cf3bdef..615eddc 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -29,7 +29,7 @@ interface AxiosOptions { browserBaseURL?: string, credentials?: boolean, debug?: boolean, - host?: string, + host?: string, prefix?: string, progress?: boolean, proxyHeaders?: boolean, @@ -49,6 +49,12 @@ interface AxiosOptions { }, } +declare module 'axios' { + interface AxiosRequestConfig { + progress?: boolean; + } +} + declare module '@nuxt/vue-app' { interface Context { $axios: NuxtAxiosInstance