2.0.7 • Published 1 year ago

@sujian/request v2.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.0

1 year ago