forOf.d.ts 297 B

12345678910111213
  1. /**
  2. * 已废弃,被 some, every 替换
  3. * @deprecated
  4. */
  5. export declare function forOf<C>(obj: any, iterate: (this: C, item: any, index: any, obj: any) => boolean, context?: C): void;
  6. declare module './ctor' {
  7. interface XEUtilsMethods {
  8. forOf: typeof forOf;
  9. }
  10. }
  11. export default forOf