diff --git a/types/index.d.ts b/types/index.d.ts index e066488..423bea3 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,4 @@ -import { AxiosAdapter, AxiosStatic, AxiosRequestConfig } from 'axios'; +import { AxiosAdapter, AxiosInstance, AxiosRequestConfig } from 'axios'; type CallbackResponseSpecFunc = ( config: AxiosRequestConfig @@ -55,7 +55,7 @@ type RequestMatcherFunc = ( ) => MockAdapter.RequestHandler; declare class MockAdapter { - constructor(axiosInstance: AxiosStatic, options?: MockAdapterOptions); + constructor(axiosInstance: AxiosInstance, options?: MockAdapterOptions); adapter(): AxiosAdapter; reset(): void;