@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/common.d.ts CHANGED
@@ -1,266 +1,268 @@
1
- import _ = require("../index");
2
- // tslint:disable-next-line:strict-export-declare-modifiers
3
- type GlobalPartial<T> = Partial<T>;
4
- declare module "../index" {
5
- type PartialObject<T> = GlobalPartial<T>;
6
- type Many<T> = T | T[]; // TODO: Should be ReadonlyArray<T>, but requires ts2.5 to not infinitely loop
7
- interface LoDashStatic {
8
- /**
9
- * Creates a lodash object which wraps value to enable implicit method chain sequences.
10
- * Methods that operate on and return arrays, collections, and functions can be chained together.
11
- * Methods that retrieve a single value or may return a primitive value will automatically end the
12
- * chain sequence and return the unwrapped value. Otherwise, the value must be unwrapped with value().
13
- *
14
- * Explicit chain sequences, which must be unwrapped with value(), may be enabled using _.chain.
15
- *
16
- * The execution of chained methods is lazy, that is, it's deferred until value() is
17
- * implicitly or explicitly called.
18
- *
19
- * Lazy evaluation allows several methods to support shortcut fusion. Shortcut fusion
20
- * is an optimization to merge iteratee calls; this avoids the creation of intermediate
21
- * arrays and can greatly reduce the number of iteratee executions. Sections of a chain
22
- * sequence qualify for shortcut fusion if the section is applied to an array and iteratees
23
- * accept only one argument. The heuristic for whether a section qualifies for shortcut
24
- * fusion is subject to change.
25
- *
26
- * Chaining is supported in custom builds as long as the value() method is directly or
27
- * indirectly included in the build.
28
- *
29
- * In addition to lodash methods, wrappers have Array and String methods.
30
- * The wrapper Array methods are:
31
- * concat, join, pop, push, shift, sort, splice, and unshift.
32
- * The wrapper String methods are:
33
- * replace and split.
34
- *
35
- * The wrapper methods that support shortcut fusion are:
36
- * at, compact, drop, dropRight, dropWhile, filter, find, findLast, head, initial, last,
37
- * map, reject, reverse, slice, tail, take, takeRight, takeRightWhile, takeWhile, and toArray
38
- *
39
- * The chainable wrapper methods are:
40
- * after, ary, assign, assignIn, assignInWith, assignWith, at, before, bind, bindAll, bindKey,
41
- * castArray, chain, chunk, commit, compact, concat, conforms, constant, countBy, create,
42
- * curry, debounce, defaults, defaultsDeep, defer, delay, difference, differenceBy, differenceWith,
43
- * drop, dropRight, dropRightWhile, dropWhile, extend, extendWith, fill, filter, flatMap,
44
- * flatMapDeep, flatMapDepth, flatten, flattenDeep, flattenDepth, flip, flow, flowRight,
45
- * fromPairs, functions, functionsIn, groupBy, initial, intersection, intersectionBy, intersectionWith,
46
- * invert, invertBy, invokeMap, iteratee, keyBy, keys, keysIn, map, mapKeys, mapValues,
47
- * matches, matchesProperty, memoize, merge, mergeWith, method, methodOf, mixin, negate,
48
- * nthArg, omit, omitBy, once, orderBy, over, overArgs, overEvery, overSome, partial, partialRight,
49
- * partition, pick, pickBy, plant, property, propertyOf, pull, pullAll, pullAllBy, pullAllWith, pullAt,
50
- * push, range, rangeRight, rearg, reject, remove, rest, reverse, sampleSize, set, setWith,
51
- * shuffle, slice, sort, sortBy, sortedUniq, sortedUniqBy, splice, spread, tail, take,
52
- * takeRight, takeRightWhile, takeWhile, tap, throttle, thru, toArray, toPairs, toPairsIn,
53
- * toPath, toPlainObject, transform, unary, union, unionBy, unionWith, uniq, uniqBy, uniqWith,
54
- * unset, unshift, unzip, unzipWith, update, updateWith, values, valuesIn, without, wrap,
55
- * xor, xorBy, xorWith, zip, zipObject, zipObjectDeep, and zipWith.
56
- *
57
- * The wrapper methods that are not chainable by default are:
58
- * add, attempt, camelCase, capitalize, ceil, clamp, clone, cloneDeep, cloneDeepWith, cloneWith,
59
- * conformsTo, deburr, defaultTo, divide, each, eachRight, endsWith, eq, escape, escapeRegExp,
60
- * every, find, findIndex, findKey, findLast, findLastIndex, findLastKey, first, floor, forEach,
61
- * forEachRight, forIn, forInRight, forOwn, forOwnRight, get, gt, gte, has, hasIn, head,
62
- * identity, includes, indexOf, inRange, invoke, isArguments, isArray, isArrayBuffer,
63
- * isArrayLike, isArrayLikeObject, isBoolean, isBuffer, isDate, isElement, isEmpty, isEqual, isEqualWith,
64
- * isError, isFinite, isFunction, isInteger, isLength, isMap, isMatch, isMatchWith, isNaN,
65
- * isNative, isNil, isNull, isNumber, isObject, isObjectLike, isPlainObject, isRegExp,
66
- * isSafeInteger, isSet, isString, isUndefined, isTypedArray, isWeakMap, isWeakSet, join,
67
- * kebabCase, last, lastIndexOf, lowerCase, lowerFirst, lt, lte, max, maxBy, mean, meanBy,
68
- * min, minBy, multiply, noConflict, noop, now, nth, pad, padEnd, padStart, parseInt, pop,
69
- * random, reduce, reduceRight, repeat, result, round, runInContext, sample, shift, size,
70
- * snakeCase, some, sortedIndex, sortedIndexBy, sortedLastIndex, sortedLastIndexBy, startCase,
71
- * startsWith, stubArray, stubFalse, stubObject, stubString, stubTrue, subtract, sum, sumBy,
72
- * template, times, toFinite, toInteger, toJSON, toLength, toLower, toNumber, toSafeInteger,
73
- * toString, toUpper, trim, trimEnd, trimStart, truncate, unescape, uniqueId, upperCase,
74
- * upperFirst, value, and words.
75
- **/
76
- <T>(value: T): LoDashImplicitWrapper<T>;
77
-
78
- /**
79
- * The semantic version number.
80
- **/
81
- VERSION: string;
82
-
83
- /**
84
- * By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby
85
- * (ERB). Change the following template settings to use alternative delimiters.
86
- **/
87
- templateSettings: TemplateSettings;
88
- }
89
-
90
- /**
91
- * By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby
92
- * (ERB). Change the following template settings to use alternative delimiters.
93
- **/
94
- interface TemplateSettings {
95
- /**
96
- * The "escape" delimiter.
97
- **/
98
- escape?: RegExp;
99
-
100
- /**
101
- * The "evaluate" delimiter.
102
- **/
103
- evaluate?: RegExp;
104
-
105
- /**
106
- * An object to import into the template as local variables.
107
- **/
108
- imports?: Dictionary<any>;
109
-
110
- /**
111
- * The "interpolate" delimiter.
112
- **/
113
- interpolate?: RegExp;
114
-
115
- /**
116
- * Used to reference the data object in the template text.
117
- **/
118
- variable?: string;
119
- }
120
-
121
- /**
122
- * Creates a cache object to store key/value pairs.
123
- */
124
- interface MapCache {
125
- /**
126
- * Removes `key` and its value from the cache.
127
- * @param key The key of the value to remove.
128
- * @return Returns `true` if the entry was removed successfully, else `false`.
129
- */
130
- delete(key: string): boolean;
131
-
132
- /**
133
- * Gets the cached value for `key`.
134
- * @param key The key of the value to get.
135
- * @return Returns the cached value.
136
- */
137
- get(key: string): any;
138
-
139
- /**
140
- * Checks if a cached value for `key` exists.
141
- * @param key The key of the entry to check.
142
- * @return Returns `true` if an entry for `key` exists, else `false`.
143
- */
144
- has(key: string): boolean;
145
-
146
- /**
147
- * Sets `value` to `key` of the cache.
148
- * @param key The key of the value to cache.
149
- * @param value The value to cache.
150
- * @return Returns the cache object.
151
- */
152
- set(key: string, value: any): Dictionary<any>;
153
-
154
- /**
155
- * Removes all key-value entries from the map.
156
- */
157
- clear(): void;
158
- }
159
- interface MapCacheConstructor {
160
- new (): MapCache;
161
- }
162
-
163
- interface LoDashImplicitWrapper<TValue> extends LoDashWrapper<TValue> {
164
- pop<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>): T | undefined;
165
- push<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>, ...items: T[]): this;
166
- shift<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>): T | undefined;
167
- sort<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>, compareFn?: (a: T, b: T) => number): this;
168
- splice<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>, start: number, deleteCount?: number, ...items: T[]): this;
169
- unshift<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>, ...items: T[]): this;
170
- }
171
-
172
- interface LoDashExplicitWrapper<TValue> extends LoDashWrapper<TValue> {
173
- pop<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>): LoDashExplicitWrapper<T | undefined>;
174
- push<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>, ...items: T[]): this;
175
- shift<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>): LoDashExplicitWrapper<T | undefined>;
176
- sort<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>, compareFn?: (a: T, b: T) => number): this;
177
- splice<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>, start: number, deleteCount?: number, ...items: T[]): this;
178
- unshift<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>, ...items: T[]): this;
179
- }
180
-
181
- type NotVoid = {} | null | undefined;
182
- type ArrayIterator<T, TResult> = (value: T, index: number, collection: T[]) => TResult;
183
- type ListIterator<T, TResult> = (value: T, index: number, collection: List<T>) => TResult;
184
- type ListIteratee<T> = ListIterator<T, NotVoid> | string | [string, any] | PartialDeep<T>;
185
- type ListIterateeCustom<T, TResult> = ListIterator<T, TResult> | string | [string, any] | PartialDeep<T>;
186
- type ListIteratorTypeGuard<T, S extends T> = (value: T, index: number, collection: List<T>) => value is S;
187
-
188
- // Note: key should be string, not keyof T, because the actual object may contain extra properties that were not specified in the type.
189
- type ObjectIterator<TObject, TResult> = (value: TObject[keyof TObject], key: string, collection: TObject) => TResult;
190
- type ObjectIteratee<TObject> = ObjectIterator<TObject, NotVoid> | string | [string, any] | PartialDeep<TObject[keyof TObject]>;
191
- type ObjectIterateeCustom<TObject, TResult> = ObjectIterator<TObject, TResult> | string | [string, any] | PartialDeep<TObject[keyof TObject]>;
192
- type ObjectIteratorTypeGuard<TObject, S extends TObject[keyof TObject]> = (value: TObject[keyof TObject], key: string, collection: TObject) => value is S;
193
-
194
- type StringIterator<TResult> = (char: string, index: number, string: string) => TResult;
195
-
196
- /** @deprecated Use MemoVoidArrayIterator or MemoVoidDictionaryIterator instead. */
197
- type MemoVoidIterator<T, TResult> = (prev: TResult, curr: T, indexOrKey: any, list: T[]) => void;
198
-
199
- /** @deprecated Use MemoListIterator or MemoObjectIterator instead. */
200
- type MemoIterator<T, TResult> = (prev: TResult, curr: T, indexOrKey: any, list: T[]) => TResult;
201
- type MemoListIterator<T, TResult, TList> = (prev: TResult, curr: T, index: number, list: TList) => TResult;
202
- type MemoObjectIterator<T, TResult, TList> = (prev: TResult, curr: T, key: string, list: TList) => TResult;
203
- type MemoIteratorCapped<T, TResult> = (prev: TResult, curr: T) => TResult;
204
- type MemoIteratorCappedRight<T, TResult> = (curr: T, prev: TResult) => TResult;
205
-
206
- type MemoVoidArrayIterator<T, TResult> = (acc: TResult, curr: T, index: number, arr: T[]) => void;
207
- type MemoVoidDictionaryIterator<T, TResult> = (acc: TResult, curr: T, key: string, dict: Dictionary<T>) => void;
208
- type MemoVoidIteratorCapped<T, TResult> = (acc: TResult, curr: T) => void;
209
-
210
- type ValueIteratee<T> = ((value: T) => NotVoid) | string | [string, any] | PartialDeep<T>;
211
- type ValueIterateeCustom<T, TResult> = ((value: T) => TResult) | string | [string, any] | PartialDeep<T>;
212
- type ValueIteratorTypeGuard<T, S extends T> = (value: T) => value is S;
213
- type ValueKeyIteratee<T> = ((value: T, key: string) => NotVoid) | string | [string, any] | PartialDeep<T>;
214
- type Comparator<T> = (a: T, b: T) => boolean;
215
- type Comparator2<T1, T2> = (a: T1, b: T2) => boolean;
216
-
217
- type PropertyName = string | number | symbol;
218
- type PropertyPath = Many<PropertyName>;
219
-
220
- /** Common interface between Arrays and jQuery objects */
221
- type List<T> = ArrayLike<T>;
222
-
223
- interface Dictionary<T> {
224
- [index: string]: T;
225
- }
226
-
227
- interface NumericDictionary<T> {
228
- [index: number]: T;
229
- }
230
-
231
- // Crazy typedef needed get _.omit to work properly with Dictionary and NumericDictionary
232
- type AnyKindOfDictionary =
233
- | Dictionary<{} | null | undefined>
234
- | NumericDictionary<{} | null | undefined>;
235
-
236
- interface Cancelable {
237
- cancel(): void;
238
- flush(): void;
239
- }
240
-
241
- type PartialDeep<T> = {
242
- [P in keyof T]?: PartialDeep<T[P]>;
243
- };
244
-
245
- // For backwards compatibility
246
- type LoDashImplicitArrayWrapper<T> = LoDashImplicitWrapper<T[]>;
247
- type LoDashImplicitNillableArrayWrapper<T> = LoDashImplicitWrapper<T[] | null | undefined>;
248
- type LoDashImplicitObjectWrapper<T> = LoDashImplicitWrapper<T>;
249
- type LoDashImplicitNillableObjectWrapper<T> = LoDashImplicitWrapper<T | null | undefined>;
250
- type LoDashImplicitNumberArrayWrapper = LoDashImplicitWrapper<number[]>;
251
- type LoDashImplicitStringWrapper = LoDashImplicitWrapper<string>;
252
- type LoDashExplicitArrayWrapper<T> = LoDashExplicitWrapper<T[]>;
253
- type LoDashExplicitNillableArrayWrapper<T> = LoDashExplicitWrapper<T[] | null | undefined>;
254
- type LoDashExplicitObjectWrapper<T> = LoDashExplicitWrapper<T>;
255
- type LoDashExplicitNillableObjectWrapper<T> = LoDashExplicitWrapper<T | null | undefined>;
256
- type LoDashExplicitNumberArrayWrapper = LoDashExplicitWrapper<number[]>;
257
- type LoDashExplicitStringWrapper = LoDashExplicitWrapper<string>;
258
-
259
- type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
260
- type DictionaryIteratee<T> = ObjectIteratee<Dictionary<T>>;
261
- type DictionaryIteratorTypeGuard<T, S extends T> = ObjectIteratorTypeGuard<Dictionary<T>, S>;
262
- // NOTE: keys of objects at run time are always strings, even when a NumericDictionary is being iterated.
263
- type NumericDictionaryIterator<T, TResult> = (value: T, key: string, collection: NumericDictionary<T>) => TResult;
264
- type NumericDictionaryIteratee<T> = NumericDictionaryIterator<T, NotVoid> | string | [string, any] | PartialDeep<T>;
265
- type NumericDictionaryIterateeCustom<T, TResult> = NumericDictionaryIterator<T, TResult> | string | [string, any] | PartialDeep<T>;
266
- }
1
+ import _ = require("../index");
2
+ // tslint:disable-next-line:strict-export-declare-modifiers
3
+ type GlobalPartial<T> = Partial<T>;
4
+ declare module "../index" {
5
+ type PartialObject<T> = GlobalPartial<T>;
6
+ type Many<T> = T | T[]; // TODO: Should be ReadonlyArray<T>, but requires ts2.5 to not infinitely loop
7
+ interface LoDashStatic {
8
+ /**
9
+ * Creates a lodash object which wraps value to enable implicit method chain sequences.
10
+ * Methods that operate on and return arrays, collections, and functions can be chained together.
11
+ * Methods that retrieve a single value or may return a primitive value will automatically end the
12
+ * chain sequence and return the unwrapped value. Otherwise, the value must be unwrapped with value().
13
+ *
14
+ * Explicit chain sequences, which must be unwrapped with value(), may be enabled using _.chain.
15
+ *
16
+ * The execution of chained methods is lazy, that is, it's deferred until value() is
17
+ * implicitly or explicitly called.
18
+ *
19
+ * Lazy evaluation allows several methods to support shortcut fusion. Shortcut fusion
20
+ * is an optimization to merge iteratee calls; this avoids the creation of intermediate
21
+ * arrays and can greatly reduce the number of iteratee executions. Sections of a chain
22
+ * sequence qualify for shortcut fusion if the section is applied to an array and iteratees
23
+ * accept only one argument. The heuristic for whether a section qualifies for shortcut
24
+ * fusion is subject to change.
25
+ *
26
+ * Chaining is supported in custom builds as long as the value() method is directly or
27
+ * indirectly included in the build.
28
+ *
29
+ * In addition to lodash methods, wrappers have Array and String methods.
30
+ * The wrapper Array methods are:
31
+ * concat, join, pop, push, shift, sort, splice, and unshift.
32
+ * The wrapper String methods are:
33
+ * replace and split.
34
+ *
35
+ * The wrapper methods that support shortcut fusion are:
36
+ * at, compact, drop, dropRight, dropWhile, filter, find, findLast, head, initial, last,
37
+ * map, reject, reverse, slice, tail, take, takeRight, takeRightWhile, takeWhile, and toArray
38
+ *
39
+ * The chainable wrapper methods are:
40
+ * after, ary, assign, assignIn, assignInWith, assignWith, at, before, bind, bindAll, bindKey,
41
+ * castArray, chain, chunk, commit, compact, concat, conforms, constant, countBy, create,
42
+ * curry, debounce, defaults, defaultsDeep, defer, delay, difference, differenceBy, differenceWith,
43
+ * drop, dropRight, dropRightWhile, dropWhile, extend, extendWith, fill, filter, flatMap,
44
+ * flatMapDeep, flatMapDepth, flatten, flattenDeep, flattenDepth, flip, flow, flowRight,
45
+ * fromPairs, functions, functionsIn, groupBy, initial, intersection, intersectionBy, intersectionWith,
46
+ * invert, invertBy, invokeMap, iteratee, keyBy, keys, keysIn, map, mapKeys, mapValues,
47
+ * matches, matchesProperty, memoize, merge, mergeWith, method, methodOf, mixin, negate,
48
+ * nthArg, omit, omitBy, once, orderBy, over, overArgs, overEvery, overSome, partial, partialRight,
49
+ * partition, pick, pickBy, plant, property, propertyOf, pull, pullAll, pullAllBy, pullAllWith, pullAt,
50
+ * push, range, rangeRight, rearg, reject, remove, rest, reverse, sampleSize, set, setWith,
51
+ * shuffle, slice, sort, sortBy, sortedUniq, sortedUniqBy, splice, spread, tail, take,
52
+ * takeRight, takeRightWhile, takeWhile, tap, throttle, thru, toArray, toPairs, toPairsIn,
53
+ * toPath, toPlainObject, transform, unary, union, unionBy, unionWith, uniq, uniqBy, uniqWith,
54
+ * unset, unshift, unzip, unzipWith, update, updateWith, values, valuesIn, without, wrap,
55
+ * xor, xorBy, xorWith, zip, zipObject, zipObjectDeep, and zipWith.
56
+ *
57
+ * The wrapper methods that are not chainable by default are:
58
+ * add, attempt, camelCase, capitalize, ceil, clamp, clone, cloneDeep, cloneDeepWith, cloneWith,
59
+ * conformsTo, deburr, defaultTo, divide, each, eachRight, endsWith, eq, escape, escapeRegExp,
60
+ * every, find, findIndex, findKey, findLast, findLastIndex, findLastKey, first, floor, forEach,
61
+ * forEachRight, forIn, forInRight, forOwn, forOwnRight, get, gt, gte, has, hasIn, head,
62
+ * identity, includes, indexOf, inRange, invoke, isArguments, isArray, isArrayBuffer,
63
+ * isArrayLike, isArrayLikeObject, isBoolean, isBuffer, isDate, isElement, isEmpty, isEqual, isEqualWith,
64
+ * isError, isFinite, isFunction, isInteger, isLength, isMap, isMatch, isMatchWith, isNaN,
65
+ * isNative, isNil, isNull, isNumber, isObject, isObjectLike, isPlainObject, isRegExp,
66
+ * isSafeInteger, isSet, isString, isUndefined, isTypedArray, isWeakMap, isWeakSet, join,
67
+ * kebabCase, last, lastIndexOf, lowerCase, lowerFirst, lt, lte, max, maxBy, mean, meanBy,
68
+ * min, minBy, multiply, noConflict, noop, now, nth, pad, padEnd, padStart, parseInt, pop,
69
+ * random, reduce, reduceRight, repeat, result, round, runInContext, sample, shift, size,
70
+ * snakeCase, some, sortedIndex, sortedIndexBy, sortedLastIndex, sortedLastIndexBy, startCase,
71
+ * startsWith, stubArray, stubFalse, stubObject, stubString, stubTrue, subtract, sum, sumBy,
72
+ * template, times, toFinite, toInteger, toJSON, toLength, toLower, toNumber, toSafeInteger,
73
+ * toString, toUpper, trim, trimEnd, trimStart, truncate, unescape, uniqueId, upperCase,
74
+ * upperFirst, value, and words.
75
+ **/
76
+ <T>(value: T): LoDashImplicitWrapper<T>;
77
+
78
+ /**
79
+ * The semantic version number.
80
+ **/
81
+ VERSION: string;
82
+
83
+ /**
84
+ * By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby
85
+ * (ERB). Change the following template settings to use alternative delimiters.
86
+ **/
87
+ templateSettings: TemplateSettings;
88
+ }
89
+
90
+ /**
91
+ * By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby
92
+ * (ERB). Change the following template settings to use alternative delimiters.
93
+ **/
94
+ interface TemplateSettings {
95
+ /**
96
+ * The "escape" delimiter.
97
+ **/
98
+ escape?: RegExp;
99
+
100
+ /**
101
+ * The "evaluate" delimiter.
102
+ **/
103
+ evaluate?: RegExp;
104
+
105
+ /**
106
+ * An object to import into the template as local variables.
107
+ **/
108
+ imports?: Dictionary<any>;
109
+
110
+ /**
111
+ * The "interpolate" delimiter.
112
+ **/
113
+ interpolate?: RegExp;
114
+
115
+ /**
116
+ * Used to reference the data object in the template text.
117
+ **/
118
+ variable?: string;
119
+ }
120
+
121
+ /**
122
+ * Creates a cache object to store key/value pairs.
123
+ */
124
+ interface MapCache {
125
+ /**
126
+ * Removes `key` and its value from the cache.
127
+ * @param key The key of the value to remove.
128
+ * @return Returns `true` if the entry was removed successfully, else `false`.
129
+ */
130
+ delete(key: string): boolean;
131
+
132
+ /**
133
+ * Gets the cached value for `key`.
134
+ * @param key The key of the value to get.
135
+ * @return Returns the cached value.
136
+ */
137
+ get(key: string): any;
138
+
139
+ /**
140
+ * Checks if a cached value for `key` exists.
141
+ * @param key The key of the entry to check.
142
+ * @return Returns `true` if an entry for `key` exists, else `false`.
143
+ */
144
+ has(key: string): boolean;
145
+
146
+ /**
147
+ * Sets `value` to `key` of the cache.
148
+ * @param key The key of the value to cache.
149
+ * @param value The value to cache.
150
+ * @return Returns the cache object.
151
+ */
152
+ set(key: string, value: any): Dictionary<any>;
153
+
154
+ /**
155
+ * Removes all key-value entries from the map.
156
+ */
157
+ clear(): void;
158
+ }
159
+ interface MapCacheConstructor {
160
+ new (): MapCache;
161
+ }
162
+
163
+ interface LoDashImplicitWrapper<TValue> extends LoDashWrapper<TValue> {
164
+ pop<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>): T | undefined;
165
+ push<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>, ...items: T[]): this;
166
+ shift<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>): T | undefined;
167
+ sort<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>, compareFn?: (a: T, b: T) => number): this;
168
+ splice<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>, start: number, deleteCount?: number, ...items: T[]): this;
169
+ unshift<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>, ...items: T[]): this;
170
+ }
171
+
172
+ interface LoDashExplicitWrapper<TValue> extends LoDashWrapper<TValue> {
173
+ pop<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>): LoDashExplicitWrapper<T | undefined>;
174
+ push<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>, ...items: T[]): this;
175
+ shift<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>): LoDashExplicitWrapper<T | undefined>;
176
+ sort<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>, compareFn?: (a: T, b: T) => number): this;
177
+ splice<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>, start: number, deleteCount?: number, ...items: T[]): this;
178
+ unshift<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>, ...items: T[]): this;
179
+ }
180
+
181
+ type NotVoid = {} | null | undefined;
182
+ type ArrayIterator<T, TResult> = (value: T, index: number, collection: T[]) => TResult;
183
+ type ListIterator<T, TResult> = (value: T, index: number, collection: List<T>) => TResult;
184
+ type ListIteratee<T> = ListIterator<T, NotVoid> | string | [string, any] | PartialDeep<T>;
185
+ type ListIterateeCustom<T, TResult> = ListIterator<T, TResult> | string | [string, any] | PartialDeep<T>;
186
+ type ListIteratorTypeGuard<T, S extends T> = (value: T, index: number, collection: List<T>) => value is S;
187
+
188
+ // Note: key should be string, not keyof T, because the actual object may contain extra properties that were not specified in the type.
189
+ type ObjectIterator<TObject, TResult> = (value: TObject[keyof TObject], key: string, collection: TObject) => TResult;
190
+ type ObjectIteratee<TObject> = ObjectIterator<TObject, NotVoid> | string | [string, any] | PartialDeep<TObject[keyof TObject]>;
191
+ type ObjectIterateeCustom<TObject, TResult> = ObjectIterator<TObject, TResult> | string | [string, any] | PartialDeep<TObject[keyof TObject]>;
192
+ type ObjectIteratorTypeGuard<TObject, S extends TObject[keyof TObject]> = (value: TObject[keyof TObject], key: string, collection: TObject) => value is S;
193
+
194
+ type StringIterator<TResult> = (char: string, index: number, string: string) => TResult;
195
+
196
+ /** @deprecated Use MemoVoidArrayIterator or MemoVoidDictionaryIterator instead. */
197
+ type MemoVoidIterator<T, TResult> = (prev: TResult, curr: T, indexOrKey: any, list: T[]) => void;
198
+
199
+ /** @deprecated Use MemoListIterator or MemoObjectIterator instead. */
200
+ type MemoIterator<T, TResult> = (prev: TResult, curr: T, indexOrKey: any, list: T[]) => TResult;
201
+ type MemoListIterator<T, TResult, TList> = (prev: TResult, curr: T, index: number, list: TList) => TResult;
202
+ type MemoObjectIterator<T, TResult, TList> = (prev: TResult, curr: T, key: string, list: TList) => TResult;
203
+ type MemoIteratorCapped<T, TResult> = (prev: TResult, curr: T) => TResult;
204
+ type MemoIteratorCappedRight<T, TResult> = (curr: T, prev: TResult) => TResult;
205
+
206
+ type MemoVoidArrayIterator<T, TResult> = (acc: TResult, curr: T, index: number, arr: T[]) => void;
207
+ type MemoVoidDictionaryIterator<T, TResult> = (acc: TResult, curr: T, key: string, dict: Dictionary<T>) => void;
208
+ type MemoVoidIteratorCapped<T, TResult> = (acc: TResult, curr: T) => void;
209
+
210
+ type ValueIteratee<T> = ((value: T) => NotVoid) | string | [string, any] | PartialDeep<T>;
211
+ type ValueIterateeCustom<T, TResult> = ((value: T) => TResult) | string | [string, any] | PartialDeep<T>;
212
+ type ValueIteratorTypeGuard<T, S extends T> = (value: T) => value is S;
213
+ type ValueKeyIteratee<T> = ((value: T, key: string) => NotVoid) | string | [string, any] | PartialDeep<T>;
214
+ type Comparator<T> = (a: T, b: T) => boolean;
215
+ type Comparator2<T1, T2> = (a: T1, b: T2) => boolean;
216
+
217
+ type PropertyName = string | number | symbol;
218
+ type PropertyPath = Many<PropertyName>;
219
+
220
+ type Omit<T, K extends keyof T> = Pick<T, ({ [P in keyof T]: P } & { [P in K]: never } & { [x: string]: never })[keyof T]>;
221
+
222
+ /** Common interface between Arrays and jQuery objects */
223
+ type List<T> = ArrayLike<T>;
224
+
225
+ interface Dictionary<T> {
226
+ [index: string]: T;
227
+ }
228
+
229
+ interface NumericDictionary<T> {
230
+ [index: number]: T;
231
+ }
232
+
233
+ // Crazy typedef needed get _.omit to work properly with Dictionary and NumericDictionary
234
+ type AnyKindOfDictionary =
235
+ | Dictionary<{} | null | undefined>
236
+ | NumericDictionary<{} | null | undefined>;
237
+
238
+ interface Cancelable {
239
+ cancel(): void;
240
+ flush(): void;
241
+ }
242
+
243
+ type PartialDeep<T> = {
244
+ [P in keyof T]?: PartialDeep<T[P]>;
245
+ };
246
+
247
+ // For backwards compatibility
248
+ type LoDashImplicitArrayWrapper<T> = LoDashImplicitWrapper<T[]>;
249
+ type LoDashImplicitNillableArrayWrapper<T> = LoDashImplicitWrapper<T[] | null | undefined>;
250
+ type LoDashImplicitObjectWrapper<T> = LoDashImplicitWrapper<T>;
251
+ type LoDashImplicitNillableObjectWrapper<T> = LoDashImplicitWrapper<T | null | undefined>;
252
+ type LoDashImplicitNumberArrayWrapper = LoDashImplicitWrapper<number[]>;
253
+ type LoDashImplicitStringWrapper = LoDashImplicitWrapper<string>;
254
+ type LoDashExplicitArrayWrapper<T> = LoDashExplicitWrapper<T[]>;
255
+ type LoDashExplicitNillableArrayWrapper<T> = LoDashExplicitWrapper<T[] | null | undefined>;
256
+ type LoDashExplicitObjectWrapper<T> = LoDashExplicitWrapper<T>;
257
+ type LoDashExplicitNillableObjectWrapper<T> = LoDashExplicitWrapper<T | null | undefined>;
258
+ type LoDashExplicitNumberArrayWrapper = LoDashExplicitWrapper<number[]>;
259
+ type LoDashExplicitStringWrapper = LoDashExplicitWrapper<string>;
260
+
261
+ type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
262
+ type DictionaryIteratee<T> = ObjectIteratee<Dictionary<T>>;
263
+ type DictionaryIteratorTypeGuard<T, S extends T> = ObjectIteratorTypeGuard<Dictionary<T>, S>;
264
+ // NOTE: keys of objects at run time are always strings, even when a NumericDictionary is being iterated.
265
+ type NumericDictionaryIterator<T, TResult> = (value: T, key: string, collection: NumericDictionary<T>) => TResult;
266
+ type NumericDictionaryIteratee<T> = NumericDictionaryIterator<T, NotVoid> | string | [string, any] | PartialDeep<T>;
267
+ type NumericDictionaryIterateeCustom<T, TResult> = NumericDictionaryIterator<T, TResult> | string | [string, any] | PartialDeep<T>;
268
+ }
lodash/common/date.d.ts CHANGED
@@ -1,27 +1,27 @@
1
- import _ = require("../index");
2
- declare module "../index" {
3
- // now
4
-
5
- interface LoDashStatic {
6
- /**
7
- * Gets the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC).
8
- *
9
- * @return The number of milliseconds.
10
- */
11
- now(): number;
12
- }
13
-
14
- interface LoDashImplicitWrapper<TValue> {
15
- /**
16
- * @see _.now
17
- */
18
- now(): number;
19
- }
20
-
21
- interface LoDashExplicitWrapper<TValue> {
22
- /**
23
- * @see _.now
24
- */
25
- now(): LoDashExplicitWrapper<number>;
26
- }
27
- }
1
+ import _ = require("../index");
2
+ declare module "../index" {
3
+ // now
4
+
5
+ interface LoDashStatic {
6
+ /**
7
+ * Gets the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC).
8
+ *
9
+ * @return The number of milliseconds.
10
+ */
11
+ now(): number;
12
+ }
13
+
14
+ interface LoDashImplicitWrapper<TValue> {
15
+ /**
16
+ * @see _.now
17
+ */
18
+ now(): number;
19
+ }
20
+
21
+ interface LoDashExplicitWrapper<TValue> {
22
+ /**
23
+ * @see _.now
24
+ */
25
+ now(): LoDashExplicitWrapper<number>;
26
+ }
27
+ }