mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[@types/pdfmake] extended background definition for other content types (#35323)
* extended background definition for other content types * make background type definition more readable Co-Authored-By: Dan Rumney <dancrumb@gmail.com>
This commit is contained in:
parent
e11f807ce1
commit
11b03605ce
2
types/pdfmake/index.d.ts
vendored
2
types/pdfmake/index.d.ts
vendored
@ -182,7 +182,7 @@ declare module "pdfmake/build/pdfmake" {
|
||||
}
|
||||
|
||||
interface TDocumentDefinitions {
|
||||
background?: () => string | string;
|
||||
background?: string | ((currentPage: number, pageSize: PageSize) => string | Content | null);
|
||||
compress?: boolean;
|
||||
content: string | Content | Array<string | Content>;
|
||||
defaultStyle?: Style;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user