title: clang-format option to insert new line in TypeScript
body: <p>My Angular application is written in TypeScript. I added a <code>clang-config</code> file to establish consistency in the code. After exploring the options I have the following block:</p>
  
  <pre><code>Language: JavaScript
  BasedOnStyle: WebKit
  AllowShortFunctionsOnASingleLine: false
  BreakBeforeBraces: Attach
  ColumnLimit: 250
  IndentWidth: 2
  JavaScriptQuotes: Single
  MaxEmptyLinesToKeep: 1
  </code></pre>
  
  <ol>
  <li><p>I like to code on alternate lines. Thus, a new line needs to exist between two valid JS statements. <code>MaxEmptyLinesToKeep</code> removes the newline before closing braces of a scope (but retains the one at the beginning). How do I set this?</p></li>
  <li><p>The decorator options is now on a single line: <code>@Component({ selector : 'in... })</code> How do I get it to one key per line?</p></li>
  <li><p>When changing the <code>BasedOnStyle</code> setting to <code>Mozilla</code>, the inner scope, i.e.: <code>Observable.subscribe(()=&gt;{ // This region. })</code>, is indented with 2 spaces instead of 4. Which setting governs this?</p></li>
  <li><p>Empty functions close on the next line. How do I close it on the same line, e.g.: <code>function foo() { }</code> instead of
  <code>function foo() {
  }</code></p></li>
  </ol>
  
  <p>Thanks!</p>