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:
SangKa.Z 2017-03-30 07:02:08 +08:00 committed by Ward Bell
parent 5bb92f29a4
commit a5a55eabe1
1 changed files with 1 additions and 1 deletions

View File

@ -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.