File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -592,6 +592,7 @@ namespace ts.formatting {
592592 case SyntaxKind . JsxOpeningElement :
593593 case SyntaxKind . JsxClosingElement :
594594 case SyntaxKind . JsxSelfClosingElement :
595+ case SyntaxKind . ExpressionWithTypeArguments :
595596 return false ;
596597 }
597598 break ;
Original file line number Diff line number Diff line change @@ -581,7 +581,7 @@ namespace ts.formatting {
581581 if ( childKind === SyntaxKind . TypeLiteral || childKind === SyntaxKind . TupleType ) {
582582 return false ;
583583 }
584- // falls through
584+ break ;
585585 }
586586 // No explicit rule for given nodes so the result will follow the default value argument
587587 return indentByDefault ;
Original file line number Diff line number Diff line change 1+ /// <reference path="fourslash.ts" />
2+
3+ //// class Favorite extends Array<
4+ //// string
5+ //// > {
6+ //// private foo = 2
7+ //// }
8+
9+ verify . formatDocumentChangesNothing ( ) ;
You can’t perform that action at this time.
0 commit comments