alloy-request
Version:
alloy-request 基于`axios`和`ahooks的useRequest`封装的 react 请求库
15 lines (14 loc) • 535 B
TypeScript
export { initInstance, post, get, put, patch, del } from "./instance";
export { useAxios } from "./useAxios";
import { initInstance as initInstance2, post as post2, get as get2, put as put2, patch as patch2, del as del2 } from "./instance";
import { useAxios as useAxios2 } from "./useAxios";
declare const _default: {
initInstance: typeof initInstance2;
post: typeof post2;
get: typeof get2;
put: typeof put2;
patch: typeof patch2;
del: typeof del2;
useAxios: typeof useAxios2;
};
export default _default;