@choerodon/master
Version:
A package of Master for Choerodon platform.
16 lines (15 loc) • 449 B
TypeScript
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;