diff --git a/types/jszip/index.d.ts b/types/jszip/index.d.ts index a6253e60b8..bca2b6899c 100644 --- a/types/jszip/index.d.ts +++ b/types/jszip/index.d.ts @@ -219,7 +219,7 @@ interface JSZip { * @param onUpdate The optional function called on each internal update with the metadata. * @return A Node.js `ReadableStream` */ - generateNodeStream(options?: JSZip.JSZipGeneratorOptions<'nodebuffer'>, onUpdate?: OnUpdateCallback): NodeJS.ReadStream; + generateNodeStream(options?: JSZip.JSZipGeneratorOptions<'nodebuffer'>, onUpdate?: OnUpdateCallback): NodeJS.ReadableStream; /** * Deserialize zip file asynchronously