Skip to content

Commit

Permalink
Update packages/babel-parser/src/plugins/flow/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>
  • Loading branch information
JLHwung and fedeci committed May 19, 2021
1 parent 9590768 commit 00dbbfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-parser/src/plugins/flow/index.js
Expand Up @@ -2667,7 +2667,7 @@ export default (superClass: Class<Parser>): Class<Parser> =>
// 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;
Expand Down

0 comments on commit 00dbbfe

Please sign in to comment.