Full document, spreadsheet, slideshow, and diagram tooling
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 30 lines 609 B view raw
1/** 2 * Type declarations for html2pdf.js 3 */ 4 5interface Html2PdfOptions { 6 margin?: number | number[]; 7 filename?: string; 8 image?: { type: string; quality: number }; 9 html2canvas?: { 10 scale?: number; 11 useCORS?: boolean; 12 backgroundColor?: string; 13 }; 14 jsPDF?: { 15 unit?: string; 16 format?: string; 17 orientation?: string; 18 }; 19} 20 21interface Html2PdfInstance { 22 set(options: Html2PdfOptions): Html2PdfInstance; 23 from(element: HTMLElement): Html2PdfInstance; 24 save(): Promise<void>; 25} 26 27declare module 'html2pdf.js' { 28 function html2pdf(): Html2PdfInstance; 29 export default html2pdf; 30}