@types/lodash 4.14.108 → 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 (701) hide show
  1. lodash/LICENSE +21 -21
  2. lodash/README.md +2 -2
  3. lodash/add.d.ts +2 -2
  4. lodash/after.d.ts +2 -2
  5. lodash/ary.d.ts +2 -2
  6. lodash/assign.d.ts +2 -2
  7. lodash/assignIn.d.ts +2 -2
  8. lodash/assignInWith.d.ts +2 -2
  9. lodash/assignWith.d.ts +2 -2
  10. lodash/at.d.ts +2 -2
  11. lodash/attempt.d.ts +2 -2
  12. lodash/before.d.ts +2 -2
  13. lodash/bind.d.ts +2 -2
  14. lodash/bindAll.d.ts +2 -2
  15. lodash/bindKey.d.ts +2 -2
  16. lodash/camelCase.d.ts +2 -2
  17. lodash/capitalize.d.ts +2 -2
  18. lodash/castArray.d.ts +2 -2
  19. lodash/ceil.d.ts +2 -2
  20. lodash/chain.d.ts +2 -2
  21. lodash/chunk.d.ts +2 -2
  22. lodash/clamp.d.ts +2 -2
  23. lodash/clone.d.ts +2 -2
  24. lodash/cloneDeep.d.ts +2 -2
  25. lodash/cloneDeepWith.d.ts +2 -2
  26. lodash/cloneWith.d.ts +2 -2
  27. lodash/common/array.d.ts +3708 -3708
  28. lodash/common/collection.d.ts +2575 -2575
  29. lodash/common/common.d.ts +268 -266
  30. lodash/common/date.d.ts +27 -27
  31. lodash/common/function.d.ts +1473 -1473
  32. lodash/common/lang.d.ts +1936 -1936
  33. lodash/common/math.d.ts +532 -532
  34. lodash/common/number.d.ts +178 -178
  35. lodash/common/object.d.ts +3761 -3737
  36. lodash/common/seq.d.ts +196 -196
  37. lodash/common/string.d.ts +1059 -1059
  38. lodash/common/util.d.ts +1463 -1463
  39. lodash/compact.d.ts +2 -2
  40. lodash/concat.d.ts +2 -2
  41. lodash/cond.d.ts +2 -2
  42. lodash/conformsTo.d.ts +2 -2
  43. lodash/constant.d.ts +2 -2
  44. lodash/countBy.d.ts +2 -2
  45. lodash/create.d.ts +2 -2
  46. lodash/curry.d.ts +2 -2
  47. lodash/curryRight.d.ts +2 -2
  48. lodash/debounce.d.ts +2 -2
  49. lodash/deburr.d.ts +2 -2
  50. lodash/defaultTo.d.ts +2 -2
  51. lodash/defaults.d.ts +2 -2
  52. lodash/defaultsDeep.d.ts +2 -2
  53. lodash/defer.d.ts +2 -2
  54. lodash/delay.d.ts +2 -2
  55. lodash/difference.d.ts +2 -2
  56. lodash/differenceBy.d.ts +2 -2
  57. lodash/differenceWith.d.ts +2 -2
  58. lodash/divide.d.ts +2 -2
  59. lodash/drop.d.ts +2 -2
  60. lodash/dropRight.d.ts +2 -2
  61. lodash/dropRightWhile.d.ts +2 -2
  62. lodash/dropWhile.d.ts +2 -2
  63. lodash/each.d.ts +2 -2
  64. lodash/eachRight.d.ts +2 -2
  65. lodash/endsWith.d.ts +2 -2
  66. lodash/entries.d.ts +2 -2
  67. lodash/entriesIn.d.ts +2 -2
  68. lodash/eq.d.ts +2 -2
  69. lodash/escape.d.ts +2 -2
  70. lodash/escapeRegExp.d.ts +2 -2
  71. lodash/every.d.ts +2 -2
  72. lodash/extend.d.ts +2 -2
  73. lodash/extendWith.d.ts +2 -2
  74. lodash/fill.d.ts +2 -2
  75. lodash/filter.d.ts +2 -2
  76. lodash/find.d.ts +2 -2
  77. lodash/findIndex.d.ts +2 -2
  78. lodash/findKey.d.ts +2 -2
  79. lodash/findLast.d.ts +2 -2
  80. lodash/findLastIndex.d.ts +2 -2
  81. lodash/findLastKey.d.ts +2 -2
  82. lodash/first.d.ts +2 -2
  83. lodash/flatMap.d.ts +2 -2
  84. lodash/flatMapDeep.d.ts +2 -2
  85. lodash/flatMapDepth.d.ts +2 -2
  86. lodash/flatten.d.ts +2 -2
  87. lodash/flattenDeep.d.ts +2 -2
  88. lodash/flattenDepth.d.ts +2 -2
  89. lodash/flip.d.ts +2 -2
  90. lodash/floor.d.ts +2 -2
  91. lodash/flow.d.ts +2 -2
  92. lodash/flowRight.d.ts +2 -2
  93. lodash/forEach.d.ts +2 -2
  94. lodash/forEachRight.d.ts +2 -2
  95. lodash/forIn.d.ts +2 -2
  96. lodash/forInRight.d.ts +2 -2
  97. lodash/forOwn.d.ts +2 -2
  98. lodash/forOwnRight.d.ts +2 -2
  99. lodash/fp/F.d.ts +2 -2
  100. lodash/fp/T.d.ts +2 -2
  101. lodash/fp/__.d.ts +3 -3
  102. lodash/fp/add.d.ts +2 -2
  103. lodash/fp/after.d.ts +2 -2
  104. lodash/fp/all.d.ts +2 -2
  105. lodash/fp/allPass.d.ts +2 -2
  106. lodash/fp/always.d.ts +2 -2
  107. lodash/fp/any.d.ts +2 -2
  108. lodash/fp/anyPass.d.ts +2 -2
  109. lodash/fp/apply.d.ts +2 -2
  110. lodash/fp/ary.d.ts +2 -2
  111. lodash/fp/assign.d.ts +2 -2
  112. lodash/fp/assignAll.d.ts +2 -2
  113. lodash/fp/assignAllWith.d.ts +2 -2
  114. lodash/fp/assignIn.d.ts +2 -2
  115. lodash/fp/assignInAll.d.ts +2 -2
  116. lodash/fp/assignInAllWith.d.ts +2 -2
  117. lodash/fp/assignInWith.d.ts +2 -2
  118. lodash/fp/assignWith.d.ts +2 -2
  119. lodash/fp/assoc.d.ts +2 -2
  120. lodash/fp/assocPath.d.ts +2 -2
  121. lodash/fp/at.d.ts +2 -2
  122. lodash/fp/attempt.d.ts +2 -2
  123. lodash/fp/before.d.ts +2 -2
  124. lodash/fp/bind.d.ts +2 -2
  125. lodash/fp/bindAll.d.ts +2 -2
  126. lodash/fp/bindKey.d.ts +2 -2
  127. lodash/fp/camelCase.d.ts +2 -2
  128. lodash/fp/capitalize.d.ts +2 -2
  129. lodash/fp/castArray.d.ts +2 -2
  130. lodash/fp/ceil.d.ts +2 -2
  131. lodash/fp/chunk.d.ts +2 -2
  132. lodash/fp/clamp.d.ts +2 -2
  133. lodash/fp/clone.d.ts +2 -2
  134. lodash/fp/cloneDeep.d.ts +2 -2
  135. lodash/fp/cloneDeepWith.d.ts +2 -2
  136. lodash/fp/cloneWith.d.ts +2 -2
  137. lodash/fp/compact.d.ts +2 -2
  138. lodash/fp/complement.d.ts +2 -2
  139. lodash/fp/compose.d.ts +2 -2
  140. lodash/fp/concat.d.ts +2 -2
  141. lodash/fp/cond.d.ts +2 -2
  142. lodash/fp/conforms.d.ts +2 -2
  143. lodash/fp/conformsTo.d.ts +2 -2
  144. lodash/fp/constant.d.ts +2 -2
  145. lodash/fp/contains.d.ts +2 -2
  146. lodash/fp/convert.d.ts +15 -15
  147. lodash/fp/countBy.d.ts +2 -2
  148. lodash/fp/create.d.ts +2 -2
  149. lodash/fp/curry.d.ts +2 -2
  150. lodash/fp/curryN.d.ts +2 -2
  151. lodash/fp/curryRight.d.ts +2 -2
  152. lodash/fp/curryRightN.d.ts +2 -2
  153. lodash/fp/debounce.d.ts +2 -2
  154. lodash/fp/deburr.d.ts +2 -2
  155. lodash/fp/defaultTo.d.ts +2 -2
  156. lodash/fp/defaults.d.ts +2 -2
  157. lodash/fp/defaultsAll.d.ts +2 -2
  158. lodash/fp/defaultsDeep.d.ts +2 -2
  159. lodash/fp/defaultsDeepAll.d.ts +2 -2
  160. lodash/fp/defer.d.ts +2 -2
  161. lodash/fp/delay.d.ts +2 -2
  162. lodash/fp/difference.d.ts +2 -2
  163. lodash/fp/differenceBy.d.ts +2 -2
  164. lodash/fp/differenceWith.d.ts +2 -2
  165. lodash/fp/dissoc.d.ts +2 -2
  166. lodash/fp/dissocPath.d.ts +2 -2
  167. lodash/fp/divide.d.ts +2 -2
  168. lodash/fp/drop.d.ts +2 -2
  169. lodash/fp/dropLast.d.ts +2 -2
  170. lodash/fp/dropLastWhile.d.ts +2 -2
  171. lodash/fp/dropRight.d.ts +2 -2
  172. lodash/fp/dropRightWhile.d.ts +2 -2
  173. lodash/fp/dropWhile.d.ts +2 -2
  174. lodash/fp/each.d.ts +2 -2
  175. lodash/fp/eachRight.d.ts +2 -2
  176. lodash/fp/endsWith.d.ts +2 -2
  177. lodash/fp/entries.d.ts +2 -2
  178. lodash/fp/entriesIn.d.ts +2 -2
  179. lodash/fp/eq.d.ts +2 -2
  180. lodash/fp/equals.d.ts +2 -2
  181. lodash/fp/escape.d.ts +2 -2
  182. lodash/fp/escapeRegExp.d.ts +2 -2
  183. lodash/fp/every.d.ts +2 -2
  184. lodash/fp/extend.d.ts +2 -2
  185. lodash/fp/extendAll.d.ts +2 -2
  186. lodash/fp/extendAllWith.d.ts +2 -2
  187. lodash/fp/extendWith.d.ts +2 -2
  188. lodash/fp/fill.d.ts +2 -2
  189. lodash/fp/filter.d.ts +2 -2
  190. lodash/fp/find.d.ts +2 -2
  191. lodash/fp/findFrom.d.ts +2 -2
  192. lodash/fp/findIndex.d.ts +2 -2
  193. lodash/fp/findIndexFrom.d.ts +2 -2
  194. lodash/fp/findKey.d.ts +2 -2
  195. lodash/fp/findLast.d.ts +2 -2
  196. lodash/fp/findLastFrom.d.ts +2 -2
  197. lodash/fp/findLastIndex.d.ts +2 -2
  198. lodash/fp/findLastIndexFrom.d.ts +2 -2
  199. lodash/fp/findLastKey.d.ts +2 -2
  200. lodash/fp/first.d.ts +2 -2
  201. lodash/fp/flatMap.d.ts +2 -2
  202. lodash/fp/flatMapDeep.d.ts +2 -2
  203. lodash/fp/flatMapDepth.d.ts +2 -2
  204. lodash/fp/flatten.d.ts +2 -2
  205. lodash/fp/flattenDeep.d.ts +2 -2
  206. lodash/fp/flattenDepth.d.ts +2 -2
  207. lodash/fp/flip.d.ts +2 -2
  208. lodash/fp/floor.d.ts +2 -2
  209. lodash/fp/flow.d.ts +2 -2
  210. lodash/fp/flowRight.d.ts +2 -2
  211. lodash/fp/forEach.d.ts +2 -2
  212. lodash/fp/forEachRight.d.ts +2 -2
  213. lodash/fp/forIn.d.ts +2 -2
  214. lodash/fp/forInRight.d.ts +2 -2
  215. lodash/fp/forOwn.d.ts +2 -2
  216. lodash/fp/forOwnRight.d.ts +2 -2
  217. lodash/fp/fromPairs.d.ts +2 -2
  218. lodash/fp/functions.d.ts +2 -2
  219. lodash/fp/functionsIn.d.ts +2 -2
  220. lodash/fp/get.d.ts +2 -2
  221. lodash/fp/getOr.d.ts +2 -2
  222. lodash/fp/groupBy.d.ts +2 -2
  223. lodash/fp/gt.d.ts +2 -2
  224. lodash/fp/gte.d.ts +2 -2
  225. lodash/fp/has.d.ts +2 -2
  226. lodash/fp/hasIn.d.ts +2 -2
  227. lodash/fp/head.d.ts +2 -2
  228. lodash/fp/identical.d.ts +2 -2
  229. lodash/fp/identity.d.ts +2 -2
  230. lodash/fp/inRange.d.ts +2 -2
  231. lodash/fp/includes.d.ts +2 -2
  232. lodash/fp/includesFrom.d.ts +2 -2
  233. lodash/fp/indexBy.d.ts +2 -2
  234. lodash/fp/indexOf.d.ts +2 -2
  235. lodash/fp/indexOfFrom.d.ts +2 -2
  236. lodash/fp/init.d.ts +2 -2
  237. lodash/fp/initial.d.ts +2 -2
  238. lodash/fp/intersection.d.ts +2 -2
  239. lodash/fp/intersectionBy.d.ts +2 -2
  240. lodash/fp/intersectionWith.d.ts +2 -2
  241. lodash/fp/invert.d.ts +2 -2
  242. lodash/fp/invertBy.d.ts +2 -2
  243. lodash/fp/invertObj.d.ts +2 -2
  244. lodash/fp/invoke.d.ts +2 -2
  245. lodash/fp/invokeArgs.d.ts +2 -2
  246. lodash/fp/invokeArgsMap.d.ts +2 -2
  247. lodash/fp/invokeMap.d.ts +2 -2
  248. lodash/fp/isArguments.d.ts +2 -2
  249. lodash/fp/isArray.d.ts +2 -2
  250. lodash/fp/isArrayBuffer.d.ts +2 -2
  251. lodash/fp/isArrayLike.d.ts +2 -2
  252. lodash/fp/isArrayLikeObject.d.ts +2 -2
  253. lodash/fp/isBoolean.d.ts +2 -2
  254. lodash/fp/isBuffer.d.ts +2 -2
  255. lodash/fp/isDate.d.ts +2 -2
  256. lodash/fp/isElement.d.ts +2 -2
  257. lodash/fp/isEmpty.d.ts +2 -2
  258. lodash/fp/isEqual.d.ts +2 -2
  259. lodash/fp/isEqualWith.d.ts +2 -2
  260. lodash/fp/isError.d.ts +2 -2
  261. lodash/fp/isFinite.d.ts +2 -2
  262. lodash/fp/isFunction.d.ts +2 -2
  263. lodash/fp/isInteger.d.ts +2 -2
  264. lodash/fp/isLength.d.ts +2 -2
  265. lodash/fp/isMap.d.ts +2 -2
  266. lodash/fp/isMatch.d.ts +2 -2
  267. lodash/fp/isMatchWith.d.ts +2 -2
  268. lodash/fp/isNaN.d.ts +2 -2
  269. lodash/fp/isNative.d.ts +2 -2
  270. lodash/fp/isNil.d.ts +2 -2
  271. lodash/fp/isNull.d.ts +2 -2
  272. lodash/fp/isNumber.d.ts +2 -2
  273. lodash/fp/isObject.d.ts +2 -2
  274. lodash/fp/isObjectLike.d.ts +2 -2
  275. lodash/fp/isPlainObject.d.ts +2 -2
  276. lodash/fp/isRegExp.d.ts +2 -2
  277. lodash/fp/isSafeInteger.d.ts +2 -2
  278. lodash/fp/isSet.d.ts +2 -2
  279. lodash/fp/isString.d.ts +2 -2
  280. lodash/fp/isSymbol.d.ts +2 -2
  281. lodash/fp/isTypedArray.d.ts +2 -2
  282. lodash/fp/isUndefined.d.ts +2 -2
  283. lodash/fp/isWeakMap.d.ts +2 -2
  284. lodash/fp/isWeakSet.d.ts +2 -2
  285. lodash/fp/iteratee.d.ts +2 -2
  286. lodash/fp/join.d.ts +2 -2
  287. lodash/fp/juxt.d.ts +2 -2
  288. lodash/fp/kebabCase.d.ts +2 -2
  289. lodash/fp/keyBy.d.ts +2 -2
  290. lodash/fp/keys.d.ts +2 -2
  291. lodash/fp/keysIn.d.ts +2 -2
  292. lodash/fp/last.d.ts +2 -2
  293. lodash/fp/lastIndexOf.d.ts +2 -2
  294. lodash/fp/lastIndexOfFrom.d.ts +2 -2
  295. lodash/fp/lowerCase.d.ts +2 -2
  296. lodash/fp/lowerFirst.d.ts +2 -2
  297. lodash/fp/lt.d.ts +2 -2
  298. lodash/fp/lte.d.ts +2 -2
  299. lodash/fp/map.d.ts +2 -2
  300. lodash/fp/mapKeys.d.ts +2 -2
  301. lodash/fp/mapValues.d.ts +2 -2
  302. lodash/fp/matches.d.ts +2 -2
  303. lodash/fp/matchesProperty.d.ts +2 -2
  304. lodash/fp/max.d.ts +2 -2
  305. lodash/fp/maxBy.d.ts +2 -2
  306. lodash/fp/mean.d.ts +2 -2
  307. lodash/fp/meanBy.d.ts +2 -2
  308. lodash/fp/memoize.d.ts +2 -2
  309. lodash/fp/merge.d.ts +2 -2
  310. lodash/fp/mergeAll.d.ts +2 -2
  311. lodash/fp/mergeAllWith.d.ts +2 -2
  312. lodash/fp/mergeWith.d.ts +2 -2
  313. lodash/fp/method.d.ts +2 -2
  314. lodash/fp/methodOf.d.ts +2 -2
  315. lodash/fp/min.d.ts +2 -2
  316. lodash/fp/minBy.d.ts +2 -2
  317. lodash/fp/multiply.d.ts +2 -2
  318. lodash/fp/nAry.d.ts +2 -2
  319. lodash/fp/negate.d.ts +2 -2
  320. lodash/fp/noConflict.d.ts +2 -2
  321. lodash/fp/noop.d.ts +2 -2
  322. lodash/fp/now.d.ts +2 -2
  323. lodash/fp/nth.d.ts +2 -2
  324. lodash/fp/nthArg.d.ts +2 -2
  325. lodash/fp/omit.d.ts +2 -2
  326. lodash/fp/omitAll.d.ts +2 -2
  327. lodash/fp/omitBy.d.ts +2 -2
  328. lodash/fp/once.d.ts +2 -2
  329. lodash/fp/orderBy.d.ts +2 -2
  330. lodash/fp/over.d.ts +2 -2
  331. lodash/fp/overArgs.d.ts +2 -2
  332. lodash/fp/overEvery.d.ts +2 -2
  333. lodash/fp/overSome.d.ts +2 -2
  334. lodash/fp/pad.d.ts +2 -2
  335. lodash/fp/padChars.d.ts +2 -2
  336. lodash/fp/padCharsEnd.d.ts +2 -2
  337. lodash/fp/padCharsStart.d.ts +2 -2
  338. lodash/fp/padEnd.d.ts +2 -2
  339. lodash/fp/padStart.d.ts +2 -2
  340. lodash/fp/parseInt.d.ts +2 -2
  341. lodash/fp/partial.d.ts +2 -2
  342. lodash/fp/partialRight.d.ts +2 -2
  343. lodash/fp/partition.d.ts +2 -2
  344. lodash/fp/path.d.ts +2 -2
  345. lodash/fp/pathEq.d.ts +2 -2
  346. lodash/fp/pathOr.d.ts +2 -2
  347. lodash/fp/paths.d.ts +2 -2
  348. lodash/fp/pick.d.ts +2 -2
  349. lodash/fp/pickAll.d.ts +2 -2
  350. lodash/fp/pickBy.d.ts +2 -2
  351. lodash/fp/pipe.d.ts +2 -2
  352. lodash/fp/placeholder.d.ts +3 -3
  353. lodash/fp/pluck.d.ts +2 -2
  354. lodash/fp/prop.d.ts +2 -2
  355. lodash/fp/propEq.d.ts +2 -2
  356. lodash/fp/propOr.d.ts +2 -2
  357. lodash/fp/property.d.ts +2 -2
  358. lodash/fp/propertyOf.d.ts +2 -2
  359. lodash/fp/props.d.ts +2 -2
  360. lodash/fp/pull.d.ts +2 -2
  361. lodash/fp/pullAll.d.ts +2 -2
  362. lodash/fp/pullAllBy.d.ts +2 -2
  363. lodash/fp/pullAllWith.d.ts +2 -2
  364. lodash/fp/pullAt.d.ts +2 -2
  365. lodash/fp/random.d.ts +2 -2
  366. lodash/fp/range.d.ts +2 -2
  367. lodash/fp/rangeRight.d.ts +2 -2
  368. lodash/fp/rangeStep.d.ts +2 -2
  369. lodash/fp/rangeStepRight.d.ts +2 -2
  370. lodash/fp/rearg.d.ts +2 -2
  371. lodash/fp/reduce.d.ts +2 -2
  372. lodash/fp/reduceRight.d.ts +2 -2
  373. lodash/fp/reject.d.ts +2 -2
  374. lodash/fp/remove.d.ts +2 -2
  375. lodash/fp/repeat.d.ts +2 -2
  376. lodash/fp/replace.d.ts +2 -2
  377. lodash/fp/rest.d.ts +2 -2
  378. lodash/fp/restFrom.d.ts +2 -2
  379. lodash/fp/result.d.ts +2 -2
  380. lodash/fp/reverse.d.ts +2 -2
  381. lodash/fp/round.d.ts +2 -2
  382. lodash/fp/runInContext.d.ts +2 -2
  383. lodash/fp/sample.d.ts +2 -2
  384. lodash/fp/sampleSize.d.ts +2 -2
  385. lodash/fp/set.d.ts +2 -2
  386. lodash/fp/setWith.d.ts +2 -2
  387. lodash/fp/shuffle.d.ts +2 -2
  388. lodash/fp/size.d.ts +2 -2
  389. lodash/fp/slice.d.ts +2 -2
  390. lodash/fp/snakeCase.d.ts +2 -2
  391. lodash/fp/some.d.ts +2 -2
  392. lodash/fp/sortBy.d.ts +2 -2
  393. lodash/fp/sortedIndex.d.ts +2 -2
  394. lodash/fp/sortedIndexBy.d.ts +2 -2
  395. lodash/fp/sortedIndexOf.d.ts +2 -2
  396. lodash/fp/sortedLastIndex.d.ts +2 -2
  397. lodash/fp/sortedLastIndexBy.d.ts +2 -2
  398. lodash/fp/sortedLastIndexOf.d.ts +2 -2
  399. lodash/fp/sortedUniq.d.ts +2 -2
  400. lodash/fp/sortedUniqBy.d.ts +2 -2
  401. lodash/fp/split.d.ts +2 -2
  402. lodash/fp/spread.d.ts +2 -2
  403. lodash/fp/spreadFrom.d.ts +2 -2
  404. lodash/fp/startCase.d.ts +2 -2
  405. lodash/fp/startsWith.d.ts +2 -2
  406. lodash/fp/stubArray.d.ts +2 -2
  407. lodash/fp/stubFalse.d.ts +2 -2
  408. lodash/fp/stubObject.d.ts +2 -2
  409. lodash/fp/stubString.d.ts +2 -2
  410. lodash/fp/stubTrue.d.ts +2 -2
  411. lodash/fp/subtract.d.ts +2 -2
  412. lodash/fp/sum.d.ts +2 -2
  413. lodash/fp/sumBy.d.ts +2 -2
  414. lodash/fp/symmetricDifference.d.ts +2 -2
  415. lodash/fp/symmetricDifferenceBy.d.ts +2 -2
  416. lodash/fp/symmetricDifferenceWith.d.ts +2 -2
  417. lodash/fp/tail.d.ts +2 -2
  418. lodash/fp/take.d.ts +2 -2
  419. lodash/fp/takeLast.d.ts +2 -2
  420. lodash/fp/takeLastWhile.d.ts +2 -2
  421. lodash/fp/takeRight.d.ts +2 -2
  422. lodash/fp/takeRightWhile.d.ts +2 -2
  423. lodash/fp/takeWhile.d.ts +2 -2
  424. lodash/fp/tap.d.ts +2 -2
  425. lodash/fp/template.d.ts +2 -2
  426. lodash/fp/throttle.d.ts +2 -2
  427. lodash/fp/thru.d.ts +2 -2
  428. lodash/fp/times.d.ts +2 -2
  429. lodash/fp/toArray.d.ts +2 -2
  430. lodash/fp/toFinite.d.ts +2 -2
  431. lodash/fp/toInteger.d.ts +2 -2
  432. lodash/fp/toLength.d.ts +2 -2
  433. lodash/fp/toLower.d.ts +2 -2
  434. lodash/fp/toNumber.d.ts +2 -2
  435. lodash/fp/toPairs.d.ts +2 -2
  436. lodash/fp/toPairsIn.d.ts +2 -2
  437. lodash/fp/toPath.d.ts +2 -2
  438. lodash/fp/toPlainObject.d.ts +2 -2
  439. lodash/fp/toSafeInteger.d.ts +2 -2
  440. lodash/fp/toString.d.ts +2 -2
  441. lodash/fp/toUpper.d.ts +2 -2
  442. lodash/fp/transform.d.ts +2 -2
  443. lodash/fp/trim.d.ts +2 -2
  444. lodash/fp/trimChars.d.ts +2 -2
  445. lodash/fp/trimCharsEnd.d.ts +2 -2
  446. lodash/fp/trimCharsStart.d.ts +2 -2
  447. lodash/fp/trimEnd.d.ts +2 -2
  448. lodash/fp/trimStart.d.ts +2 -2
  449. lodash/fp/truncate.d.ts +2 -2
  450. lodash/fp/unapply.d.ts +2 -2
  451. lodash/fp/unary.d.ts +2 -2
  452. lodash/fp/unescape.d.ts +2 -2
  453. lodash/fp/union.d.ts +2 -2
  454. lodash/fp/unionBy.d.ts +2 -2
  455. lodash/fp/unionWith.d.ts +2 -2
  456. lodash/fp/uniq.d.ts +2 -2
  457. lodash/fp/uniqBy.d.ts +2 -2
  458. lodash/fp/uniqWith.d.ts +2 -2
  459. lodash/fp/uniqueId.d.ts +2 -2
  460. lodash/fp/unnest.d.ts +2 -2
  461. lodash/fp/unset.d.ts +2 -2
  462. lodash/fp/unzip.d.ts +2 -2
  463. lodash/fp/unzipWith.d.ts +2 -2
  464. lodash/fp/update.d.ts +2 -2
  465. lodash/fp/updateWith.d.ts +2 -2
  466. lodash/fp/upperCase.d.ts +2 -2
  467. lodash/fp/upperFirst.d.ts +2 -2
  468. lodash/fp/useWith.d.ts +2 -2
  469. lodash/fp/values.d.ts +2 -2
  470. lodash/fp/valuesIn.d.ts +2 -2
  471. lodash/fp/where.d.ts +2 -2
  472. lodash/fp/whereEq.d.ts +2 -2
  473. lodash/fp/without.d.ts +2 -2
  474. lodash/fp/words.d.ts +2 -2
  475. lodash/fp/wrap.d.ts +2 -2
  476. lodash/fp/xor.d.ts +2 -2
  477. lodash/fp/xorBy.d.ts +2 -2
  478. lodash/fp/xorWith.d.ts +2 -2
  479. lodash/fp/zip.d.ts +2 -2
  480. lodash/fp/zipAll.d.ts +2 -2
  481. lodash/fp/zipObj.d.ts +2 -2
  482. lodash/fp/zipObject.d.ts +2 -2
  483. lodash/fp/zipObjectDeep.d.ts +2 -2
  484. lodash/fp/zipWith.d.ts +2 -2
  485. lodash/fp.d.ts +4765 -4488
  486. lodash/fromPairs.d.ts +2 -2
  487. lodash/functions.d.ts +2 -2
  488. lodash/functionsIn.d.ts +2 -2
  489. lodash/get.d.ts +2 -2
  490. lodash/groupBy.d.ts +2 -2
  491. lodash/gt.d.ts +2 -2
  492. lodash/gte.d.ts +2 -2
  493. lodash/has.d.ts +2 -2
  494. lodash/hasIn.d.ts +2 -2
  495. lodash/head.d.ts +2 -2
  496. lodash/identity.d.ts +2 -2
  497. lodash/inRange.d.ts +2 -2
  498. lodash/includes.d.ts +2 -2
  499. lodash/index.d.ts +47 -47
  500. lodash/indexOf.d.ts +2 -2
  501. lodash/initial.d.ts +2 -2
  502. lodash/intersection.d.ts +2 -2
  503. lodash/intersectionBy.d.ts +2 -2
  504. lodash/intersectionWith.d.ts +2 -2
  505. lodash/invert.d.ts +2 -2
  506. lodash/invertBy.d.ts +2 -2
  507. lodash/invoke.d.ts +2 -2
  508. lodash/invokeMap.d.ts +2 -2
  509. lodash/isArguments.d.ts +2 -2
  510. lodash/isArray.d.ts +2 -2
  511. lodash/isArrayBuffer.d.ts +2 -2
  512. lodash/isArrayLike.d.ts +2 -2
  513. lodash/isArrayLikeObject.d.ts +2 -2
  514. lodash/isBoolean.d.ts +2 -2
  515. lodash/isBuffer.d.ts +2 -2
  516. lodash/isDate.d.ts +2 -2
  517. lodash/isElement.d.ts +2 -2
  518. lodash/isEmpty.d.ts +2 -2
  519. lodash/isEqual.d.ts +2 -2
  520. lodash/isEqualWith.d.ts +2 -2
  521. lodash/isError.d.ts +2 -2
  522. lodash/isFinite.d.ts +2 -2
  523. lodash/isFunction.d.ts +2 -2
  524. lodash/isInteger.d.ts +2 -2
  525. lodash/isLength.d.ts +2 -2
  526. lodash/isMap.d.ts +2 -2
  527. lodash/isMatch.d.ts +2 -2
  528. lodash/isMatchWith.d.ts +2 -2
  529. lodash/isNaN.d.ts +2 -2
  530. lodash/isNative.d.ts +2 -2
  531. lodash/isNil.d.ts +2 -2
  532. lodash/isNull.d.ts +2 -2
  533. lodash/isNumber.d.ts +2 -2
  534. lodash/isObject.d.ts +2 -2
  535. lodash/isObjectLike.d.ts +2 -2
  536. lodash/isPlainObject.d.ts +2 -2
  537. lodash/isRegExp.d.ts +2 -2
  538. lodash/isSafeInteger.d.ts +2 -2
  539. lodash/isSet.d.ts +2 -2
  540. lodash/isString.d.ts +2 -2
  541. lodash/isSymbol.d.ts +2 -2
  542. lodash/isTypedArray.d.ts +2 -2
  543. lodash/isUndefined.d.ts +2 -2
  544. lodash/isWeakMap.d.ts +2 -2
  545. lodash/isWeakSet.d.ts +2 -2
  546. lodash/iteratee.d.ts +2 -2
  547. lodash/join.d.ts +2 -2
  548. lodash/kebabCase.d.ts +2 -2
  549. lodash/keyBy.d.ts +2 -2
  550. lodash/keys.d.ts +2 -2
  551. lodash/keysIn.d.ts +2 -2
  552. lodash/last.d.ts +2 -2
  553. lodash/lastIndexOf.d.ts +2 -2
  554. lodash/lowerCase.d.ts +2 -2
  555. lodash/lowerFirst.d.ts +2 -2
  556. lodash/lt.d.ts +2 -2
  557. lodash/lte.d.ts +2 -2
  558. lodash/map.d.ts +2 -2
  559. lodash/mapKeys.d.ts +2 -2
  560. lodash/mapValues.d.ts +2 -2
  561. lodash/matches.d.ts +2 -2
  562. lodash/matchesProperty.d.ts +2 -2
  563. lodash/max.d.ts +2 -2
  564. lodash/maxBy.d.ts +2 -2
  565. lodash/mean.d.ts +2 -2
  566. lodash/meanBy.d.ts +2 -2
  567. lodash/memoize.d.ts +2 -2
  568. lodash/merge.d.ts +2 -2
  569. lodash/mergeWith.d.ts +2 -2
  570. lodash/method.d.ts +2 -2
  571. lodash/methodOf.d.ts +2 -2
  572. lodash/min.d.ts +2 -2
  573. lodash/minBy.d.ts +2 -2
  574. lodash/mixin.d.ts +2 -2
  575. lodash/negate.d.ts +2 -2
  576. lodash/noConflict.d.ts +2 -2
  577. lodash/noop.d.ts +2 -2
  578. lodash/now.d.ts +2 -2
  579. lodash/nth.d.ts +2 -2
  580. lodash/nthArg.d.ts +2 -2
  581. lodash/omit.d.ts +2 -2
  582. lodash/omitBy.d.ts +2 -2
  583. lodash/once.d.ts +2 -2
  584. lodash/orderBy.d.ts +2 -2
  585. lodash/over.d.ts +2 -2
  586. lodash/overArgs.d.ts +2 -2
  587. lodash/overEvery.d.ts +2 -2
  588. lodash/overSome.d.ts +2 -2
  589. lodash/package.json +3 -3
  590. lodash/pad.d.ts +2 -2
  591. lodash/padEnd.d.ts +2 -2
  592. lodash/padStart.d.ts +2 -2
  593. lodash/parseInt.d.ts +2 -2
  594. lodash/partial.d.ts +2 -2
  595. lodash/partialRight.d.ts +2 -2
  596. lodash/partition.d.ts +2 -2
  597. lodash/pick.d.ts +2 -2
  598. lodash/pickBy.d.ts +2 -2
  599. lodash/property.d.ts +2 -2
  600. lodash/propertyOf.d.ts +2 -2
  601. lodash/pull.d.ts +2 -2
  602. lodash/pullAll.d.ts +2 -2
  603. lodash/pullAllBy.d.ts +2 -2
  604. lodash/pullAllWith.d.ts +2 -2
  605. lodash/pullAt.d.ts +2 -2
  606. lodash/random.d.ts +2 -2
  607. lodash/range.d.ts +2 -2
  608. lodash/rangeRight.d.ts +2 -2
  609. lodash/rearg.d.ts +2 -2
  610. lodash/reduce.d.ts +2 -2
  611. lodash/reduceRight.d.ts +2 -2
  612. lodash/reject.d.ts +2 -2
  613. lodash/remove.d.ts +2 -2
  614. lodash/repeat.d.ts +2 -2
  615. lodash/replace.d.ts +2 -2
  616. lodash/rest.d.ts +2 -2
  617. lodash/result.d.ts +2 -2
  618. lodash/reverse.d.ts +2 -2
  619. lodash/round.d.ts +2 -2
  620. lodash/runInContext.d.ts +2 -2
  621. lodash/sample.d.ts +2 -2
  622. lodash/sampleSize.d.ts +2 -2
  623. lodash/set.d.ts +2 -2
  624. lodash/setWith.d.ts +2 -2
  625. lodash/shuffle.d.ts +2 -2
  626. lodash/size.d.ts +2 -2
  627. lodash/slice.d.ts +2 -2
  628. lodash/snakeCase.d.ts +2 -2
  629. lodash/some.d.ts +2 -2
  630. lodash/sortBy.d.ts +2 -2
  631. lodash/sortedIndex.d.ts +2 -2
  632. lodash/sortedIndexBy.d.ts +2 -2
  633. lodash/sortedIndexOf.d.ts +2 -2
  634. lodash/sortedLastIndex.d.ts +2 -2
  635. lodash/sortedLastIndexBy.d.ts +2 -2
  636. lodash/sortedLastIndexOf.d.ts +2 -2
  637. lodash/sortedUniq.d.ts +2 -2
  638. lodash/sortedUniqBy.d.ts +2 -2
  639. lodash/split.d.ts +2 -2
  640. lodash/spread.d.ts +2 -2
  641. lodash/startCase.d.ts +2 -2
  642. lodash/startsWith.d.ts +2 -2
  643. lodash/subtract.d.ts +2 -2
  644. lodash/sum.d.ts +2 -2
  645. lodash/sumBy.d.ts +2 -2
  646. lodash/tail.d.ts +2 -2
  647. lodash/take.d.ts +2 -2
  648. lodash/takeRight.d.ts +2 -2
  649. lodash/takeRightWhile.d.ts +2 -2
  650. lodash/takeWhile.d.ts +2 -2
  651. lodash/tap.d.ts +2 -2
  652. lodash/template.d.ts +2 -2
  653. lodash/throttle.d.ts +2 -2
  654. lodash/thru.d.ts +2 -2
  655. lodash/times.d.ts +2 -2
  656. lodash/toArray.d.ts +2 -2
  657. lodash/toFinite.d.ts +2 -2
  658. lodash/toInteger.d.ts +2 -2
  659. lodash/toLength.d.ts +2 -2
  660. lodash/toLower.d.ts +2 -2
  661. lodash/toNumber.d.ts +2 -2
  662. lodash/toPairs.d.ts +2 -2
  663. lodash/toPairsIn.d.ts +2 -2
  664. lodash/toPath.d.ts +2 -2
  665. lodash/toPlainObject.d.ts +2 -2
  666. lodash/toSafeInteger.d.ts +2 -2
  667. lodash/toString.d.ts +2 -2
  668. lodash/toUpper.d.ts +2 -2
  669. lodash/transform.d.ts +2 -2
  670. lodash/trim.d.ts +2 -2
  671. lodash/trimEnd.d.ts +2 -2
  672. lodash/trimStart.d.ts +2 -2
  673. lodash/truncate.d.ts +2 -2
  674. lodash/unary.d.ts +2 -2
  675. lodash/unescape.d.ts +2 -2
  676. lodash/union.d.ts +2 -2
  677. lodash/unionBy.d.ts +2 -2
  678. lodash/unionWith.d.ts +2 -2
  679. lodash/uniq.d.ts +2 -2
  680. lodash/uniqBy.d.ts +2 -2
  681. lodash/uniqWith.d.ts +2 -2
  682. lodash/uniqueId.d.ts +2 -2
  683. lodash/unset.d.ts +2 -2
  684. lodash/unzip.d.ts +2 -2
  685. lodash/unzipWith.d.ts +2 -2
  686. lodash/update.d.ts +2 -2
  687. lodash/updateWith.d.ts +2 -2
  688. lodash/upperCase.d.ts +2 -2
  689. lodash/upperFirst.d.ts +2 -2
  690. lodash/values.d.ts +2 -2
  691. lodash/valuesIn.d.ts +2 -2
  692. lodash/without.d.ts +2 -2
  693. lodash/words.d.ts +2 -2
  694. lodash/wrap.d.ts +2 -2
  695. lodash/xor.d.ts +2 -2
  696. lodash/xorBy.d.ts +2 -2
  697. lodash/xorWith.d.ts +2 -2
  698. lodash/zip.d.ts +2 -2
  699. lodash/zipObject.d.ts +2 -2
  700. lodash/zipObjectDeep.d.ts +2 -2
  701. lodash/zipWith.d.ts +2 -2
