upda/server/web/src/utils/downloadFile.ts
Varakh d0312a5853
All checks were successful
/ build (push) Successful in 5m30s
feat(embedded_ui): fully integrate UI into GoLang binary (#43)
Reviewed-on: #43
Co-authored-by: Varakh <varakh@varakh.de>
Co-committed-by: Varakh <varakh@varakh.de>
2024-10-25 14:12:35 +00:00

7 lines
153 B
TypeScript

import { saveAs } from 'file-saver';
const downloadFile = (blob: Blob, filename: string) => {
saveAs(blob, filename);
};
export default downloadFile;