mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Merge pull request #16695 from vandenoever/patch-1
Add more options to JSZipGeneratorOptions of jszip package
This commit is contained in:
11
types/jszip/index.d.ts
vendored
11
types/jszip/index.d.ts
vendored
@@ -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