We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14e3d8e commit ce661beCopy full SHA for ce661be
src/tools/email-parser/email-parser.vue
@@ -27,7 +27,7 @@ const parsedEmail = computedAsync(async () => {
27
}
28
});
29
30
-function downloadFile(data: ArrayBuffer, fileName: string, fileType: string) {
+function downloadFile(data: ArrayBuffer | string, fileName: string, fileType: string) {
31
const blob = new Blob([data], { type: fileType || 'application/octet-stream' });
32
const downloadUrl = URL.createObjectURL(blob);
33
const a = document.createElement('a');
0 commit comments