gistlib
index.tsfunction blobToFile(blob: Blob, fileName: string): File { const file = new File([blob], fileName, { type: blob.type }); return file; } 143 chars5 lines
function blobToFile(blob: Blob, fileName: string): File { const file = new File([blob], fileName, { type: blob.type }); return file; }
gistlibby LogSnag