From edbddd61ad8bec4c6f134e7307f9e4e0d1e11b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andi=20P=C3=A4tzold?= <4947671+andipaetzold@users.noreply.github.com> Date: Mon, 13 May 2019 18:42:50 +0200 Subject: [PATCH] [pdfmake] content can be an array (#35191) * fix(pdfmake) style must be a string * fix(pdfmake) content can be an array * fix(pdfmake) add myself as author * fix(pdfmake) use Array<> instead of [] --- types/pdfmake/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/pdfmake/index.d.ts b/types/pdfmake/index.d.ts index 085c744d4b..34a1d189f1 100644 --- a/types/pdfmake/index.d.ts +++ b/types/pdfmake/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Milen Stefanov // Rajab Shakirov // Enzo Volkmann +// Andi Pätzold // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 @@ -183,7 +184,7 @@ declare module "pdfmake/build/pdfmake" { interface TDocumentDefinitions { background?: () => string | string; compress?: boolean; - content: string | Content; + content: string | Content | Array; defaultStyle?: Style; footer?: TDocumentHeaderFooterFunction; header?: TDocumentHeaderFooterFunction;