mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-10 20:20:12 +00:00
pdfmake: added TDocumentDefinitions.compress
This commit is contained in:
1
types/pdfmake/index.d.ts
vendored
1
types/pdfmake/index.d.ts
vendored
@@ -172,6 +172,7 @@ declare module 'pdfmake/build/pdfmake' {
|
||||
|
||||
interface TDocumentDefinitions {
|
||||
info?: TDocumentInformation;
|
||||
compress?: boolean;
|
||||
header?: TDocumentHeaderFooterFunction;
|
||||
footer?: TDocumentHeaderFooterFunction;
|
||||
content: string | Content;
|
||||
|
||||
@@ -1316,6 +1316,10 @@ const definitions = [
|
||||
images: {
|
||||
building: 'data:image/gif;base64,...'
|
||||
}
|
||||
},
|
||||
{
|
||||
compress: false,
|
||||
content: ['This document does not use compression']
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user