@types/lodash 4.14.105 → 4.14.109

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (401) hide show
  1. lodash/README.md +2 -2
  2. lodash/common/array.d.ts +40 -177
  3. lodash/common/collection.d.ts +90 -238
  4. lodash/common/common.d.ts +11 -3
  5. lodash/common/date.d.ts +1 -1
  6. lodash/common/function.d.ts +272 -166
  7. lodash/common/lang.d.ts +3 -4
  8. lodash/common/math.d.ts +13 -17
  9. lodash/common/number.d.ts +1 -5
  10. lodash/common/object.d.ts +93 -54
  11. lodash/common/seq.d.ts +2 -4
  12. lodash/common/string.d.ts +1 -1
  13. lodash/common/util.d.ts +18 -10
  14. lodash/fp/F.d.ts +2 -0
  15. lodash/fp/T.d.ts +2 -0
  16. lodash/fp/__.d.ts +3 -0
  17. lodash/fp/add.d.ts +2 -0
  18. lodash/fp/after.d.ts +2 -0
  19. lodash/fp/all.d.ts +2 -0
  20. lodash/fp/allPass.d.ts +2 -0
  21. lodash/fp/always.d.ts +2 -0
  22. lodash/fp/any.d.ts +2 -0
  23. lodash/fp/anyPass.d.ts +2 -0
  24. lodash/fp/apply.d.ts +2 -0
  25. lodash/fp/ary.d.ts +2 -0
  26. lodash/fp/assign.d.ts +2 -0
  27. lodash/fp/assignAll.d.ts +2 -0
  28. lodash/fp/assignAllWith.d.ts +2 -0
  29. lodash/fp/assignIn.d.ts +2 -0
  30. lodash/fp/assignInAll.d.ts +2 -0
  31. lodash/fp/assignInAllWith.d.ts +2 -0
  32. lodash/fp/assignInWith.d.ts +2 -0
  33. lodash/fp/assignWith.d.ts +2 -0
  34. lodash/fp/assoc.d.ts +2 -0
  35. lodash/fp/assocPath.d.ts +2 -0
  36. lodash/fp/at.d.ts +2 -0
  37. lodash/fp/attempt.d.ts +2 -0
  38. lodash/fp/before.d.ts +2 -0
  39. lodash/fp/bind.d.ts +2 -0
  40. lodash/fp/bindAll.d.ts +2 -0
  41. lodash/fp/bindKey.d.ts +2 -0
  42. lodash/fp/camelCase.d.ts +2 -0
  43. lodash/fp/capitalize.d.ts +2 -0
  44. lodash/fp/castArray.d.ts +2 -0
  45. lodash/fp/ceil.d.ts +2 -0
  46. lodash/fp/chunk.d.ts +2 -0
  47. lodash/fp/clamp.d.ts +2 -0
  48. lodash/fp/clone.d.ts +2 -0
  49. lodash/fp/cloneDeep.d.ts +2 -0
  50. lodash/fp/cloneDeepWith.d.ts +2 -0
  51. lodash/fp/cloneWith.d.ts +2 -0
  52. lodash/fp/compact.d.ts +2 -0
  53. lodash/fp/complement.d.ts +2 -0
  54. lodash/fp/compose.d.ts +2 -0
  55. lodash/fp/concat.d.ts +2 -0
  56. lodash/fp/cond.d.ts +2 -0
  57. lodash/fp/conforms.d.ts +2 -0
  58. lodash/fp/conformsTo.d.ts +2 -0
  59. lodash/fp/constant.d.ts +2 -0
  60. lodash/fp/contains.d.ts +2 -0
  61. lodash/fp/convert.d.ts +15 -0
  62. lodash/fp/countBy.d.ts +2 -0
  63. lodash/fp/create.d.ts +2 -0
  64. lodash/fp/curry.d.ts +2 -0
  65. lodash/fp/curryN.d.ts +2 -0
  66. lodash/fp/curryRight.d.ts +2 -0
  67. lodash/fp/curryRightN.d.ts +2 -0
  68. lodash/fp/debounce.d.ts +2 -0
  69. lodash/fp/deburr.d.ts +2 -0
  70. lodash/fp/defaultTo.d.ts +2 -0
  71. lodash/fp/defaults.d.ts +2 -0
  72. lodash/fp/defaultsAll.d.ts +2 -0
  73. lodash/fp/defaultsDeep.d.ts +2 -0
  74. lodash/fp/defaultsDeepAll.d.ts +2 -0
  75. lodash/fp/defer.d.ts +2 -0
  76. lodash/fp/delay.d.ts +2 -0
  77. lodash/fp/difference.d.ts +2 -0
  78. lodash/fp/differenceBy.d.ts +2 -0
  79. lodash/fp/differenceWith.d.ts +2 -0
  80. lodash/fp/dissoc.d.ts +2 -0
  81. lodash/fp/dissocPath.d.ts +2 -0
  82. lodash/fp/divide.d.ts +2 -0
  83. lodash/fp/drop.d.ts +2 -0
  84. lodash/fp/dropLast.d.ts +2 -0
  85. lodash/fp/dropLastWhile.d.ts +2 -0
  86. lodash/fp/dropRight.d.ts +2 -0
  87. lodash/fp/dropRightWhile.d.ts +2 -0
  88. lodash/fp/dropWhile.d.ts +2 -0
  89. lodash/fp/each.d.ts +2 -0
  90. lodash/fp/eachRight.d.ts +2 -0
  91. lodash/fp/endsWith.d.ts +2 -0
  92. lodash/fp/entries.d.ts +2 -0
  93. lodash/fp/entriesIn.d.ts +2 -0
  94. lodash/fp/eq.d.ts +2 -0
  95. lodash/fp/equals.d.ts +2 -0
  96. lodash/fp/escape.d.ts +2 -0
  97. lodash/fp/escapeRegExp.d.ts +2 -0
  98. lodash/fp/every.d.ts +2 -0
  99. lodash/fp/extend.d.ts +2 -0
  100. lodash/fp/extendAll.d.ts +2 -0
  101. lodash/fp/extendAllWith.d.ts +2 -0
  102. lodash/fp/extendWith.d.ts +2 -0
  103. lodash/fp/fill.d.ts +2 -0
  104. lodash/fp/filter.d.ts +2 -0
  105. lodash/fp/find.d.ts +2 -0
  106. lodash/fp/findFrom.d.ts +2 -0
  107. lodash/fp/findIndex.d.ts +2 -0
  108. lodash/fp/findIndexFrom.d.ts +2 -0
  109. lodash/fp/findKey.d.ts +2 -0
  110. lodash/fp/findLast.d.ts +2 -0
  111. lodash/fp/findLastFrom.d.ts +2 -0
  112. lodash/fp/findLastIndex.d.ts +2 -0
  113. lodash/fp/findLastIndexFrom.d.ts +2 -0
  114. lodash/fp/findLastKey.d.ts +2 -0
  115. lodash/fp/first.d.ts +2 -0
  116. lodash/fp/flatMap.d.ts +2 -0
  117. lodash/fp/flatMapDeep.d.ts +2 -0
  118. lodash/fp/flatMapDepth.d.ts +2 -0
  119. lodash/fp/flatten.d.ts +2 -0
  120. lodash/fp/flattenDeep.d.ts +2 -0
  121. lodash/fp/flattenDepth.d.ts +2 -0
  122. lodash/fp/flip.d.ts +2 -0
  123. lodash/fp/floor.d.ts +2 -0
  124. lodash/fp/flow.d.ts +2 -0
  125. lodash/fp/flowRight.d.ts +2 -0
  126. lodash/fp/forEach.d.ts +2 -0
  127. lodash/fp/forEachRight.d.ts +2 -0
  128. lodash/fp/forIn.d.ts +2 -0
  129. lodash/fp/forInRight.d.ts +2 -0
  130. lodash/fp/forOwn.d.ts +2 -0
  131. lodash/fp/forOwnRight.d.ts +2 -0
  132. lodash/fp/fromPairs.d.ts +2 -0
  133. lodash/fp/functions.d.ts +2 -0
  134. lodash/fp/functionsIn.d.ts +2 -0
  135. lodash/fp/get.d.ts +2 -0
  136. lodash/fp/getOr.d.ts +2 -0
  137. lodash/fp/groupBy.d.ts +2 -0
  138. lodash/fp/gt.d.ts +2 -0
  139. lodash/fp/gte.d.ts +2 -0
  140. lodash/fp/has.d.ts +2 -0
  141. lodash/fp/hasIn.d.ts +2 -0
  142. lodash/fp/head.d.ts +2 -0
  143. lodash/fp/identical.d.ts +2 -0
  144. lodash/fp/identity.d.ts +2 -0
  145. lodash/fp/inRange.d.ts +2 -0
  146. lodash/fp/includes.d.ts +2 -0
  147. lodash/fp/includesFrom.d.ts +2 -0
  148. lodash/fp/indexBy.d.ts +2 -0
  149. lodash/fp/indexOf.d.ts +2 -0
  150. lodash/fp/indexOfFrom.d.ts +2 -0
  151. lodash/fp/init.d.ts +2 -0
  152. lodash/fp/initial.d.ts +2 -0
  153. lodash/fp/intersection.d.ts +2 -0
  154. lodash/fp/intersectionBy.d.ts +2 -0
  155. lodash/fp/intersectionWith.d.ts +2 -0
  156. lodash/fp/invert.d.ts +2 -0
  157. lodash/fp/invertBy.d.ts +2 -0
  158. lodash/fp/invertObj.d.ts +2 -0
  159. lodash/fp/invoke.d.ts +2 -0
  160. lodash/fp/invokeArgs.d.ts +2 -0
  161. lodash/fp/invokeArgsMap.d.ts +2 -0
  162. lodash/fp/invokeMap.d.ts +2 -0
  163. lodash/fp/isArguments.d.ts +2 -0
  164. lodash/fp/isArray.d.ts +2 -0
  165. lodash/fp/isArrayBuffer.d.ts +2 -0
  166. lodash/fp/isArrayLike.d.ts +2 -0
  167. lodash/fp/isArrayLikeObject.d.ts +2 -0
  168. lodash/fp/isBoolean.d.ts +2 -0
  169. lodash/fp/isBuffer.d.ts +2 -0
  170. lodash/fp/isDate.d.ts +2 -0
  171. lodash/fp/isElement.d.ts +2 -0
  172. lodash/fp/isEmpty.d.ts +2 -0
  173. lodash/fp/isEqual.d.ts +2 -0
  174. lodash/fp/isEqualWith.d.ts +2 -0
  175. lodash/fp/isError.d.ts +2 -0
  176. lodash/fp/isFinite.d.ts +2 -0
  177. lodash/fp/isFunction.d.ts +2 -0
  178. lodash/fp/isInteger.d.ts +2 -0
  179. lodash/fp/isLength.d.ts +2 -0
  180. lodash/fp/isMap.d.ts +2 -0
  181. lodash/fp/isMatch.d.ts +2 -0
  182. lodash/fp/isMatchWith.d.ts +2 -0
  183. lodash/fp/isNaN.d.ts +2 -0
  184. lodash/fp/isNative.d.ts +2 -0
  185. lodash/fp/isNil.d.ts +2 -0
  186. lodash/fp/isNull.d.ts +2 -0
  187. lodash/fp/isNumber.d.ts +2 -0
  188. lodash/fp/isObject.d.ts +2 -0
  189. lodash/fp/isObjectLike.d.ts +2 -0
  190. lodash/fp/isPlainObject.d.ts +2 -0
  191. lodash/fp/isRegExp.d.ts +2 -0
  192. lodash/fp/isSafeInteger.d.ts +2 -0
  193. lodash/fp/isSet.d.ts +2 -0
  194. lodash/fp/isString.d.ts +2 -0
  195. lodash/fp/isSymbol.d.ts +2 -0
  196. lodash/fp/isTypedArray.d.ts +2 -0
  197. lodash/fp/isUndefined.d.ts +2 -0
  198. lodash/fp/isWeakMap.d.ts +2 -0
  199. lodash/fp/isWeakSet.d.ts +2 -0
  200. lodash/fp/iteratee.d.ts +2 -0
  201. lodash/fp/join.d.ts +2 -0
  202. lodash/fp/juxt.d.ts +2 -0
  203. lodash/fp/kebabCase.d.ts +2 -0
  204. lodash/fp/keyBy.d.ts +2 -0
  205. lodash/fp/keys.d.ts +2 -0
  206. lodash/fp/keysIn.d.ts +2 -0
  207. lodash/fp/last.d.ts +2 -0
  208. lodash/fp/lastIndexOf.d.ts +2 -0
  209. lodash/fp/lastIndexOfFrom.d.ts +2 -0
  210. lodash/fp/lowerCase.d.ts +2 -0
  211. lodash/fp/lowerFirst.d.ts +2 -0
  212. lodash/fp/lt.d.ts +2 -0
  213. lodash/fp/lte.d.ts +2 -0
  214. lodash/fp/map.d.ts +2 -0
  215. lodash/fp/mapKeys.d.ts +2 -0
  216. lodash/fp/mapValues.d.ts +2 -0
  217. lodash/fp/matches.d.ts +2 -0
  218. lodash/fp/matchesProperty.d.ts +2 -0
  219. lodash/fp/max.d.ts +2 -0
  220. lodash/fp/maxBy.d.ts +2 -0
  221. lodash/fp/mean.d.ts +2 -0
  222. lodash/fp/meanBy.d.ts +2 -0
  223. lodash/fp/memoize.d.ts +2 -0
  224. lodash/fp/merge.d.ts +2 -0
  225. lodash/fp/mergeAll.d.ts +2 -0
  226. lodash/fp/mergeAllWith.d.ts +2 -0
  227. lodash/fp/mergeWith.d.ts +2 -0
  228. lodash/fp/method.d.ts +2 -0
  229. lodash/fp/methodOf.d.ts +2 -0
  230. lodash/fp/min.d.ts +2 -0
  231. lodash/fp/minBy.d.ts +2 -0
  232. lodash/fp/multiply.d.ts +2 -0
  233. lodash/fp/nAry.d.ts +2 -0
  234. lodash/fp/negate.d.ts +2 -0
  235. lodash/fp/noConflict.d.ts +2 -0
  236. lodash/fp/noop.d.ts +2 -0
  237. lodash/fp/now.d.ts +2 -0
  238. lodash/fp/nth.d.ts +2 -0
  239. lodash/fp/nthArg.d.ts +2 -0
  240. lodash/fp/omit.d.ts +2 -0
  241. lodash/fp/omitAll.d.ts +2 -0
  242. lodash/fp/omitBy.d.ts +2 -0
  243. lodash/fp/once.d.ts +2 -0
  244. lodash/fp/orderBy.d.ts +2 -0
  245. lodash/fp/over.d.ts +2 -0
  246. lodash/fp/overArgs.d.ts +2 -0
  247. lodash/fp/overEvery.d.ts +2 -0
  248. lodash/fp/overSome.d.ts +2 -0
  249. lodash/fp/pad.d.ts +2 -0
  250. lodash/fp/padChars.d.ts +2 -0
  251. lodash/fp/padCharsEnd.d.ts +2 -0
  252. lodash/fp/padCharsStart.d.ts +2 -0
  253. lodash/fp/padEnd.d.ts +2 -0
  254. lodash/fp/padStart.d.ts +2 -0
  255. lodash/fp/parseInt.d.ts +2 -0
  256. lodash/fp/partial.d.ts +2 -0
  257. lodash/fp/partialRight.d.ts +2 -0
  258. lodash/fp/partition.d.ts +2 -0
  259. lodash/fp/path.d.ts +2 -0
  260. lodash/fp/pathEq.d.ts +2 -0
  261. lodash/fp/pathOr.d.ts +2 -0
  262. lodash/fp/paths.d.ts +2 -0
  263. lodash/fp/pick.d.ts +2 -0
  264. lodash/fp/pickAll.d.ts +2 -0
  265. lodash/fp/pickBy.d.ts +2 -0
  266. lodash/fp/pipe.d.ts +2 -0
  267. lodash/fp/placeholder.d.ts +3 -0
  268. lodash/fp/pluck.d.ts +2 -0
  269. lodash/fp/prop.d.ts +2 -0
  270. lodash/fp/propEq.d.ts +2 -0
  271. lodash/fp/propOr.d.ts +2 -0
  272. lodash/fp/property.d.ts +2 -0
  273. lodash/fp/propertyOf.d.ts +2 -0
  274. lodash/fp/props.d.ts +2 -0
  275. lodash/fp/pull.d.ts +2 -0
  276. lodash/fp/pullAll.d.ts +2 -0
  277. lodash/fp/pullAllBy.d.ts +2 -0
  278. lodash/fp/pullAllWith.d.ts +2 -0
  279. lodash/fp/pullAt.d.ts +2 -0
  280. lodash/fp/random.d.ts +2 -0
  281. lodash/fp/range.d.ts +2 -0
  282. lodash/fp/rangeRight.d.ts +2 -0
  283. lodash/fp/rangeStep.d.ts +2 -0
  284. lodash/fp/rangeStepRight.d.ts +2 -0
  285. lodash/fp/rearg.d.ts +2 -0
  286. lodash/fp/reduce.d.ts +2 -0
  287. lodash/fp/reduceRight.d.ts +2 -0
  288. lodash/fp/reject.d.ts +2 -0
  289. lodash/fp/remove.d.ts +2 -0
  290. lodash/fp/repeat.d.ts +2 -0
  291. lodash/fp/replace.d.ts +2 -0
  292. lodash/fp/rest.d.ts +2 -0
  293. lodash/fp/restFrom.d.ts +2 -0
  294. lodash/fp/result.d.ts +2 -0
  295. lodash/fp/reverse.d.ts +2 -0
  296. lodash/fp/round.d.ts +2 -0
  297. lodash/fp/runInContext.d.ts +2 -0
  298. lodash/fp/sample.d.ts +2 -0
  299. lodash/fp/sampleSize.d.ts +2 -0
  300. lodash/fp/set.d.ts +2 -0
  301. lodash/fp/setWith.d.ts +2 -0
  302. lodash/fp/shuffle.d.ts +2 -0
  303. lodash/fp/size.d.ts +2 -0
  304. lodash/fp/slice.d.ts +2 -0
  305. lodash/fp/snakeCase.d.ts +2 -0
  306. lodash/fp/some.d.ts +2 -0
  307. lodash/fp/sortBy.d.ts +2 -0
  308. lodash/fp/sortedIndex.d.ts +2 -0
  309. lodash/fp/sortedIndexBy.d.ts +2 -0
  310. lodash/fp/sortedIndexOf.d.ts +2 -0
  311. lodash/fp/sortedLastIndex.d.ts +2 -0
  312. lodash/fp/sortedLastIndexBy.d.ts +2 -0
  313. lodash/fp/sortedLastIndexOf.d.ts +2 -0
  314. lodash/fp/sortedUniq.d.ts +2 -0
  315. lodash/fp/sortedUniqBy.d.ts +2 -0
  316. lodash/fp/split.d.ts +2 -0
  317. lodash/fp/spread.d.ts +2 -0
  318. lodash/fp/spreadFrom.d.ts +2 -0
  319. lodash/fp/startCase.d.ts +2 -0
  320. lodash/fp/startsWith.d.ts +2 -0
  321. lodash/fp/stubArray.d.ts +2 -0
  322. lodash/fp/stubFalse.d.ts +2 -0
  323. lodash/fp/stubObject.d.ts +2 -0
  324. lodash/fp/stubString.d.ts +2 -0
  325. lodash/fp/stubTrue.d.ts +2 -0
  326. lodash/fp/subtract.d.ts +2 -0
  327. lodash/fp/sum.d.ts +2 -0
  328. lodash/fp/sumBy.d.ts +2 -0
  329. lodash/fp/symmetricDifference.d.ts +2 -0
  330. lodash/fp/symmetricDifferenceBy.d.ts +2 -0
  331. lodash/fp/symmetricDifferenceWith.d.ts +2 -0
  332. lodash/fp/tail.d.ts +2 -0
  333. lodash/fp/take.d.ts +2 -0
  334. lodash/fp/takeLast.d.ts +2 -0
  335. lodash/fp/takeLastWhile.d.ts +2 -0
  336. lodash/fp/takeRight.d.ts +2 -0
  337. lodash/fp/takeRightWhile.d.ts +2 -0
  338. lodash/fp/takeWhile.d.ts +2 -0
  339. lodash/fp/tap.d.ts +2 -0
  340. lodash/fp/template.d.ts +2 -0
  341. lodash/fp/throttle.d.ts +2 -0
  342. lodash/fp/thru.d.ts +2 -0
  343. lodash/fp/times.d.ts +2 -0
  344. lodash/fp/toArray.d.ts +2 -0
  345. lodash/fp/toFinite.d.ts +2 -0
  346. lodash/fp/toInteger.d.ts +2 -0
  347. lodash/fp/toLength.d.ts +2 -0
  348. lodash/fp/toLower.d.ts +2 -0
  349. lodash/fp/toNumber.d.ts +2 -0
  350. lodash/fp/toPairs.d.ts +2 -0
  351. lodash/fp/toPairsIn.d.ts +2 -0
  352. lodash/fp/toPath.d.ts +2 -0
  353. lodash/fp/toPlainObject.d.ts +2 -0
  354. lodash/fp/toSafeInteger.d.ts +2 -0
  355. lodash/fp/toString.d.ts +2 -0
  356. lodash/fp/toUpper.d.ts +2 -0
  357. lodash/fp/transform.d.ts +2 -0
  358. lodash/fp/trim.d.ts +2 -0
  359. lodash/fp/trimChars.d.ts +2 -0
  360. lodash/fp/trimCharsEnd.d.ts +2 -0
  361. lodash/fp/trimCharsStart.d.ts +2 -0
  362. lodash/fp/trimEnd.d.ts +2 -0
  363. lodash/fp/trimStart.d.ts +2 -0
  364. lodash/fp/truncate.d.ts +2 -0
  365. lodash/fp/unapply.d.ts +2 -0
  366. lodash/fp/unary.d.ts +2 -0
  367. lodash/fp/unescape.d.ts +2 -0
  368. lodash/fp/union.d.ts +2 -0
  369. lodash/fp/unionBy.d.ts +2 -0
  370. lodash/fp/unionWith.d.ts +2 -0
  371. lodash/fp/uniq.d.ts +2 -0
  372. lodash/fp/uniqBy.d.ts +2 -0
  373. lodash/fp/uniqWith.d.ts +2 -0
  374. lodash/fp/uniqueId.d.ts +2 -0
  375. lodash/fp/unnest.d.ts +2 -0
  376. lodash/fp/unset.d.ts +2 -0
  377. lodash/fp/unzip.d.ts +2 -0
  378. lodash/fp/unzipWith.d.ts +2 -0
  379. lodash/fp/update.d.ts +2 -0
  380. lodash/fp/updateWith.d.ts +2 -0
  381. lodash/fp/upperCase.d.ts +2 -0
  382. lodash/fp/upperFirst.d.ts +2 -0
  383. lodash/fp/useWith.d.ts +2 -0
  384. lodash/fp/values.d.ts +2 -0
  385. lodash/fp/valuesIn.d.ts +2 -0
  386. lodash/fp/where.d.ts +2 -0
  387. lodash/fp/whereEq.d.ts +2 -0
  388. lodash/fp/without.d.ts +2 -0
  389. lodash/fp/words.d.ts +2 -0
  390. lodash/fp/wrap.d.ts +2 -0
  391. lodash/fp/xor.d.ts +2 -0
  392. lodash/fp/xorBy.d.ts +2 -0
  393. lodash/fp/xorWith.d.ts +2 -0
  394. lodash/fp/zip.d.ts +2 -0
  395. lodash/fp/zipAll.d.ts +2 -0
  396. lodash/fp/zipObj.d.ts +2 -0
  397. lodash/fp/zipObject.d.ts +2 -0
  398. lodash/fp/zipObjectDeep.d.ts +2 -0
  399. lodash/fp/zipWith.d.ts +2 -0
  400. lodash/fp.d.ts +4765 -0
  401. lodash/package.json +3 -3
