find.d.ts 330 B

1234567891011121314
  1. import types = require('./types');
  2. declare function find<T>(
  3. object: types.List<T>,
  4. iterator: types.ListIterator<T, boolean>,
  5. context?: any
  6. ): T | undefined;
  7. declare function find<T>(
  8. object: types.Dictionary<T>,
  9. iterator: types.ObjectIterator<T, boolean>,
  10. context?: any
  11. ): T | undefined;
  12. export = find;