Skip to content

Commit 1a146dd

Browse files
committed
docs(module): edit module
1 parent 37603f1 commit 1a146dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/module.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -435,10 +435,10 @@ export 42;
435435
import _ from 'lodash';
436436
```
437437

438-
如果想在一条`import`语句中,同时输入默认方法和其他变量,可以写成下面这样。
438+
如果想在一条`import`语句中,同时输入默认方法和其他接口,可以写成下面这样。
439439

440440
```javascript
441-
import _, { each } from 'lodash';
441+
import _, { each, each as forEach } from 'lodash';
442442
```
443443

444444
对应上面代码的`export`语句如下。

0 commit comments

Comments
 (0)