UNPKG

@biorate/axios

Version:

Axios OOP static interface

15 lines (12 loc) 341 B
import { AxiosRequestConfig } from 'axios'; export type IAxiosFetchOptions = AxiosRequestConfig & { path?: Record<string, string | number>; retry?: boolean; }; export type IStubParam = { data: Record<string, any> | string; status?: number; statusText?: string; headers?: Record<string, any>; config?: Record<string, any>; };