title: Downloading excel(.xlsx) with blob and FileSaver.js in vue project getting coruppted
body: <p>I am trying to download file by sending an Api request in my Vue project, and with response data I am trying to save the file using blob and FileSaver.js</p>
  
  <pre><code>sendAjaxCall.then(response =&gt; {
        let file = new Blob([response.data], {type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'})
        FileSaver.saveAs(file, 'Export2.xlsx')
  }
  </code></pre>
  
  <p>But I can not open the file, it is getting corrupted. </p>