From 99993cd157c2218ff69c08d20921d6db66f32d40 Mon Sep 17 00:00:00 2001 From: Emil Bonne Kristiansen Date: Wed, 20 Jul 2022 00:40:25 +0200 Subject: [PATCH] Add null type to currentFile in JSZipMetadata --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 4d646ada..567b8dbc 100644 --- a/index.d.ts +++ b/index.d.ts @@ -172,7 +172,7 @@ declare namespace JSZip { interface JSZipMetadata { percent: number; - currentFile: string; + currentFile: string | null; } type DataEventCallback = (dataChunk: T, metadata: JSZipMetadata) => void