@datalayer/core
Version:
**Datalayer Core**
11 lines (10 loc) • 536 B
TypeScript
/**
* @param data
* @param filename
* @param mime See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
* @param bom A byte order mark (BOM) is a sequence of bytes used to indicate Unicode encoding of a text file. The underlying character code, U+FEFF , takes one of the following forms depending on the character encoding.
*
* .zip ZIP archive application/zip
*/
export declare const downloadFile: (data: any, filename: string, mime?: any, bom?: any) => void;
export default downloadFile;