File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,13 @@ export interface ISharedOptions {
1818 */
1919 excelBOM ?: boolean ;
2020
21+ /**
22+ * Should boolean values be wrapped in wrap delimiters to prevent Excel from
23+ * converting them to Excel's TRUE/FALSE Boolean values.
24+ * @default false
25+ */
26+ wrapBooleans ?: boolean ;
27+
2128 /**
2229 * Specify the keys that should be converted
2330 *
@@ -98,11 +105,11 @@ export interface IFullOptions extends ISharedOptions {
98105}
99106
100107export function json2csv ( data : object [ ] ,
101- callback : ( err ?: Error , csv ?: string ) => void , options ?: IFullOptions ) : void ;
108+ callback : ( err ?: Error , csv ?: string ) => void , options ?: IFullOptions ) : void ;
102109
103110export function json2csvAsync ( data : object [ ] , options ?: IFullOptions ) : Promise < string > ;
104111
105112export function csv2json ( csv : string ,
106- callback : ( err ?: Error , data ?: any [ ] ) => void , options ?: ISharedOptions ) : void ;
113+ callback : ( err ?: Error , data ?: any [ ] ) => void , options ?: ISharedOptions ) : void ;
107114
108115export function csv2jsonAsync ( csv : string , options ?: ISharedOptions ) : Promise < any [ ] > ;
You can’t perform that action at this time.
0 commit comments