lodash/common/math.d.ts CHANGED
@@ -1,532 +1,532 @@
1
- import _ = require("../index");
2
- declare module "../index" {
3
- // add
4
-
5
- interface LoDashStatic {
6
- /**
7
- * Adds two numbers.
8
- *
9
- * @param augend The first number to add.
10
- * @param addend The second number to add.
11
- * @return Returns the sum.
12
- */
13
- add(
14
- augend: number,
15
- addend: number
16
- ): number;
17
- }
18
-
19
- interface LoDashImplicitWrapper<TValue> {
20
- /**
21
- * @see _.add
22
- */
23
- add(addend: number): number;
24
- }
25
-
26
- interface LoDashExplicitWrapper<TValue> {
27
- /**
28
- * @see _.add
29
- */
30
- add(addend: number): LoDashExplicitWrapper<number>;
31
- }
32
-
33
- // ceil
34
-
35
- interface LoDashStatic {
36
- /**
37
- * Calculates n rounded up to precision.
38
- *
39
- * @param n The number to round up.
40
- * @param precision The precision to round up to.
41
- * @return Returns the rounded up number.
42
- */
43
- ceil(
44
- n: number,
45
- precision?: number
46
- ): number;
47
- }
48
-
49
- interface LoDashImplicitWrapper<TValue> {
50
- /**
51
- * @see _.ceil
52
- */
53
- ceil(precision?: number): number;
54
- }
55
-
56
- interface LoDashExplicitWrapper<TValue> {
57
- /**
58
- * @see _.ceil
59
- */
60
- ceil(precision?: number): LoDashExplicitWrapper<number>;
61
- }
62
-
63
- // divide
64
-
65
- interface LoDashStatic {
66
- /**
67
- * Divide two numbers.
68
- *
69
- * @param dividend The first number in a division.
70
- * @param divisor The second number in a division.
71
- * @returns Returns the quotient.
72
- */
73
- divide(
74
- dividend: number,
75
- divisor: number
76
- ): number;
77
- }
78
-
79
- interface LoDashImplicitWrapper<TValue> {
80
- /**
81
- * @see _.divide
82
- */
83
- divide(divisor: number): number;
84
- }
85
-
86
- interface LoDashExplicitWrapper<TValue> {
87
- /**
88
- * @see _.divide
89
- */
90
- divide(divisor: number): LoDashExplicitWrapper<number>;
91
- }
92
-
93
- // floor
94
-
95
- interface LoDashStatic {
96
- /**
97
- * Calculates n rounded down to precision.
98
- *
99
- * @param n The number to round down.
100
- * @param precision The precision to round down to.
101
- * @return Returns the rounded down number.
102
- */
103
- floor(
104
- n: number,
105
- precision?: number
106
- ): number;
107
- }
108
-
109
- interface LoDashImplicitWrapper<TValue> {
110
- /**
111
- * @see _.floor
112
- */
113
- floor(precision?: number): number;
114
- }
115
-
116
- interface LoDashExplicitWrapper<TValue> {
117
- /**
118
- * @see _.floor
119
- */
120
- floor(precision?: number): LoDashExplicitWrapper<number>;
121
- }
122
-
123
- // max
124
-
125
- interface LoDashStatic {
126
- /**
127
- * Computes the maximum value of `array`. If `array` is empty or falsey
128
- * `undefined` is returned.
129
- *
130
- * @category Math
131
- * @param array The array to iterate over.
132
- * @returns Returns the maximum value.
133
- */
134
- max<T>(
135
- collection: List<T> | null | undefined
136
- ): T | undefined;
137
- }
138
-
139
- interface LoDashImplicitWrapper<TValue> {
140
- /**
141
- * @see _.max
142
- */
143
- max<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>): T | undefined;
144
- }
145
-
146
- interface LoDashExplicitWrapper<TValue> {
147
- /**
148
- * @see _.max
149
- */
150
- max<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>): LoDashExplicitWrapper<T | undefined>;
151
- }
152
-
153
- // maxBy
154
-
155
- interface LoDashStatic {
156
- /**
157
- * This method is like `_.max` except that it accepts `iteratee` which is
158
- * invoked for each element in `array` to generate the criterion by which
159
- * the value is ranked. The iteratee is invoked with one argument: (value).
160
- *
161
- * @category Math
162
- * @param array The array to iterate over.
163
- * @param iteratee The iteratee invoked per element.
164
- * @returns Returns the maximum value.
165
- * @example
166
- *
167
- * var objects = [{ 'n': 1 }, { 'n': 2 }];
168
- *
169
- * _.maxBy(objects, function(o) { return o.a; });
170
- * // => { 'n': 2 }
171
- *
172
- * // using the `_.property` iteratee shorthand
173
- * _.maxBy(objects, 'n');
174
- * // => { 'n': 2 }
175
- */
176
- maxBy<T>(
177
- collection: List<T> | null | undefined,
178
- iteratee?: ValueIteratee<T>
179
- ): T | undefined;
180
- }
181
-
182
- interface LoDashImplicitWrapper<TValue> {
183
- /**
184
- * @see _.maxBy
185
- */
186
- maxBy<T>(
187
- this: LoDashImplicitWrapper<List<T> | null | undefined>,
188
- iteratee?: ValueIteratee<T>
189
- ): T | undefined;
190
- }
191
-
192
- interface LoDashExplicitWrapper<TValue> {
193
- /**
194
- * @see _.maxBy
195
- */
196
- maxBy<T>(
197
- this: LoDashExplicitWrapper<List<T> | null | undefined>,
198
- iteratee?: ValueIteratee<T>
199
- ): LoDashExplicitWrapper<T | undefined>;
200
- }
201
-
202
- // mean
203
-
204
- interface LoDashStatic {
205
- /**
206
- * Computes the mean of the values in `array`.
207
- *
208
- * @category Math
209
- * @param array The array to iterate over.
210
- * @returns Returns the mean.
211
- * @example
212
- *
213
- * _.mean([4, 2, 8, 6]);
214
- * // => 5
215
- */
216
- mean(
217
- collection: List<any> | null | undefined
218
- ): number;
219
- }
220
-
221
- interface LoDashImplicitWrapper<TValue> {
222
- /**
223
- * @see _.mean
224
- */
225
- mean(): number;
226
- }
227
-
228
- interface LoDashExplicitWrapper<TValue> {
229
- /**
230
- * @see _.mean
231
- */
232
- mean(): LoDashExplicitWrapper<number>;
233
- }
234
-
235
- // meanBy
236
-
237
- interface LoDashStatic {
238
- /**
239
- * Computes the mean of the provided propties of the objects in the `array`
240
- *
241
- * @category Math
242
- * @param array The array to iterate over.
243
- * @param iteratee The iteratee invoked per element.
244
- * @returns Returns the mean.
245
- * @example
246
- *
247
- * _.mean([{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }], 'n');
248
- * // => 5
249
- */
250
- meanBy<T>(
251
- collection: List<T> | null | undefined,
252
- iteratee?: ValueIteratee<T>
253
- ): number;
254
- }
255
-
256
- interface LoDashImplicitWrapper<TValue> {
257
- /**
258
- * @see _.meanBy
259
- */
260
- meanBy<T>(
261
- this: LoDashImplicitWrapper<List<T> | null | undefined>,
262
- iteratee?: ValueIteratee<T>
263
- ): number;
264
- }
265
-
266
- interface LoDashExplicitWrapper<TValue> {
267
- /**
268
- * @see _.meanBy
269
- */
270
- meanBy<T>(
271
- this: LoDashExplicitWrapper<List<T> | null | undefined>,
272
- iteratee?: ValueIteratee<T>
273
- ): LoDashExplicitWrapper<number>;
274
- }
275
-
276
- // min
277
-
278
- interface LoDashStatic {
279
- /**
280
- * Computes the minimum value of `array`. If `array` is empty or falsey
281
- * `undefined` is returned.
282
- *
283
- * @category Math
284
- * @param array The array to iterate over.
285
- * @returns Returns the minimum value.
286
- */
287
- min<T>(
288
- collection: List<T> | null | undefined
289
- ): T | undefined;
290
- }
291
-
292
- interface LoDashImplicitWrapper<TValue> {
293
- /**
294
- * @see _.min
295
- */
296
- min<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>): T | undefined;
297
- }
298
-
299
- interface LoDashExplicitWrapper<TValue> {
300
- /**
301
- * @see _.min
302
- */
303
- min<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>): LoDashExplicitWrapper<T | undefined>;
304
- }
305
-
306
- // minBy
307
-
308
- interface LoDashStatic {
309
- /**
310
- * This method is like `_.min` except that it accepts `iteratee` which is
311
- * invoked for each element in `array` to generate the criterion by which
312
- * the value is ranked. The iteratee is invoked with one argument: (value).
313
- *
314
- * @category Math
315
- * @param array The array to iterate over.
316
- * @param iteratee The iteratee invoked per element.
317
- * @returns Returns the minimum value.
318
- * @example
319
- *
320
- * var objects = [{ 'n': 1 }, { 'n': 2 }];
321
- *
322
- * _.minBy(objects, function(o) { return o.a; });
323
- * // => { 'n': 1 }
324
- *
325
- * // using the `_.property` iteratee shorthand
326
- * _.minBy(objects, 'n');
327
- * // => { 'n': 1 }
328
- */
329
- minBy<T>(
330
- collection: List<T> | null | undefined,
331
- iteratee?: ValueIteratee<T>
332
- ): T | undefined;
333
- }
334
-
335
- interface LoDashImplicitWrapper<TValue> {
336
- /**
337
- * @see _.minBy
338
- */
339
- minBy<T>(
340
- this: LoDashImplicitWrapper<List<T> | null | undefined>,
341
- iteratee?: ValueIteratee<T>
342
- ): T | undefined;
343
- }
344
-
345
- interface LoDashExplicitWrapper<TValue> {
346
- /**
347
- * @see _.minBy
348
- */
349
- minBy<T>(
350
- this: LoDashExplicitWrapper<List<T> | null | undefined>,
351
- iteratee?: ValueIteratee<T>
352
- ): LoDashExplicitWrapper<T | undefined>;
353
- }
354
-
355
- // multiply
356
-
357
- interface LoDashStatic {
358
- /**
359
- * Multiply two numbers.
360
- * @param multiplier The first number in a multiplication.
361
- * @param multiplicand The second number in a multiplication.
362
- * @returns Returns the product.
363
- */
364
- multiply(
365
- multiplier: number,
366
- multiplicand: number
367
- ): number;
368
- }
369
-
370
- interface LoDashImplicitWrapper<TValue> {
371
- /**
372
- * @see _.multiply
373
- */
374
- multiply(multiplicand: number): number;
375
- }
376
-
377
- interface LoDashExplicitWrapper<TValue> {
378
- /**
379
- * @see _.multiply
380
- */
381
- multiply(multiplicand: number): LoDashExplicitWrapper<number>;
382
- }
383
-
384
- // round
385
-
386
- interface LoDashStatic {
387
- /**
388
- * Calculates n rounded to precision.
389
- *
390
- * @param n The number to round.
391
- * @param precision The precision to round to.
392
- * @return Returns the rounded number.
393
- */
394
- round(
395
- n: number,
396
- precision?: number
397
- ): number;
398
- }
399
-
400
- interface LoDashImplicitWrapper<TValue> {
401
- /**
402
- * @see _.round
403
- */
404
- round(precision?: number): number;
405
- }
406
-
407
- interface LoDashExplicitWrapper<TValue> {
408
- /**
409
- * @see _.round
410
- */
411
- round(precision?: number): LoDashExplicitWrapper<number>;
412
- }
413
-
414
- // subtract
415
-
416
- interface LoDashStatic {
417
- /**
418
- * Subtract two numbers.
419
- *
420
- * @category Math
421
- * @param minuend The first number in a subtraction.
422
- * @param subtrahend The second number in a subtraction.
423
- * @returns Returns the difference.
424
- * @example
425
- *
426
- * _.subtract(6, 4);
427
- * // => 2
428
- */
429
- subtract(
430
- minuend: number,
431
- subtrahend: number
432
- ): number;
433
- }
434
-
435
- interface LoDashImplicitWrapper<TValue> {
436
- /**
437
- * @see _.subtract
438
- */
439
- subtract(
440
- subtrahend: number
441
- ): number;
442
- }
443
-
444
- interface LoDashExplicitWrapper<TValue> {
445
- /**
446
- * @see _.subtract
447
- */
448
- subtract(
449
- subtrahend: number
450
- ): LoDashExplicitWrapper<number>;
451
- }
452
-
453
- // sum
454
-
455
- interface LoDashStatic {
456
- /**
457
- * Computes the sum of the values in `array`.
458
- *
459
- * @category Math
460
- * @param array The array to iterate over.
461
- * @returns Returns the sum.
462
- * @example
463
- *
464
- * _.sum([4, 2, 8, 6]);
465
- * // => 20
466
- */
467
- sum(collection: List<any> | null | undefined): number;
468
- }
469
-
470
- interface LoDashImplicitWrapper<TValue> {
471
- /**
472
- * @see _.sum
473
- */
474
- sum(): number;
475
- }
476
-
477
- interface LoDashExplicitWrapper<TValue> {
478
- /**
479
- * @see _.sum
480
- */
481
- sum(): LoDashExplicitWrapper<number>;
482
- }
483
-
484
- // sumBy
485
-
486
- interface LoDashStatic {
487
- /**
488
- * This method is like `_.sum` except that it accepts `iteratee` which is
489
- * invoked for each element in `array` to generate the value to be summed.
490
- * The iteratee is invoked with one argument: (value).
491
- *
492
- * @category Math
493
- * @param array The array to iterate over.
494
- * @param [iteratee=_.identity] The iteratee invoked per element.
495
- * @returns Returns the sum.
496
- * @example
497
- *
498
- * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
499
- *
500
- * _.sumBy(objects, function(o) { return o.n; });
501
- * // => 20
502
- *
503
- * // using the `_.property` iteratee shorthand
504
- * _.sumBy(objects, 'n');
505
- * // => 20
506
- */
507
- sumBy<T>(
508
- collection: List<T> | null | undefined,
509
- iteratee?: ((value: T) => number) | string
510
- ): number;
511
- }
512
-
513
- interface LoDashImplicitWrapper<TValue> {
514
- /**
515
- * @see _.sumBy
516
- */
517
- sumBy<T>(
518
- this: LoDashImplicitWrapper<List<T> | null | undefined>,
519
- iteratee?: ((value: T) => number) | string
520
- ): number;
521
- }
522
-
523
- interface LoDashExplicitWrapper<TValue> {
524
- /**
525
- * @see _.sumBy
526
- */
527
- sumBy<T>(
528
- this: LoDashExplicitWrapper<List<T> | null | undefined>,
529
- iteratee?: ((value: T) => number) | string
530
- ): LoDashExplicitWrapper<number>;
531
- }
532
- }
1
+ import _ = require("../index");
2
+ declare module "../index" {
3
+ // add
4
+
5
+ interface LoDashStatic {
6
+ /**
7
+ * Adds two numbers.
8
+ *
9
+ * @param augend The first number to add.
10
+ * @param addend The second number to add.
11
+ * @return Returns the sum.
12
+ */
13
+ add(
14
+ augend: number,
15
+ addend: number
16
+ ): number;
17
+ }
18
+
19
+ interface LoDashImplicitWrapper<TValue> {
20
+ /**
21
+ * @see _.add
22
+ */
23
+ add(addend: number): number;
24
+ }
25
+
26
+ interface LoDashExplicitWrapper<TValue> {
27
+ /**
28
+ * @see _.add
29
+ */
30
+ add(addend: number): LoDashExplicitWrapper<number>;
31
+ }
32
+
33
+ // ceil
34
+
35
+ interface LoDashStatic {
36
+ /**
37
+ * Calculates n rounded up to precision.
38
+ *
39
+ * @param n The number to round up.
40
+ * @param precision The precision to round up to.
41
+ * @return Returns the rounded up number.
42
+ */
43
+ ceil(
44
+ n: number,
45
+ precision?: number
46
+ ): number;
47
+ }
48
+
49
+ interface LoDashImplicitWrapper<TValue> {
50
+ /**
51
+ * @see _.ceil
52
+ */
53
+ ceil(precision?: number): number;
54
+ }
55
+
56
+ interface LoDashExplicitWrapper<TValue> {
57
+ /**
58
+ * @see _.ceil
59
+ */
60
+ ceil(precision?: number): LoDashExplicitWrapper<number>;
61
+ }
62
+
63
+ // divide
64
+
65
+ interface LoDashStatic {
66
+ /**
67
+ * Divide two numbers.
68
+ *
69
+ * @param dividend The first number in a division.
70
+ * @param divisor The second number in a division.
71
+ * @returns Returns the quotient.
72
+ */
73
+ divide(
74
+ dividend: number,
75
+ divisor: number
76
+ ): number;
77
+ }
78
+
79
+ interface LoDashImplicitWrapper<TValue> {
80
+ /**
81
+ * @see _.divide
82
+ */
83
+ divide(divisor: number): number;
84
+ }
85
+
86
+ interface LoDashExplicitWrapper<TValue> {
87
+ /**
88
+ * @see _.divide
89
+ */
90
+ divide(divisor: number): LoDashExplicitWrapper<number>;
91
+ }
92
+
93
+ // floor
94
+
95
+ interface LoDashStatic {
96
+ /**
97
+ * Calculates n rounded down to precision.
98
+ *
99
+ * @param n The number to round down.
100
+ * @param precision The precision to round down to.
101
+ * @return Returns the rounded down number.
102
+ */
103
+ floor(
104
+ n: number,
105
+ precision?: number
106
+ ): number;
107
+ }
108
+
109
+ interface LoDashImplicitWrapper<TValue> {
110
+ /**
111
+ * @see _.floor
112
+ */
113
+ floor(precision?: number): number;
114
+ }
115
+
116
+ interface LoDashExplicitWrapper<TValue> {
117
+ /**
118
+ * @see _.floor
119
+ */
120
+ floor(precision?: number): LoDashExplicitWrapper<number>;
121
+ }
122
+
123
+ // max
124
+
125
+ interface LoDashStatic {
126
+ /**
127
+ * Computes the maximum value of `array`. If `array` is empty or falsey
128
+ * `undefined` is returned.
129
+ *
130
+ * @category Math
131
+ * @param array The array to iterate over.
132
+ * @returns Returns the maximum value.
133
+ */
134
+ max<T>(
135
+ collection: List<T> | null | undefined
136
+ ): T | undefined;
137
+ }
138
+
139
+ interface LoDashImplicitWrapper<TValue> {
140
+ /**
141
+ * @see _.max
142
+ */
143
+ max<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>): T | undefined;
144
+ }
145
+
146
+ interface LoDashExplicitWrapper<TValue> {
147
+ /**
148
+ * @see _.max
149
+ */
150
+ max<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>): LoDashExplicitWrapper<T | undefined>;
151
+ }
152
+
153
+ // maxBy
154
+
155
+ interface LoDashStatic {
156
+ /**
157
+ * This method is like `_.max` except that it accepts `iteratee` which is
158
+ * invoked for each element in `array` to generate the criterion by which
159
+ * the value is ranked. The iteratee is invoked with one argument: (value).
160
+ *
161
+ * @category Math
162
+ * @param array The array to iterate over.
163
+ * @param iteratee The iteratee invoked per element.
164
+ * @returns Returns the maximum value.
165
+ * @example
166
+ *
167
+ * var objects = [{ 'n': 1 }, { 'n': 2 }];
168
+ *
169
+ * _.maxBy(objects, function(o) { return o.a; });
170
+ * // => { 'n': 2 }
171
+ *
172
+ * // using the `_.property` iteratee shorthand
173
+ * _.maxBy(objects, 'n');
174
+ * // => { 'n': 2 }
175
+ */
176
+ maxBy<T>(
177
+ collection: List<T> | null | undefined,
178
+ iteratee?: ValueIteratee<T>
179
+ ): T | undefined;
180
+ }
181
+
182
+ interface LoDashImplicitWrapper<TValue> {
183
+ /**
184
+ * @see _.maxBy
185
+ */
186
+ maxBy<T>(
187
+ this: LoDashImplicitWrapper<List<T> | null | undefined>,
188
+ iteratee?: ValueIteratee<T>
189
+ ): T | undefined;
190
+ }
191
+
192
+ interface LoDashExplicitWrapper<TValue> {
193
+ /**
194
+ * @see _.maxBy
195
+ */
196
+ maxBy<T>(
197
+ this: LoDashExplicitWrapper<List<T> | null | undefined>,
198
+ iteratee?: ValueIteratee<T>
199
+ ): LoDashExplicitWrapper<T | undefined>;
200
+ }
201
+
202
+ // mean
203
+
204
+ interface LoDashStatic {
205
+ /**
206
+ * Computes the mean of the values in `array`.
207
+ *
208
+ * @category Math
209
+ * @param array The array to iterate over.
210
+ * @returns Returns the mean.
211
+ * @example
212
+ *
213
+ * _.mean([4, 2, 8, 6]);
214
+ * // => 5
215
+ */
216
+ mean(
217
+ collection: List<any> | null | undefined
218
+ ): number;
219
+ }
220
+
221
+ interface LoDashImplicitWrapper<TValue> {
222
+ /**
223
+ * @see _.mean
224
+ */
225
+ mean(): number;
226
+ }
227
+
228
+ interface LoDashExplicitWrapper<TValue> {
229
+ /**
230
+ * @see _.mean
231
+ */
232
+ mean(): LoDashExplicitWrapper<number>;
233
+ }
234
+
235
+ // meanBy
236
+
237
+ interface LoDashStatic {
238
+ /**
239
+ * Computes the mean of the provided propties of the objects in the `array`
240
+ *
241
+ * @category Math
242
+ * @param array The array to iterate over.
243
+ * @param iteratee The iteratee invoked per element.
244
+ * @returns Returns the mean.
245
+ * @example
246
+ *
247
+ * _.mean([{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }], 'n');
248
+ * // => 5
249
+ */
250
+ meanBy<T>(
251
+ collection: List<T> | null | undefined,
252
+ iteratee?: ValueIteratee<T>
253
+ ): number;
254
+ }
255
+
256
+ interface LoDashImplicitWrapper<TValue> {
257
+ /**
258
+ * @see _.meanBy
259
+ */
260
+ meanBy<T>(
261
+ this: LoDashImplicitWrapper<List<T> | null | undefined>,
262
+ iteratee?: ValueIteratee<T>
263
+ ): number;
264
+ }
265
+
266
+ interface LoDashExplicitWrapper<TValue> {
267
+ /**
268
+ * @see _.meanBy
269
+ */
270
+ meanBy<T>(
271
+ this: LoDashExplicitWrapper<List<T> | null | undefined>,
272
+ iteratee?: ValueIteratee<T>
273
+ ): LoDashExplicitWrapper<number>;
274
+ }
275
+
276
+ // min
277
+
278
+ interface LoDashStatic {
279
+ /**
280
+ * Computes the minimum value of `array`. If `array` is empty or falsey
281
+ * `undefined` is returned.
282
+ *
283
+ * @category Math
284
+ * @param array The array to iterate over.
285
+ * @returns Returns the minimum value.
286
+ */
287
+ min<T>(
288
+ collection: List<T> | null | undefined
289
+ ): T | undefined;
290
+ }
291
+
292
+ interface LoDashImplicitWrapper<TValue> {
293
+ /**
294
+ * @see _.min
295
+ */
296
+ min<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>): T | undefined;
297
+ }
298
+
299
+ interface LoDashExplicitWrapper<TValue> {
300
+ /**
301
+ * @see _.min
302
+ */
303
+ min<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>): LoDashExplicitWrapper<T | undefined>;
304
+ }
305
+
306
+ // minBy
307
+
308
+ interface LoDashStatic {
309
+ /**
310
+ * This method is like `_.min` except that it accepts `iteratee` which is
311
+ * invoked for each element in `array` to generate the criterion by which
312
+ * the value is ranked. The iteratee is invoked with one argument: (value).
313
+ *
314
+ * @category Math
315
+ * @param array The array to iterate over.
316
+ * @param iteratee The iteratee invoked per element.
317
+ * @returns Returns the minimum value.
318
+ * @example
319
+ *
320
+ * var objects = [{ 'n': 1 }, { 'n': 2 }];
321
+ *
322
+ * _.minBy(objects, function(o) { return o.a; });
323
+ * // => { 'n': 1 }
324
+ *
325
+ * // using the `_.property` iteratee shorthand
326
+ * _.minBy(objects, 'n');
327
+ * // => { 'n': 1 }
328
+ */
329
+ minBy<T>(
330
+ collection: List<T> | null | undefined,
331
+ iteratee?: ValueIteratee<T>
332
+ ): T | undefined;
333
+ }
334
+
335
+ interface LoDashImplicitWrapper<TValue> {
336
+ /**
337
+ * @see _.minBy
338
+ */
339
+ minBy<T>(
340
+ this: LoDashImplicitWrapper<List<T> | null | undefined>,
341
+ iteratee?: ValueIteratee<T>
342
+ ): T | undefined;
343
+ }
344
+
345
+ interface LoDashExplicitWrapper<TValue> {
346
+ /**
347
+ * @see _.minBy
348
+ */
349
+ minBy<T>(
350
+ this: LoDashExplicitWrapper<List<T> | null | undefined>,
351
+ iteratee?: ValueIteratee<T>
352
+ ): LoDashExplicitWrapper<T | undefined>;
353
+ }
354
+
355
+ // multiply
356
+
357
+ interface LoDashStatic {
358
+ /**
359
+ * Multiply two numbers.
360
+ * @param multiplier The first number in a multiplication.
361
+ * @param multiplicand The second number in a multiplication.
362
+ * @returns Returns the product.
363
+ */
364
+ multiply(
365
+ multiplier: number,
366
+ multiplicand: number
367
+ ): number;
368
+ }
369
+
370
+ interface LoDashImplicitWrapper<TValue> {
371
+ /**
372
+ * @see _.multiply
373
+ */
374
+ multiply(multiplicand: number): number;
375
+ }
376
+
377
+ interface LoDashExplicitWrapper<TValue> {
378
+ /**
379
+ * @see _.multiply
380
+ */
381
+ multiply(multiplicand: number): LoDashExplicitWrapper<number>;
382
+ }
383
+
384
+ // round
385
+
386
+ interface LoDashStatic {
387
+ /**
388
+ * Calculates n rounded to precision.
389
+ *
390
+ * @param n The number to round.
391
+ * @param precision The precision to round to.
392
+ * @return Returns the rounded number.
393
+ */
394
+ round(
395
+ n: number,
396
+ precision?: number
397
+ ): number;
398
+ }
399
+
400
+ interface LoDashImplicitWrapper<TValue> {
401
+ /**
402
+ * @see _.round
403
+ */
404
+ round(precision?: number): number;
405
+ }
406
+
407
+ interface LoDashExplicitWrapper<TValue> {
408
+ /**
409
+ * @see _.round
410
+ */
411
+ round(precision?: number): LoDashExplicitWrapper<number>;
412
+ }
413
+
414
+ // subtract
415
+
416
+ interface LoDashStatic {
417
+ /**
418
+ * Subtract two numbers.
419
+ *
420
+ * @category Math
421
+ * @param minuend The first number in a subtraction.
422
+ * @param subtrahend The second number in a subtraction.
423
+ * @returns Returns the difference.
424
+ * @example
425
+ *
426
+ * _.subtract(6, 4);
427
+ * // => 2
428
+ */
429
+ subtract(
430
+ minuend: number,
431
+ subtrahend: number
432
+ ): number;
433
+ }
434
+
435
+ interface LoDashImplicitWrapper<TValue> {
436
+ /**
437
+ * @see _.subtract
438
+ */
439
+ subtract(
440
+ subtrahend: number
441
+ ): number;
442
+ }
443
+
444
+ interface LoDashExplicitWrapper<TValue> {
445
+ /**
446
+ * @see _.subtract
447
+ */
448
+ subtract(
449
+ subtrahend: number
450
+ ): LoDashExplicitWrapper<number>;
451
+ }
452
+
453
+ // sum
454
+
455
+ interface LoDashStatic {
456
+ /**
457
+ * Computes the sum of the values in `array`.
458
+ *
459
+ * @category Math
460
+ * @param array The array to iterate over.
461
+ * @returns Returns the sum.
462
+ * @example
463
+ *
464
+ * _.sum([4, 2, 8, 6]);
465
+ * // => 20
466
+ */
467
+ sum(collection: List<any> | null | undefined): number;
468
+ }
469
+
470
+ interface LoDashImplicitWrapper<TValue> {
471
+ /**
472
+ * @see _.sum
473
+ */
474
+ sum(): number;
475
+ }
476
+
477
+ interface LoDashExplicitWrapper<TValue> {
478
+ /**
479
+ * @see _.sum
480
+ */
481
+ sum(): LoDashExplicitWrapper<number>;
482
+ }
483
+
484
+ // sumBy
485
+
486
+ interface LoDashStatic {
487
+ /**
488
+ * This method is like `_.sum` except that it accepts `iteratee` which is
489
+ * invoked for each element in `array` to generate the value to be summed.
490
+ * The iteratee is invoked with one argument: (value).
491
+ *
492
+ * @category Math
493
+ * @param array The array to iterate over.
494
+ * @param [iteratee=_.identity] The iteratee invoked per element.
495
+ * @returns Returns the sum.
496
+ * @example
497
+ *
498
+ * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
499
+ *
500
+ * _.sumBy(objects, function(o) { return o.n; });
501
+ * // => 20
502
+ *
503
+ * // using the `_.property` iteratee shorthand
504
+ * _.sumBy(objects, 'n');
505
+ * // => 20
506
+ */
507
+ sumBy<T>(
508
+ collection: List<T> | null | undefined,
509
+ iteratee?: ((value: T) => number) | string
510
+ ): number;
511
+ }
512
+
513
+ interface LoDashImplicitWrapper<TValue> {
514
+ /**
515
+ * @see _.sumBy
516
+ */
517
+ sumBy<T>(
518
+ this: LoDashImplicitWrapper<List<T> | null | undefined>,
519
+ iteratee?: ((value: T) => number) | string
520
+ ): number;
521
+ }
522
+
523
+ interface LoDashExplicitWrapper<TValue> {
524
+ /**
525
+ * @see _.sumBy
526
+ */
527
+ sumBy<T>(
528
+ this: LoDashExplicitWrapper<List<T> | null | undefined>,
529
+ iteratee?: ((value: T) => number) | string
530
+ ): LoDashExplicitWrapper<number>;
531
+ }
532
+ }