Skip to content

Commit

Permalink
update nodeStream type
Browse files Browse the repository at this point in the history
  • Loading branch information
lubeskih committed Jun 9, 2020
1 parent bead269 commit 5835b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -80,7 +80,7 @@ declare namespace JSZip {
* @return Promise the promise of the result.
*/
async<T extends OutputType>(type: T, onUpdate?: OnUpdateCallback): Promise<OutputByType[T]>;
nodeStream(type?: 'nodestream', onUpdate?: OnUpdateCallback): NodeJS.ReadableStream;
nodeStream(type?: 'nodebuffer', onUpdate?: OnUpdateCallback): NodeJS.ReadableStream;
}

interface JSZipFileOptions {
Expand Down

0 comments on commit 5835b7a

Please sign in to comment.