Skip to content

Commit 787d7c5

Browse files
committed
add description of declaration-including package to Consumption.md. PR667
1 parent 4c1d6bc commit 787d7c5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

doc/handbook/declaration files/Consumption.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
npm install --save @types/lodash
1212
```
1313

14+
如果一个npm包像[Publishing](./Publishing.md)里所讲的一样已经包含了它的声明文件,那就不必再去下载相应的`@types`包了。
15+
1416
# 使用
1517

1618
下载完后,就可以直接在TypeScript里使用lodash了。

0 commit comments

Comments
 (0)