axios-annotations 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -115,8 +115,17 @@ ApiCommon.test.get("a","b",null);
115
115
  ]
116
116
  }
117
117
  ```
118
+ tsconfig.json / jsconfig.json
119
+ ```json
120
+ {
121
+ "compilerOptions": {
122
+ "experimentalDecorators": true,
123
+ "emitDecoratorMetadata": true
124
+ }
125
+ }
126
+ ```
118
127
 
119
- `vue-cli`、`vite`等脚手架已默认支持装饰器,微信小程序说明请拉到末尾。
128
+ `vue-cli`等脚手架已默认支持装饰器,微信小程序说明请拉到末尾。
120
129
  <br>接口方法只需要处理和返回参数,并注解参数类型,框架根据注解分拆参数并注入`HTTP`请求。
121
130
 
122
131
  ```javascript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "axios-annotations",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "HTTP client library uses Axios without Typescript.",
5
5
  "main": "index.js",
6
6
  "miniprogram": "lib",