From 00dbbfe4488b7c99810392f522c2f4b06caab087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Wed, 19 May 2021 07:45:24 -0400 Subject: [PATCH] Update packages/babel-parser/src/plugins/flow/index.js Co-authored-by: Federico Ciardi --- packages/babel-parser/src/plugins/flow/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-parser/src/plugins/flow/index.js b/packages/babel-parser/src/plugins/flow/index.js index d890aefd1765..67a6d961ed29 100644 --- a/packages/babel-parser/src/plugins/flow/index.js +++ b/packages/babel-parser/src/plugins/flow/index.js @@ -2667,7 +2667,7 @@ export default (superClass: Class): Class => // parse import-type/typeof shorthand parseImportSpecifier(node: N.ImportDeclaration): void { const specifier = this.startNode(); - const fistIdentIsString = this.match(tt.string); + const firstIdentIsString = this.match(tt.string); const firstIdent = this.parseModuleExportName(); let specifierTypeKind = null;