Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module.md #767

Merged
merged 1 commit into from
Nov 8, 2018
Merged

Update module.md #767

merged 1 commit into from
Nov 8, 2018

Conversation

cutPicturesMan
Copy link
Contributor

这里有歧义。输出时已经each方法改写成forEach:'export { each as forEach }',import时只需要引入forEach即可,不需要再import { each as forEach } from 'lodash'。如果你import的as表示的是export中的第二个export,那实际上第三个的export就不需要写了

这里有歧义。输出时已经each方法改写成forEach:'export { each as forEach }',import时只需要引入forEach即可,不需要再import { each as forEach } from 'lodash'。如果你import的as表示的是export中的第二个export,那实际上第三个的export就不需要写了
@ruanyf
Copy link
Owner

ruanyf commented Nov 8, 2018

我疏忽了,没想到 lodash 真的有一个 forEach 方法。我改一下名字。

@ruanyf ruanyf closed this Nov 8, 2018
@ruanyf ruanyf reopened this Nov 8, 2018
@ruanyf
Copy link
Owner

ruanyf commented Nov 8, 2018

你的意见是对的。

@ruanyf ruanyf merged commit 95b157e into ruanyf:gh-pages Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants