| 6 | const PDFDocument = require('pdfkit'); |
| 7 | |
| 8 | interface InlineState { |
| 9 | bold: boolean; |
| 10 | italic: boolean; |
| 11 | underline: boolean; |
| 12 | strike: boolean; |
| 13 | link?: string; |
| 14 | fontSize?: number; |
| 15 | align?: 'left' | 'center' | 'right' | 'justify'; |
| 16 | mono?: boolean; |
| 17 | } |
| 18 | |
| 19 | const parseAlign = (style: string | undefined): InlineState['align'] | undefined => { |
| 20 | if (!style) return undefined; |
nothing calls this directly
no outgoing calls
no test coverage detected