Add more options to JSZipGeneratorOptions

Source: https://stuk.github.io/jszip/documentation/api_jszip/generate_async.html
This commit is contained in:
Jos van den Oever
2017-05-23 15:12:44 +02:00
committed by GitHub
parent 5a60b831fb
commit ed212228d8
+10 -1
View File
@@ -168,9 +168,18 @@ interface JSZipGeneratorOptions {
base64?: boolean;
/** DEFLATE or STORE */
compression?: string;
/** base64 (default), string, uint8array, blob */
/** base64 (default), string, uint8array, arraybuffer, blob */
type?: string;
comment?: string;
/**
* mime-type for the generated file.
* Useful when you need to generate a file with a different extension, ie: “.ods”.
*/
mimeType?: string;
/** streaming uses less memory */
streamFiles?: boolean;
/** DOS (default) or UNIX */
platform?: string;
}
interface JSZipLoadOptions {