UNPKG

@choerodon/master

Version:
16 lines (15 loc) 449 B
import { AxiosStatic } from 'axios'; declare module 'axios' { interface AxiosRequestConfig { noPrompt?: boolean; useCache?: boolean; enabledCancelRoute?: boolean; cancelCacheKey?: string; application?: 'default' | 'ui'; } } declare type choerodonAxiosProps = { type: 'default' | 'ui'; }; declare function choerodonAxios({ type, }: choerodonAxiosProps): AxiosStatic; export default choerodonAxios;