UNPKG

@aplus-frontend/ui

Version:

6 lines (5 loc) 398 B
import { Recordable } from '../../type'; import { AgGridProps } from '../interface'; export declare function getRowKey(record: any, index: number | undefined, rowKey: AgGridProps['rowKey']): any; export declare function arrayToObject(array: any[], rowKey: AgGridProps['rowKey']): Recordable; export declare function updateArrItem(arr: any[], rowKey: AgGridProps['rowKey'], obj: Recordable): any[];