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 {
18
18
*/
19
19
excelBOM ?: boolean ;
20
20
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
+
21
28
/**
22
29
* Specify the keys that should be converted
23
30
*
@@ -98,11 +105,11 @@ export interface IFullOptions extends ISharedOptions {
98
105
}
99
106
100
107
export function json2csv ( data : object [ ] ,
101
- callback : ( err ?: Error , csv ?: string ) => void , options ?: IFullOptions ) : void ;
108
+ callback : ( err ?: Error , csv ?: string ) => void , options ?: IFullOptions ) : void ;
102
109
103
110
export function json2csvAsync ( data : object [ ] , options ?: IFullOptions ) : Promise < string > ;
104
111
105
112
export function csv2json ( csv : string ,
106
- callback : ( err ?: Error , data ?: any [ ] ) => void , options ?: ISharedOptions ) : void ;
113
+ callback : ( err ?: Error , data ?: any [ ] ) => void , options ?: ISharedOptions ) : void ;
107
114
108
115
export function csv2jsonAsync ( csv : string , options ?: ISharedOptions ) : Promise < any [ ] > ;
You can’t perform that action at this time.
0 commit comments