Skip to content

Commit

Permalink
add return type to validateParenthesizedExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
boweihan committed Nov 3, 2019
1 parent 6b45eff commit 2ac810d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-parser/src/parser/lval.js
Expand Up @@ -38,7 +38,7 @@ export default class LValParser extends NodeUtils {
// Convert existing expression atom to assignable pattern
// if possible.

validateParenthesizedExpression(node: Node) {
validateParenthesizedExpression(node: Node): void {
let parenthesized;
if (
this.options.createParenthesizedExpressions &&
Expand Down

0 comments on commit 2ac810d

Please sign in to comment.