Indentation within binding patterns.

Fixes #2380.
This commit is contained in:
Daniel Rosenwasser
2015-03-16 22:09:17 -07:00
parent 686d1c60de
commit a7f57cbe41
5 changed files with 62 additions and 0 deletions

View File

@@ -368,6 +368,8 @@ module ts.formatting {
case SyntaxKind.ExportAssignment:
case SyntaxKind.ReturnStatement:
case SyntaxKind.ConditionalExpression:
case SyntaxKind.ArrayBindingPattern:
case SyntaxKind.ObjectBindingPattern:
return true;
}
return false;