feat(ivy): AOT support for compilation of @Pipes (#24703)

This commit adds support to ngtsc for compilation of the @Pipe
annotation, including support for pipes in @NgModule scopes.

PR Close #24703
This commit is contained in:
Alex Rickabaugh
2018-06-26 10:44:22 -07:00
committed by Miško Hevery
parent 3d52174bf1
commit b6af8700ce
6 changed files with 175 additions and 15 deletions

View File

@ -154,7 +154,7 @@ export class NgtscProgram implements api.Program {
new DirectiveDecoratorHandler(checker, this.reflector, scopeRegistry, this.isCore),
new InjectableDecoratorHandler(this.reflector, this.isCore),
new NgModuleDecoratorHandler(checker, this.reflector, scopeRegistry, this.isCore),
new PipeDecoratorHandler(this.reflector, this.isCore),
new PipeDecoratorHandler(checker, this.reflector, scopeRegistry, this.isCore),
];
return new IvyCompilation(handlers, checker, this.reflector, this.coreImportsFrom);