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 {