This commit is contained in:
2025-10-12 11:59:19 +02:00
parent ad90a4ed58
commit 3845979870
4 changed files with 12 additions and 10 deletions

View File

@@ -6,6 +6,7 @@ export type CSV_Data = Array<Record<string, unknown>>;
const convertCSVtoJSON = async ( csvText: string ) => {
// Type cast OK, as the typing of the external library is not perfect.
// NOTE: On transpilation to JS, it will be (more or less) disregarded anyway
return ( await csv2json( csvText ) ) as CSV_Data;
};