kongdeqiang
2023-07-10 96f927cb94eec4a91df60973d4052cb812856e13
1
2
3
4
5
6
7
/**
 * Simple non-mutating sorting function for arrays of objects by a property
 * @param {Array} array to sort
 * @param {Function} propFn fetches the property by which to sort
 * @return {Array} a new sorted array
 */
export declare const sortBy: (array: any[], propFn: Function) => any[];