Skip to content

Commit b232159

Browse files
committed
adding constructor/parenthesized type
1 parent be97d03 commit b232159

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/services/formatting/smartIndenter.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,11 @@ namespace ts.formatting {
432432
case SyntaxKind.MethodSignature:
433433
case SyntaxKind.CallSignature:
434434
case SyntaxKind.ConstructSignature:
435+
case SyntaxKind.Parameter:
435436
case SyntaxKind.FunctionType:
437+
case SyntaxKind.ConstructorType:
436438
case SyntaxKind.UnionType:
437-
case SyntaxKind.Parameter:
439+
case SyntaxKind.ParenthesizedType:
438440
case SyntaxKind.TaggedTemplateExpression:
439441
case SyntaxKind.AwaitExpression:
440442
return true;

0 commit comments

Comments
 (0)