(
file: File | any,
parseConfig: ParseConfig = {}
)
| 10 | }; |
| 11 | |
| 12 | export async function processCsvFile( |
| 13 | file: File | any, |
| 14 | parseConfig: ParseConfig = {} |
| 15 | ) { |
| 16 | if (!file) { |
| 17 | return; |
| 18 | } |
| 19 | const csvData = await getCsvData(file, parseConfig); |
| 20 | return processCsvData(csvData); |
| 21 | } |
| 22 | |
| 23 | export async function getCsvData( |
| 24 | file: File | any, |
no test coverage detected