12345678910111213141516171819202122232425 |
- import { XEUtilsMethods } from '../xe-utils'
- export declare function objectMapIterate(item: any, key: string, obj: any): any;
- /**
- * 指定方法后的返回值组成的新对象
- * @param obj 对象
- * @param iteratee 回调
- * @param context 上下文
- */
- export declare function objectMap(obj: any, iteratee: typeof objectMapIterate, context ?: any): any;
- declare module '../xe-utils' {
- interface XEUtilsMethods {
- /**
- * 指定方法后的返回值组成的新对象
- * @param obj 对象
- * @param iteratee 回调
- * @param context 上下文
- */
- objectMap: typeof objectMap;
- }
- }
- export default objectMap
|