From e988a043bc6a26957798ce48e6f12e0b96b8b803 Mon Sep 17 00:00:00 2001 From: Hikaru ETO Date: Mon, 29 Mar 2021 16:56:01 +0900 Subject: [PATCH] Fix types of output func (#3119) --- types/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 548f248ad..0af68e359 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -781,7 +781,8 @@ declare module "jspdf" { options?: { filename?: string } ): string; output( - type: "pdfobjectnewwindow" | "pdfjsnewwindow" | "dataurlnewwindow" + type: "pdfobjectnewwindow" | "pdfjsnewwindow" | "dataurlnewwindow", + options?: { filename?: string } ): Window; output( type: "dataurl" | "datauri",