From 4ecac789f3a6190a91a40be6e3b7b2778d004571 Mon Sep 17 00:00:00 2001 From: Florian Keller Date: Sat, 21 Dec 2019 10:58:36 +0100 Subject: [PATCH] [jszip] add string output type --- types/jszip/index.d.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/types/jszip/index.d.ts b/types/jszip/index.d.ts index 5f8b4e4afc9acae..8034619de95dd46 100644 --- a/types/jszip/index.d.ts +++ b/types/jszip/index.d.ts @@ -1,6 +1,8 @@ // Type definitions for JSZip 3.1 // Project: http://stuk.github.com/jszip/, https://github.com/stuk/jszip -// Definitions by: mzeiher , forabi +// Definitions by: mzeiher +// forabi +// Florian Keller // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -15,7 +17,7 @@ interface JSZipSupport { type Compression = 'STORE' | 'DEFLATE'; -interface Metadata { +interface Metadata { percent: number; currentFile: string; } @@ -37,6 +39,7 @@ interface InputByType { interface OutputByType { base64: string; text: string; + string: string; binarystring: string; array: number[]; uint8array: Uint8Array;