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 11, 2020
1 parent a1973bc commit 75e7c6f
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 75e7c6f

Please sign in to comment.