UNPKG

282 BTypeScriptView Raw
1import type { AxiosInstance, AxiosStatic } from 'axios';
2import type { CookieJar } from 'tough-cookie';
3declare module 'axios' {
4 interface AxiosRequestConfig {
5 jar?: CookieJar;
6 }
7}
8export declare function wrapper<T extends AxiosStatic | AxiosInstance>(axios: T): T;