@@ -6,34 +6,15 @@ declare module "../index" {
6
6
  /**
7
7
  * Creates an object composed of keys generated from the results of running each element of collection through
8
8
  * iteratee. The corresponding value of each key is the number of times the key was returned by iteratee. The
9
- * iteratee is bound to thisArg and invoked with three arguments:
10
- * (value, index|key, collection).
11
- *
12
- * If a property name is provided for iteratee the created _.property style callback returns the property
13
- * value of the given element.
14
- *
15
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
16
- * elements that have a matching property value, else false.
17
- *
18
- * If an object is provided for iteratee the created _.matches style callback returns true for elements that
19
- * have the properties of the given object, else false.
9
+ * iteratee is invoked with one argument: (value).
20
10
  *
21
11
  * @param collection The collection to iterate over.
22
12
  * @param iteratee The function invoked per iteration.
23
- * @param thisArg The this binding of iteratee.
24
13
  * @return Returns the composed aggregate object.
25
14
  */
26
- countBy<T>(
27
- collection: string | null | undefined,
28
- iteratee?: StringIterator<T>
29
- ): Dictionary<number>;
30
-
31
- /**
32
- * @see _.countBy
33
- */
34
15
  countBy<T>(
35
16
  collection: List<T> | null | undefined,
36
- iteratee?: ListIteratee<T>
17
+ iteratee?: ValueIteratee<T>
37
18
  ): Dictionary<number>;
38
19
 
39
20
  /**
@@ -41,25 +22,17 @@ declare module "../index" {
41
22
  */
42
23
  countBy<T extends object>(
43
24
  collection: T | null | undefined,
44
- iteratee?: ObjectIteratee<T>
25
+ iteratee?: ValueIteratee<T[keyof T]>
45
26
  ): Dictionary<number>;
46
27
  }
