cbim-common-components
Version:
``` npm install --save cbim-common-components ```
12 lines (11 loc) • 568 B
TypeScript
declare const _default: (opts?: any) => {
get: (url: string, params?: any) => Promise<unknown>;
post: (url: string, params?: any, config?: any) => Promise<unknown>;
put: (url: string, params?: any) => Promise<unknown>;
patch: (url: string, params?: any) => Promise<unknown>;
delete: (url: string, params?: any) => Promise<unknown>;
upload: (url: string, formData: object, onProcess?: any) => Promise<unknown>;
download: (url: string, onProcess?: any) => Promise<unknown>;
axios: import("axios").AxiosStatic;
};
export default _default;