diff --git a/types/index.d.ts b/types/index.d.ts index 615eddc..3b4f830 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -22,6 +22,8 @@ interface NuxtAxiosInstance extends AxiosStatic { onError(callback: (error: AxiosError) => void): void onRequestError(callback: (error: AxiosError) => void): void onResponseError(callback: (error: AxiosError) => void): void + + create(options?: AxiosRequestConfig): NuxtAxiosInstance } interface AxiosOptions {