@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/util.d.ts CHANGED
@@ -1,1463 +1,1463 @@
1
- import _ = require("../index");
2
- declare module "../index" {
3
- // attempt
4
-
5
- interface LoDashStatic {
6
- /**
7
- * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments
8
- * are provided to func when it’s invoked.
9
- *
10
- * @param func The function to attempt.
11
- * @return Returns the func result or error object.
12
- */
13
- attempt<TResult>(func: (...args: any[]) => TResult, ...args: any[]): TResult|Error;
14
- }
15
-
16
- interface LoDashImplicitWrapper<TValue> {
17
- /**
18
- * @see _.attempt
19
- */
20
- attempt<TResult>(...args: any[]): TResult|Error;
21
- }
22
-
23
- interface LoDashExplicitWrapper<TValue> {
24
- /**
25
- * @see _.attempt
26
- */
27
- attempt<TResult>(...args: any[]): LoDashExplicitWrapper<TResult|Error>;
28
- }
29
-
30
- // bindAll
31
-
32
- interface LoDashStatic {
33
- /**
34
- * Binds methods of an object to the object itself, overwriting the existing method. Method names may be
35
- * specified as individual arguments or as arrays of method names. If no method names are provided all
36
- * enumerable function properties, own and inherited, of object are bound.
37
- *
38
- * Note: This method does not set the "length" property of bound functions.
39
- *
40
- * @param object The object to bind and assign the bound methods to.
41
- * @param methodNames The object method names to bind, specified as individual method names or arrays of
42
- * method names.
43
- * @return Returns object.
44
- */
45
- bindAll<T>(
46
- object: T,
47
- ...methodNames: Array<Many<string>>
48
- ): T;
49
- }
50
-
51
- interface LoDashWrapper<TValue> {
52
- /**
53
- * @see _.bindAll
54
- */
55
- bindAll(...methodNames: Array<Many<string>>): this;
56
- }
57
-
58
- // cond
59
-
60
- interface LoDashStatic {
61
- /**
62
- * Creates a function that iterates over `pairs` and invokes the corresponding
63
- * function of the first predicate to return truthy. The predicate-function
64
- * pairs are invoked with the `this` binding and arguments of the created
65
- * function.
66
- *
67
- * @since 4.0.0
68
- * @category Util
69
- * @param pairs The predicate-function pairs.
70
- * @returns Returns the new composite function.
71
- * @example
72
- *
73
- * var func = _.cond([
74
- * [_.matches({ 'a': 1 }), _.constant('matches A')],
75
- * [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],
76
- * [_.stubTrue, _.constant('no match')]
77
- * ]);
78
- *
79
- * func({ 'a': 1, 'b': 2 });
80
- * // => 'matches A'
81
- *
82
- * func({ 'a': 0, 'b': 1 });
83
- * // => 'matches B'
84
- *
85
- * func({ 'a': '1', 'b': '2' });
86
- * // => 'no match'
87
- */
88
- cond<T, R>(pairs: Array<CondPair<T, R>>): (Target: T) => R;
89
- }
90
-
91
- // conforms
92
-
93
- type ConformsPredicateObject<T> = {
94
- [P in keyof T]?: (val: T[P]) => boolean;
95
- };
96
-
97
- interface LoDashStatic {
98
- /**
99
- * Creates a function that invokes the predicate properties of `source` with the corresponding
100
- * property values of a given object, returning true if all predicates return truthy, else false.
101
- */
102
- conforms<T>(source: ConformsPredicateObject<T>): (value: T) => boolean;
103
- }
104
-
105
- interface LoDashImplicitWrapper<TValue> {
106
- /**
107
- * @see _.conforms
108
- */
109
- conforms<T>(this: LoDashImplicitWrapper<ConformsPredicateObject<T>>): LoDashImplicitWrapper<(value: T) => boolean>;
110
- }
111
-
112
- interface LoDashExplicitWrapper<TValue> {
113
- /**
114
- * @see _.conforms
115
- */
116
- conforms<T>(this: LoDashExplicitWrapper<ConformsPredicateObject<T>>): LoDashExplicitWrapper<(value: T) => boolean>;
117
- }
118
-
119
- // constant
120
-
121
- interface LoDashStatic {
122
- /**
123
- * Creates a function that returns value.
124
- *
125
- * @param value The value to return from the new function.
126
- * @return Returns the new function.
127
- */
128
- constant<T>(value: T): () => T;
129
- }
130
-
131
- interface LoDashImplicitWrapper<TValue> {
132
- /**
133
- * @see _.constant
134
- */
135
- constant(): LoDashImplicitWrapper<() => TValue>;
136
- }
137
-
138
- interface LoDashExplicitWrapper<TValue> {
139
- /**
140
- * @see _.constant
141
- */
142
- constant(): LoDashExplicitWrapper<() => TValue>;
143
- }
144
-
145
- // defaultTo
146
-
147
- interface LoDashStatic {
148
- /**
149
- * Checks `value` to determine whether a default value should be returned in
150
- * its place. The `defaultValue` is returned if `value` is `NaN`, `null`,
151
- * or `undefined`.
152
- *
153
- * @param value The value to check.
154
- * @param defaultValue The default value.
155
- * @returns Returns the resolved value.
156
- */
157
- defaultTo<T>(value: T | null | undefined, defaultValue: T): T;
158
-
159
- /**
160
- * @see _.defaultTo
161
- */
162
- defaultTo<T, TDefault>(
163
- value: T | null | undefined,
164
- defaultValue: TDefault
165
- ): T | TDefault;
166
- }
167
-
168
- interface LoDashImplicitWrapper<TValue> {
169
- /**
170
- * @see _.defaultTo
171
- */
172
- defaultTo<T>(this: LoDashImplicitWrapper<T | null | undefined>, defaultValue: T): T;
173
-
174
- /**
175
- * @see _.defaultTo
176
- */
177
- defaultTo<T, TDefault>(
178
- this: LoDashImplicitWrapper<T | null | undefined>,
179
- defaultValue: TDefault
180
- ): T | TDefault;
181
- }
182
-
183
- interface LoDashExplicitWrapper<TValue> {
184
- /**
185
- * @see _.defaultTo
186
- */
187
- defaultTo<T>(this: LoDashExplicitWrapper<T | null | undefined>, defaultValue: T): LoDashExplicitWrapper<T>;
188
-
189
- /**
190
- * @see _.defaultTo
191
- */
192
- defaultTo<T, TDefault>(
193
- this: LoDashExplicitWrapper<T | null | undefined>,
194
- defaultValue: TDefault
195
- ): LoDashExplicitWrapper<T | TDefault>;
196
- }
197
-
198
- // flow
199
-
200
- interface LoDashStatic {
201
- /**
202
- * Creates a function that returns the result of invoking the provided functions with the this binding of the
203
- * created function, where each successive invocation is supplied the return value of the previous.
204
- *
205
- * @param funcs Functions to invoke.
206
- * @return Returns the new function.
207
- */
208
- // 0-argument first function
209
- flow<R1, R2>(f1: () => R1, f2: (a: R1) => R2): () => R2;
210
- flow<R1, R2, R3>(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): () => R3;
211
- flow<R1, R2, R3, R4>(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): () => R4;
212
- flow<R1, R2, R3, R4, R5>(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): () => R5;
213
- flow<R1, R2, R3, R4, R5, R6>(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): () => R6;
214
- flow<R1, R2, R3, R4, R5, R6, R7>(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): () => R7;
215
- flow<R1, R2, R3, R4, R5, R6, R7>(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): () => any;
216
- // 1-argument first function
217
- flow<A1, R1, R2>(f1: (a1: A1) => R1, f2: (a: R1) => R2): (a1: A1) => R2;
218
- flow<A1, R1, R2, R3>(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1) => R3;
219
- flow<A1, R1, R2, R3, R4>(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1) => R4;
220
- flow<A1, R1, R2, R3, R4, R5>(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1) => R5;
221
- flow<A1, R1, R2, R3, R4, R5, R6>(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1) => R6;
222
- flow<A1, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1) => R7;
223
- flow<A1, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): (a1: A1) => any;
224
- // 2-argument first function
225
- flow<A1, A2, R1, R2>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2) => R2;
226
- flow<A1, A2, R1, R2, R3>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2) => R3;
227
- flow<A1, A2, R1, R2, R3, R4>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2) => R4;
228
- flow<A1, A2, R1, R2, R3, R4, R5>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2) => R5;
229
- flow<A1, A2, R1, R2, R3, R4, R5, R6>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2) => R6;
230
- flow<A1, A2, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2) => R7;
231
- flow<A1, A2, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): (a1: A1, a2: A2) => any;
232
- // 3-argument first function
233
- flow<A1, A2, A3, R1, R2>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2, a3: A3) => R2;
234
- flow<A1, A2, A3, R1, R2, R3>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2, a3: A3) => R3;
235
- flow<A1, A2, A3, R1, R2, R3, R4>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2, a3: A3) => R4;
236
- flow<A1, A2, A3, R1, R2, R3, R4, R5>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2, a3: A3) => R5;
237
- flow<A1, A2, A3, R1, R2, R3, R4, R5, R6>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2, a3: A3) => R6;
238
- flow<A1, A2, A3, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2, a3: A3) => R7;
239
- flow<A1, A2, A3, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): (a1: A1, a2: A2, a3: A3) => any;
240
- // 4-argument first function
241
- flow<A1, A2, A3, A4, R1, R2>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2, a3: A3, a4: A4) => R2;
242
- flow<A1, A2, A3, A4, R1, R2, R3>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2, a3: A3, a4: A4) => R3;
243
- flow<A1, A2, A3, A4, R1, R2, R3, R4>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2, a3: A3, a4: A4) => R4;
244
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2, a3: A3, a4: A4) => R5;
245
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2, a3: A3, a4: A4) => R6;
246
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2, a3: A3, a4: A4) => R7;
247
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): (a1: A1, a2: A2, a3: A3, a4: A4) => any;
248
- // any-argument first function
249
- flow<A1, A2, A3, A4, R1, R2>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R2;
250
- flow<A1, A2, A3, A4, R1, R2, R3>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R3;
251
- flow<A1, A2, A3, A4, R1, R2, R3, R4>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R4;
252
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R5;
253
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R6;
254
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R7;
255
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => any;
256
- flow(funcs: Array<Many<(...args: any[]) => any>>): (...args: any[]) => any;
257
- }
258
-
259
- interface LoDashImplicitWrapper<TValue> {
260
- /**
261
- * @see _.flow
262
- */
263
- // 0-argument first function
264
- flow<R1, R2>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<() => R2>;
265
- flow<R1, R2, R3>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<() => R3>;
266
- flow<R1, R2, R3, R4>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<() => R4>;
267
- flow<R1, R2, R3, R4, R5>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<() => R5>;
268
- flow<R1, R2, R3, R4, R5, R6>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<() => R6>;
269
- flow<R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<() => R7>;
270
- flow<R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<() => any>;
271
- // 1-argument first function
272
- flow<A1, R1, R2>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1) => R2>;
273
- flow<A1, R1, R2, R3>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1) => R3>;
274
- flow<A1, R1, R2, R3, R4>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1) => R4>;
275
- flow<A1, R1, R2, R3, R4, R5>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1) => R5>;
276
- flow<A1, R1, R2, R3, R4, R5, R6>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1) => R6>;
277
- flow<A1, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1) => R7>;
278
- flow<A1, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<(a1: A1) => any>;
279
- // 2-argument first function
280
- flow<A1, A2, R1, R2>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2) => R2>;
281
- flow<A1, A2, R1, R2, R3>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2) => R3>;
282
- flow<A1, A2, R1, R2, R3, R4>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2) => R4>;
283
- flow<A1, A2, R1, R2, R3, R4, R5>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2) => R5>;
284
- flow<A1, A2, R1, R2, R3, R4, R5, R6>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2) => R6>;
285
- flow<A1, A2, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2) => R7>;
286
- flow<A1, A2, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<(a1: A1, a2: A2) => any>;
287
- // 3-argument first function
288
- flow<A1, A2, A3, R1, R2>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>;
289
- flow<A1, A2, A3, R1, R2, R3>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>;
290
- flow<A1, A2, A3, R1, R2, R3, R4>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>;
291
- flow<A1, A2, A3, R1, R2, R3, R4, R5>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>;
292
- flow<A1, A2, A3, R1, R2, R3, R4, R5, R6>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>;
293
- flow<A1, A2, A3, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>;
294
- flow<A1, A2, A3, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => any>;
295
- // 4-argument first function
296
- flow<A1, A2, A3, A4, R1, R2>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>;
297
- flow<A1, A2, A3, A4, R1, R2, R3>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>;
298
- flow<A1, A2, A3, A4, R1, R2, R3, R4>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>;
299
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>;
300
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>;
301
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>;
302
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => any>;
303
- // any-argument first function
304
- flow<A1, A2, A3, A4, R1, R2>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R2>;
305
- flow<A1, A2, A3, A4, R1, R2, R3>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R3>;
306
- flow<A1, A2, A3, A4, R1, R2, R3, R4>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R4>;
307
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R5>;
308
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R6>;
309
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R7>;
310
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => any>;
311
- flow(this: LoDashImplicitWrapper<(...args: any[]) => any>, funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<(...args: any[]) => any>;
312
- }
313
-
314
- interface LoDashExplicitWrapper<TValue> {
315
- /**
316
- * @see _.flow
317
- */
318
- // 0-argument first function
319
- flow<R1, R2>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<() => R2>;
320
- flow<R1, R2, R3>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<() => R3>;
321
- flow<R1, R2, R3, R4>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<() => R4>;
322
- flow<R1, R2, R3, R4, R5>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<() => R5>;
323
- flow<R1, R2, R3, R4, R5, R6>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<() => R6>;
324
- flow<R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<() => R7>;
325
- flow<R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<() => any>;
326
- // 1-argument first function
327
- flow<A1, R1, R2>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1) => R2>;
328
- flow<A1, R1, R2, R3>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1) => R3>;
329
- flow<A1, R1, R2, R3, R4>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1) => R4>;
330
- flow<A1, R1, R2, R3, R4, R5>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1) => R5>;
331
- flow<A1, R1, R2, R3, R4, R5, R6>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1) => R6>;
332
- flow<A1, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1) => R7>;
333
- flow<A1, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<(a1: A1) => any>;
334
- // 2-argument first function
335
- flow<A1, A2, R1, R2>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2) => R2>;
336
- flow<A1, A2, R1, R2, R3>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2) => R3>;
337
- flow<A1, A2, R1, R2, R3, R4>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2) => R4>;
338
- flow<A1, A2, R1, R2, R3, R4, R5>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2) => R5>;
339
- flow<A1, A2, R1, R2, R3, R4, R5, R6>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2) => R6>;
340
- flow<A1, A2, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2) => R7>;
341
- flow<A1, A2, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<(a1: A1, a2: A2) => any>;
342
- // 3-argument first function
343
- flow<A1, A2, A3, R1, R2>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>;
344
- flow<A1, A2, A3, R1, R2, R3>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>;
345
- flow<A1, A2, A3, R1, R2, R3, R4>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>;
346
- flow<A1, A2, A3, R1, R2, R3, R4, R5>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>;
347
- flow<A1, A2, A3, R1, R2, R3, R4, R5, R6>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>;
348
- flow<A1, A2, A3, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>;
349
- flow<A1, A2, A3, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => any>;
350
- // 4-argument first function
351
- flow<A1, A2, A3, A4, R1, R2>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>;
352
- flow<A1, A2, A3, A4, R1, R2, R3>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>;
353
- flow<A1, A2, A3, A4, R1, R2, R3, R4>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>;
354
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>;
355
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>;
356
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>;
357
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => any>;
358
- // any-argument first function
359
- flow<A1, A2, A3, A4, R1, R2>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R2>;
360
- flow<A1, A2, A3, A4, R1, R2, R3>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R3>;
361
- flow<A1, A2, A3, A4, R1, R2, R3, R4>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R4>;
362
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R5>;
363
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R6>;
364
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R7>;
365
- flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => any>;
366
- flow(this: LoDashExplicitWrapper<(...args: any[]) => any>, funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<(...args: any[]) => any>;
367
- }
368
-
369
- // flowRight
370
-
371
- interface LoDashStatic {
372
- /**
373
- * This method is like _.flow except that it creates a function that invokes the provided functions from right
374
- * to left.
375
- *
376
- * @param funcs Functions to invoke.
377
- * @return Returns the new function.
378
- */
379
- // 0-argument first function
380
- flowRight<R2, R1>(f2: (a: R1) => R2, f1: () => R1): () => R2;
381
- flowRight<R3, R2, R1>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R3;
382
- flowRight<R4, R3, R2, R1>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R4;
383
- flowRight<R5, R4, R3, R2, R1>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R5;
384
- flowRight<R6, R5, R4, R3, R2, R1>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R6;
385
- flowRight<R7, R6, R5, R4, R3, R2, R1>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R7;
386
- // 1-argument first function
387
- flowRight<A1, R2, R1>(f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R2;
388
- flowRight<A1, R3, R2, R1>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R3;
389
- flowRight<A1, R4, R3, R2, R1>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R4;
390
- flowRight<A1, R5, R4, R3, R2, R1>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R5;
391
- flowRight<A1, R6, R5, R4, R3, R2, R1>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R6;
392
- flowRight<A1, R7, R6, R5, R4, R3, R2, R1>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R7;
393
- // 2-argument first function
394
- flowRight<A1, A2, R2, R1>(f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R2;
395
- flowRight<A1, A2, R3, R2, R1>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R3;
396
- flowRight<A1, A2, R4, R3, R2, R1>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R4;
397
- flowRight<A1, A2, R5, R4, R3, R2, R1>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R5;
398
- flowRight<A1, A2, R6, R5, R4, R3, R2, R1>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R6;
399
- flowRight<A1, A2, R7, R6, R5, R4, R3, R2, R1>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R7;
400
- // 3-argument first function
401
- flowRight<A1, A2, A3, R2, R1>(f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R2;
402
- flowRight<A1, A2, A3, R3, R2, R1>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R3;
403
- flowRight<A1, A2, A3, R4, R3, R2, R1>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R4;
404
- flowRight<A1, A2, A3, R5, R4, R3, R2, R1>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R5;
405
- flowRight<A1, A2, A3, R6, R5, R4, R3, R2, R1>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R6;
406
- flowRight<A1, A2, A3, R7, R6, R5, R4, R3, R2, R1>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R7;
407
- // 4-argument first function
408
- flowRight<A1, A2, A3, A4, R2, R1>(f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R2;
409
- flowRight<A1, A2, A3, A4, R3, R2, R1>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R3;
410
- flowRight<A1, A2, A3, A4, R4, R3, R2, R1>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R4;
411
- flowRight<A1, A2, A3, A4, R5, R4, R3, R2, R1>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R5;
412
- flowRight<A1, A2, A3, A4, R6, R5, R4, R3, R2, R1>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R6;
413
- flowRight<A1, A2, A3, A4, R7, R6, R5, R4, R3, R2, R1>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R7;
414
- // any-argument first function
415
- flowRight<R2, R1>(f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R2;
416
- flowRight<R3, R2, R1>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R3;
417
- flowRight<R4, R3, R2, R1>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R4;
418
- flowRight<R5, R4, R3, R2, R1>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R5;
419
- flowRight<R6, R5, R4, R3, R2, R1>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R6;
420
- flowRight<R7, R6, R5, R4, R3, R2, R1>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R7;
421
- flowRight(f7: (a: any) => any, f6: (a: any) => any, f5: (a: any) => any, f4: (a: any) => any, f3: (a: any) => any, f2: (a: any) => any, f1: () => any, ...funcs: Array<Many<(...args: any[]) => any>>): (...args: any[]) => any;
422
- flowRight(funcs: Array<Many<(...args: any[]) => any>>): (...args: any[]) => any;
423
- }
424
-
425
- interface LoDashImplicitWrapper<TValue> {
426
- /**
427
- * @see _.flowRight
428
- */
429
- // 0-argument first function
430
- flowRight<R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: () => R1): LoDashImplicitWrapper<() => R2>;
431
- flowRight<R3, R2, R1>(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R3>;
432
- flowRight<R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R4>;
433
- flowRight<R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R5>;
434
- flowRight<R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R6>;
435
- flowRight<R7, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R7>;
436
- // 1-argument first function
437
- flowRight<A1, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R2>;
438
- flowRight<A1, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R3>;
439
- flowRight<A1, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R4>;
440
- flowRight<A1, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R5>;
441
- flowRight<A1, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R6>;
442
- flowRight<A1, R7, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R7>;
443
- // 2-argument first function
444
- flowRight<A1, A2, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R2>;
445
- flowRight<A1, A2, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R3>;
446
- flowRight<A1, A2, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R4>;
447
- flowRight<A1, A2, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R5>;
448
- flowRight<A1, A2, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R6>;
449
- flowRight<A1, A2, R7, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R7>;
450
- // 3-argument first function
451
- flowRight<A1, A2, A3, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>;
452
- flowRight<A1, A2, A3, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>;
453
- flowRight<A1, A2, A3, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>;
454
- flowRight<A1, A2, A3, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>;
455
- flowRight<A1, A2, A3, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>;
456
- flowRight<A1, A2, A3, R7, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>;
457
- // 4-argument first function
458
- flowRight<A1, A2, A3, A4, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>;
459
- flowRight<A1, A2, A3, A4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>;
460
- flowRight<A1, A2, A3, A4, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>;
461
- flowRight<A1, A2, A3, A4, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>;
462
- flowRight<A1, A2, A3, A4, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>;
463
- flowRight<A1, A2, A3, A4, R7, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>;
464
- // any-argument first function
465
- flowRight<R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R2>;
466
- flowRight<R3, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R3>;
467
- flowRight<R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R4>;
468
- flowRight<R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R5>;
469
- flowRight<R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R6>;
470
- flowRight<R7, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R7>;
471
- flowRight(this: LoDashImplicitWrapper<(a: any) => any>, f6: (a: any) => any, f5: (a: any) => any, f4: (a: any) => any, f3: (a: any) => any, f2: (a: any) => any, f1: () => any, ...funcs: Array<Many<(...args: any[]) => any>>): LoDashImplicitWrapper<(...args: any[]) => any>;
472
- flowRight(this: LoDashImplicitWrapper<(a: any) => any>, funcs: Array<Many<(...args: any[]) => any>>): LoDashImplicitWrapper<(...args: any[]) => any>;
473
- }
474
-
475
- interface LoDashExplicitWrapper<TValue> {
476
- /**
477
- * @see _.flowRight
478
- */
479
- // 0-argument first function
480
- flowRight<R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: () => R1): LoDashExplicitWrapper<() => R2>;
481
- flowRight<R3, R2, R1>(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R3>;
482
- flowRight<R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R4>;
483
- flowRight<R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R5>;
484
- flowRight<R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R6>;
485
- flowRight<R7, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R7>;
486
- // 1-argument first function
487
- flowRight<A1, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R2>;
488
- flowRight<A1, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R3>;
489
- flowRight<A1, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R4>;
490
- flowRight<A1, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R5>;
491
- flowRight<A1, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R6>;
492
- flowRight<A1, R7, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R7>;
493
- // 2-argument first function
494
- flowRight<A1, A2, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R2>;
495
- flowRight<A1, A2, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R3>;
496
- flowRight<A1, A2, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R4>;
497
- flowRight<A1, A2, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R5>;
498
- flowRight<A1, A2, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R6>;
499
- flowRight<A1, A2, R7, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R7>;
500
- // 3-argument first function
501
- flowRight<A1, A2, A3, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>;
502
- flowRight<A1, A2, A3, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>;
503
- flowRight<A1, A2, A3, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>;
504
- flowRight<A1, A2, A3, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>;
505
- flowRight<A1, A2, A3, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>;
506
- flowRight<A1, A2, A3, R7, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>;
507
- // 4-argument first function
508
- flowRight<A1, A2, A3, A4, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>;
509
- flowRight<A1, A2, A3, A4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>;
510
- flowRight<A1, A2, A3, A4, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>;
511
- flowRight<A1, A2, A3, A4, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>;
512
- flowRight<A1, A2, A3, A4, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>;
513
- flowRight<A1, A2, A3, A4, R7, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>;
514
- // any-argument first function
515
- flowRight<R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R2>;
516
- flowRight<R3, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R3>;
517
- flowRight<R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R4>;
518
- flowRight<R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R5>;
519
- flowRight<R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R6>;
520
- flowRight<R7, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R7>;
521
- flowRight(this: LoDashExplicitWrapper<(a: any) => any>, f6: (a: any) => any, f5: (a: any) => any, f4: (a: any) => any, f3: (a: any) => any, f2: (a: any) => any, f1: () => any, ...funcs: Array<Many<(...args: any[]) => any>>): LoDashExplicitWrapper<(...args: any[]) => any>;
522
- flowRight(this: LoDashExplicitWrapper<(a: any) => any>, funcs: Array<Many<(...args: any[]) => any>>): LoDashExplicitWrapper<(...args: any[]) => any>;
523
- }
524
-
525
- // identity
526
-
527
- interface LoDashStatic {
528
- /**
529
- * This method returns the first argument provided to it.
530
- *
531
- * @param value Any value.
532
- * @return Returns value.
533
- */
534
- identity<T>(value: T): T;
535
-
536
- /**
537
- * @see _.identity
538
- */
539
- identity(): undefined;
540
- }
541
-
542
- interface LoDashImplicitWrapper<TValue> {
543
- /**
544
- * @see _.identity
545
- */
546
- identity(): TValue;
547
- }
548
-
549
- interface LoDashExplicitWrapper<TValue> {
550
- /**
551
- * @see _.identity
552
- */
553
- identity(): this;
554
- }
555
-
556
- // iteratee
557
-
558
- interface LoDashStatic {
559
- /**
560
- * Creates a function that invokes `func` with the arguments of the created
561
- * function. If `func` is a property name the created callback returns the
562
- * property value for a given element. If `func` is an object the created
563
- * callback returns `true` for elements that contain the equivalent object properties, otherwise it returns `false`.
564
- *
565
- * @category Util
566
- * @param [func=_.identity] The value to convert to a callback.
567
- * @returns Returns the callback.
568
- * @example
569
- *
570
- * var users = [
571
- * { 'user': 'barney', 'age': 36 },
572
- * { 'user': 'fred', 'age': 40 }
573
- * ];
574
- *
575
- * // create custom iteratee shorthands
576
- * _.iteratee = _.wrap(_.iteratee, function(callback, func) {
577
- * var p = /^(\S+)\s*([<>])\s*(\S+)$/.exec(func);
578
- * return !p ? callback(func) : function(object) {
579
- * return (p[2] == '>' ? object[p[1]] > p[3] : object[p[1]] < p[3]);
580
- * };
581
- * });
582
- *
583
- * _.filter(users, 'age > 36');
584
- * // => [{ 'user': 'fred', 'age': 40 }]
585
- */
586
- iteratee<TFunction extends (...args: any[]) => any>(
587
- func: TFunction
588
- ): TFunction;
589
-
590
- /**
591
- * @see _.iteratee
592
- */
593
- // tslint:disable-next-line:unified-signatures Tests fail in TS2.3 if the overloads are joined
594
- iteratee(
595
- func: string | object
596
- ): (...args: any[]) => any;
597
-
598
- /**
599
- * @see _.iteratee
600
- */
601
- iteratee(): typeof _.identity; // tslint:disable-line:no-unnecessary-qualifier
602
- }
603
-
604
- interface LoDashImplicitWrapper<TValue> {
605
- /**
606
- * @see _.iteratee
607
- */
608
- iteratee<TFunction extends (...args: any[]) => any>(
609
- this: LoDashImplicitWrapper<TFunction | string | object>
610
- ): LoDashImplicitWrapper<TFunction>;
611
- }
612
-
613
- interface LoDashExplicitWrapper<TValue> {
614
- /**
615
- * @see _.iteratee
616
- */
617
- iteratee<TFunction extends (...args: any[]) => any>(
618
- this: LoDashExplicitWrapper<TFunction | string | object>
619
- ): LoDashExplicitWrapper<TFunction>;
620
- }
621
-
622
- // matches
623
-
624
- interface LoDashStatic {
625
- /**
626
- * Creates a function that performs a deep comparison between a given object and source, returning true if the
627
- * given object has equivalent property values, else false.
628
- *
629
- * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and
630
- * strings. Objects are compared by their own, not inherited, enumerable properties. For comparing a single own
631
- * or inherited property value see _.matchesProperty.
632
- *
633
- * @param source The object of property values to match.
634
- * @return Returns the new function.
635
- */
636
- matches<T>(source: T): (value: any) => boolean;
637
-
638
- /**
639
- * @see _.matches
640
- */
641
- matches<T, V>(source: T): (value: V) => boolean;
642
- }
643
-
644
- interface LoDashImplicitWrapper<TValue> {
645
- /**
646
- * @see _.matches
647
- */
648
- matches<V>(): LoDashImplicitWrapper<(value: V) => boolean>;
649
- }
650
-
651
- interface LoDashExplicitWrapper<TValue> {
652
- /**
653
- * @see _.matches
654
- */
655
- matches<V>(): LoDashExplicitWrapper<(value: V) => boolean>;
656
- }
657
-
658
- // matchesProperty
659
-
660
- interface LoDashStatic {
661
- /**
662
- * Creates a function that compares the property value of path on a given object to value.
663
- *
664
- * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and
665
- * strings. Objects are compared by their own, not inherited, enumerable properties.
666
- *
667
- * @param path The path of the property to get.
668
- * @param srcValue The value to match.
669
- * @return Returns the new function.
670
- */
671
- matchesProperty<T>(
672
- path: PropertyPath,
673
- srcValue: T
674
- ): (value: any) => boolean;
675
-
676
- /**
677
- * @see _.matchesProperty
678
- */
679
- matchesProperty<T, V>(
680
- path: PropertyPath,
681
- srcValue: T
682
- ): (value: V) => boolean;
683
- }
684
-
685
- interface LoDashImplicitWrapper<TValue> {
686
- /**
687
- * @see _.matchesProperty
688
- */
689
- matchesProperty<SrcValue>(
690
- srcValue: SrcValue
691
- ): LoDashImplicitWrapper<(value: any) => boolean>;
692
-
693
- /**
694
- * @see _.matchesProperty
695
- */
696
- matchesProperty<SrcValue, Value>(
697
- srcValue: SrcValue
698
- ): LoDashImplicitWrapper<(value: Value) => boolean>;
699
- }
700
-
701
- interface LoDashExplicitWrapper<TValue> {
702
- /**
703
- * @see _.matchesProperty
704
- */
705
- matchesProperty<SrcValue>(
706
- srcValue: SrcValue
707
- ): LoDashExplicitWrapper<(value: any) => boolean>;
708
-
709
- /**
710
- * @see _.matchesProperty
711
- */
712
- matchesProperty<SrcValue, Value>(
713
- srcValue: SrcValue
714
- ): LoDashExplicitWrapper<(value: Value) => boolean>;
715
- }
716
-
717
- // method
718
-
719
- interface LoDashStatic {
720
- /**
721
- * Creates a function that invokes the method at path on a given object. Any additional arguments are provided
722
- * to the invoked method.
723
- *
724
- * @param path The path of the method to invoke.
725
- * @param args The arguments to invoke the method with.
726
- * @return Returns the new function.
727
- */
728
- method(
729
- path: PropertyPath,
730
- ...args: any[]
731
- ): (object: any) => any;
732
- }
733
-
734
- interface LoDashImplicitWrapper<TValue> {
735
- /**
736
- * @see _.method
737
- */
738
- method(...args: any[]): LoDashImplicitWrapper<(object: any) => any>;
739
- }
740
-
741
- interface LoDashExplicitWrapper<TValue> {
742
- /**
743
- * @see _.method
744
- */
745
- method(...args: any[]): LoDashExplicitWrapper<(object: any) => any>;
746
- }
747
-
748
- // methodOf
749
-
750
- interface LoDashStatic {
751
- /**
752
- * The opposite of _.method; this method creates a function that invokes the method at a given path on object.
753
- * Any additional arguments are provided to the invoked method.
754
- *
755
- * @param object The object to query.
756
- * @param args The arguments to invoke the method with.
757
- * @return Returns the new function.
758
- */
759
- methodOf(
760
- object: object,
761
- ...args: any[]
762
- ): (path: PropertyPath) => any;
763
- }
764
-
765
- interface LoDashImplicitWrapper<TValue> {
766
- /**
767
- * @see _.methodOf
768
- */
769
- methodOf(
770
- ...args: any[]
771
- ): LoDashImplicitWrapper<(path: PropertyPath) => any>;
772
- }
773
-
774
- interface LoDashExplicitWrapper<TValue> {
775
- /**
776
- * @see _.methodOf
777
- */
778
- methodOf(
779
- ...args: any[]
780
- ): LoDashExplicitWrapper<(path: PropertyPath) => any>;
781
- }
782
-
783
- // mixin
784
-
785
- interface MixinOptions {
786
- chain?: boolean;
787
- }
788
-
789
- interface LoDashStatic {
790
- /**
791
- * Adds all own enumerable function properties of a source object to the destination object. If object is a
792
- * function then methods are added to its prototype as well.
793
- *
794
- * Note: Use _.runInContext to create a pristine lodash function to avoid conflicts caused by modifying
795
- * the original.
796
- *
797
- * @param object The destination object.
798
- * @param source The object of functions to add.
799
- * @param options The options object.
800
- * @param options.chain Specify whether the functions added are chainable.
801
- * @return Returns object.
802
- */
803
- mixin<TObject>(
804
- object: TObject,
805
- source: Dictionary<(...args: any[]) => any>,
806
- options?: MixinOptions
807
- ): TObject;
808
-
809
- /**
810
- * @see _.mixin
811
- */
812
- mixin<TResult>(
813
- source: Dictionary<(...args: any[]) => any>,
814
- options?: MixinOptions
815
- ): LoDashStatic;
816
- }
817
-
818
- interface LoDashImplicitWrapper<TValue> {
819
- /**
820
- * @see _.mixin
821
- */
822
- mixin(
823
- source: Dictionary<(...args: any[]) => any>,
824
- options?: MixinOptions
825
- ): this;
826
-
827
- /**
828
- * @see _.mixin
829
- */
830
- mixin(
831
- options?: MixinOptions
832
- ): LoDashImplicitWrapper<LoDashStatic>;
833
- }
834
-
835
- interface LoDashExplicitWrapper<TValue> {
836
- /**
837
- * @see _.mixin
838
- */
839
- mixin(
840
- source: Dictionary<(...args: any[]) => any>,
841
- options?: MixinOptions
842
- ): this;
843
-
844
- /**
845
- * @see _.mixin
846
- */
847
- mixin(
848
- options?: MixinOptions
849
- ): LoDashExplicitWrapper<LoDashStatic>;
850
- }
851
-
852
- // noConflict
853
-
854
- interface LoDashStatic {
855
- /**
856
- * Reverts the _ variable to its previous value and returns a reference to the lodash function.
857
- *
858
- * @return Returns the lodash function.
859
- */
860
- noConflict(): typeof _;
861
- }
862
-
863
- interface LoDashImplicitWrapper<TValue> {
864
- /**
865
- * @see _.noConflict
866
- */
867
- noConflict(): typeof _;
868
- }
869
-
870
- interface LoDashExplicitWrapper<TValue> {
871
- /**
872
- * @see _.noConflict
873
- */
874
- noConflict(): LoDashExplicitWrapper<typeof _>;
875
- }
876
-
877
- // noop
878
-
879
- interface LoDashStatic {
880
- /**
881
- * A no-operation function that returns undefined regardless of the arguments it receives.
882
- *
883
- * @return undefined
884
- */
885
- noop(...args: any[]): void;
886
- }
887
-
888
- interface LoDashImplicitWrapper<TValue> {
889
- /**
890
- * @see _.noop
891
- */
892
- noop(...args: any[]): void;
893
- }
894
-
895
- interface LoDashExplicitWrapper<TValue> {
896
- /**
897
- * @see _.noop
898
- */
899
- noop(...args: any[]): LoDashExplicitWrapper<undefined>;
900
- }
901
-
902
- // nthArg
903
-
904
- interface LoDashStatic {
905
- /**
906
- * Creates a function that returns its nth argument.
907
- *
908
- * @param n The index of the argument to return.
909
- * @return Returns the new function.
910
- */
911
- nthArg(n?: number): (...args: any[]) => any;
912
- }
913
-
914
- interface LoDashImplicitWrapper<TValue> {
915
- /**
916
- * @see _.nthArg
917
- */
918
- nthArg(): LoDashImplicitWrapper<(...args: any[]) => any>;
919
- }
920
-
921
- interface LoDashExplicitWrapper<TValue> {
922
- /**
923
- * @see _.nthArg
924
- */
925
- nthArg(): LoDashExplicitWrapper<(...args: any[]) => any>;
926
- }
927
-
928
- // over
929
-
930
- interface LoDashStatic {
931
- /**
932
- * Creates a function that invokes iteratees with the arguments provided to the created function and returns
933
- * their results.
934
- *
935
- * @param iteratees The iteratees to invoke.
936
- * @return Returns the new function.
937
- */
938
- over<TResult>(...iteratees: Array<Many<(...args: any[]) => TResult>>): (...args: any[]) => TResult[];
939
- }
940
-
941
- interface LoDashImplicitWrapper<TValue> {
942
- /**
943
- * @see _.over
944
- */
945
- over<TResult>(
946
- this: LoDashImplicitWrapper<Many<(...args: any[]) => TResult>>,
947
- ...iteratees: Array<Many<(...args: any[]) => TResult>>
948
- ): LoDashImplicitWrapper<(...args: any[]) => TResult[]>;
949
- }
950
-
951
- interface LoDashExplicitWrapper<TValue> {
952
- /**
953
- * @see _.over
954
- */
955
- over<TResult>(
956
- this: LoDashExplicitWrapper<Many<(...args: any[]) => TResult>>,
957
- ...iteratees: Array<Many<(...args: any[]) => TResult>>
958
- ): LoDashExplicitWrapper<(...args: any[]) => TResult[]>;
959
- }
960
-
961
- // overEvery
962
-
963
- interface LoDashStatic {
964
- /**
965
- * Creates a function that checks if all of the predicates return truthy when invoked with the arguments
966
- * provided to the created function.
967
- *
968
- * @param predicates The predicates to check.
969
- * @return Returns the new function.
970
- */
971
- overEvery<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): (...args: T[]) => boolean;
972
- }
973
-
974
- interface LoDashImplicitWrapper<TValue> {
975
- /**
976
- * @see _.overEvery
977
- */
978
- overEvery<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): LoDashImplicitWrapper<(...args: T[]) => boolean>;
979
- }
980
-
981
- interface LoDashExplicitWrapper<TValue> {
982
- /**
983
- * @see _.overEvery
984
- */
985
- overEvery<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): LoDashExplicitWrapper<(...args: T[]) => boolean>;
986
- }
987
-
988
- // overSome
989
-
990
- interface LoDashStatic {
991
- /**
992
- * Creates a function that checks if any of the predicates return truthy when invoked with the arguments
993
- * provided to the created function.
994
- *
995
- * @param predicates The predicates to check.
996
- * @return Returns the new function.
997
- */
998
- overSome<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): (...args: T[]) => boolean;
999
- }
1000
-
1001
- interface LoDashImplicitWrapper<TValue> {
1002
- /**
1003
- * @see _.overSome
1004
- */
1005
- overSome<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): LoDashImplicitWrapper<(...args: T[]) => boolean>;
1006
- }
1007
-
1008
- interface LoDashExplicitWrapper<TValue> {
1009
- /**
1010
- * @see _.overSome
1011
- */
1012
- overSome<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): LoDashExplicitWrapper<(...args: T[]) => boolean>;
1013
- }
1014
-
1015
- // property
1016
-
1017
- interface LoDashStatic {
1018
- /**
1019
- * Creates a function that returns the property value at path on a given object.
1020
- *
1021
- * @param path The path of the property to get.
1022
- * @return Returns the new function.
1023
- */
1024
- property<TObj, TResult>(path: PropertyPath): (obj: TObj) => TResult;
1025
- }
1026
-
1027
- interface LoDashImplicitWrapper<TValue> {
1028
- /**
1029
- * @see _.property
1030
- */
1031
- property<TObj, TResult>(): LoDashImplicitWrapper<(obj: TObj) => TResult>;
1032
- }
1033
-
1034
- interface LoDashExplicitWrapper<TValue> {
1035
- /**
1036
- * @see _.property
1037
- */
1038
- property<TObj, TResult>(): LoDashExplicitWrapper<(obj: TObj) => TResult>;
1039
- }
1040
-
1041
- // propertyOf
1042
-
1043
- interface LoDashStatic {
1044
- /**
1045
- * The opposite of _.property; this method creates a function that returns the property value at a given path
1046
- * on object.
1047
- *
1048
- * @param object The object to query.
1049
- * @return Returns the new function.
1050
- */
1051
- propertyOf<T extends {}>(object: T): (path: PropertyPath) => any;
1052
- }
1053
-
1054
- interface LoDashImplicitWrapper<TValue> {
1055
- /**
1056
- * @see _.propertyOf
1057
- */
1058
- propertyOf(): LoDashImplicitWrapper<(path: PropertyPath) => any>;
1059
- }
1060
-
1061
- interface LoDashExplicitWrapper<TValue> {
1062
- /**
1063
- * @see _.propertyOf
1064
- */
1065
- propertyOf(): LoDashExplicitWrapper<(path: PropertyPath) => any>;
1066
- }
1067
-
1068
- // range
1069
-
1070
- interface LoDashStatic {
1071
- /**
1072
- * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end.
1073
- * If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length
1074
- * range is created unless a negative step is specified.
1075
- *
1076
- * @param start The start of the range.
1077
- * @param end The end of the range.
1078
- * @param step The value to increment or decrement by.
1079
- * @return Returns a new range array.
1080
- */
1081
- range(
1082
- start: number,
1083
- end?: number,
1084
- step?: number
1085
- ): number[];
1086
-
1087
- /**
1088
- * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end.
1089
- * If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length
1090
- * range is created unless a negative step is specified.
1091
- *
1092
- * @param start The start of the range.
1093
- * @param index Not used in this overload.
1094
- * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
1095
- * @return Returns a new range array.
1096
- */
1097
- range(
1098
- end: number,
1099
- index: string | number,
1100
- guard: object
1101
- ): number[];
1102
- }
1103
-
1104
- interface LoDashImplicitWrapper<TValue> {
1105
- /**
1106
- * @see _.range
1107
- */
1108
- range(
1109
- end?: number,
1110
- step?: number
1111
- ): LoDashImplicitWrapper<number[]>;
1112
- }
1113
-
1114
- interface LoDashExplicitWrapper<TValue> {
1115
- /**
1116
- * @see _.range
1117
- */
1118
- range(
1119
- end?: number,
1120
- step?: number
1121
- ): LoDashExplicitWrapper<number[]>;
1122
- }
1123
-
1124
- // rangeRight
1125
-
1126
- interface LoDashStatic {
1127
- /**
1128
- * This method is like `_.range` except that it populates values in
1129
- * descending order.
1130
- *
1131
- * @category Util
1132
- * @param start The start of the range.
1133
- * @param end The end of the range.
1134
- * @param step The value to increment or decrement by.
1135
- * @returns Returns the new array of numbers.
1136
- * @example
1137
- *
1138
- * _.rangeRight(4);
1139
- * // => [3, 2, 1, 0]
1140
- *
1141
- * _.rangeRight(-4);
1142
- * // => [-3, -2, -1, 0]
1143
- *
1144
- * _.rangeRight(1, 5);
1145
- * // => [4, 3, 2, 1]
1146
- *
1147
- * _.rangeRight(0, 20, 5);
1148
- * // => [15, 10, 5, 0]
1149
- *
1150
- * _.rangeRight(0, -4, -1);
1151
- * // => [-3, -2, -1, 0]
1152
- *
1153
- * _.rangeRight(1, 4, 0);
1154
- * // => [1, 1, 1]
1155
- *
1156
- * _.rangeRight(0);
1157
- * // => []
1158
- */
1159
- rangeRight(
1160
- start: number,
1161
- end?: number,
1162
- step?: number
1163
- ): number[];
1164
-
1165
- /**
1166
- * This method is like _.range except that it populates values in
1167
- * descending order.
1168
- *
1169
- * @param start The start of the range.
1170
- * @param index Not used in this overload.
1171
- * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
1172
- * @return Returns a new range array.
1173
- */
1174
- rangeRight(
1175
- end: number,
1176
- index: string | number,
1177
- guard: object
1178
- ): number[];
1179
- }
1180
-
1181
- interface LoDashImplicitWrapper<TValue> {
1182
- /**
1183
- * @see _.rangeRight
1184
- */
1185
- rangeRight(
1186
- end?: number,
1187
- step?: number
1188
- ): LoDashImplicitWrapper<number[]>;
1189
- }
1190
-
1191
- interface LoDashExplicitWrapper<TValue> {
1192
- /**
1193
- * @see _.rangeRight
1194
- */
1195
- rangeRight(
1196
- end?: number,
1197
- step?: number
1198
- ): LoDashExplicitWrapper<number[]>;
1199
- }
1200
-
1201
- // runInContext
1202
-
1203
- interface LoDashStatic {
1204
- /**
1205
- * Create a new pristine lodash function using the given context object.
1206
- *
1207
- * @param context The context object.
1208
- * @return Returns a new lodash function.
1209
- */
1210
- runInContext(context?: object): LoDashStatic;
1211
- }
1212
-
1213
- interface LoDashImplicitWrapper<TValue> {
1214
- /**
1215
- * @see _.runInContext
1216
- */
1217
- runInContext(): LoDashStatic;
1218
- }
1219
-
1220
- // stubArray
1221
-
1222
- interface LoDashStatic {
1223
- /**
1224
- * This method returns a new empty array.
1225
- *
1226
- * @returns Returns the new empty array.
1227
- */
1228
- stubArray(): any[];
1229
- }
1230
-
1231
- interface LoDashImplicitWrapper<TValue> {
1232
- /**
1233
- * @see _.stubArray
1234
- */
1235
- stubArray(): any[];
1236
- }
1237
-
1238
- interface LoDashExplicitWrapper<TValue> {
1239
- /**
1240
- * @see _.stubArray
1241
- */
1242
- stubArray(): LoDashExplicitWrapper<any[]>;
1243
- }
1244
-
1245
- // stubFalse
1246
-
1247
- interface LoDashStatic {
1248
- /**
1249
- * This method returns `false`.
1250
- *
1251
- * @returns Returns `false`.
1252
- */
1253
- stubFalse(): false;
1254
- }
1255
-
1256
- interface LoDashImplicitWrapper<TValue> {
1257
- /**
1258
- * @see _.stubFalse
1259
- */
1260
- stubFalse(): false;
1261
- }
1262
-
1263
- interface LoDashExplicitWrapper<TValue> {
1264
- /**
1265
- * @see _.stubFalse
1266
- */
1267
- stubFalse(): LoDashExplicitWrapper<false>;
1268
- }
1269
-
1270
- // stubObject
1271
-
1272
- interface LoDashStatic {
1273
- /**
1274
- * This method returns a new empty object.
1275
- *
1276
- * @returns Returns the new empty object.
1277
- */
1278
- stubObject(): any;
1279
- }
1280
-
1281
- interface LoDashImplicitWrapper<TValue> {
1282
- /**
1283
- * @see _.stubObject
1284
- */
1285
- stubObject(): any;
1286
- }
1287
-
1288
- interface LoDashExplicitWrapper<TValue> {
1289
- /**
1290
- * @see _.stubObject
1291
- */
1292
- stubObject(): LoDashExplicitWrapper<any>;
1293
- }
1294
-
1295
- // stubString
1296
-
1297
- interface LoDashStatic {
1298
- /**
1299
- * This method returns an empty string.
1300
- *
1301
- * @returns Returns the empty string.
1302
- */
1303
- stubString(): string;
1304
- }
1305
-
1306
- interface LoDashImplicitWrapper<TValue> {
1307
- /**
1308
- * @see _.stubString
1309
- */
1310
- stubString(): string;
1311
- }
1312
-
1313
- interface LoDashExplicitWrapper<TValue> {
1314
- /**
1315
- * @see _.stubString
1316
- */
1317
- stubString(): LoDashExplicitWrapper<string>;
1318
- }
1319
-
1320
- // stubTrue
1321
-
1322
- interface LoDashStatic {
1323
- /**
1324
- * This method returns `true`.
1325
- *
1326
- * @returns Returns `true`.
1327
- */
1328
- stubTrue(): true;
1329
- }
1330
-
1331
- interface LoDashImplicitWrapper<TValue> {
1332
- /**
1333
- * @see _.stubTrue
1334
- */
1335
- stubTrue(): true;
1336
- }
1337
-
1338
- interface LoDashExplicitWrapper<TValue> {
1339
- /**
1340
- * @see _.stubTrue
1341
- */
1342
- stubTrue(): LoDashExplicitWrapper<true>;
1343
- }
1344
-
1345
- // times
1346
-
1347
- interface LoDashStatic {
1348
- /**
1349
- * Invokes the iteratee function n times, returning an array of the results of each invocation. The iteratee
1350
- * is invoked with one argument; (index).
1351
- *
1352
- * @param n The number of times to invoke iteratee.
1353
- * @param iteratee The function invoked per iteration.
1354
- * @return Returns the array of results.
1355
- */
1356
- times<TResult>(
1357
- n: number,
1358
- iteratee: (num: number) => TResult
1359
- ): TResult[];
1360
-
1361
- /**
1362
- * @see _.times
1363
- */
1364
- times(n: number): number[];
1365
- }
1366
-
1367
- interface LoDashImplicitWrapper<TValue> {
1368
- /**
1369
- * @see _.times
1370
- */
1371
- times<TResult>(
1372
- iteratee: (num: number) => TResult
1373
- ): TResult[];
1374
-
1375
- /**
1376
- * @see _.times
1377
- */
1378
- times(): number[];
1379
- }
1380
-
1381
- interface LoDashExplicitWrapper<TValue> {
1382
- /**
1383
- * @see _.times
1384
- */
1385
- times<TResult>(
1386
- iteratee: (num: number) => TResult
1387
- ): LoDashExplicitWrapper<TResult[]>;
1388
-
1389
- /**
1390
- * @see _.times
1391
- */
1392
- times(): LoDashExplicitWrapper<number[]>;
1393
- }
1394
-
1395
- // toPath
1396
-
1397
- interface LoDashStatic {
1398
- /**
1399
- * Converts `value` to a property path array.
1400
- *
1401
- * @category Util
1402
- * @param value The value to convert.
1403
- * @returns Returns the new property path array.
1404
- * @example
1405
- *
1406
- * _.toPath('a.b.c');
1407
- * // => ['a', 'b', 'c']
1408
- *
1409
- * _.toPath('a[0].b.c');
1410
- * // => ['a', '0', 'b', 'c']
1411
- *
1412
- * var path = ['a', 'b', 'c'],
1413
- * newPath = _.toPath(path);
1414
- *
1415
- * console.log(newPath);
1416
- * // => ['a', 'b', 'c']
1417
- *
1418
- * console.log(path === newPath);
1419
- * // => false
1420
- */
1421
- toPath(value: any): string[];
1422
- }
1423
-
1424
- interface LoDashImplicitWrapper<TValue> {
1425
- /**
1426
- * @see _.toPath
1427
- */
1428
- toPath(): LoDashImplicitWrapper<string[]>;
1429
- }
1430
-
1431
- interface LoDashExplicitWrapper<TValue> {
1432
- /**
1433
- * @see _.toPath
1434
- */
1435
- toPath(): LoDashExplicitWrapper<string[]>;
1436
- }
1437
-
1438
- // uniqueId
1439
-
1440
- interface LoDashStatic {
1441
- /**
1442
- * Generates a unique ID. If prefix is provided the ID is appended to it.
1443
- *
1444
- * @param prefix The value to prefix the ID with.
1445
- * @return Returns the unique ID.
1446
- */
1447
- uniqueId(prefix?: string): string;
1448
- }
1449
-
1450
- interface LoDashImplicitWrapper<TValue> {
1451
- /**
1452
- * @see _.uniqueId
1453
- */
1454
- uniqueId(): string;
1455
- }
1456
-
1457
- interface LoDashExplicitWrapper<TValue> {
1458
- /**
1459
- * @see _.uniqueId
1460
- */
1461
- uniqueId(): LoDashExplicitWrapper<string>;
1462
- }
1463
- }
1
+ import _ = require("../index");
2
+ declare module "../index" {
3
+ // attempt
4
+
5
+ interface LoDashStatic {
6
+ /**
7
+ * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments
8
+ * are provided to func when it’s invoked.
9
+ *
10
+ * @param func The function to attempt.
11
+ * @return Returns the func result or error object.
12
+ */
13
+ attempt<TResult>(func: (...args: any[]) => TResult, ...args: any[]): TResult|Error;
14
+ }
15
+
16
+ interface LoDashImplicitWrapper<TValue> {
17
+ /**
18
+ * @see _.attempt
19
+ */
20
+ attempt<TResult>(...args: any[]): TResult|Error;
21
+ }
22
+
23
+ interface LoDashExplicitWrapper<TValue> {
24
+ /**
25
+ * @see _.attempt
26
+ */
27
+ attempt<TResult>(...args: any[]): LoDashExplicitWrapper<TResult|Error>;
28
+ }
29
+
30
+ // bindAll
31
+
32
+ interface LoDashStatic {
33
+ /**
34
+ * Binds methods of an object to the object itself, overwriting the existing method. Method names may be
35
+ * specified as individual arguments or as arrays of method names. If no method names are provided all
36
+ * enumerable function properties, own and inherited, of object are bound.
37
+ *
38
+ * Note: This method does not set the "length" property of bound functions.
39
+ *
40
+ * @param object The object to bind and assign the bound methods to.
41
+ * @param methodNames The object method names to bind, specified as individual method names or arrays of
42
+ * method names.
43
+ * @return Returns object.
44
+ */
45
+ bindAll<T>(
46
+ object: T,
47
+ ...methodNames: Array<Many<string>>
48
+ ): T;
49
+ }
50
+
51
+ interface LoDashWrapper<TValue> {
52
+ /**
53
+ * @see _.bindAll
54
+ */
55
+ bindAll(...methodNames: Array<Many<string>>): this;
56
+ }
57
+
58
+ // cond
59
+
60
+ interface LoDashStatic {
61
+ /**
62
+ * Creates a function that iterates over `pairs` and invokes the corresponding
63
+ * function of the first predicate to return truthy. The predicate-function
64
+ * pairs are invoked with the `this` binding and arguments of the created
65
+ * function.
66
+ *
67
+ * @since 4.0.0
68
+ * @category Util
69
+ * @param pairs The predicate-function pairs.
70
+ * @returns Returns the new composite function.
71
+ * @example
72
+ *
73
+ * var func = _.cond([
74
+ * [_.matches({ 'a': 1 }), _.constant('matches A')],
75
+ * [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],
76
+ * [_.stubTrue, _.constant('no match')]
77
+ * ]);
78
+ *
79
+ * func({ 'a': 1, 'b': 2 });
80
+ * // => 'matches A'
81
+ *
82
+ * func({ 'a': 0, 'b': 1 });
83
+ * // => 'matches B'
84
+ *
85
+ * func({ 'a': '1', 'b': '2' });
86
+ * // => 'no match'
87
+ */
88
+ cond<T, R>(pairs: Array<CondPair<T, R>>): (Target: T) => R;
89
+ }
90
+
91
+ // conforms
92
+
93
+ type ConformsPredicateObject<T> = {
94
+ [P in keyof T]?: (val: T[P]) => boolean;
95
+ };
96
+
97
+ interface LoDashStatic {
98
+ /**
99
+ * Creates a function that invokes the predicate properties of `source` with the corresponding
100
+ * property values of a given object, returning true if all predicates return truthy, else false.
101
+ */
102
+ conforms<T>(source: ConformsPredicateObject<T>): (value: T) => boolean;
103
+ }
104
+
105
+ interface LoDashImplicitWrapper<TValue> {
106
+ /**
107
+ * @see _.conforms
108
+ */
109
+ conforms<T>(this: LoDashImplicitWrapper<ConformsPredicateObject<T>>): LoDashImplicitWrapper<(value: T) => boolean>;
110
+ }
111
+
112
+ interface LoDashExplicitWrapper<TValue> {
113
+ /**
114
+ * @see _.conforms
115
+ */
116
+ conforms<T>(this: LoDashExplicitWrapper<ConformsPredicateObject<T>>): LoDashExplicitWrapper<(value: T) => boolean>;
117
+ }
118
+
119
+ // constant
120
+
121
+ interface LoDashStatic {
122
+ /**
123
+ * Creates a function that returns value.
124
+ *
125
+ * @param value The value to return from the new function.
126
+ * @return Returns the new function.
127
+ */
128
+ constant<T>(value: T): () => T;
129
+ }
130
+
131
+ interface LoDashImplicitWrapper<TValue> {
132
+ /**
133
+ * @see _.constant
134
+ */
135
+ constant(): LoDashImplicitWrapper<() => TValue>;
136
+ }
137
+
138
+ interface LoDashExplicitWrapper<TValue> {
139
+ /**
140
+ * @see _.constant
141
+ */
142
+ constant(): LoDashExplicitWrapper<() => TValue>;
143
+ }
144
+
145
+ // defaultTo
146
+
147
+ interface LoDashStatic {
148
+ /**
149
+ * Checks `value` to determine whether a default value should be returned in
150
+ * its place. The `defaultValue` is returned if `value` is `NaN`, `null`,
151
+ * or `undefined`.
152
+ *
153
+ * @param value The value to check.
154
+ * @param defaultValue The default value.
155
+ * @returns Returns the resolved value.
156
+ */
157
+ defaultTo<T>(value: T | null | undefined, defaultValue: T): T;
158
+
159
+ /**
160
+ * @see _.defaultTo
161
+ */
162
+ defaultTo<T, TDefault>(
163
+ value: T | null | undefined,
164
+ defaultValue: TDefault
165
+ ): T | TDefault;
166
+ }
167
+
168
+ interface LoDashImplicitWrapper<TValue> {
169
+ /**
170
+ * @see _.defaultTo
171
+ */
172
+ defaultTo<T>(this: LoDashImplicitWrapper<T | null | undefined>, defaultValue: T): T;
173
+
174
+ /**
175
+ * @see _.defaultTo
176
+ */
177
+ defaultTo<T, TDefault>(
178
+ this: LoDashImplicitWrapper<T | null | undefined>,
179
+ defaultValue: TDefault
180
+ ): T | TDefault;
181
+ }
182
+
183
+ interface LoDashExplicitWrapper<TValue> {
184
+ /**
185
+ * @see _.defaultTo
186
+ */
187
+ defaultTo<T>(this: LoDashExplicitWrapper<T | null | undefined>, defaultValue: T): LoDashExplicitWrapper<T>;
188
+
189
+ /**
190
+ * @see _.defaultTo
191
+ */
192
+ defaultTo<T, TDefault>(
193
+ this: LoDashExplicitWrapper<T | null | undefined>,
194
+ defaultValue: TDefault
195
+ ): LoDashExplicitWrapper<T | TDefault>;
196
+ }
197
+
198
+ // flow
199
+
200
+ interface LoDashStatic {
201
+ /**
202
+ * Creates a function that returns the result of invoking the provided functions with the this binding of the
203
+ * created function, where each successive invocation is supplied the return value of the previous.
204
+ *
205
+ * @param funcs Functions to invoke.
206
+ * @return Returns the new function.
207
+ */
208
+ // 0-argument first function
209
+ flow<R1, R2>(f1: () => R1, f2: (a: R1) => R2): () => R2;
210
+ flow<R1, R2, R3>(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): () => R3;
211
+ flow<R1, R2, R3, R4>(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): () => R4;
212
+ flow<R1, R2, R3, R4, R5>(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): () => R5;
213
+ flow<R1, R2, R3, R4, R5, R6>(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): () => R6;
214
+ flow<R1, R2, R3, R4, R5, R6, R7>(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): () => R7;
215
+ flow<R1, R2, R3, R4, R5, R6, R7>(f1: () => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): () => any;
216
+ // 1-argument first function
217
+ flow<A1, R1, R2>(f1: (a1: A1) => R1, f2: (a: R1) => R2): (a1: A1) => R2;
218
+ flow<A1, R1, R2, R3>(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1) => R3;
219
+ flow<A1, R1, R2, R3, R4>(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1) => R4;
220
+ flow<A1, R1, R2, R3, R4, R5>(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1) => R5;
221
+ flow<A1, R1, R2, R3, R4, R5, R6>(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1) => R6;
222
+ flow<A1, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1) => R7;
223
+ flow<A1, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): (a1: A1) => any;
224
+ // 2-argument first function
225
+ flow<A1, A2, R1, R2>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2) => R2;
226
+ flow<A1, A2, R1, R2, R3>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2) => R3;
227
+ flow<A1, A2, R1, R2, R3, R4>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2) => R4;
228
+ flow<A1, A2, R1, R2, R3, R4, R5>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2) => R5;
229
+ flow<A1, A2, R1, R2, R3, R4, R5, R6>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2) => R6;
230
+ flow<A1, A2, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2) => R7;
231
+ flow<A1, A2, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): (a1: A1, a2: A2) => any;
232
+ // 3-argument first function
233
+ flow<A1, A2, A3, R1, R2>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2, a3: A3) => R2;
234
+ flow<A1, A2, A3, R1, R2, R3>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2, a3: A3) => R3;
235
+ flow<A1, A2, A3, R1, R2, R3, R4>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2, a3: A3) => R4;
236
+ flow<A1, A2, A3, R1, R2, R3, R4, R5>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2, a3: A3) => R5;
237
+ flow<A1, A2, A3, R1, R2, R3, R4, R5, R6>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2, a3: A3) => R6;
238
+ flow<A1, A2, A3, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2, a3: A3) => R7;
239
+ flow<A1, A2, A3, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2, a3: A3) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): (a1: A1, a2: A2, a3: A3) => any;
240
+ // 4-argument first function
241
+ flow<A1, A2, A3, A4, R1, R2>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2, a3: A3, a4: A4) => R2;
242
+ flow<A1, A2, A3, A4, R1, R2, R3>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2, a3: A3, a4: A4) => R3;
243
+ flow<A1, A2, A3, A4, R1, R2, R3, R4>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2, a3: A3, a4: A4) => R4;
244
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2, a3: A3, a4: A4) => R5;
245
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2, a3: A3, a4: A4) => R6;
246
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2, a3: A3, a4: A4) => R7;
247
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): (a1: A1, a2: A2, a3: A3, a4: A4) => any;
248
+ // any-argument first function
249
+ flow<A1, A2, A3, A4, R1, R2>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R2;
250
+ flow<A1, A2, A3, A4, R1, R2, R3>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R3;
251
+ flow<A1, A2, A3, A4, R1, R2, R3, R4>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R4;
252
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R5;
253
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R6;
254
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R7;
255
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(f1: (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): (a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => any;
256
+ flow(funcs: Array<Many<(...args: any[]) => any>>): (...args: any[]) => any;
257
+ }
258
+
259
+ interface LoDashImplicitWrapper<TValue> {
260
+ /**
261
+ * @see _.flow
262
+ */
263
+ // 0-argument first function
264
+ flow<R1, R2>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<() => R2>;
265
+ flow<R1, R2, R3>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<() => R3>;
266
+ flow<R1, R2, R3, R4>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<() => R4>;
267
+ flow<R1, R2, R3, R4, R5>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<() => R5>;
268
+ flow<R1, R2, R3, R4, R5, R6>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<() => R6>;
269
+ flow<R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<() => R7>;
270
+ flow<R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<() => any>;
271
+ // 1-argument first function
272
+ flow<A1, R1, R2>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1) => R2>;
273
+ flow<A1, R1, R2, R3>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1) => R3>;
274
+ flow<A1, R1, R2, R3, R4>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1) => R4>;
275
+ flow<A1, R1, R2, R3, R4, R5>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1) => R5>;
276
+ flow<A1, R1, R2, R3, R4, R5, R6>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1) => R6>;
277
+ flow<A1, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1) => R7>;
278
+ flow<A1, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<(a1: A1) => any>;
279
+ // 2-argument first function
280
+ flow<A1, A2, R1, R2>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2) => R2>;
281
+ flow<A1, A2, R1, R2, R3>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2) => R3>;
282
+ flow<A1, A2, R1, R2, R3, R4>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2) => R4>;
283
+ flow<A1, A2, R1, R2, R3, R4, R5>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2) => R5>;
284
+ flow<A1, A2, R1, R2, R3, R4, R5, R6>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2) => R6>;
285
+ flow<A1, A2, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2) => R7>;
286
+ flow<A1, A2, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<(a1: A1, a2: A2) => any>;
287
+ // 3-argument first function
288
+ flow<A1, A2, A3, R1, R2>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>;
289
+ flow<A1, A2, A3, R1, R2, R3>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>;
290
+ flow<A1, A2, A3, R1, R2, R3, R4>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>;
291
+ flow<A1, A2, A3, R1, R2, R3, R4, R5>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>;
292
+ flow<A1, A2, A3, R1, R2, R3, R4, R5, R6>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>;
293
+ flow<A1, A2, A3, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>;
294
+ flow<A1, A2, A3, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => any>;
295
+ // 4-argument first function
296
+ flow<A1, A2, A3, A4, R1, R2>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>;
297
+ flow<A1, A2, A3, A4, R1, R2, R3>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>;
298
+ flow<A1, A2, A3, A4, R1, R2, R3, R4>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>;
299
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>;
300
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>;
301
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>;
302
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => any>;
303
+ // any-argument first function
304
+ flow<A1, A2, A3, A4, R1, R2>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R2>;
305
+ flow<A1, A2, A3, A4, R1, R2, R3>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R3>;
306
+ flow<A1, A2, A3, A4, R1, R2, R3, R4>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R4>;
307
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R5>;
308
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R6>;
309
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R7>;
310
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => any>;
311
+ flow(this: LoDashImplicitWrapper<(...args: any[]) => any>, funcs: Array<Many<(a: any) => any>>): LoDashImplicitWrapper<(...args: any[]) => any>;
312
+ }
313
+
314
+ interface LoDashExplicitWrapper<TValue> {
315
+ /**
316
+ * @see _.flow
317
+ */
318
+ // 0-argument first function
319
+ flow<R1, R2>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<() => R2>;
320
+ flow<R1, R2, R3>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<() => R3>;
321
+ flow<R1, R2, R3, R4>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<() => R4>;
322
+ flow<R1, R2, R3, R4, R5>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<() => R5>;
323
+ flow<R1, R2, R3, R4, R5, R6>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<() => R6>;
324
+ flow<R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<() => R7>;
325
+ flow<R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<() => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<() => any>;
326
+ // 1-argument first function
327
+ flow<A1, R1, R2>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1) => R2>;
328
+ flow<A1, R1, R2, R3>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1) => R3>;
329
+ flow<A1, R1, R2, R3, R4>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1) => R4>;
330
+ flow<A1, R1, R2, R3, R4, R5>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1) => R5>;
331
+ flow<A1, R1, R2, R3, R4, R5, R6>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1) => R6>;
332
+ flow<A1, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1) => R7>;
333
+ flow<A1, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<(a1: A1) => any>;
334
+ // 2-argument first function
335
+ flow<A1, A2, R1, R2>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2) => R2>;
336
+ flow<A1, A2, R1, R2, R3>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2) => R3>;
337
+ flow<A1, A2, R1, R2, R3, R4>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2) => R4>;
338
+ flow<A1, A2, R1, R2, R3, R4, R5>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2) => R5>;
339
+ flow<A1, A2, R1, R2, R3, R4, R5, R6>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2) => R6>;
340
+ flow<A1, A2, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2) => R7>;
341
+ flow<A1, A2, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<(a1: A1, a2: A2) => any>;
342
+ // 3-argument first function
343
+ flow<A1, A2, A3, R1, R2>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>;
344
+ flow<A1, A2, A3, R1, R2, R3>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>;
345
+ flow<A1, A2, A3, R1, R2, R3, R4>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>;
346
+ flow<A1, A2, A3, R1, R2, R3, R4, R5>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>;
347
+ flow<A1, A2, A3, R1, R2, R3, R4, R5, R6>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>;
348
+ flow<A1, A2, A3, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>;
349
+ flow<A1, A2, A3, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => any>;
350
+ // 4-argument first function
351
+ flow<A1, A2, A3, A4, R1, R2>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>;
352
+ flow<A1, A2, A3, A4, R1, R2, R3>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>;
353
+ flow<A1, A2, A3, A4, R1, R2, R3, R4>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>;
354
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>;
355
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>;
356
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>;
357
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => any>;
358
+ // any-argument first function
359
+ flow<A1, A2, A3, A4, R1, R2>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R2>;
360
+ flow<A1, A2, A3, A4, R1, R2, R3>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R3>;
361
+ flow<A1, A2, A3, A4, R1, R2, R3, R4>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R4>;
362
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R5>;
363
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R6>;
364
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R7>;
365
+ flow<A1, A2, A3, A4, R1, R2, R3, R4, R5, R6, R7>(this: LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => R1>, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4, ...args: any[]) => any>;
366
+ flow(this: LoDashExplicitWrapper<(...args: any[]) => any>, funcs: Array<Many<(a: any) => any>>): LoDashExplicitWrapper<(...args: any[]) => any>;
367
+ }
368
+
369
+ // flowRight
370
+
371
+ interface LoDashStatic {
372
+ /**
373
+ * This method is like _.flow except that it creates a function that invokes the provided functions from right
374
+ * to left.
375
+ *
376
+ * @param funcs Functions to invoke.
377
+ * @return Returns the new function.
378
+ */
379
+ // 0-argument first function
380
+ flowRight<R2, R1>(f2: (a: R1) => R2, f1: () => R1): () => R2;
381
+ flowRight<R3, R2, R1>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R3;
382
+ flowRight<R4, R3, R2, R1>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R4;
383
+ flowRight<R5, R4, R3, R2, R1>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R5;
384
+ flowRight<R6, R5, R4, R3, R2, R1>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R6;
385
+ flowRight<R7, R6, R5, R4, R3, R2, R1>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): () => R7;
386
+ // 1-argument first function
387
+ flowRight<A1, R2, R1>(f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R2;
388
+ flowRight<A1, R3, R2, R1>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R3;
389
+ flowRight<A1, R4, R3, R2, R1>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R4;
390
+ flowRight<A1, R5, R4, R3, R2, R1>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R5;
391
+ flowRight<A1, R6, R5, R4, R3, R2, R1>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R6;
392
+ flowRight<A1, R7, R6, R5, R4, R3, R2, R1>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): (a1: A1) => R7;
393
+ // 2-argument first function
394
+ flowRight<A1, A2, R2, R1>(f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R2;
395
+ flowRight<A1, A2, R3, R2, R1>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R3;
396
+ flowRight<A1, A2, R4, R3, R2, R1>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R4;
397
+ flowRight<A1, A2, R5, R4, R3, R2, R1>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R5;
398
+ flowRight<A1, A2, R6, R5, R4, R3, R2, R1>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R6;
399
+ flowRight<A1, A2, R7, R6, R5, R4, R3, R2, R1>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): (a1: A1, a2: A2) => R7;
400
+ // 3-argument first function
401
+ flowRight<A1, A2, A3, R2, R1>(f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R2;
402
+ flowRight<A1, A2, A3, R3, R2, R1>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R3;
403
+ flowRight<A1, A2, A3, R4, R3, R2, R1>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R4;
404
+ flowRight<A1, A2, A3, R5, R4, R3, R2, R1>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R5;
405
+ flowRight<A1, A2, A3, R6, R5, R4, R3, R2, R1>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R6;
406
+ flowRight<A1, A2, A3, R7, R6, R5, R4, R3, R2, R1>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): (a1: A1, a2: A2, a3: A3) => R7;
407
+ // 4-argument first function
408
+ flowRight<A1, A2, A3, A4, R2, R1>(f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R2;
409
+ flowRight<A1, A2, A3, A4, R3, R2, R1>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R3;
410
+ flowRight<A1, A2, A3, A4, R4, R3, R2, R1>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R4;
411
+ flowRight<A1, A2, A3, A4, R5, R4, R3, R2, R1>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R5;
412
+ flowRight<A1, A2, A3, A4, R6, R5, R4, R3, R2, R1>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R6;
413
+ flowRight<A1, A2, A3, A4, R7, R6, R5, R4, R3, R2, R1>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): (a1: A1, a2: A2, a3: A3, a4: A4) => R7;
414
+ // any-argument first function
415
+ flowRight<R2, R1>(f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R2;
416
+ flowRight<R3, R2, R1>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R3;
417
+ flowRight<R4, R3, R2, R1>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R4;
418
+ flowRight<R5, R4, R3, R2, R1>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R5;
419
+ flowRight<R6, R5, R4, R3, R2, R1>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R6;
420
+ flowRight<R7, R6, R5, R4, R3, R2, R1>(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): (...args: any[]) => R7;
421
+ flowRight(f7: (a: any) => any, f6: (a: any) => any, f5: (a: any) => any, f4: (a: any) => any, f3: (a: any) => any, f2: (a: any) => any, f1: () => any, ...funcs: Array<Many<(...args: any[]) => any>>): (...args: any[]) => any;
422
+ flowRight(funcs: Array<Many<(...args: any[]) => any>>): (...args: any[]) => any;
423
+ }
424
+
425
+ interface LoDashImplicitWrapper<TValue> {
426
+ /**
427
+ * @see _.flowRight
428
+ */
429
+ // 0-argument first function
430
+ flowRight<R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: () => R1): LoDashImplicitWrapper<() => R2>;
431
+ flowRight<R3, R2, R1>(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R3>;
432
+ flowRight<R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R4>;
433
+ flowRight<R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R5>;
434
+ flowRight<R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R6>;
435
+ flowRight<R7, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashImplicitWrapper<() => R7>;
436
+ // 1-argument first function
437
+ flowRight<A1, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R2>;
438
+ flowRight<A1, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R3>;
439
+ flowRight<A1, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R4>;
440
+ flowRight<A1, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R5>;
441
+ flowRight<A1, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R6>;
442
+ flowRight<A1, R7, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashImplicitWrapper<(a1: A1) => R7>;
443
+ // 2-argument first function
444
+ flowRight<A1, A2, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R2>;
445
+ flowRight<A1, A2, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R3>;
446
+ flowRight<A1, A2, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R4>;
447
+ flowRight<A1, A2, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R5>;
448
+ flowRight<A1, A2, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R6>;
449
+ flowRight<A1, A2, R7, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2) => R7>;
450
+ // 3-argument first function
451
+ flowRight<A1, A2, A3, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>;
452
+ flowRight<A1, A2, A3, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>;
453
+ flowRight<A1, A2, A3, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>;
454
+ flowRight<A1, A2, A3, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>;
455
+ flowRight<A1, A2, A3, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>;
456
+ flowRight<A1, A2, A3, R7, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>;
457
+ // 4-argument first function
458
+ flowRight<A1, A2, A3, A4, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>;
459
+ flowRight<A1, A2, A3, A4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>;
460
+ flowRight<A1, A2, A3, A4, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>;
461
+ flowRight<A1, A2, A3, A4, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>;
462
+ flowRight<A1, A2, A3, A4, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>;
463
+ flowRight<A1, A2, A3, A4, R7, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashImplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>;
464
+ // any-argument first function
465
+ flowRight<R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R2>;
466
+ flowRight<R3, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R3>;
467
+ flowRight<R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R4>;
468
+ flowRight<R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R5>;
469
+ flowRight<R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R6>;
470
+ flowRight<R7, R6, R5, R4, R3, R2, R1>(this: LoDashImplicitWrapper<(a: R1) => R2>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashImplicitWrapper<(...args: any[]) => R7>;
471
+ flowRight(this: LoDashImplicitWrapper<(a: any) => any>, f6: (a: any) => any, f5: (a: any) => any, f4: (a: any) => any, f3: (a: any) => any, f2: (a: any) => any, f1: () => any, ...funcs: Array<Many<(...args: any[]) => any>>): LoDashImplicitWrapper<(...args: any[]) => any>;
472
+ flowRight(this: LoDashImplicitWrapper<(a: any) => any>, funcs: Array<Many<(...args: any[]) => any>>): LoDashImplicitWrapper<(...args: any[]) => any>;
473
+ }
474
+
475
+ interface LoDashExplicitWrapper<TValue> {
476
+ /**
477
+ * @see _.flowRight
478
+ */
479
+ // 0-argument first function
480
+ flowRight<R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: () => R1): LoDashExplicitWrapper<() => R2>;
481
+ flowRight<R3, R2, R1>(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R3>;
482
+ flowRight<R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R4>;
483
+ flowRight<R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R5>;
484
+ flowRight<R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R6>;
485
+ flowRight<R7, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: () => R1): LoDashExplicitWrapper<() => R7>;
486
+ // 1-argument first function
487
+ flowRight<A1, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R2>;
488
+ flowRight<A1, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R3>;
489
+ flowRight<A1, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R4>;
490
+ flowRight<A1, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R5>;
491
+ flowRight<A1, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R6>;
492
+ flowRight<A1, R7, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1) => R1): LoDashExplicitWrapper<(a1: A1) => R7>;
493
+ // 2-argument first function
494
+ flowRight<A1, A2, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R2>;
495
+ flowRight<A1, A2, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R3>;
496
+ flowRight<A1, A2, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R4>;
497
+ flowRight<A1, A2, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R5>;
498
+ flowRight<A1, A2, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R6>;
499
+ flowRight<A1, A2, R7, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2) => R7>;
500
+ // 3-argument first function
501
+ flowRight<A1, A2, A3, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R2>;
502
+ flowRight<A1, A2, A3, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R3>;
503
+ flowRight<A1, A2, A3, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R4>;
504
+ flowRight<A1, A2, A3, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R5>;
505
+ flowRight<A1, A2, A3, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R6>;
506
+ flowRight<A1, A2, A3, R7, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3) => R7>;
507
+ // 4-argument first function
508
+ flowRight<A1, A2, A3, A4, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R2>;
509
+ flowRight<A1, A2, A3, A4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R2) => R3>, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R3>;
510
+ flowRight<A1, A2, A3, A4, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R3) => R4>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R4>;
511
+ flowRight<A1, A2, A3, A4, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R4) => R5>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R5>;
512
+ flowRight<A1, A2, A3, A4, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R5) => R6>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R6>;
513
+ flowRight<A1, A2, A3, A4, R7, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R6) => R7>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (a1: A1, a2: A2, a3: A3, a4: A4) => R1): LoDashExplicitWrapper<(a1: A1, a2: A2, a3: A3, a4: A4) => R7>;
514
+ // any-argument first function
515
+ flowRight<R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R2>;
516
+ flowRight<R3, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R3>;
517
+ flowRight<R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R4>;
518
+ flowRight<R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R5>;
519
+ flowRight<R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R6>;
520
+ flowRight<R7, R6, R5, R4, R3, R2, R1>(this: LoDashExplicitWrapper<(a: R1) => R2>, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: any[]) => R1): LoDashExplicitWrapper<(...args: any[]) => R7>;
521
+ flowRight(this: LoDashExplicitWrapper<(a: any) => any>, f6: (a: any) => any, f5: (a: any) => any, f4: (a: any) => any, f3: (a: any) => any, f2: (a: any) => any, f1: () => any, ...funcs: Array<Many<(...args: any[]) => any>>): LoDashExplicitWrapper<(...args: any[]) => any>;
522
+ flowRight(this: LoDashExplicitWrapper<(a: any) => any>, funcs: Array<Many<(...args: any[]) => any>>): LoDashExplicitWrapper<(...args: any[]) => any>;
523
+ }
524
+
525
+ // identity
526
+
527
+ interface LoDashStatic {
528
+ /**
529
+ * This method returns the first argument provided to it.
530
+ *
531
+ * @param value Any value.
532
+ * @return Returns value.
533
+ */
534
+ identity<T>(value: T): T;
535
+
536
+ /**
537
+ * @see _.identity
538
+ */
539
+ identity(): undefined;
540
+ }
541
+
542
+ interface LoDashImplicitWrapper<TValue> {
543
+ /**
544
+ * @see _.identity
545
+ */
546
+ identity(): TValue;
547
+ }
548
+
549
+ interface LoDashExplicitWrapper<TValue> {
550
+ /**
551
+ * @see _.identity
552
+ */
553
+ identity(): this;
554
+ }
555
+
556
+ // iteratee
557
+
558
+ interface LoDashStatic {
559
+ /**
560
+ * Creates a function that invokes `func` with the arguments of the created
561
+ * function. If `func` is a property name the created callback returns the
562
+ * property value for a given element. If `func` is an object the created
563
+ * callback returns `true` for elements that contain the equivalent object properties, otherwise it returns `false`.
564
+ *
565
+ * @category Util
566
+ * @param [func=_.identity] The value to convert to a callback.
567
+ * @returns Returns the callback.
568
+ * @example
569
+ *
570
+ * var users = [
571
+ * { 'user': 'barney', 'age': 36 },
572
+ * { 'user': 'fred', 'age': 40 }
573
+ * ];
574
+ *
575
+ * // create custom iteratee shorthands
576
+ * _.iteratee = _.wrap(_.iteratee, function(callback, func) {
577
+ * var p = /^(\S+)\s*([<>])\s*(\S+)$/.exec(func);
578
+ * return !p ? callback(func) : function(object) {
579
+ * return (p[2] == '>' ? object[p[1]] > p[3] : object[p[1]] < p[3]);
580
+ * };
581
+ * });
582
+ *
583
+ * _.filter(users, 'age > 36');
584
+ * // => [{ 'user': 'fred', 'age': 40 }]
585
+ */
586
+ iteratee<TFunction extends (...args: any[]) => any>(
587
+ func: TFunction
588
+ ): TFunction;
589
+
590
+ /**
591
+ * @see _.iteratee
592
+ */
593
+ // tslint:disable-next-line:unified-signatures Tests fail in TS2.3 if the overloads are joined
594
+ iteratee(
595
+ func: string | object
596
+ ): (...args: any[]) => any;
597
+
598
+ /**
599
+ * @see _.iteratee
600
+ */
601
+ iteratee(): typeof _.identity; // tslint:disable-line:no-unnecessary-qualifier
602
+ }
603
+
604
+ interface LoDashImplicitWrapper<TValue> {
605
+ /**
606
+ * @see _.iteratee
607
+ */
608
+ iteratee<TFunction extends (...args: any[]) => any>(
609
+ this: LoDashImplicitWrapper<TFunction | string | object>
610
+ ): LoDashImplicitWrapper<TFunction>;
611
+ }
612
+
613
+ interface LoDashExplicitWrapper<TValue> {
614
+ /**
615
+ * @see _.iteratee
616
+ */
617
+ iteratee<TFunction extends (...args: any[]) => any>(
618
+ this: LoDashExplicitWrapper<TFunction | string | object>
619
+ ): LoDashExplicitWrapper<TFunction>;
620
+ }
621
+
622
+ // matches
623
+
624
+ interface LoDashStatic {
625
+ /**
626
+ * Creates a function that performs a deep comparison between a given object and source, returning true if the
627
+ * given object has equivalent property values, else false.
628
+ *
629
+ * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and
630
+ * strings. Objects are compared by their own, not inherited, enumerable properties. For comparing a single own
631
+ * or inherited property value see _.matchesProperty.
632
+ *
633
+ * @param source The object of property values to match.
634
+ * @return Returns the new function.
635
+ */
636
+ matches<T>(source: T): (value: any) => boolean;
637
+
638
+ /**
639
+ * @see _.matches
640
+ */
641
+ matches<T, V>(source: T): (value: V) => boolean;
642
+ }
643
+
644
+ interface LoDashImplicitWrapper<TValue> {
645
+ /**
646
+ * @see _.matches
647
+ */
648
+ matches<V>(): LoDashImplicitWrapper<(value: V) => boolean>;
649
+ }
650
+
651
+ interface LoDashExplicitWrapper<TValue> {
652
+ /**
653
+ * @see _.matches
654
+ */
655
+ matches<V>(): LoDashExplicitWrapper<(value: V) => boolean>;
656
+ }
657
+
658
+ // matchesProperty
659
+
660
+ interface LoDashStatic {
661
+ /**
662
+ * Creates a function that compares the property value of path on a given object to value.
663
+ *
664
+ * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and
665
+ * strings. Objects are compared by their own, not inherited, enumerable properties.
666
+ *
667
+ * @param path The path of the property to get.
668
+ * @param srcValue The value to match.
669
+ * @return Returns the new function.
670
+ */
671
+ matchesProperty<T>(
672
+ path: PropertyPath,
673
+ srcValue: T
674
+ ): (value: any) => boolean;
675
+
676
+ /**
677
+ * @see _.matchesProperty
678
+ */
679
+ matchesProperty<T, V>(
680
+ path: PropertyPath,
681
+ srcValue: T
682
+ ): (value: V) => boolean;
683
+ }
684
+
685
+ interface LoDashImplicitWrapper<TValue> {
686
+ /**
687
+ * @see _.matchesProperty
688
+ */
689
+ matchesProperty<SrcValue>(
690
+ srcValue: SrcValue
691
+ ): LoDashImplicitWrapper<(value: any) => boolean>;
692
+
693
+ /**
694
+ * @see _.matchesProperty
695
+ */
696
+ matchesProperty<SrcValue, Value>(
697
+ srcValue: SrcValue
698
+ ): LoDashImplicitWrapper<(value: Value) => boolean>;
699
+ }
700
+
701
+ interface LoDashExplicitWrapper<TValue> {
702
+ /**
703
+ * @see _.matchesProperty
704
+ */
705
+ matchesProperty<SrcValue>(
706
+ srcValue: SrcValue
707
+ ): LoDashExplicitWrapper<(value: any) => boolean>;
708
+
709
+ /**
710
+ * @see _.matchesProperty
711
+ */
712
+ matchesProperty<SrcValue, Value>(
713
+ srcValue: SrcValue
714
+ ): LoDashExplicitWrapper<(value: Value) => boolean>;
715
+ }
716
+
717
+ // method
718
+
719
+ interface LoDashStatic {
720
+ /**
721
+ * Creates a function that invokes the method at path on a given object. Any additional arguments are provided
722
+ * to the invoked method.
723
+ *
724
+ * @param path The path of the method to invoke.
725
+ * @param args The arguments to invoke the method with.
726
+ * @return Returns the new function.
727
+ */
728
+ method(
729
+ path: PropertyPath,
730
+ ...args: any[]
731
+ ): (object: any) => any;
732
+ }
733
+
734
+ interface LoDashImplicitWrapper<TValue> {
735
+ /**
736
+ * @see _.method
737
+ */
738
+ method(...args: any[]): LoDashImplicitWrapper<(object: any) => any>;
739
+ }
740
+
741
+ interface LoDashExplicitWrapper<TValue> {
742
+ /**
743
+ * @see _.method
744
+ */
745
+ method(...args: any[]): LoDashExplicitWrapper<(object: any) => any>;
746
+ }
747
+
748
+ // methodOf
749
+
750
+ interface LoDashStatic {
751
+ /**
752
+ * The opposite of _.method; this method creates a function that invokes the method at a given path on object.
753
+ * Any additional arguments are provided to the invoked method.
754
+ *
755
+ * @param object The object to query.
756
+ * @param args The arguments to invoke the method with.
757
+ * @return Returns the new function.
758
+ */
759
+ methodOf(
760
+ object: object,
761
+ ...args: any[]
762
+ ): (path: PropertyPath) => any;
763
+ }
764
+
765
+ interface LoDashImplicitWrapper<TValue> {
766
+ /**
767
+ * @see _.methodOf
768
+ */
769
+ methodOf(
770
+ ...args: any[]
771
+ ): LoDashImplicitWrapper<(path: PropertyPath) => any>;
772
+ }
773
+
774
+ interface LoDashExplicitWrapper<TValue> {
775
+ /**
776
+ * @see _.methodOf
777
+ */
778
+ methodOf(
779
+ ...args: any[]
780
+ ): LoDashExplicitWrapper<(path: PropertyPath) => any>;
781
+ }
782
+
783
+ // mixin
784
+
785
+ interface MixinOptions {
786
+ chain?: boolean;
787
+ }
788
+
789
+ interface LoDashStatic {
790
+ /**
791
+ * Adds all own enumerable function properties of a source object to the destination object. If object is a
792
+ * function then methods are added to its prototype as well.
793
+ *
794
+ * Note: Use _.runInContext to create a pristine lodash function to avoid conflicts caused by modifying
795
+ * the original.
796
+ *
797
+ * @param object The destination object.
798
+ * @param source The object of functions to add.
799
+ * @param options The options object.
800
+ * @param options.chain Specify whether the functions added are chainable.
801
+ * @return Returns object.
802
+ */
803
+ mixin<TObject>(
804
+ object: TObject,
805
+ source: Dictionary<(...args: any[]) => any>,
806
+ options?: MixinOptions
807
+ ): TObject;
808
+
809
+ /**
810
+ * @see _.mixin
811
+ */
812
+ mixin<TResult>(
813
+ source: Dictionary<(...args: any[]) => any>,
814
+ options?: MixinOptions
815
+ ): LoDashStatic;
816
+ }
817
+
818
+ interface LoDashImplicitWrapper<TValue> {
819
+ /**
820
+ * @see _.mixin
821
+ */
822
+ mixin(
823
+ source: Dictionary<(...args: any[]) => any>,
824
+ options?: MixinOptions
825
+ ): this;
826
+
827
+ /**
828
+ * @see _.mixin
829
+ */
830
+ mixin(
831
+ options?: MixinOptions
832
+ ): LoDashImplicitWrapper<LoDashStatic>;
833
+ }
834
+
835
+ interface LoDashExplicitWrapper<TValue> {
836
+ /**
837
+ * @see _.mixin
838
+ */
839
+ mixin(
840
+ source: Dictionary<(...args: any[]) => any>,
841
+ options?: MixinOptions
842
+ ): this;
843
+
844
+ /**
845
+ * @see _.mixin
846
+ */
847
+ mixin(
848
+ options?: MixinOptions
849
+ ): LoDashExplicitWrapper<LoDashStatic>;
850
+ }
851
+
852
+ // noConflict
853
+
854
+ interface LoDashStatic {
855
+ /**
856
+ * Reverts the _ variable to its previous value and returns a reference to the lodash function.
857
+ *
858
+ * @return Returns the lodash function.
859
+ */
860
+ noConflict(): typeof _;
861
+ }
862
+
863
+ interface LoDashImplicitWrapper<TValue> {
864
+ /**
865
+ * @see _.noConflict
866
+ */
867
+ noConflict(): typeof _;
868
+ }
869
+
870
+ interface LoDashExplicitWrapper<TValue> {
871
+ /**
872
+ * @see _.noConflict
873
+ */
874
+ noConflict(): LoDashExplicitWrapper<typeof _>;
875
+ }
876
+
877
+ // noop
878
+
879
+ interface LoDashStatic {
880
+ /**
881
+ * A no-operation function that returns undefined regardless of the arguments it receives.
882
+ *
883
+ * @return undefined
884
+ */
885
+ noop(...args: any[]): void;
886
+ }
887
+
888
+ interface LoDashImplicitWrapper<TValue> {
889
+ /**
890
+ * @see _.noop
891
+ */
892
+ noop(...args: any[]): void;
893
+ }
894
+
895
+ interface LoDashExplicitWrapper<TValue> {
896
+ /**
897
+ * @see _.noop
898
+ */
899
+ noop(...args: any[]): LoDashExplicitWrapper<undefined>;
900
+ }
901
+
902
+ // nthArg
903
+
904
+ interface LoDashStatic {
905
+ /**
906
+ * Creates a function that returns its nth argument.
907
+ *
908
+ * @param n The index of the argument to return.
909
+ * @return Returns the new function.
910
+ */
911
+ nthArg(n?: number): (...args: any[]) => any;
912
+ }
913
+
914
+ interface LoDashImplicitWrapper<TValue> {
915
+ /**
916
+ * @see _.nthArg
917
+ */
918
+ nthArg(): LoDashImplicitWrapper<(...args: any[]) => any>;
919
+ }
920
+
921
+ interface LoDashExplicitWrapper<TValue> {
922
+ /**
923
+ * @see _.nthArg
924
+ */
925
+ nthArg(): LoDashExplicitWrapper<(...args: any[]) => any>;
926
+ }
927
+
928
+ // over
929
+
930
+ interface LoDashStatic {
931
+ /**
932
+ * Creates a function that invokes iteratees with the arguments provided to the created function and returns
933
+ * their results.
934
+ *
935
+ * @param iteratees The iteratees to invoke.
936
+ * @return Returns the new function.
937
+ */
938
+ over<TResult>(...iteratees: Array<Many<(...args: any[]) => TResult>>): (...args: any[]) => TResult[];
939
+ }
940
+
941
+ interface LoDashImplicitWrapper<TValue> {
942
+ /**
943
+ * @see _.over
944
+ */
945
+ over<TResult>(
946
+ this: LoDashImplicitWrapper<Many<(...args: any[]) => TResult>>,
947
+ ...iteratees: Array<Many<(...args: any[]) => TResult>>
948
+ ): LoDashImplicitWrapper<(...args: any[]) => TResult[]>;
949
+ }
950
+
951
+ interface LoDashExplicitWrapper<TValue> {
952
+ /**
953
+ * @see _.over
954
+ */
955
+ over<TResult>(
956
+ this: LoDashExplicitWrapper<Many<(...args: any[]) => TResult>>,
957
+ ...iteratees: Array<Many<(...args: any[]) => TResult>>
958
+ ): LoDashExplicitWrapper<(...args: any[]) => TResult[]>;
959
+ }
960
+
961
+ // overEvery
962
+
963
+ interface LoDashStatic {
964
+ /**
965
+ * Creates a function that checks if all of the predicates return truthy when invoked with the arguments
966
+ * provided to the created function.
967
+ *
968
+ * @param predicates The predicates to check.
969
+ * @return Returns the new function.
970
+ */
971
+ overEvery<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): (...args: T[]) => boolean;
972
+ }
973
+
974
+ interface LoDashImplicitWrapper<TValue> {
975
+ /**
976
+ * @see _.overEvery
977
+ */
978
+ overEvery<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): LoDashImplicitWrapper<(...args: T[]) => boolean>;
979
+ }
980
+
981
+ interface LoDashExplicitWrapper<TValue> {
982
+ /**
983
+ * @see _.overEvery
984
+ */
985
+ overEvery<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): LoDashExplicitWrapper<(...args: T[]) => boolean>;
986
+ }
987
+
988
+ // overSome
989
+
990
+ interface LoDashStatic {
991
+ /**
992
+ * Creates a function that checks if any of the predicates return truthy when invoked with the arguments
993
+ * provided to the created function.
994
+ *
995
+ * @param predicates The predicates to check.
996
+ * @return Returns the new function.
997
+ */
998
+ overSome<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): (...args: T[]) => boolean;
999
+ }
1000
+
1001
+ interface LoDashImplicitWrapper<TValue> {
1002
+ /**
1003
+ * @see _.overSome
1004
+ */
1005
+ overSome<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): LoDashImplicitWrapper<(...args: T[]) => boolean>;
1006
+ }
1007
+
1008
+ interface LoDashExplicitWrapper<TValue> {
1009
+ /**
1010
+ * @see _.overSome
1011
+ */
1012
+ overSome<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): LoDashExplicitWrapper<(...args: T[]) => boolean>;
1013
+ }
1014
+
1015
+ // property
1016
+
1017
+ interface LoDashStatic {
1018
+ /**
1019
+ * Creates a function that returns the property value at path on a given object.
1020
+ *
1021
+ * @param path The path of the property to get.
1022
+ * @return Returns the new function.
1023
+ */
1024
+ property<TObj, TResult>(path: PropertyPath): (obj: TObj) => TResult;
1025
+ }
1026
+
1027
+ interface LoDashImplicitWrapper<TValue> {
1028
+ /**
1029
+ * @see _.property
1030
+ */
1031
+ property<TObj, TResult>(): LoDashImplicitWrapper<(obj: TObj) => TResult>;
1032
+ }
1033
+
1034
+ interface LoDashExplicitWrapper<TValue> {
1035
+ /**
1036
+ * @see _.property
1037
+ */
1038
+ property<TObj, TResult>(): LoDashExplicitWrapper<(obj: TObj) => TResult>;
1039
+ }
1040
+
1041
+ // propertyOf
1042
+
1043
+ interface LoDashStatic {
1044
+ /**
1045
+ * The opposite of _.property; this method creates a function that returns the property value at a given path
1046
+ * on object.
1047
+ *
1048
+ * @param object The object to query.
1049
+ * @return Returns the new function.
1050
+ */
1051
+ propertyOf<T extends {}>(object: T): (path: PropertyPath) => any;
1052
+ }
1053
+
1054
+ interface LoDashImplicitWrapper<TValue> {
1055
+ /**
1056
+ * @see _.propertyOf
1057
+ */
1058
+ propertyOf(): LoDashImplicitWrapper<(path: PropertyPath) => any>;
1059
+ }
1060
+
1061
+ interface LoDashExplicitWrapper<TValue> {
1062
+ /**
1063
+ * @see _.propertyOf
1064
+ */
1065
+ propertyOf(): LoDashExplicitWrapper<(path: PropertyPath) => any>;
1066
+ }
1067
+
1068
+ // range
1069
+
1070
+ interface LoDashStatic {
1071
+ /**
1072
+ * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end.
1073
+ * If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length
1074
+ * range is created unless a negative step is specified.
1075
+ *
1076
+ * @param start The start of the range.
1077
+ * @param end The end of the range.
1078
+ * @param step The value to increment or decrement by.
1079
+ * @return Returns a new range array.
1080
+ */
1081
+ range(
1082
+ start: number,
1083
+ end?: number,
1084
+ step?: number
1085
+ ): number[];
1086
+
1087
+ /**
1088
+ * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end.
1089
+ * If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length
1090
+ * range is created unless a negative step is specified.
1091
+ *
1092
+ * @param start The start of the range.
1093
+ * @param index Not used in this overload.
1094
+ * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
1095
+ * @return Returns a new range array.
1096
+ */
1097
+ range(
1098
+ end: number,
1099
+ index: string | number,
1100
+ guard: object
1101
+ ): number[];
1102
+ }
1103
+
1104
+ interface LoDashImplicitWrapper<TValue> {
1105
+ /**
1106
+ * @see _.range
1107
+ */
1108
+ range(
1109
+ end?: number,
1110
+ step?: number
1111
+ ): LoDashImplicitWrapper<number[]>;
1112
+ }
1113
+
1114
+ interface LoDashExplicitWrapper<TValue> {
1115
+ /**
1116
+ * @see _.range
1117
+ */
1118
+ range(
1119
+ end?: number,
1120
+ step?: number
1121
+ ): LoDashExplicitWrapper<number[]>;
1122
+ }
1123
+
1124
+ // rangeRight
1125
+
1126
+ interface LoDashStatic {
1127
+ /**
1128
+ * This method is like `_.range` except that it populates values in
1129
+ * descending order.
1130
+ *
1131
+ * @category Util
1132
+ * @param start The start of the range.
1133
+ * @param end The end of the range.
1134
+ * @param step The value to increment or decrement by.
1135
+ * @returns Returns the new array of numbers.
1136
+ * @example
1137
+ *
1138
+ * _.rangeRight(4);
1139
+ * // => [3, 2, 1, 0]
1140
+ *
1141
+ * _.rangeRight(-4);
1142
+ * // => [-3, -2, -1, 0]
1143
+ *
1144
+ * _.rangeRight(1, 5);
1145
+ * // => [4, 3, 2, 1]
1146
+ *
1147
+ * _.rangeRight(0, 20, 5);
1148
+ * // => [15, 10, 5, 0]
1149
+ *
1150
+ * _.rangeRight(0, -4, -1);
1151
+ * // => [-3, -2, -1, 0]
1152
+ *
1153
+ * _.rangeRight(1, 4, 0);
1154
+ * // => [1, 1, 1]
1155
+ *
1156
+ * _.rangeRight(0);
1157
+ * // => []
1158
+ */
1159
+ rangeRight(
1160
+ start: number,
1161
+ end?: number,
1162
+ step?: number
1163
+ ): number[];
1164
+
1165
+ /**
1166
+ * This method is like _.range except that it populates values in
1167
+ * descending order.
1168
+ *
1169
+ * @param start The start of the range.
1170
+ * @param index Not used in this overload.
1171
+ * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
1172
+ * @return Returns a new range array.
1173
+ */
1174
+ rangeRight(
1175
+ end: number,
1176
+ index: string | number,
1177
+ guard: object
1178
+ ): number[];
1179
+ }
1180
+
1181
+ interface LoDashImplicitWrapper<TValue> {
1182
+ /**
1183
+ * @see _.rangeRight
1184
+ */
1185
+ rangeRight(
1186
+ end?: number,
1187
+ step?: number
1188
+ ): LoDashImplicitWrapper<number[]>;
1189
+ }
1190
+
1191
+ interface LoDashExplicitWrapper<TValue> {
1192
+ /**
1193
+ * @see _.rangeRight
1194
+ */
1195
+ rangeRight(
1196
+ end?: number,
1197
+ step?: number
1198
+ ): LoDashExplicitWrapper<number[]>;
1199
+ }
1200
+
1201
+ // runInContext
1202
+
1203
+ interface LoDashStatic {
1204
+ /**
1205
+ * Create a new pristine lodash function using the given context object.
1206
+ *
1207
+ * @param context The context object.
1208
+ * @return Returns a new lodash function.
1209
+ */
1210
+ runInContext(context?: object): LoDashStatic;
1211
+ }
1212
+
1213
+ interface LoDashImplicitWrapper<TValue> {
1214
+ /**
1215
+ * @see _.runInContext
1216
+ */
1217
+ runInContext(): LoDashStatic;
1218
+ }
1219
+
1220
+ // stubArray
1221
+
1222
+ interface LoDashStatic {
1223
+ /**
1224
+ * This method returns a new empty array.
1225
+ *
1226
+ * @returns Returns the new empty array.
1227
+ */
1228
+ stubArray(): any[];
1229
+ }
1230
+
1231
+ interface LoDashImplicitWrapper<TValue> {
1232
+ /**
1233
+ * @see _.stubArray
1234
+ */
1235
+ stubArray(): any[];
1236
+ }
1237
+
1238
+ interface LoDashExplicitWrapper<TValue> {
1239
+ /**
1240
+ * @see _.stubArray
1241
+ */
1242
+ stubArray(): LoDashExplicitWrapper<any[]>;
1243
+ }
1244
+
1245
+ // stubFalse
1246
+
1247
+ interface LoDashStatic {
1248
+ /**
1249
+ * This method returns `false`.
1250
+ *
1251
+ * @returns Returns `false`.
1252
+ */
1253
+ stubFalse(): false;
1254
+ }
1255
+
1256
+ interface LoDashImplicitWrapper<TValue> {
1257
+ /**
1258
+ * @see _.stubFalse
1259
+ */
1260
+ stubFalse(): false;
1261
+ }
1262
+
1263
+ interface LoDashExplicitWrapper<TValue> {
1264
+ /**
1265
+ * @see _.stubFalse
1266
+ */
1267
+ stubFalse(): LoDashExplicitWrapper<false>;
1268
+ }
1269
+
1270
+ // stubObject
1271
+
1272
+ interface LoDashStatic {
1273
+ /**
1274
+ * This method returns a new empty object.
1275
+ *
1276
+ * @returns Returns the new empty object.
1277
+ */
1278
+ stubObject(): any;
1279
+ }
1280
+
1281
+ interface LoDashImplicitWrapper<TValue> {
1282
+ /**
1283
+ * @see _.stubObject
1284
+ */
1285
+ stubObject(): any;
1286
+ }
1287
+
1288
+ interface LoDashExplicitWrapper<TValue> {
1289
+ /**
1290
+ * @see _.stubObject
1291
+ */
1292
+ stubObject(): LoDashExplicitWrapper<any>;
1293
+ }
1294
+
1295
+ // stubString
1296
+
1297
+ interface LoDashStatic {
1298
+ /**
1299
+ * This method returns an empty string.
1300
+ *
1301
+ * @returns Returns the empty string.
1302
+ */
1303
+ stubString(): string;
1304
+ }
1305
+
1306
+ interface LoDashImplicitWrapper<TValue> {
1307
+ /**
1308
+ * @see _.stubString
1309
+ */
1310
+ stubString(): string;
1311
+ }
1312
+
1313
+ interface LoDashExplicitWrapper<TValue> {
1314
+ /**
1315
+ * @see _.stubString
1316
+ */
1317
+ stubString(): LoDashExplicitWrapper<string>;
1318
+ }
1319
+
1320
+ // stubTrue
1321
+
1322
+ interface LoDashStatic {
1323
+ /**
1324
+ * This method returns `true`.
1325
+ *
1326
+ * @returns Returns `true`.
1327
+ */
1328
+ stubTrue(): true;
1329
+ }
1330
+
1331
+ interface LoDashImplicitWrapper<TValue> {
1332
+ /**
1333
+ * @see _.stubTrue
1334
+ */
1335
+ stubTrue(): true;
1336
+ }
1337
+
1338
+ interface LoDashExplicitWrapper<TValue> {
1339
+ /**
1340
+ * @see _.stubTrue
1341
+ */
1342
+ stubTrue(): LoDashExplicitWrapper<true>;
1343
+ }
1344
+
1345
+ // times
1346
+
1347
+ interface LoDashStatic {
1348
+ /**
1349
+ * Invokes the iteratee function n times, returning an array of the results of each invocation. The iteratee
1350
+ * is invoked with one argument; (index).
1351
+ *
1352
+ * @param n The number of times to invoke iteratee.
1353
+ * @param iteratee The function invoked per iteration.
1354
+ * @return Returns the array of results.
1355
+ */
1356
+ times<TResult>(
1357
+ n: number,
1358
+ iteratee: (num: number) => TResult
1359
+ ): TResult[];
1360
+
1361
+ /**
1362
+ * @see _.times
1363
+ */
1364
+ times(n: number): number[];
1365
+ }
1366
+
1367
+ interface LoDashImplicitWrapper<TValue> {
1368
+ /**
1369
+ * @see _.times
1370
+ */
1371
+ times<TResult>(
1372
+ iteratee: (num: number) => TResult
1373
+ ): TResult[];
1374
+
1375
+ /**
1376
+ * @see _.times
1377
+ */
1378
+ times(): number[];
1379
+ }
1380
+
1381
+ interface LoDashExplicitWrapper<TValue> {
1382
+ /**
1383
+ * @see _.times
1384
+ */
1385
+ times<TResult>(
1386
+ iteratee: (num: number) => TResult
1387
+ ): LoDashExplicitWrapper<TResult[]>;
1388
+
1389
+ /**
1390
+ * @see _.times
1391
+ */
1392
+ times(): LoDashExplicitWrapper<number[]>;
1393
+ }
1394
+
1395
+ // toPath
1396
+
1397
+ interface LoDashStatic {
1398
+ /**
1399
+ * Converts `value` to a property path array.
1400
+ *
1401
+ * @category Util
1402
+ * @param value The value to convert.
1403
+ * @returns Returns the new property path array.
1404
+ * @example
1405
+ *
1406
+ * _.toPath('a.b.c');
1407
+ * // => ['a', 'b', 'c']
1408
+ *
1409
+ * _.toPath('a[0].b.c');
1410
+ * // => ['a', '0', 'b', 'c']
1411
+ *
1412
+ * var path = ['a', 'b', 'c'],
1413
+ * newPath = _.toPath(path);
1414
+ *
1415
+ * console.log(newPath);
1416
+ * // => ['a', 'b', 'c']
1417
+ *
1418
+ * console.log(path === newPath);
1419
+ * // => false
1420
+ */
1421
+ toPath(value: any): string[];
1422
+ }
1423
+
1424
+ interface LoDashImplicitWrapper<TValue> {
1425
+ /**
1426
+ * @see _.toPath
1427
+ */
1428
+ toPath(): LoDashImplicitWrapper<string[]>;
1429
+ }
1430
+
1431
+ interface LoDashExplicitWrapper<TValue> {
1432
+ /**
1433
+ * @see _.toPath
1434
+ */
1435
+ toPath(): LoDashExplicitWrapper<string[]>;
1436
+ }
1437
+
1438
+ // uniqueId
1439
+
1440
+ interface LoDashStatic {
1441
+ /**
1442
+ * Generates a unique ID. If prefix is provided the ID is appended to it.
1443
+ *
1444
+ * @param prefix The value to prefix the ID with.
1445
+ * @return Returns the unique ID.
1446
+ */
1447
+ uniqueId(prefix?: string): string;
1448
+ }
1449
+
1450
+ interface LoDashImplicitWrapper<TValue> {
1451
+ /**
1452
+ * @see _.uniqueId
1453
+ */
1454
+ uniqueId(): string;
1455
+ }
1456
+
1457
+ interface LoDashExplicitWrapper<TValue> {
1458
+ /**
1459
+ * @see _.uniqueId
1460
+ */
1461
+ uniqueId(): LoDashExplicitWrapper<string>;
1462
+ }
1463
+ }