We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
if
1 parent 306de4d commit ce6f39eCopy full SHA for ce6f39e
src/compiler/parser.ts
@@ -2850,8 +2850,8 @@ namespace ts {
2850
if (sourceFile.languageVariant === LanguageVariant.JSX) {
2851
let isArrowFunctionInJsx = lookAhead(() => {
2852
let third = nextToken();
2853
- let fourth = nextToken();
2854
if (third === SyntaxKind.ExtendsKeyword) {
+ let fourth = nextToken();
2855
switch (fourth) {
2856
case SyntaxKind.EqualsToken:
2857
case SyntaxKind.GreaterThanToken:
0 commit comments