Property 'table' in type 'PDFDocumentWithTables' is not assignable to the same property in base type 'PDFDocument'.
Type '(table: Table, options?: Options | undefined) => Promise' is not assignable to type '{ (options?: TableOptions | undefined): PDFTableObject; (options: TableOptionsWithData): PDFDocument; }'.
Types of parameters 'table' and 'options' are incompatible.
Type 'TableOptions | undefined' is not assignable to type 'Table'.
Type 'undefined' is not assignable to type 'Table'.
Property 'table' in type 'PDFDocumentWithTables' is not assignable to the same property in base type 'PDFDocument'.
Type '(table: Table, options?: Options | undefined) => Promise' is not assignable to type '{ (options?: TableOptions | undefined): PDFTableObject; (options: TableOptionsWithData): PDFDocument; }'.
Types of parameters 'table' and 'options' are incompatible.
Type 'TableOptions | undefined' is not assignable to type 'Table'.
Type 'undefined' is not assignable to type 'Table'.