Skip to content

Commit

Permalink
Fix flow type
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Apr 15, 2020
1 parent de2cdb7 commit 47dbbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-parser/src/parser/expression.js
Expand Up @@ -1140,7 +1140,7 @@ export default class ExpressionParser extends LValParser {
}

if (this.hasPlugin("privateIn")) {
node = this.parseMaybePrivateName(true);
node = (this.parseMaybePrivateName(true): N.PrivateName);
this.classScope.usePrivateName(node.id.name, node.start);
if (!this.match(tt._in)) {
this.raise(
Expand Down

0 comments on commit 47dbbfd

Please sign in to comment.