We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5725428 commit 211b09bCopy full SHA for 211b09b
src/compiler/parser.ts
@@ -3572,7 +3572,7 @@ namespace ts {
3572
// 2) CoverCallExpressionAndAsyncArrowHead[?Yield, ?Await][no LineTerminator here]=>AsyncConciseBody[?In]
3573
if (token() === SyntaxKind.AsyncKeyword) {
3574
nextToken();
3575
- // 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
3576
// but instead a simple arrow-function which will be parsed inside "parseAssignmentExpressionOrHigher"
3577
if (scanner.hasPrecedingLineBreak() || token() === SyntaxKind.EqualsGreaterThanToken) {
3578
return Tristate.False;
0 commit comments