Parse arrows with params annotations in conditional expressions (#10669)
This commit is contained in:
@@ -2061,6 +2061,7 @@ export default (superClass: Class<Parser>): Class<Parser> =>
|
||||
return node.operator === "=";
|
||||
|
||||
case "ParenthesizedExpression":
|
||||
case "TypeCastExpression":
|
||||
return this.isAssignable(node.expression);
|
||||
|
||||
case "MemberExpression":
|
||||
|
||||
Reference in New Issue
Block a user