From 211b09b46c9746519e6c918cb88e1497e03cad1f Mon Sep 17 00:00:00 2001 From: Alex Ryan Date: Tue, 8 May 2018 14:20:26 -0700 Subject: [PATCH] Fix typo in parser.ts --- src/compiler/parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 4b55bba412c..ad3f80710db 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -3572,7 +3572,7 @@ namespace ts { // 2) CoverCallExpressionAndAsyncArrowHead[?Yield, ?Await][no LineTerminator here]=>AsyncConciseBody[?In] if (token() === SyntaxKind.AsyncKeyword) { nextToken(); - // If the "async" is followed by "=>" token then it is not a begining of an async arrow-function + // If the "async" is followed by "=>" token then it is not a beginning of an async arrow-function // but instead a simple arrow-function which will be parsed inside "parseAssignmentExpressionOrHigher" if (scanner.hasPrecedingLineBreak() || token() === SyntaxKind.EqualsGreaterThanToken) { return Tristate.False;