diff --git a/packages/compiler/src/render3/r3_ast.ts b/packages/compiler/src/render3/r3_ast.ts index 7595fefc7f..79fd5e4477 100644 --- a/packages/compiler/src/render3/r3_ast.ts +++ b/packages/compiler/src/render3/r3_ast.ts @@ -193,8 +193,8 @@ export class TransformVisitor implements Visitor { const newReferences = transformAll(this, template.references); const newVariables = transformAll(this, template.variables); if (newAttributes != template.attributes || newInputs != template.inputs || - newChildren != template.children || newVariables != template.variables || - newReferences != template.references) { + newOutputs != template.outputs || newChildren != template.children || + newReferences != template.references || newVariables != template.variables) { return new Template( template.tagName, newAttributes, newInputs, newOutputs, newChildren, newReferences, newVariables, template.sourceSpan, template.startSourceSpan, template.endSourceSpan);