From 12f71be2d4d4f8e4c37b1098987c9473be96b931 Mon Sep 17 00:00:00 2001 From: RinGoku Date: Wed, 11 Jan 2023 16:34:02 +0900 Subject: [PATCH] fix encodeFileName typedef --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index b1c93082..3a8edf2a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -155,7 +155,7 @@ declare namespace JSZip { * @default 'application/zip' */ mimeType?: string; - encodeFileName?(filename: string): string; + encodeFileName?(filename: string): Buffer; /** Stream the files and create file descriptors */ streamFiles?: boolean; /** DOS (default) or UNIX */