Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abouolia committed Nov 27, 2023
1 parent 2349bfd commit fb501ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/server/src/lib/Xlsx/TableSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FinancialTableStructure } from '@/services/FinancialStatements/Financia

interface ITableSheet {
convertToXLSX(): WorkBook;
convertToCSV(): Buffer;
convertToCSV(): string;
convertToBuffer(workbook: WorkBook, fileType: string): Buffer;
}

Expand Down Expand Up @@ -53,7 +53,7 @@ export class TableSheet implements ITableSheet {
* Converts the table to a CSV string.
* @returns {string}
*/
public convertToCSV(): Buffer {
public convertToCSV(): string {
// Define custom headers
const headers = this.columns;

Expand Down

0 comments on commit fb501ea

Please sign in to comment.