map.d.ts 335 B

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