JSZip generateAsync TypeError: e3.charCodeAt is not a function
import JSZip from ‘jszip’; import FileSaver from ‘file-saver’; const exportData = (evt: any) => { var reportFileName = ‘myreport.zip’; const ziptool = new JSZip(); var blob_raw_data = { id: ‘xxxxxxx’, bm: 0, em: 1500 }; var jsonse = JSON.stringify(blob_raw_data, null, ‘t’); var bytes = new TextEncoder().encode(jsonse); var blob = new Blob([bytes], { type: “text/plain;charset=utf-8” }); […]