title: ```XLSX.writeFile``` does not download the workbook in my file system
body: <p>I am trying to download a <code>json</code> as <code>xlsx</code> using <code>Sheetjs</code>. I am successfully able to create <code>worksheet</code> and <code>workbook</code> but the <code>ẁriteFile</code> function does not seem to do anything with the <code>workbook</code>. Any help would be appreciated. Below is my code:</p>
  
  <pre class="lang-html prettyprint-override"><code>  &lt;v-card color="primary" dense&gt;
      &lt;v-card-title class="white--text pa-2 min-height"&gt;
        &lt;h3 class="text-xs-center px-2" data-test-id="DataTableTitle"&gt;{{ title(tableId) }}&lt;/h3&gt;
  
        &lt;v-spacer /&gt;
  
        &lt;v-btn
          v-for="action in headerActions(tableId)"
          :key="action.title"
          data-test-id="action-button"
          @click="callActionOrRouteTo(action, tableId)"
        &gt;
          {{ action.title }}
        &lt;/v-btn&gt;
  
        &lt;v-btn @click="onExport"&gt;EXPORT TO XLSX&lt;/v-btn&gt;
      &lt;/v-card-title&gt;
    &lt;/v-card&gt;
  </code></pre>
  
  <pre><code>import { mapGetters } from 'vuex';
  import DataTableRouting from '@/components/data-tables/DataTableRouting.vue';
  import * as XLSX from 'xlsx';
  
  export default {
    name: 'DataTableTitleBar',
    extends: DataTableRouting,
    props: {
      tableId: {
        type: Number,
        required: true,
      },
    },
    computed: {
      ...mapGetters({
        title: 'dataTables/title',
        headerActions: 'dataTables/headerActions',
        columns: 'dataTables/columns',
        dataItems: 'dataTables/tableItems',
      }),
    },
    data: () =&gt; ({
      jsonData: null,
    }),
    methods: {
      exportToCSV(dataItems) {
        this.jsonData = dataItems.map(row =&gt; {
          const outputRow = {};
          Object.entries(row).forEach(([key, column]) =&gt; {
            outputRow[key] = column.value;
          });
          console.log(outputRow);
          return outputRow;
        });
      },
      onExport() {
        this.exportToCSV(this.dataItems(this.tableId));
        console.log(this.jsonData);
        const animalWS = XLSX.utils.json_to_sheet(this.jsonData);
        console.log(animalWS);
        const wb = XLSX.utils.book_new();
        console.log(wb);
        XLSX.utils.book_append_sheet(wb, animalWS, 'animals');
        XLSX.writeFile(wb, 'book.xlsx', { type: 'file' });
      },
    },
  };
  </code></pre>
  
  <p>I expect that on clicking the button a <code>xlsx</code> file should be automatically downloaded.</p>