lastObjectEach.d.ts 526 B

12345678910111213141516
  1. /**
  2. * 对象迭代器,从最后开始迭代
  3. * @param obj 对象
  4. * @param iterate 回调
  5. * @param context 上下文
  6. */
  7. export declare function lastObjectEach<T, C>(obj: T, iterate: (this: C, item: any, key: string, obj: T) => void, context?: C): void;
  8. export declare function lastObjectEach<C>(obj: any, iterate: (this: C, item: any, key: string, obj: any) => void, context?: C): void;
  9. declare module './ctor' {
  10. interface XEUtilsMethods {
  11. lastObjectEach: typeof lastObjectEach;
  12. }
  13. }
  14. export default lastObjectEach