From 5835b7aff2ae4d7a79ff7f330d61e5b630cb13af Mon Sep 17 00:00:00 2001 From: Hristijan Lubeski Date: Tue, 9 Jun 2020 17:55:41 +0200 Subject: [PATCH] update nodeStream type --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 0c4073fc..4ae7f977 100644 --- a/index.d.ts +++ b/index.d.ts @@ -80,7 +80,7 @@ declare namespace JSZip { * @return Promise the promise of the result. */ async(type: T, onUpdate?: OnUpdateCallback): Promise; - nodeStream(type?: 'nodestream', onUpdate?: OnUpdateCallback): NodeJS.ReadableStream; + nodeStream(type?: 'nodebuffer', onUpdate?: OnUpdateCallback): NodeJS.ReadableStream; } interface JSZipFileOptions {