Skip to content

Commit 211b09b

Browse files
authored
Fix typo in parser.ts
1 parent 5725428 commit 211b09b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/parser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3572,7 +3572,7 @@ namespace ts {
35723572
// 2) CoverCallExpressionAndAsyncArrowHead[?Yield, ?Await][no LineTerminator here]=>AsyncConciseBody[?In]
35733573
if (token() === SyntaxKind.AsyncKeyword) {
35743574
nextToken();
3575-
// If the "async" is followed by "=>" token then it is not a begining of an async arrow-function
3575+
// If the "async" is followed by "=>" token then it is not a beginning of an async arrow-function
35763576
// but instead a simple arrow-function which will be parsed inside "parseAssignmentExpressionOrHigher"
35773577
if (scanner.hasPrecedingLineBreak() || token() === SyntaxKind.EqualsGreaterThanToken) {
35783578
return Tristate.False;

0 commit comments

Comments
 (0)