type MapEachIteratee = ( this: T, value: V, key: K, collection: C ) => void | boolean; /** * 通用迭代器 * @param collection Map * @param iteratee 回调 * @param context 上下文 */ declare function mapEach( collection: Map, iteratee: MapEachIteratee, Ctx>, context?: Ctx ): void; declare module './ctor' { interface XEUtilsMethods { mapEach: typeof mapEach; } } export default mapEach