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.
2 parents ff6eb69 + e35050a commit 2c6a472Copy full SHA for 2c6a472
1 file changed
packages/excel-builder-vanilla/src/factory.ts
@@ -69,7 +69,7 @@ export function createExcelFile<T extends 'Blob' | 'Uint8Array' = 'Blob'>(
69
if (mimeType === undefined) {
70
mimeType = format === 'xls' ? 'application/vnd.ms-excel' : 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
71
}
72
- resolve(new Blob([data as unknown as ArrayBuffer], { type: mimeType }) as InferOutputByType<T>);
+ resolve(new Blob([data as BlobPart], { type: mimeType }) as InferOutputByType<T>);
73
74
});
75
0 commit comments