title: Write array to text file with new line using Typescript
body: <p>I have array of plain strings. I want to make save it to text file. Problem is I'm getting it as comma separated values, I want those strings in new line.</p>
  
  <p>Data I have:
  <a href="https://i.stack.imgur.com/r3XVr.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r3XVr.jpg" alt="enter image description here"></a></p>
  
  <p>File I'm getting:
  <a href="https://i.stack.imgur.com/obKXf.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/obKXf.jpg" alt="enter image description here"></a>
  I'm creating file like this</p>
  
  <pre><code>let newFile = new Blob([result['list']], {type: "text/plain", endings: 'native'});
  </code></pre>
  
  <p>where result is coming from server. 
  How do I make array elements come in new line in text file using File/Blob? Or is there another way to do it?</p>