diff --git a/modules/change_detection/src/parser/ast.js b/modules/change_detection/src/parser/ast.js index 1e01b41fa5..d493301f24 100644 --- a/modules/change_detection/src/parser/ast.js +++ b/modules/change_detection/src/parser/ast.js @@ -258,11 +258,11 @@ export class Interpolation extends AST { } eval(context) { - throw new Error("unsuported"); + throw new BaseException("evaluating an Interpolation is not supported"); } - visit(visitor, args) { - visitor.visitInterpolation(this, args); + visit(visitor) { + visitor.visitInterpolation(this); } }