From 423923217ef0d78747ef90c49abbcd7c2eae3854 Mon Sep 17 00:00:00 2001 From: Punit Gupta Date: Mon, 20 Nov 2017 21:53:47 +0530 Subject: [PATCH] Fixing interface of axios instance --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index 0abd751..ebee5b3 100644 --- a/index.d.ts +++ b/index.d.ts @@ -101,6 +101,8 @@ export interface AxiosInterceptorManager { } export interface AxiosInstance { + (config: AxiosRequestConfig): AxiosPromise; + (url: string, config?: AxiosRequestConfig): AxiosPromise; defaults: AxiosRequestConfig; interceptors: { request: AxiosInterceptorManager;