title: TypeScript - How to append line break (\n) on string?
body: <p>I'm trying to concatenate a string with a "\n" like this:</p>
  
  <pre><code>- Item 1
  - Item 2
  </code></pre>
  
  
  
  <pre><code>var msg: string = '';
  msg += '- Campo NOME é obrigatório';
  msg += "\n- Campo EMAIL é obrigatório";
  </code></pre>
  
  <p>But the output comes without the line break:</p>
  
  <pre><code>- Item 1 - Item 2
  </code></pre>
  
  <p>I searched a lot about it but I didn't find a solution. Could you please help me? :)</p>