diff --git a/packages/compiler/src/render3/r3_ast.ts b/packages/compiler/src/render3/r3_ast.ts index dc7e452a11..0eb111b3c7 100644 --- a/packages/compiler/src/render3/r3_ast.ts +++ b/packages/compiler/src/render3/r3_ast.ts @@ -203,11 +203,15 @@ export class NullVisitor implements Visitor { export class RecursiveVisitor implements Visitor { visitElement(element: Element): void { visitAll(this, element.attributes); + visitAll(this, element.inputs); + visitAll(this, element.outputs); visitAll(this, element.children); visitAll(this, element.references); } visitTemplate(template: Template): void { visitAll(this, template.attributes); + visitAll(this, template.inputs); + visitAll(this, template.outputs); visitAll(this, template.children); visitAll(this, template.references); visitAll(this, template.variables);