UNPKG

xhy-xe-utils

Version:
25 lines (21 loc) 620 B
import { XEUtilsMethods } from '../xe-utils' export declare function objectEachIterate(item?: any, index?: string, obj?: any): any; /** * 对象迭代器 * @param obj 对象 * @param iteratee 回调 * @param context 上下文 */ export declare function objectEach(obj: any, iteratee: typeof objectEachIterate, context ?: any): void; declare module '../xe-utils' { interface XEUtilsMethods { /** * 对象迭代器 * @param obj 对象 * @param iteratee 回调 * @param context 上下文 */ objectEach: typeof objectEach; } } export default objectEach