47
28
 
48
29
  interface LoDashImplicitWrapper<TValue> {
49
- /**
50
- * @see _.countBy
51
- */
52
- countBy<T>(
53
- this: LoDashImplicitWrapper<string | null | undefined>,
54
- iteratee?: StringIterator<T>
55
- ): LoDashImplicitWrapper<Dictionary<number>>;
56
-
57
30
  /**
58
31
  * @see _.countBy
59
32
  */
60
33
  countBy<T>(
61
34
  this: LoDashImplicitWrapper<List<T> | null | undefined>,
62
- iteratee?: ListIteratee<T>
35
+ iteratee?: ValueIteratee<T>
63
36
  ): LoDashImplicitWrapper<Dictionary<number>>;
64
37
 
65
38
  /**
@@ -67,25 +40,17 @@ declare module "../index" {
67
40
  */
68
41
  countBy<T extends object>(
69
42
  this: LoDashImplicitWrapper<T | null | undefined>,
70
- iteratee?: ObjectIteratee<T>
43
+ iteratee?: ValueIteratee<T[keyof T]>
71
44
  ): LoDashImplicitWrapper<Dictionary<number>>;
72
45
  }
73
46
 
74
47
  interface LoDashExplicitWrapper<TValue> {
75
- /**
76
- * @see _.countBy
77
- */
78
- countBy<T>(
79
- this: LoDashExplicitWrapper<string | null | undefined>,
80
- iteratee?: StringIterator<T>
81
- ): LoDashExplicitWrapper<Dictionary<number>>;
82
-
83
48
  /**
84
49
  * @see _.countBy
85
50
  */
86
51
  countBy<T>(
87
52
  this: LoDashExplicitWrapper<List<T> | null | undefined>,
88
- iteratee?: ListIteratee<T>
53
+ iteratee?: ValueIteratee<T>
89
54
  ): LoDashExplicitWrapper<Dictionary<number>>;
90
55
 
91
56
  /**
@@ -93,7 +58,7 @@ declare module "../index" {
93
58
  */
94
59
  countBy<T extends object>(
95
60
  this: LoDashExplicitWrapper<T | null | undefined>,
96
- iteratee?: ObjectIteratee<T>
61
+ iteratee?: ValueIteratee<T[keyof T]>
97
62
  ): LoDashExplicitWrapper<Dictionary<number>>;
98
63
  }
