2.0.7 • Published 2 years ago

@sujian/request v2.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

request

ni @sujian/request

如果使用ts, AxiosRequestConfig 没有自定义配置提示,可以在tsconfig.json中添加types

{
  "compilerOptions": {
    "types": ["@sujian/request/types"]
  }
}

如果使用了pnpm包管理,不能直接使用axios,这个是正常的,如果想要使用,两种方案:

  1. 显式安装axios
  2. .npmrc文件中添加
    # 依赖提升
    public-hoist-pattern[]=axios
2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.0

2 years ago