mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[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:
parent
6360f56562
commit
edbddd61ad
3
types/pdfmake/index.d.ts
vendored
3
types/pdfmake/index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user