Skip to content

Commit 9d56abc

Browse files
authored
Merge pull request #682 from lubeskih/681-update-nodestream-type
Correct nodeStream's type
2 parents ed8a758 + 5835b7a commit 9d56abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ declare namespace JSZip {
8080
* @return Promise the promise of the result.
8181
*/
8282
async<T extends OutputType>(type: T, onUpdate?: OnUpdateCallback): Promise<OutputByType[T]>;
83-
nodeStream(type?: 'nodestream', onUpdate?: OnUpdateCallback): NodeJS.ReadableStream;
83+
nodeStream(type?: 'nodebuffer', onUpdate?: OnUpdateCallback): NodeJS.ReadableStream;
8484
}
8585

8686
interface JSZipFileOptions {

0 commit comments

Comments
 (0)