徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
462 B

5 months ago
/**
*
* @param array
* @param iterate
* @param initialValue
* @example
*/
export declare function reduce<T, U>(array: T[], iterate?: (previous: U, item: T, index: number, list: T[]) => U, initialValue?: U): U;
declare module './ctor' {
interface XEUtilsMethods {
reduce: typeof reduce;
}
}
export default reduce