(blob: Blob, filename: string)
| 81 | } |
| 82 | |
| 83 | function triggerBlobDownload(blob: Blob, filename: string): void { |
| 84 | const url = URL.createObjectURL(blob); |
| 85 | const link = document.createElement("a"); |
| 86 | link.href = url; |
| 87 | link.download = filename; |
| 88 | document.body.appendChild(link); |
| 89 | link.click(); |
| 90 | document.body.removeChild(link); |
| 91 | URL.revokeObjectURL(url); |
| 92 | } |
| 93 | |
| 94 | export async function downloadZipBundle( |
| 95 | bundleName: string, |
no outgoing calls
no test coverage detected