@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
lodash/README.md CHANGED
@@ -5,10 +5,10 @@
5
5
  This package contains type definitions for Lo-Dash (http://lodash.com/).
6
6
 
7
7
  # Details
8
- Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash
8
+ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped.git/tree/master/types/lodash
9
9
 
10
10
  Additional Details
11
- * Last updated: Thu, 15 Mar 2018 23:17:55 GMT
11
+ * Last updated: Fri, 18 May 2018 21:07:30 GMT
12
12
  * Dependencies: none
13
13
  * Global values: _
14
14
 
lodash/common/array.d.ts CHANGED
@@ -577,20 +577,10 @@ declare module "../index" {
577
577
  interface LoDashStatic {
578
578
  /**
579
579
  * Creates a slice of array excluding elements dropped from the end. Elements are dropped until predicate
580
- * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array).
581
- *
582
- * If a property name is provided for predicate the created _.property style callback returns the property
583
- * value of the given element.
584
- *
585
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
586
- * elements that have a matching property value, else false.
587
- *
588
- * If an object is provided for predicate the created _.matches style callback returns true for elements that
589
- * match the properties of the given object, else false.
580
+ * returns falsey. The predicate is invoked with three arguments: (value, index, array).
590
581
  *
591
582
  * @param array The array to query.
592
583
  * @param predicate The function invoked per iteration.
593
- * @param thisArg The this binding of predicate.
594
584
  * @return Returns the slice of array.
595
585
  */
596
586
  dropRightWhile<T>(
@@ -624,20 +614,10 @@ declare module "../index" {
624
614
  interface LoDashStatic {
625
615
  /**
626
616
  * Creates a slice of array excluding elements dropped from the beginning. Elements are dropped until predicate
627
- * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array).
628
- *
629
- * If a property name is provided for predicate the created _.property style callback returns the property
630
- * value of the given element.
631
- *
632
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
633
- * elements that have a matching property value, else false.
634
- *
635
- * If an object is provided for predicate the created _.matches style callback returns true for elements that
636
- * have the properties of the given object, else false.
617
+ * returns falsey. The predicate is invoked with three arguments: (value, index, array).
637
618
  *
638
619
  * @param array The array to query.
639
620
  * @param predicate The function invoked per iteration.
640
- * @param thisArg The this binding of predicate.
641
621
  * @return Returns the slice of array.
642
622
  */
643
623
  dropWhile<T>(
@@ -797,15 +777,6 @@ declare module "../index" {
797
777
  * This method is like _.find except that it returns the index of the first element predicate returns truthy
798
778
  * for instead of the element itself.
799
779
  *
800
- * If a property name is provided for predicate the created _.property style callback returns the property
801
- * value of the given element.
802
- *
803
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
804
- * elements that have a matching property value, else false.
805
- *
806
- * If an object is provided for predicate the created _.matches style callback returns true for elements that
807
- * have the properties of the given object, else false.
808
- *
809
780
  * @param array The array to search.
810
781
  * @param predicate The function invoked per iteration.
811
782
  * @param fromIndex The index to search from.
@@ -846,15 +817,6 @@ declare module "../index" {
846
817
  /**
847
818
  * This method is like _.findIndex except that it iterates over elements of collection from right to left.
848
819
  *
849
- * If a property name is provided for predicate the created _.property style callback returns the property
850
- * value of the given element.
851
- *
852
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
853
- * elements that have a matching property value, else false.
854
- *
855
- * If an object is provided for predicate the created _.matches style callback returns true for elements that
856
- * have the properties of the given object, else false.
857
- *
858
820
  * @param array The array to search.
859
821
  * @param predicate The function invoked per iteration.
860
822
  * @param fromIndex The index to search from.
@@ -916,27 +878,15 @@ declare module "../index" {
916
878
 
917
879
  interface LoDashStatic {
918
880
  /**
919
- * Flattens a nested array. If isDeep is true the array is recursively flattened, otherwise it’s only
920
- * flattened a single level.
881
+ * Flattens `array` a single level deep.
921
882
  *
922
883
  * @param array The array to flatten.
923
- * @param isDeep Specify a deep flatten.
924
884
  * @return Returns the new flattened array.
925
885
  */
926
- flatten<T>(array: ListOfRecursiveArraysOrValues<T> | null | undefined, isDeep: boolean): T[];
927
-
928
- /**
929
- * @see _.flatten
930
- */
931
886
  flatten<T>(array: List<Many<T>> | null | undefined): T[];
932
887
  }
933
888
 
934
889
  interface LoDashImplicitWrapper<TValue> {
935
- /**
936
- * @see _.flatten
937
- */
938
- flatten<T>(this: LoDashImplicitWrapper<ListOfRecursiveArraysOrValues<T> | null | undefined>, isDeep: boolean): LoDashImplicitWrapper<T[]>;
939
-
940
890
  /**
941
891
  * @see _.flatten
942
892
  */
@@ -944,11 +894,6 @@ declare module "../index" {
944
894
  }
945
895
 
946
896
  interface LoDashExplicitWrapper<TValue> {
947
- /**
948
- * @see _.flatten
949
- */
950
- flatten<T>(this: LoDashExplicitWrapper<ListOfRecursiveArraysOrValues<T> | null | undefined>, isDeep: boolean): LoDashExplicitWrapper<T[]>;
951
-
952
897
  /**
953
898
  * @see _.flatten
954
899
  */
@@ -984,28 +929,28 @@ declare module "../index" {
984
929
  // flattenDepth
985
930
 
986
931
  interface LoDashStatic {
987
- /**
988
- * Recursively flatten array up to depth times.
989
- *
990
- * @param array The array to recursively flatten.
991
- * @param number The maximum recursion depth.
992
- * @return Returns the new flattened array.
993
- */
994
- flattenDepth<T>(array: ListOfRecursiveArraysOrValues<T> | null | undefined, depth?: number): T[];
932
+ /**
933
+ * Recursively flatten array up to depth times.
934
+ *
935
+ * @param array The array to recursively flatten.
936
+ * @param number The maximum recursion depth.
937
+ * @return Returns the new flattened array.
938
+ */
939
+ flattenDepth<T>(array: ListOfRecursiveArraysOrValues<T> | null | undefined, depth?: number): T[];
995
940
  }
996
941
 
997
942
  interface LoDashImplicitWrapper<TValue> {
998
- /**
999
- * @see _.flattenDeep
1000
- */
1001
- flattenDepth<T>(this: LoDashImplicitWrapper<ListOfRecursiveArraysOrValues<T> | null | undefined>, depth?: number): LoDashImplicitWrapper<T[]>;
943
+ /**
944
+ * @see _.flattenDeep
945
+ */
946
+ flattenDepth<T>(this: LoDashImplicitWrapper<ListOfRecursiveArraysOrValues<T> | null | undefined>, depth?: number): LoDashImplicitWrapper<T[]>;
1002
947
  }
1003
948
 
1004
949
  interface LoDashExplicitWrapper<TValue> {
1005
- /**
1006
- * @see _.flattenDeep
1007
- */
1008
- flattenDepth<T>(this: LoDashExplicitWrapper<ListOfRecursiveArraysOrValues<T> | null | undefined>, depth?: number): LoDashExplicitWrapper<T[]>;
950
+ /**
951
+ * @see _.flattenDeep
952
+ */
953
+ flattenDepth<T>(this: LoDashExplicitWrapper<ListOfRecursiveArraysOrValues<T> | null | undefined>, depth?: number): LoDashExplicitWrapper<T[]>;
1009
954
  }
1010
955
 
1011
956
  // fromPairs
@@ -1102,8 +1047,7 @@ declare module "../index" {
1102
1047
  * Gets the index at which the first occurrence of `value` is found in `array`
1103
1048
  * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
1104
1049
  * for equality comparisons. If `fromIndex` is negative, it's used as the offset
1105
- * from the end of `array`. If `array` is sorted providing `true` for `fromIndex`
1106
- * performs a faster binary search.
1050
+ * from the end of `array`.
1107
1051
  *
1108
1052
  * @category Array
1109
1053
  * @param array The array to search.
@@ -1122,7 +1066,7 @@ declare module "../index" {
1122
1066
  indexOf<T>(
1123
1067
  array: List<T> | null | undefined,
1124
1068
  value: T,
1125
- fromIndex?: boolean|number
1069
+ fromIndex?: number
1126
1070
  ): number;
1127
1071
  }
1128
1072
 
@@ -1133,7 +1077,7 @@ declare module "../index" {
1133
1077
  indexOf<T>(
1134
1078
  this: LoDashImplicitWrapper<List<T> | null | undefined>,
1135
1079
  value: T,
1136
- fromIndex?: boolean|number
1080
+ fromIndex?: number
1137
1081
  ): number;
1138
1082
  }
1139
1083
 
@@ -1144,7 +1088,7 @@ declare module "../index" {
1144
1088
  indexOf<T>(
1145
1089
  this: LoDashExplicitWrapper<List<T> | null | undefined>,
1146
1090
  value: T,
1147
- fromIndex?: boolean|number
1091
+ fromIndex?: number
1148
1092
  ): LoDashExplicitWrapper<number>;
1149
1093
  }
1150
1094
 
@@ -1423,7 +1367,7 @@ declare module "../index" {
1423
1367
  this: LoDashImplicitWrapper<List<T1> | null | undefined>,
1424
1368
  values1: List<T2>,
1425
1369
  values2: List<T3>,
1426
- ...values: Array<List<T4> | Comparator2<T1, T2 | T3 | T4>>,
1370
+ ...values: Array<List<T4> | Comparator2<T1, T2 | T3 | T4>>
1427
1371
  ): LoDashImplicitWrapper<T1[]>;
1428
1372
 
1429
1373
  /**
@@ -1462,7 +1406,7 @@ declare module "../index" {
1462
1406
  this: LoDashExplicitWrapper<List<T1> | null | undefined>,
1463
1407
  values1: List<T2>,
1464
1408
  values2: List<T3>,
1465
- ...values: Array<List<T4> | Comparator2<T1, T2 | T3 | T4>>,
1409
+ ...values: Array<List<T4> | Comparator2<T1, T2 | T3 | T4>>
1466
1410
  ): LoDashExplicitWrapper<T1[]>;
1467
1411
 
1468
1412
  /**
@@ -1899,22 +1843,12 @@ declare module "../index" {
1899
1843
  interface LoDashStatic {
1900
1844
  /**
1901
1845
  * Removes all elements from array that predicate returns truthy for and returns an array of the removed
1902
- * elements. The predicate is bound to thisArg and invoked with three arguments: (value, index, array).
1903
- *
1904
- * If a property name is provided for predicate the created _.property style callback returns the property
1905
- * value of the given element.
1906
- *
1907
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
1908
- * elements that have a matching property value, else false.
1909
- *
1910
- * If an object is provided for predicate the created _.matches style callback returns true for elements that
1911
- * have the properties of the given object, else false.
1846
+ * elements. The predicate is invoked with three arguments: (value, index, array).
1912
1847
  *
1913
1848
  * Note: Unlike _.filter, this method mutates array.
1914
1849
  *
1915
1850
  * @param array The array to modify.
1916
1851
  * @param predicate The function invoked per iteration.
1917
- * @param thisArg The this binding of predicate.
1918
1852
  * @return Returns the new array of removed elements.
1919
1853
  */
1920
1854
  remove<T>(
@@ -2377,53 +2311,29 @@ declare module "../index" {
2377
2311
  * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);
2378
2312
  * // => [1.1, 2.2]
2379
2313
  */
2380
- sortedUniqBy(
2381
- array: string | null | undefined,
2382
- iteratee: StringIterator<NotVoid>
2383
- ): string[];
2384
-
2385
- /**
2386
- * @see _.sortedUniqBy
2387
- */
2388
2314
  sortedUniqBy<T>(
2389
2315
  array: List<T> | null | undefined,
2390
- iteratee: ListIteratee<T>
2316
+ iteratee: ValueIteratee<T>
2391
2317
  ): T[];
2392
2318
  }
2393
2319
 
2394
2320
  interface LoDashImplicitWrapper<TValue> {
2395
- /**
2396
- * @see _.sortedUniqBy
2397
- */
2398
- sortedUniqBy(
2399
- this: LoDashImplicitWrapper<string | null | undefined>,
2400
- iteratee: StringIterator<NotVoid>
2401
- ): LoDashImplicitWrapper<string[]>;
2402
-
2403
2321
  /**
2404
2322
  * @see _.sortedUniqBy
2405
2323
  */
2406
2324
  sortedUniqBy<T>(
2407
2325
  this: LoDashImplicitWrapper<List<T> | null | undefined>,
2408
- iteratee: ListIteratee<T>
2326
+ iteratee: ValueIteratee<T>
2409
2327
  ): LoDashImplicitWrapper<T[]>;
2410
2328
  }
2411
2329
 
2412
2330
  interface LoDashExplicitWrapper<TValue> {
2413
- /**
2414
- * @see _.sortedUniqBy
2415
- */
2416
- sortedUniqBy(
2417
- this: LoDashExplicitWrapper<string | null | undefined>,
2418
- iteratee: StringIterator<NotVoid>
2419
- ): LoDashExplicitWrapper<string[]>;
2420
-
2421
2331
  /**
2422
2332
  * @see _.sortedUniqBy
2423
2333
  */
2424
2334
  sortedUniqBy<T>(
2425
2335
  this: LoDashExplicitWrapper<List<T> | null | undefined>,
2426
- iteratee: ListIteratee<T>
2336
+ iteratee: ValueIteratee<T>
2427
2337
  ): LoDashExplicitWrapper<T[]>;
2428
2338
  }
2429
2339
 
@@ -2530,20 +2440,10 @@ declare module "../index" {
2530
2440
  interface LoDashStatic {
2531
2441
  /**
2532
2442
  * Creates a slice of array with elements taken from the end. Elements are taken until predicate returns
2533
- * falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array).
2534
- *
2535
- * If a property name is provided for predicate the created _.property style callback returns the property
2536
- * value of the given element.
2537
- *
2538
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
2539
- * elements that have a matching property value, else false.
2540
- *
2541
- * If an object is provided for predicate the created _.matches style callback returns true for elements that
2542
- * have the properties of the given object, else false.
2443
+ * falsey. The predicate is invoked with three arguments: (value, index, array).
2543
2444
  *
2544
2445
  * @param array The array to query.
2545
2446
  * @param predicate The function invoked per iteration.
2546
- * @param thisArg The this binding of predicate.
2547
2447
  * @return Returns the slice of array.
2548
2448
  */
2549
2449
  takeRightWhile<T>(
@@ -2577,20 +2477,10 @@ declare module "../index" {
2577
2477
  interface LoDashStatic {
2578
2478
  /**
2579
2479
  * Creates a slice of array with elements taken from the beginning. Elements are taken until predicate returns
2580
- * falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array).
2581
- *
2582
- * If a property name is provided for predicate the created _.property style callback returns the property
2583
- * value of the given element.
2584
- *
2585
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
2586
- * elements that have a matching property value, else false.
2587
- *
2588
- * If an object is provided for predicate the created _.matches style callback returns true for elements that
2589
- * have the properties of the given object, else false.
2480
+ * falsey. The predicate is invoked with three arguments: (value, index, array).
2590
2481
  *
2591
2482
  * @param array The array to query.
2592
2483
  * @param predicate The function invoked per iteration.
2593
- * @param thisArg The this binding of predicate.
2594
2484
  * @return Returns the slice of array.
2595
2485
  */
2596
2486
  takeWhile<T>(
@@ -2976,53 +2866,29 @@ declare module "../index" {
2976
2866
  * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
2977
2867
  * // => [{ 'x': 1 }, { 'x': 2 }]
2978
2868
  */
2979
- uniqBy(
2980
- array: string | null | undefined,
2981
- iteratee: StringIterator<NotVoid>
2982
- ): string[];
2983
-
2984
- /**
2985
- * @see _.uniqBy
2986
- */
2987
2869
  uniqBy<T>(
2988
2870
  array: List<T> | null | undefined,
2989
- iteratee: ListIteratee<T>
2871
+ iteratee: ValueIteratee<T>
2990
2872
  ): T[];
2991
2873
  }
2992
2874
 
2993
2875
  interface LoDashImplicitWrapper<TValue> {
2994
- /**
2995
- * @see _.uniqBy
2996
- */
2997
- uniqBy(
2998
- this: LoDashImplicitWrapper<string | null | undefined>,
2999
- iteratee: StringIterator<NotVoid>
3000
- ): LoDashImplicitWrapper<string[]>;
3001
-
3002
2876
  /**
3003
2877
  * @see _.uniqBy
3004
2878
  */
3005
2879
  uniqBy<T>(
3006
2880
  this: LoDashImplicitWrapper<List<T> | null | undefined>,
3007
- iteratee: ListIteratee<T>
2881
+ iteratee: ValueIteratee<T>
3008
2882
  ): LoDashImplicitWrapper<T[]>;
3009
2883
  }
3010
2884
 
3011
2885
  interface LoDashExplicitWrapper<TValue> {
3012
- /**
3013
- * @see _.uniqBy
3014
- */
3015
- uniqBy(
3016
- this: LoDashExplicitWrapper<string | null | undefined>,
3017
- iteratee: StringIterator<NotVoid>
3018
- ): LoDashExplicitWrapper<string[]>;
3019
-
3020
2886
  /**
3021
2887
  * @see _.uniqBy
3022
2888
  */
3023
2889
  uniqBy<T>(
3024
2890
  this: LoDashExplicitWrapper<List<T> | null | undefined>,
3025
- iteratee: ListIteratee<T>
2891
+ iteratee: ValueIteratee<T>
3026
2892
  ): LoDashExplicitWrapper<T[]>;
3027
2893
  }
3028
2894
 
@@ -3103,12 +2969,10 @@ declare module "../index" {
3103
2969
  interface LoDashStatic {
3104
2970
  /**
3105
2971
  * This method is like _.unzip except that it accepts an iteratee to specify how regrouped values should be
3106
- * combined. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, value, index,
3107
- * group).
2972
+ * combined. The iteratee is invoked with four arguments: (accumulator, value, index, group).
3108
2973
  *
3109
2974
  * @param array The array of grouped elements to process.
3110
2975
  * @param iteratee The function to combine regrouped values.
3111
- * @param thisArg The this binding of iteratee.
3112
2976
  * @return Returns the new array of regrouped elements.
3113
2977
  */
3114
2978
  unzipWith<T, TResult>(
@@ -3463,7 +3327,7 @@ declare module "../index" {
3463
3327
  /**
3464
3328
  * @see _.zip
3465
3329
  */
3466
- zip<T>(...arrays: Array<List<T> | null | undefined>): (T | undefined)[][];
3330
+ zip<T>(...arrays: Array<List<T> | null | undefined>): Array<Array<T | undefined>>;
3467
3331
  }
3468
3332
 
3469
3333
  interface LoDashImplicitWrapper<TValue> {
@@ -3661,11 +3525,10 @@ declare module "../index" {
3661
3525
  interface LoDashStatic {
3662
3526
  /**
3663
3527
  * This method is like _.zip except that it accepts an iteratee to specify how grouped values should be
3664
- * combined. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, value, index,
3528
+ * combined. The iteratee is invoked with four arguments: (accumulator, value, index,
3665
3529
  * group).
3666
- * @param [arrays] The arrays to process.
3667
- * @param [iteratee] The function to combine grouped values.
3668
- * @param [thisArg] The `this` binding of `iteratee`.
3530
+ * @param arrays The arrays to process.
3531
+ * @param iteratee The function to combine grouped values.
3669
3532
  * @return Returns the new array of grouped elements.
3670
3533
  */
3671
3534
  zipWith<T, TResult>(
@@ -3842,4 +3705,4 @@ declare module "../index" {
3842
3705
  ...iteratee: Array<((...group: T[]) => TResult) | List<T> | null | undefined>
3843
3706
  ): LoDashExplicitWrapper<TResult[]>;
3844
3707
  }
3845
- }
3708
+ }