Skip to content

Commit

Permalink
added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Jones committed Oct 29, 2020
1 parent 6be0ece commit c3f10e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.d.ts
Expand Up @@ -128,6 +128,9 @@ declare namespace JSZip {
}

interface JSZipGeneratorOptions<T extends OutputType = OutputType> {
/**
* Sets compression option for all entries that have not specified their own `compression` option
*/
compression?: Compression;
/**
* The `compressionOptions` parameter depends on the compression type. With `STORE` (no compression), this parameter is ignored. With `DEFLATE`, you can give the compression level with `compressionOptions : {level:6}` (or any level between 1 (best speed) and 9 (best compression)).
Expand Down

0 comments on commit c3f10e7

Please sign in to comment.