title: Argument of type 'File' is not assignable to parameter of type 'string | Blob' in formData
body: <p>I have some upload code that takes a file from a file input field and uploads it</p>
  
  <pre><code>  basicUpload(files: File[]){
      var formData = new FormData();
      Array.from(files).forEach((file) =&gt; formData.append('file', file))
      this.http.post('https://file.io', formData)
        .subscribe(event =&gt; {  
          console.log('done')
        })
    }
  </code></pre>
  
  <p>This works and I can upload a file from the browser, but when I try to prepare the code for a native platform. I get this error</p>
  
  <pre><code>Argument of type 'File' is not assignable to parameter of type 'string | Blob'.
    Type 'File' is not assignable to type 'Blob'
  </code></pre>
  
  <p>I assume I need to type the file on this line</p>
  
  <pre><code>Array.from(files).forEach(file =&gt; formData.append('file', file))
  </code></pre>
  
  <p>But i am not sure how to achieve that.</p>