Property 'table' in type 'PDFDocumentWithTables' is not assignable to the same property in base type 'PDFDocument'.
Property 'table' in type 'PDFDocumentWithTables' is not assignable to the same property in base type 'PDFDocument'.
Type '(table: Table, options?: Options | undefined) => Promise
PDFKit v0.17.0 introduced native tables. If you want to keep using pdfkit-table you can't upgrade past PDFKit v0.16.0, otherwise you'll need to remove the pdfkit-table dependency and change your calls to the table function to match the parameters that PDFKit expects now (that's what I'm currently working on in my project lol)