@@ -597,9 +597,9 @@ function printPathNoParens(path, options, print, args) {
597597 ( n === parent . body && parent . type === "ArrowFunctionExpression" ) ||
598598 ( n !== parent . body && parent . type === "ForStatement" ) ||
599599 ( parent . type === "ConditionalExpression" &&
600- ( parentParent . type !== "ReturnStatement" &&
601- parentParent . type !== "CallExpression" &&
602- parentParent . type !== "OptionalCallExpression" ) ) ;
600+ parentParent . type !== "ReturnStatement" &&
601+ parentParent . type !== "CallExpression" &&
602+ parentParent . type !== "OptionalCallExpression" ) ;
603603
604604 const shouldIndentIfInlining =
605605 parent . type === "AssignmentExpression" ||
@@ -3601,10 +3601,10 @@ function printPathNoParens(path, options, print, args) {
36013601 isNgForOf ( n , index , parentNode ) ||
36023602 ( ( ( index === 1 && ( n . key . name === "then" || n . key . name === "else" ) ) ||
36033603 ( index === 2 &&
3604- ( n . key . name === "else" &&
3605- parentNode . body [ index - 1 ] . type ===
3606- "NGMicrosyntaxKeyedExpression" &&
3607- parentNode . body [ index - 1 ] . key . name === "then" ) ) ) &&
3604+ n . key . name === "else" &&
3605+ parentNode . body [ index - 1 ] . type ===
3606+ "NGMicrosyntaxKeyedExpression" &&
3607+ parentNode . body [ index - 1 ] . key . name === "then" ) ) &&
36083608 parentNode . body [ 0 ] . type === "NGMicrosyntaxExpression" ) ;
36093609 return concat ( [
36103610 path . call ( print , "key" ) ,
@@ -4450,12 +4450,12 @@ function printExportDeclaration(path, options, print) {
44504450
44514451 if (
44524452 isDefault &&
4453- ( decl . declaration . type !== "ClassDeclaration" &&
4454- decl . declaration . type !== "FunctionDeclaration" &&
4455- decl . declaration . type !== "TSInterfaceDeclaration" &&
4456- decl . declaration . type !== "DeclareClass" &&
4457- decl . declaration . type !== "DeclareFunction" &&
4458- decl . declaration . type !== "TSDeclareFunction" )
4453+ decl . declaration . type !== "ClassDeclaration" &&
4454+ decl . declaration . type !== "FunctionDeclaration" &&
4455+ decl . declaration . type !== "TSInterfaceDeclaration" &&
4456+ decl . declaration . type !== "DeclareClass" &&
4457+ decl . declaration . type !== "DeclareFunction" &&
4458+ decl . declaration . type !== "TSDeclareFunction"
44594459 ) {
44604460 parts . push ( semi ) ;
44614461 }
@@ -5140,7 +5140,7 @@ function separatorNoWhitespace(
51405140
51415141 if (
51425142 ( childNode . type === "JSXElement" && ! childNode . closingElement ) ||
5143- ( nextNode && ( nextNode . type === "JSXElement" && ! nextNode . closingElement ) )
5143+ ( nextNode && nextNode . type === "JSXElement" && ! nextNode . closingElement )
51445144 ) {
51455145 return child . length === 1 ? softline : hardline ;
51465146 }
0 commit comments