lastArrayEach.d.ts 658 B

12345678910111213141516171819202122232425
  1. import { XEUtilsMethods } from '../xe-utils'
  2. export declare function lastArrayEachIterate(item: any, index: number, list: any[]): any;
  3. /**
  4. * 数组迭代器,从最后开始迭代
  5. * @param obj 对象
  6. * @param iteratee 回调
  7. * @param context 上下文
  8. */
  9. export declare function lastArrayEach(obj: any[], iteratee: typeof lastArrayEachIterate, context?: any): void;
  10. declare module '../xe-utils' {
  11. interface XEUtilsMethods {
  12. /**
  13. * 数组迭代器,从最后开始迭代
  14. * @param obj 对象
  15. * @param iteratee 回调
  16. * @param context 上下文
  17. */
  18. lastArrayEach: typeof lastArrayEach;
  19. }
  20. }
  21. export default lastArrayEach