style(compiler): typo fix (#26934)

PR Close #26934
This commit is contained in:
Andrew Grekov 2018-11-03 21:11:33 +03:00 committed by Kara Erickson
parent 7d2a746090
commit e6a0c45674
1 changed files with 2 additions and 2 deletions

View File

@ -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; }