react-papaparse is the fastest in-browser CSV (or delimited text) parser for React. It is full of useful features such as CSVReader, CSVDownloader, readString, jsonToCSV, readRemoteFile, ... etc.
I've noticed that in the typescript file the CSVDownloader accepts a config of type ParseConfig<T>, but the download method calls Papaparse.unparse, therefore it should be of type UnparseConfig.
I know it's a small change but right now you get a typescript error when you pass the correct format of the config.
I've noticed that in the typescript file the CSVDownloader accepts a config of type
ParseConfig<T>
, but the download method callsPapaparse.unparse
, therefore it should be of typeUnparseConfig
. I know it's a small change but right now you get a typescript error when you pass the correct format of the config.