Skip to content

Commit

Permalink
fix: attribute values being wrapped in parentheses while typing
Browse files Browse the repository at this point in the history
close #2182
  • Loading branch information
johnsoncodehk committed Dec 8, 2022
1 parent a2ca2b9 commit cc3a5ce
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -63,6 +63,7 @@ export default function (options: {
|| (
ts.isBinaryExpression(statement.expression)
&& statement.expression.right.getText(ast)
&& statement.expression.operatorToken.kind === ts.SyntaxKind.InstanceOfKeyword
)
|| (
ts.isTypeOfExpression(statement.expression)
Expand Down

0 comments on commit cc3a5ce

Please sign in to comment.