diff --git a/packages/compiler/src/expression_parser/lexer.ts b/packages/compiler/src/expression_parser/lexer.ts index cc485ea791..bfff0a203d 100644 --- a/packages/compiler/src/expression_parser/lexer.ts +++ b/packages/compiler/src/expression_parser/lexer.ts @@ -46,8 +46,8 @@ export class Token { isString(): boolean { return this.type == TokenType.String; } - isOperator(operater: string): boolean { - return this.type == TokenType.Operator && this.strValue == operater; + isOperator(operator: string): boolean { + return this.type == TokenType.Operator && this.strValue == operator; } isIdentifier(): boolean { return this.type == TokenType.Identifier; }