Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
fedeci committed Apr 4, 2021
1 parent 5d7193d commit 258b179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-parser/src/plugins/typescript/index.js
Expand Up @@ -2745,7 +2745,7 @@ export default (superClass: Class<Parser>): Class<Parser> =>
case "TSAsExpression":
case "TSTypeAssertion":
if (
!args[0] &&
/*bindingType*/ !args[0] &&
contextDescription !== "parenthesized expression" &&
!expr.extra?.parenthesized
) {
Expand Down

0 comments on commit 258b179

Please sign in to comment.