docs(ngmodule-faq): change wrong word "exports" to "imports" (#2582)
The correct sentence is: "Importing a module does _not_ automatically re-export the imported module's imports"
This commit is contained in:
parent
5bb92f29a4
commit
a5a55eabe1
|
@ -1104,7 +1104,7 @@ table
|
||||||
Declarations are private by default.
|
Declarations are private by default.
|
||||||
If this module does _not_ export `HeroComponent`, no other module can see it.
|
If this module does _not_ export `HeroComponent`, no other module can see it.
|
||||||
|
|
||||||
Importing a module does _not_ automatically re-export the imported module's exports.
|
Importing a module does _not_ automatically re-export the imported module's imports.
|
||||||
Module 'B' can't use `ngIf` just because it imported module `A` which imported `CommonModule`.
|
Module 'B' can't use `ngIf` just because it imported module `A` which imported `CommonModule`.
|
||||||
Module 'B' must import `CommonModule` itself.
|
Module 'B' must import `CommonModule` itself.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue