Skip to content

Commit

Permalink
Merge pull request #682 from lubeskih/681-update-nodestream-type
Browse files Browse the repository at this point in the history
Correct nodeStream's type
  • Loading branch information
Stuk committed Jun 13, 2020
2 parents ed8a758 + 5835b7a commit 9d56abc
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 9d56abc

Please sign in to comment.