@alessiofrittoli/web-utils
Version:
Common TypeScript web utilities
11 lines (9 loc) • 314 B
TypeScript
/**
* Create and download a blob object.
*
* @param filename The download file name.
* @param data The download file data.
* @param init ( Optional ) The ResponseInit object.
*/
declare const downloadBlob: (filename: string, data: BodyInit, init?: ResponseInit) => Promise<void>;
export { downloadBlob };