Skip to content

Commit 36eb6a2

Browse files
authored
调整安装命令顺序
- `miniprogram-api-typings` 更新频率较为及时 - `@types/wechat-miniprogram` 更新频率较为滞后(目前滞后9个月) 考虑到类型更新的及时性,调整 README 文件的顺序。
1 parent 9abb5c0 commit 36eb6a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111

1212
## 安装
1313

14-
### 通过 DefinitelyTyped
14+
### 通过独立 npm 包
1515

1616
```bash
17-
npm install @types/wechat-miniprogram
17+
npm install miniprogram-api-typings
1818
```
1919

2020
或:
2121

22-
### 通过独立 npm 包
22+
### 通过 DefinitelyTyped
2323

2424
```bash
25-
npm install miniprogram-api-typings
25+
npm install @types/wechat-miniprogram
2626
```
2727

2828
安装后手动导入:

0 commit comments

Comments
 (0)