Skip to content

Commit ce661be

Browse files
committed
fix: typecheck
1 parent 14e3d8e commit ce661be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/email-parser/email-parser.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const parsedEmail = computedAsync(async () => {
2727
}
2828
});
2929
30-
function downloadFile(data: ArrayBuffer, fileName: string, fileType: string) {
30+
function downloadFile(data: ArrayBuffer | string, fileName: string, fileType: string) {
3131
const blob = new Blob([data], { type: fileType || 'application/octet-stream' });
3232
const downloadUrl = URL.createObjectURL(blob);
3333
const a = document.createElement('a');

0 commit comments

Comments
 (0)