Skip to content

Commit 5835b7a

Browse files
committed
update nodeStream type
1 parent bead269 commit 5835b7a

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)