We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba7c1a1 commit 2576ea1Copy full SHA for 2576ea1
1 file changed
src/services/formatting/rules.ts
@@ -712,8 +712,8 @@ namespace ts.formatting {
712
case SyntaxKind.Block: {
713
const blockParent = context.currentTokenParent.parent;
714
if (blockParent.kind !== SyntaxKind.ArrowFunction &&
715
- blockParent.kind !== SyntaxKind.FunctionExpression)
716
- {
+ blockParent.kind !== SyntaxKind.FunctionExpression
+ ) {
717
return true;
718
}
719
0 commit comments