Latest repo

This commit is contained in:
Marc
2025-06-02 16:42:16 +00:00
parent 53ddf1a329
commit cde5fae175
27907 changed files with 3875388 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
/// <reference types="node" />
import { SafeDocumentNode } from '@react-pdf/layout';
import { Font } from '@react-pdf/textkit';
import PDFKitDocument from 'pdfkit';
type PDFFontSource = string | Buffer | Uint8Array | ArrayBuffer | Font;
type Context = typeof PDFKitDocument & {
_root: any;
_font: any;
_imageRegistry: any;
_acroform: any;
_fontSize: number;
openImage: any;
addNamedDestination: any;
addPage(options?: any): Context;
translate(x: number, y: number, options: any): Context;
font(src: PDFFontSource, size?: number): Context;
font(src: PDFFontSource, family: string, size?: number): Context;
};
declare const render: (ctx: Context, doc: SafeDocumentNode) => Context;
export { render as default };
+2075
View File
File diff suppressed because it is too large Load Diff