lhanscom / ngx-csv

Helper library for create CSV file in Angular 7
MIT License
4 stars 5 forks source link

0 values will be removed if the remove nulls setting is active #18

Open scrachatron opened 3 years ago

scrachatron commented 3 years ago

https://github.com/lhanscom/ngx-csv/blob/380a202caa363e9bb2baf023b8874c4aaef700ed/ngx-csv.ts#L151

0's being removed instead of quoted because data is declared as any and !0 is true, need to do a special check for 0 values.