From e6a0c4567474b81dd3405e606d2e91cf13cefe6e Mon Sep 17 00:00:00 2001 From: Andrew Grekov Date: Sat, 3 Nov 2018 21:11:33 +0300 Subject: [PATCH] style(compiler): typo fix (#26934) PR Close #26934 --- packages/compiler/src/expression_parser/lexer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }