[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 []
This commit is contained in:
Andi Pätzold 2019-05-13 18:42:50 +02:00 committed by Nathan Shively-Sanders
parent 6360f56562
commit edbddd61ad

View File

@ -3,6 +3,7 @@
// Definitions by: Milen Stefanov <https://github.com/m1llen1um>
// Rajab Shakirov <https://github.com/radziksh>
// Enzo Volkmann <https://github.com/evolkmann>
// Andi Pätzold <https://github.com/andipaetzold>
// 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<string | Content>;
defaultStyle?: Style;
footer?: TDocumentHeaderFooterFunction;
header?: TDocumentHeaderFooterFunction;