Skip to content

Commit 18f283f

Browse files
author
Andy Hanson
committed
Add more missing quotes
1 parent 9c0f770 commit 18f283f

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
@@ -1309,7 +1309,7 @@ namespace ts {
13091309
case ParsingContext.ObjectBindingElements:
13101310
return token() === SyntaxKind.OpenBracketToken || token() === SyntaxKind.DotDotDotToken || isLiteralPropertyName();
13111311
case ParsingContext.HeritageClauseElement:
1312-
// If we see { } then only consume it as an expression if it is followed by `,` or `{`
1312+
// If we see `{ ... }` then only consume it as an expression if it is followed by `,` or `{`
13131313
// That way we won't consume the body of a class in its heritage clause.
13141314
if (token() === SyntaxKind.OpenBraceToken) {
13151315
return lookAhead(isValidHeritageClauseObjectLiteral);

0 commit comments

Comments
 (0)