UNPKG

alloy-request

Version:

alloy-request 基于`axios`和`ahooks的useRequest`封装的 react 请求库

15 lines (14 loc) 455 B
import { initInstance, post, get, put, patch, del } from './instance'; import { useAxios } from './useAxios'; export { initInstance, post, get, put, patch, del } from './instance'; export { useAxios } from './useAxios'; declare const _default: { initInstance: typeof initInstance; post: typeof post; get: typeof get; put: typeof put; patch: typeof patch; del: typeof del; useAxios: typeof useAxios; }; export default _default;