fix: translation mistake
This commit is contained in:
parent
2612cd33ee
commit
5976e2a35f
|
@ -391,8 +391,8 @@ the `HeroFormComponent` component visible throughout this module.
|
||||||
If a component, directive, or pipe belongs to a module in the `imports` array, _don't_ re-declare it in the `declarations` array.
|
If a component, directive, or pipe belongs to a module in the `imports` array, _don't_ re-declare it in the `declarations` array.
|
||||||
If you wrote it and it should belong to this module, _do_ declare it in the `declarations` array.
|
If you wrote it and it should belong to this module, _do_ declare it in the `declarations` array.
|
||||||
|
|
||||||
如果组件、指令或管道出现在模块的`imports`数组中,_不要_把它声明在`declarations`数组中。
|
如果某个组件、指令或管道是属于`imports`中所导入的某个模块的,那就_不能再_把它再声明到本模块的`declarations`数组中。
|
||||||
如果它是你自己写的,并且属于当前模块,_就要_把它声明在`declarations`数组中。
|
如果它是你自己写的,并且确实属于当前模块,*才应该*把它声明在`declarations`数组中。
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue