fix(ivy): make exported pipes available in module scope (#27438)

This is tested in the Ivy CLI integration test.

PR Close #27438
This commit is contained in:
JoostK 2018-12-03 22:16:31 +01:00 committed by Miško Hevery
parent 11600255fb
commit 84084b1bdb
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ export function transitiveScopesFor<T>(moduleType: Type<T>): NgModuleTransitiveS
scopes.compilation.pipes.add(entry);
scopes.exported.pipes.add(entry);
});
} else if (getNgModuleDef(exportedTyped)) {
} else if (getPipeDef(exportedTyped)) {
scopes.exported.pipes.add(exportedTyped);
} else {
scopes.exported.directives.add(exportedTyped);