From 123dc3dc9243dda67ae0d517c098ad465d457187 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Fri, 4 Feb 2022 10:38:35 +0100 Subject: [PATCH] pdfcpu --- index.d.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 06f8455..25636d6 100644 --- a/index.d.ts +++ b/index.d.ts @@ -465,7 +465,7 @@ interface PdfPackage { footerLine?: boolean // Display line above the footer footerRight?: string // Right aligned footer text footerSpacing?: number // Spacing between footer and content in mm (default 0) - footerHtml?: string // URL to footer html + footerHTML?: string // URL to footer html headerCenter?: string // Centered header text headerFontName?: string // Set header font name (default Arial) headerFontSize?: number // Set header font size (default 12) @@ -473,7 +473,7 @@ interface PdfPackage { headerLine?: boolean // Display line below the header headerRight?: string // Right aligned header text headerSpacing?: number // Spacing between header and content in mm (default 0) - headerHtml?: string // URL to header html + headerHTML?: string // URL to header html } ): any @@ -490,6 +490,9 @@ interface PdfPackage { command: "watermark", pdfData: any, options: { + description: { + [key: string]: number | string + } mode: "image" bytes: any // []byte of watermark image }