Skip to content

Commit 5719c8d

Browse files
authored
Merge pull request microsoft#23974 from ialexryan/patch-1
Fix typo in parser.ts
2 parents 5725428 + 211b09b commit 5719c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/parser.ts

Lines changed: 1 addition & 1 deletion
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)