For example, unparse config has quotes option, which does not exist in parse config.
This library, use PapaParseConfig interface for both parse and unparse method. This cause a compile error when I try to pass {quotes: true} as config parameter for unparse.
this.papa.unparse(data, {quotes: true});
I think we can fix this problem by providing different inteface for parse and unparse.
As documented at https://www.papaparse.com/docs#json-to-csv, config for
parse
method is different from config forunparse
method.For example,
unparse
config hasquotes
option, which does not exist inparse
config.This library, use
PapaParseConfig
interface for bothparse
andunparse
method. This cause a compile error when I try to pass{quotes: true}
as config parameter for unparse.I think we can fix this problem by providing different inteface for
parse
andunparse
.