Skip to content

Commit

Permalink
fix: typo in the comment (#10817)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhdgms1 committed May 6, 2024
1 parent b1b91d5 commit 16bf341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js_parser.zig
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ pub const TypeScript = struct {
return false;
}

// If we have a 'yield' keyword, and we're in the [yield] context, then 'yield' is
// If we have an 'await' keyword, and we're in the [await] context, then 'await' is
// considered a keyword and is not an identifier.
if (p.fn_or_arrow_data_parse.allow_await != .allow_ident and strings.eqlComptime(p.lexer.identifier, "await")) {
return false;
Expand Down

0 comments on commit 16bf341

Please sign in to comment.