mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Add more options to JSZipGeneratorOptions
Source: https://stuk.github.io/jszip/documentation/api_jszip/generate_async.html
This commit is contained in:
committed by
GitHub
parent
5a60b831fb
commit
ed212228d8
Vendored
+10
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user