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 d52906a commit eed356bCopy full SHA for eed356b
packages/astro/src/default/components/DownloadButton.tsx
@@ -34,7 +34,7 @@ async function onClick() {
34
const link = document.createElement('a');
35
link.style.display = 'none';
36
link.download = filename;
37
- link.href = URL.createObjectURL(new Blob([data], { type: 'application/zip' }));
+ link.href = URL.createObjectURL(new Blob([data] as any, { type: 'application/zip' }));
38
39
document.body.appendChild(link);
40
link.click();
0 commit comments