File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ export const arrayTransformations = {
549549 * @param headerRow - Optional header row
550550 * @returns Array of structured objects
551551 */
552- arrayToObjArray : CSVArrayUtils . arrayToObjArray ,
552+ get arrayToObjArray ( ) { return CSVArrayUtils . arrayToObjArray ; } ,
553553
554554 /**
555555 * Transform objects to arrays
@@ -559,15 +559,15 @@ export const arrayTransformations = {
559559 * @param includeHeaders - Whether to include headers
560560 * @returns Array of arrays
561561 */
562- objArrayToArray : CSVArrayUtils . objArrayToArray ,
562+ get objArrayToArray ( ) { return CSVArrayUtils . objArrayToArray ; } ,
563563
564564 /**
565565 * Group objects by field
566566 * @param data - Array of objects
567567 * @param field - Field to group by
568568 * @returns Grouped objects
569569 */
570- groupByField : CSVArrayUtils . groupByField
570+ get groupByField ( ) { return CSVArrayUtils . groupByField ; }
571571} ;
572572
573573// Export all the functions as a default object
You can’t perform that action at this time.
0 commit comments