From 9b0044472435d3b6e04f70ef5356f5d902184389 Mon Sep 17 00:00:00 2001 From: Pravinraj Mohan Date: Fri, 18 Sep 2020 14:02:43 +0530 Subject: [PATCH] Update addImage input param(compression) type Here the Issue on `addImage` parameter `compression` data type error fixed. It initially throws error on entering string type params. --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 93d62218e..a903501d7 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -848,7 +848,7 @@ declare module "jspdf" { w: number, h: number, alias?: string, - compression?: ImageCompression, + compression?: "NONE" | "FAST" | "MEDIUM" | "SLOW", rotation?: number ): jsPDF; addImage(