99
64
 
@@ -243,20 +208,10 @@ declare module "../index" {
243
208
  interface LoDashStatic {
244
209
  /**
245
210
  * Iterates over elements of collection, returning an array of all elements predicate returns truthy for. The
246
- * predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection).
247
- *
248
- * If a property name is provided for predicate the created _.property style callback returns the property
249
- * value of the given element.
250
- *
251
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
252
- * elements that have a matching property value, else false.
253
- *
254
- * If an object is provided for predicate the created _.matches style callback returns true for elements that
255
- * have the properties of the given object, else false.
211
+ * predicate is invoked with three arguments: (value, index|key, collection).
256
212
  *
257
213
  * @param collection The collection to iterate over.
258
214
  * @param predicate The function invoked per iteration.
259
- * @param thisArg The this binding of predicate.
260
215
  * @return Returns the new filtered array.
261
216
  */
262
217
  filter(
@@ -386,16 +341,7 @@ declare module "../index" {
386
341
  interface LoDashStatic {
387
342
  /**
388
343
  * Iterates over elements of collection, returning the first element predicate returns truthy for.
389
- * The predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection).
390
- *
391
- * If a property name is provided for predicate the created _.property style callback returns the property
392
- * value of the given element.
393
- *
394
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
395
- * elements that have a matching property value, else false.
396
- *
397
- * If an object is provided for predicate the created _.matches style callback returns true for elements that
398
- * have the properties of the given object, else false.
344
+ * The predicate is invoked with three arguments: (value, index|key, collection).
399
345
  *
400
346
  * @param collection The collection to search.
401
347
  * @param predicate The function invoked per iteration.
@@ -516,13 +462,13 @@ declare module "../index" {
516
462
 
517
463
  interface LoDashStatic {
518
464
  /**
519
- * This method is like _.find except that it iterates over elements of a collection from
520
- * right to left.
521
- * @param collection Searches for a value in this list.
522
- * @param predicate The function called per iteration.
523
- * @param fromIndex The index to search from.
524
- * @return The found element, else undefined.
525
- **/
465
+ * This method is like _.find except that it iterates over elements of a collection from
466
+ * right to left.
467
+ * @param collection Searches for a value in this list.
468
+ * @param predicate The function called per iteration.
469
+ * @param fromIndex The index to search from.
470
+ * @return The found element, else undefined.
471
+ */
526
472
  findLast<T, S extends T>(
527
473
  collection: List<T> | null | undefined,
528
474
  predicate: ListIteratorTypeGuard<T, S>,
@@ -1070,8 +1016,7 @@ declare module "../index" {
1070
1016
 
1071
1017
  interface LoDashStatic {
1072
1018
  /**
1073
- * Iterates over elements of collection invoking iteratee for each element. The iteratee is bound to thisArg
1074
- * and invoked with three arguments:
1019
+ * Iterates over elements of collection invoking iteratee for each element. The iteratee is invoked with three arguments:
1075
1020
  * (value, index|key, collection). Iteratee functions may exit iteration early by explicitly returning false.
1076
1021
  *
1077
1022
  * Note: As with other "Collections" methods, objects with a "length" property are iterated like arrays. To
@@ -1081,7 +1026,6 @@ declare module "../index" {
1081
1026
  *
1082
1027
  * @param collection The collection to iterate over.
1083
1028
  * @param iteratee The function invoked per iteration.
1084
- * @param thisArg The this binding of iteratee.
1085
1029
  */
1086
1030
  forEach<T>(
1087
1031
  collection: T[],
@@ -1189,7 +1133,6 @@ declare module "../index" {
1189
1133
  *
1190
1134
  * @param collection The collection to iterate over.
1191
1135
  * @param iteratee The function called per iteration.
1192
- * @param thisArg The this binding of callback.
1193
1136
  */
1194
1137
  forEachRight<T>(
1195
1138
  collection: T[],
@@ -1293,34 +1236,15 @@ declare module "../index" {
1293
1236
  /**
1294
1237
  * Creates an object composed of keys generated from the results of running each element of collection through
1295
1238
  * iteratee. The corresponding value of each key is an array of the elements responsible for generating the
1296
- * key. The iteratee is bound to thisArg and invoked with three arguments:
1297
- * (value, index|key, collection).
1298
- *
1299
- * If a property name is provided for iteratee the created _.property style callback returns the property
1300
- * value of the given element.
1301
- *
1302
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
1303
- * elements that have a matching property value, else false.
1304
- *
1305
- * If an object is provided for iteratee the created _.matches style callback returns true for elements that
1306
- * have the properties of the given object, else false.
1239
+ * key. The iteratee is invoked with one argument: (value).
1307
1240
  *
1308
1241
  * @param collection The collection to iterate over.
1309
1242
  * @param iteratee The function invoked per iteration.
1310
- * @param thisArg The this binding of iteratee.
1311
1243
  * @return Returns the composed aggregate object.
1312
1244
  */
1313
- groupBy(
1314
- collection: string | null | undefined,
1315
- iteratee?: StringIterator<NotVoid>
1316
- ): Dictionary<string[]>;
1317
-
1318
- /**
1319
- * @see _.groupBy
1320
- */
1321
1245
  groupBy<T>(
1322
1246
  collection: List<T> | null | undefined,
1323
- iteratee?: ListIteratee<T>
1247
+ iteratee?: ValueIteratee<T>
1324
1248
  ): Dictionary<T[]>;
1325
1249
 
1326
1250
  /**
@@ -1328,25 +1252,17 @@ declare module "../index" {
1328
1252
  */
1329
1253
  groupBy<T extends object>(
1330
1254
  collection: T | null | undefined,
1331
- iteratee?: ObjectIteratee<T>
1255
+ iteratee?: ValueIteratee<T[keyof T]>
1332
1256
  ): Dictionary<Array<T[keyof T]>>;
1333
1257
  }
1334
1258
 
1335
1259
  interface LoDashImplicitWrapper<TValue> {
1336
- /**
1337
- * @see _.groupBy
1338
- */
1339
- groupBy(
1340
- this: LoDashImplicitWrapper<string | null | undefined>,
1341
- iteratee?: StringIterator<NotVoid>
1342
- ): LoDashImplicitWrapper<Dictionary<string[]>>;
1343
-
1344
1260
  /**
1345
1261
  * @see _.groupBy
1346
1262
  */
1347
1263
  groupBy<T>(
1348
1264
  this: LoDashImplicitWrapper<List<T> | null | undefined>,
1349
- iteratee?: ListIteratee<T>
1265
+ iteratee?: ValueIteratee<T>
1350
1266
  ): LoDashImplicitWrapper<Dictionary<T[]>>;
1351
1267
 
1352
1268
  /**
@@ -1354,25 +1270,17 @@ declare module "../index" {
1354
1270
  */
1355
1271
  groupBy<T extends object>(
1356
1272
  this: LoDashImplicitWrapper<T | null | undefined>,
1357
- iteratee?: ObjectIteratee<T>
1273
+ iteratee?: ValueIteratee<T[keyof T]>
1358
1274
  ): LoDashImplicitWrapper<Dictionary<Array<T[keyof T]>>>;
1359
1275
  }
1360
1276
 
1361
1277
  interface LoDashExplicitWrapper<TValue> {
1362
- /**
1363
- * @see _.groupBy
1364
- */
1365
- groupBy(
1366
- this: LoDashExplicitWrapper<string | null | undefined>,
1367
- iteratee?: StringIterator<NotVoid>
1368
- ): LoDashExplicitWrapper<Dictionary<string[]>>;
1369
-
1370
1278
  /**
1371
1279
  * @see _.groupBy
1372
1280
  */
1373
1281
  groupBy<T>(
1374
1282
  this: LoDashExplicitWrapper<List<T> | null | undefined>,
1375
- iteratee?: ListIteratee<T>
1283
+ iteratee?: ValueIteratee<T>
1376
1284
  ): LoDashExplicitWrapper<Dictionary<T[]>>;
1377
1285
 
1378
1286
  /**
@@ -1380,7 +1288,7 @@ declare module "../index" {
1380
1288
  */
1381
1289
  groupBy<T extends object>(
1382
1290
  this: LoDashExplicitWrapper<T | null | undefined>,
1383
- iteratee?: ObjectIteratee<T>
1291
+ iteratee?: ValueIteratee<T[keyof T]>
1384
1292
  ): LoDashExplicitWrapper<Dictionary<Array<T[keyof T]>>>;
1385
1293
  }
1386
1294
 
@@ -1489,34 +1397,15 @@ declare module "../index" {
1489
1397
  /**
1490
1398
  * Creates an object composed of keys generated from the results of running each element of collection through
1491
1399
  * iteratee. The corresponding value of each key is the last element responsible for generating the key. The
1492
- * iteratee function is bound to thisArg and invoked with three arguments:
1493
- * (value, index|key, collection).
1494
- *
1495
- * If a property name is provided for iteratee the created _.property style callback returns the property
1496
- * value of the given element.
1497
- *
1498
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
1499
- * elements that have a matching property value, else false.
1500
- *
1501
- * If an object is provided for iteratee the created _.matches style callback returns true for elements that
1502
- * have the properties of the given object, else false.
1400
+ * iteratee function is invoked with one argument: (value).
1503
1401
  *
1504
1402
  * @param collection The collection to iterate over.
1505
1403
  * @param iteratee The function invoked per iteration.
1506
- * @param thisArg The this binding of iteratee.
1507
1404
  * @return Returns the composed aggregate object.
1508
1405
  */
1509
- keyBy(
1510
- collection: string | null | undefined,
1511
- iteratee?: StringIterator<PropertyName>
1512
- ): Dictionary<string>;
1513
-
1514
- /**
1515
- * @see _.keyBy
1516
- */
1517
1406
  keyBy<T>(
1518
1407
  collection: List<T> | null | undefined,
1519
- iteratee?: ListIterateeCustom<T, PropertyName>
1408
+ iteratee?: ValueIterateeCustom<T, PropertyName>
1520
1409
  ): Dictionary<T>;
1521
1410
 
1522
1411
  /**
@@ -1524,25 +1413,17 @@ declare module "../index" {
1524
1413
  */
1525
1414
  keyBy<T extends object>(
1526
1415
  collection: T | null | undefined,
1527
- iteratee?: ObjectIterateeCustom<T, PropertyName>
1416
+ iteratee?: ValueIterateeCustom<T[keyof T], PropertyName>
1528
1417
  ): Dictionary<T[keyof T]>;
1529
1418
  }
1530
1419
 
1531
1420
  interface LoDashImplicitWrapper<TValue> {
1532
- /**
1533
- * @see _.keyBy
1534
- */
1535
- keyBy(
1536
- this: LoDashImplicitWrapper<string | null | undefined>,
1537
- iteratee?: StringIterator<PropertyName>
1538
- ): LoDashImplicitWrapper<Dictionary<string>>;
1539
-
1540
1421
  /**
1541
1422
  * @see _.keyBy
1542
1423
  */
1543
1424
  keyBy<T>(
1544
1425
  this: LoDashImplicitWrapper<List<T> | null | undefined>,
1545
- iteratee?: ListIterateeCustom<T, PropertyName>
1426
+ iteratee?: ValueIterateeCustom<T, PropertyName>
1546
1427
  ): LoDashImplicitWrapper<Dictionary<T>>;
1547
1428
 
1548
1429
  /**
@@ -1550,25 +1431,17 @@ declare module "../index" {
1550
1431
  */
1551
1432
  keyBy<T extends object>(
1552
1433
  this: LoDashImplicitWrapper<T | null | undefined>,
1553
- iteratee?: ObjectIterateeCustom<T, PropertyName>
1434
+ iteratee?: ValueIterateeCustom<T[keyof T], PropertyName>
1554
1435
  ): LoDashImplicitWrapper<Dictionary<T[keyof T]>>;
1555
1436
  }
1556
1437
 
1557
1438
  interface LoDashExplicitWrapper<TValue> {
1558
- /**
1559
- * @see _.keyBy
1560
- */
1561
- keyBy(
1562
- this: LoDashExplicitWrapper<string | null | undefined>,
1563
- iteratee?: StringIterator<PropertyName>
1564
- ): LoDashExplicitWrapper<Dictionary<string>>;
1565
-
1566
1439
  /**
1567
1440
  * @see _.keyBy
1568
1441
  */
1569
1442
  keyBy<T>(
1570
1443
  this: LoDashExplicitWrapper<List<T> | null | undefined>,
1571
- iteratee?: ListIterateeCustom<T, PropertyName>
1444
+ iteratee?: ValueIterateeCustom<T, PropertyName>
1572
1445
  ): LoDashExplicitWrapper<Dictionary<T>>;
1573
1446
 
1574
1447
  /**
@@ -1576,7 +1449,7 @@ declare module "../index" {
1576
1449
  */
1577
1450
  keyBy<T extends object>(
1578
1451
  this: LoDashExplicitWrapper<T | null | undefined>,
1579
- iteratee?: ObjectIterateeCustom<T, PropertyName>
1452
+ iteratee?: ValueIterateeCustom<T[keyof T], PropertyName>
1580
1453
  ): LoDashExplicitWrapper<Dictionary<T[keyof T]>>;
1581
1454
  }
1582
1455
 
@@ -1584,17 +1457,8 @@ declare module "../index" {
1584
1457
 
1585
1458
  interface LoDashStatic {
1586
1459
  /**
1587
- * Creates an array of values by running each element in collection through iteratee. The iteratee is bound to
1588
- * thisArg and invoked with three arguments: (value, index|key, collection).
1589
- *
1590
- * If a property name is provided for iteratee the created _.property style callback returns the property value
1591
- * of the given element.
1592
- *
1593
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
1594
- * elements that have a matching property value, else false.
1595
- *
1596
- * If an object is provided for iteratee the created _.matches style callback returns true for elements that
1597
- * have the properties of the given object, else false.
1460
+ * Creates an array of values by running each element in collection through iteratee. The iteratee is
1461
+ * invoked with three arguments: (value, index|key, collection).
1598
1462
  *
1599
1463
  * Many lodash methods are guarded to work as iteratees for methods like _.every, _.filter, _.map, _.mapValues,
1600
1464
  * _.reject, and _.some.
@@ -1606,7 +1470,6 @@ declare module "../index" {
1606
1470
  *
1607
1471
  * @param collection The collection to iterate over.
1608
1472
  * @param iteratee The function invoked per iteration.
1609
- * @param thisArg The this binding of iteratee.
1610
1473
  * @return Returns the new mapped array.
1611
1474
  */
1612
1475
  map<T, TResult>(
@@ -1908,20 +1771,10 @@ declare module "../index" {
1908
1771
  /**
1909
1772
  * Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for,
1910
1773
  * while the second of which contains elements predicate returns falsey for.
1911
- * The predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection).
1912
- *
1913
- * If a property name is provided for predicate the created _.property style callback
1914
- * returns the property value of the given element.
1915
- *
1916
- * If a value is also provided for thisArg the created _.matchesProperty style callback
1917
- * returns true for elements that have a matching property value, else false.
1918
- *
1919
- * If an object is provided for predicate the created _.matches style callback returns
1920
- * true for elements that have the properties of the given object, else false.
1774
+ * The predicate is invoked with three arguments: (value, index|key, collection).
1921
1775
  *
1922
1776
  * @param collection The collection to iterate over.
1923
1777
  * @param callback The function called per iteration.
1924
- * @param thisArg The this binding of predicate.
1925
1778
  * @return Returns the array of grouped elements.
1926
1779
  **/
1927
1780
  partition<T>(
@@ -1982,7 +1835,7 @@ declare module "../index" {
1982
1835
  * element in the collection through the callback, where each successive callback execution
1983
1836
  * consumes the return value of the previous execution. If accumulator is not provided the
1984
1837
  * first element of the collection will be used as the initial accumulator value. The callback
1985
- * is bound to thisArg and invoked with four arguments; (accumulator, value, index|key, collection).
1838
+ * is invoked with four arguments: (accumulator, value, index|key, collection).
1986
1839
  * @param collection The collection to iterate over.
1987
1840
  * @param callback The function called per iteration.
1988
1841
  * @param accumulator Initial value of the accumulator.
@@ -2015,26 +1868,26 @@ declare module "../index" {
2015
1868
  /**
2016
1869
  * @see _.reduce
2017
1870
  **/
2018
- reduce<T, TResult>(
1871
+ reduce<T>(
2019
1872
  collection: T[] | null | undefined,
2020
- callback: MemoListIterator<T, TResult, T[]>
2021
- ): TResult | undefined;
1873
+ callback: MemoListIterator<T, T, T[]>
1874
+ ): T | undefined;
2022
1875
 
2023
1876
  /**
2024
1877
  * @see _.reduce
2025
1878
  **/
2026
- reduce<T, TResult>(
1879
+ reduce<T>(
2027
1880
  collection: List<T> | null | undefined,
2028
- callback: MemoListIterator<T, TResult, List<T>>
2029
- ): TResult | undefined;
1881
+ callback: MemoListIterator<T, T, List<T>>
1882
+ ): T | undefined;
2030
1883
 
2031
1884
  /**
2032
1885
  * @see _.reduce
2033
1886
  **/
2034
- reduce<T extends object, TResult>(
1887
+ reduce<T extends object>(
2035
1888
  collection: T | null | undefined,
2036
- callback: MemoObjectIterator<T[keyof T], TResult, T>
2037
- ): TResult | undefined;
1889
+ callback: MemoObjectIterator<T[keyof T], T[keyof T], T>
1890
+ ): T[keyof T] | undefined;
2038
1891
  }
2039
1892
 
2040
1893
  interface LoDashImplicitWrapper<TValue> {
@@ -2068,26 +1921,26 @@ declare module "../index" {
2068
1921
  /**
2069
1922
  * @see _.reduce
2070
1923
  **/
2071
- reduce<T, TResult>(
1924
+ reduce<T>(
2072
1925
  this: LoDashImplicitWrapper<T[] | null | undefined>,
2073
- callback: MemoListIterator<T, TResult, T[]>
2074
- ): TResult | undefined;
1926
+ callback: MemoListIterator<T, T, T[]>
1927
+ ): T | undefined;
2075
1928
 
2076
1929
  /**
2077
1930
  * @see _.reduce
2078
1931
  **/
2079
- reduce<T, TResult>(
1932
+ reduce<T>(
2080
1933
  this: LoDashImplicitWrapper<List<T> | null | undefined>,
2081
- callback: MemoListIterator<T, TResult, List<T>>
2082
- ): TResult | undefined;
1934
+ callback: MemoListIterator<T, T, List<T>>
1935
+ ): T | undefined;
2083
1936
 
2084
1937
  /**
2085
1938
  * @see _.reduce
2086
1939
  **/
2087
- reduce<T extends object, TResult>(
1940
+ reduce<T extends object>(
2088
1941
  this: LoDashImplicitWrapper<T | null | undefined>,
2089
- callback: MemoObjectIterator<T[keyof T], TResult, T>
2090
- ): TResult | undefined;
1942
+ callback: MemoObjectIterator<T[keyof T], T[keyof T], T>
1943
+ ): T[keyof T] | undefined;
2091
1944
  }
2092
1945
 
2093
1946
  interface LoDashExplicitWrapper<TValue> {
@@ -2121,26 +1974,26 @@ declare module "../index" {
2121
1974
  /**
2122
1975
  * @see _.reduce
2123
1976
  **/
2124
- reduce<T, TResult>(
1977
+ reduce<T>(
2125
1978
  this: LoDashExplicitWrapper<T[] | null | undefined>,
2126
- callback: MemoListIterator<T, TResult, T[]>
2127
- ): LoDashExplicitWrapper<TResult | undefined>;
1979
+ callback: MemoListIterator<T, T, T[]>
1980
+ ): LoDashExplicitWrapper<T | undefined>;
2128
1981
 
2129
1982
  /**
2130
1983
  * @see _.reduce
2131
1984
  **/
2132
- reduce<T, TResult>(
1985
+ reduce<T>(
2133
1986
  this: LoDashExplicitWrapper<List<T> | null | undefined>,
2134
- callback: MemoListIterator<T, TResult, List<T>>
2135
- ): LoDashExplicitWrapper<TResult | undefined>;
1987
+ callback: MemoListIterator<T, T, List<T>>
1988
+ ): LoDashExplicitWrapper<T | undefined>;
2136
1989
 
2137
1990
  /**
2138
1991
  * @see _.reduce
2139
1992
  **/
2140
- reduce<T extends object, TResult>(
1993
+ reduce<T extends object>(
2141
1994
  this: LoDashExplicitWrapper<T | null | undefined>,
2142
- callback: MemoObjectIterator<T[keyof T], TResult, T>
2143
- ): LoDashExplicitWrapper<TResult | undefined>;
1995
+ callback: MemoObjectIterator<T[keyof T], T[keyof T], T>
1996
+ ): LoDashExplicitWrapper<T[keyof T] | undefined>;
2144
1997
  }
2145
1998
 
2146
1999
  // reduceRight
@@ -2181,26 +2034,26 @@ declare module "../index" {
2181
2034
  /**
2182
2035
  * @see _.reduceRight
2183
2036
  **/
2184
- reduceRight<T, TResult>(
2037
+ reduceRight<T>(
2185
2038
  collection: T[] | null | undefined,
2186
- callback: MemoListIterator<T, TResult, T[]>
2187
- ): TResult | undefined;
2039
+ callback: MemoListIterator<T, T, T[]>
2040
+ ): T | undefined;
2188
2041
 
2189
2042
  /**
2190
2043
  * @see _.reduceRight
2191
2044
  **/
2192
- reduceRight<T, TResult>(
2045
+ reduceRight<T>(
2193
2046
  collection: List<T> | null | undefined,
2194
- callback: MemoListIterator<T, TResult, List<T>>
2195
- ): TResult | undefined;
2047
+ callback: MemoListIterator<T, T, List<T>>
2048
+ ): T | undefined;
2196
2049
 
2197
2050
  /**
2198
2051
  * @see _.reduceRight
2199
2052
  **/
2200
- reduceRight<T extends object, TResult>(
2053
+ reduceRight<T extends object>(
2201
2054
  collection: T | null | undefined,
2202
- callback: MemoObjectIterator<T[keyof T], TResult, T>
2203
- ): TResult | undefined;
2055
+ callback: MemoObjectIterator<T[keyof T], T[keyof T], T>
2056
+ ): T[keyof T] | undefined;
2204
2057
  }
2205
2058
 
2206
2059
  interface LoDashImplicitWrapper<TValue> {
@@ -2234,26 +2087,26 @@ declare module "../index" {
2234
2087
  /**
2235
2088
  * @see _.reduceRight
2236
2089
  **/
2237
- reduceRight<T, TResult>(
2090
+ reduceRight<T>(
2238
2091
  this: LoDashImplicitWrapper<T[] | null | undefined>,
2239
- callback: MemoListIterator<T, TResult, T[]>
2240
- ): TResult | undefined;
2092
+ callback: MemoListIterator<T, T, T[]>
2093
+ ): T | undefined;
2241
2094
 
2242
2095
  /**
2243
2096
  * @see _.reduceRight
2244
2097
  **/
2245
- reduceRight<T, TResult>(
2098
+ reduceRight<T>(
2246
2099
  this: LoDashImplicitWrapper<List<T> | null | undefined>,
2247
- callback: MemoListIterator<T, TResult, List<T>>
2248
- ): TResult | undefined;
2100
+ callback: MemoListIterator<T, T, List<T>>
2101
+ ): T | undefined;
2249
2102
 
2250
2103
  /**
2251
2104
  * @see _.reduceRight
2252
2105
  **/
2253
- reduceRight<T extends object, TResult>(
2106
+ reduceRight<T extends object>(
2254
2107
  this: LoDashImplicitWrapper<T | null | undefined>,
2255
- callback: MemoObjectIterator<T[keyof T], TResult, T>
2256
- ): TResult | undefined;
2108
+ callback: MemoObjectIterator<T[keyof T], T[keyof T], T>
2109
+ ): T[keyof T] | undefined;
2257
2110
  }
2258
2111
 
2259
2112
  interface LoDashExplicitWrapper<TValue> {
@@ -2287,26 +2140,26 @@ declare module "../index" {
2287
2140
  /**
2288
2141
  * @see _.reduceRight
2289
2142
  **/
2290
- reduceRight<T, TResult>(
2143
+ reduceRight<T>(
2291
2144
  this: LoDashExplicitWrapper<T[] | null | undefined>,
2292
- callback: MemoListIterator<T, TResult, T[]>
2293
- ): LoDashExplicitWrapper<TResult | undefined>;
2145
+ callback: MemoListIterator<T, T, T[]>
2146
+ ): LoDashExplicitWrapper<T | undefined>;
2294
2147
 
2295
2148
  /**
2296
2149
  * @see _.reduceRight
2297
2150
  **/
2298
- reduceRight<T, TResult>(
2151
+ reduceRight<T>(
2299
2152
  this: LoDashExplicitWrapper<List<T> | null | undefined>,
2300
- callback: MemoListIterator<T, TResult, List<T>>
2301
- ): LoDashExplicitWrapper<TResult | undefined>;
2153
+ callback: MemoListIterator<T, T, List<T>>
2154
+ ): LoDashExplicitWrapper<T | undefined>;
2302
2155
 
2303
2156
  /**
2304
2157
  * @see _.reduceRight
2305
2158
  **/
2306
- reduceRight<T extends object, TResult>(
2159
+ reduceRight<T extends object>(
2307
2160
  this: LoDashExplicitWrapper<T | null | undefined>,
2308
- callback: MemoObjectIterator<T[keyof T], TResult, T>
2309
- ): LoDashExplicitWrapper<TResult | undefined>;
2161
+ callback: MemoObjectIterator<T[keyof T], T[keyof T], T>
2162
+ ): LoDashExplicitWrapper<T[keyof T] | undefined>;
2310
2163
  }
2311
2164
 
2312
2165
  // reject
@@ -2318,7 +2171,6 @@ declare module "../index" {
2318
2171
  *
2319
2172
  * @param collection The collection to iterate over.
2320
2173
  * @param predicate The function invoked per iteration.
2321
- * @param thisArg The this binding of predicate.
2322
2174
  * @return Returns the new filtered array.
2323
2175
  */
2324
2176
  reject(
@@ -2720,4 +2572,4 @@ declare module "../index" {
2720
2572
  ...iteratees: Array<Many<ObjectIteratee<T>>>
2721
2573
  ): LoDashExplicitWrapper<Array<T[keyof T]>>;
2722
2574
  }
2723
- }
2575
+ }