cypress 7.1.0 → 7.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (732) hide show
  1. package/lib/cli.js +4 -4
  2. package/lib/errors.js +6 -1
  3. package/lib/exec/open.js +6 -9
  4. package/lib/exec/run.js +6 -26
  5. package/lib/exec/shared.js +50 -0
  6. package/lib/tasks/download.js +39 -5
  7. package/lib/tasks/install.js +18 -6
  8. package/lib/tasks/unzip.js +9 -12
  9. package/lib/tasks/verify.js +9 -3
  10. package/package.json +3 -4
  11. package/types/chai/index.d.ts +5 -3
  12. package/types/cypress-npm-api.d.ts +5 -0
  13. package/types/cypress.d.ts +40 -7
  14. package/types/lodash/common/array.d.ts +519 -2105
  15. package/types/lodash/common/collection.d.ts +912 -1569
  16. package/types/lodash/common/common.d.ts +71 -61
  17. package/types/lodash/common/date.d.ts +2 -6
  18. package/types/lodash/common/function.d.ts +808 -867
  19. package/types/lodash/common/lang.d.ts +239 -483
  20. package/types/lodash/common/math.d.ts +64 -191
  21. package/types/lodash/common/number.d.ts +39 -86
  22. package/types/lodash/common/object.d.ts +675 -2265
  23. package/types/lodash/common/seq.d.ts +101 -87
  24. package/types/lodash/common/string.d.ts +81 -352
  25. package/types/lodash/common/util.d.ts +337 -639
  26. package/types/lodash/fp.d.ts +478 -532
  27. package/types/lodash/index.d.ts +0 -1
  28. package/types/minimatch/index.d.ts +5 -15
  29. package/types/net-stubbing.ts +14 -10
  30. package/types/sinon/index.d.ts +218 -227
  31. package/types/sinon/ts3.1/index.d.ts +1789 -0
  32. package/types/lodash/ts3.1/add.d.ts +0 -2
  33. package/types/lodash/ts3.1/after.d.ts +0 -2
  34. package/types/lodash/ts3.1/ary.d.ts +0 -2
  35. package/types/lodash/ts3.1/assign.d.ts +0 -2
  36. package/types/lodash/ts3.1/assignIn.d.ts +0 -2
  37. package/types/lodash/ts3.1/assignInWith.d.ts +0 -2
  38. package/types/lodash/ts3.1/assignWith.d.ts +0 -2
  39. package/types/lodash/ts3.1/at.d.ts +0 -2
  40. package/types/lodash/ts3.1/attempt.d.ts +0 -2
  41. package/types/lodash/ts3.1/before.d.ts +0 -2
  42. package/types/lodash/ts3.1/bind.d.ts +0 -2
  43. package/types/lodash/ts3.1/bindAll.d.ts +0 -2
  44. package/types/lodash/ts3.1/bindKey.d.ts +0 -2
  45. package/types/lodash/ts3.1/camelCase.d.ts +0 -2
  46. package/types/lodash/ts3.1/capitalize.d.ts +0 -2
  47. package/types/lodash/ts3.1/castArray.d.ts +0 -2
  48. package/types/lodash/ts3.1/ceil.d.ts +0 -2
  49. package/types/lodash/ts3.1/chain.d.ts +0 -2
  50. package/types/lodash/ts3.1/chunk.d.ts +0 -2
  51. package/types/lodash/ts3.1/clamp.d.ts +0 -2
  52. package/types/lodash/ts3.1/clone.d.ts +0 -2
  53. package/types/lodash/ts3.1/cloneDeep.d.ts +0 -2
  54. package/types/lodash/ts3.1/cloneDeepWith.d.ts +0 -2
  55. package/types/lodash/ts3.1/cloneWith.d.ts +0 -2
  56. package/types/lodash/ts3.1/common/array.d.ts +0 -2127
  57. package/types/lodash/ts3.1/common/collection.d.ts +0 -1930
  58. package/types/lodash/ts3.1/common/common.d.ts +0 -284
  59. package/types/lodash/ts3.1/common/date.d.ts +0 -23
  60. package/types/lodash/ts3.1/common/function.d.ts +0 -1392
  61. package/types/lodash/ts3.1/common/lang.d.ts +0 -1694
  62. package/types/lodash/ts3.1/common/math.d.ts +0 -405
  63. package/types/lodash/ts3.1/common/number.d.ts +0 -131
  64. package/types/lodash/ts3.1/common/object.d.ts +0 -2507
  65. package/types/lodash/ts3.1/common/seq.d.ts +0 -210
  66. package/types/lodash/ts3.1/common/string.d.ts +0 -788
  67. package/types/lodash/ts3.1/common/util.d.ts +0 -1219
  68. package/types/lodash/ts3.1/compact.d.ts +0 -2
  69. package/types/lodash/ts3.1/concat.d.ts +0 -2
  70. package/types/lodash/ts3.1/cond.d.ts +0 -2
  71. package/types/lodash/ts3.1/conformsTo.d.ts +0 -2
  72. package/types/lodash/ts3.1/constant.d.ts +0 -2
  73. package/types/lodash/ts3.1/countBy.d.ts +0 -2
  74. package/types/lodash/ts3.1/create.d.ts +0 -2
  75. package/types/lodash/ts3.1/curry.d.ts +0 -2
  76. package/types/lodash/ts3.1/curryRight.d.ts +0 -2
  77. package/types/lodash/ts3.1/debounce.d.ts +0 -2
  78. package/types/lodash/ts3.1/deburr.d.ts +0 -2
  79. package/types/lodash/ts3.1/defaultTo.d.ts +0 -2
  80. package/types/lodash/ts3.1/defaults.d.ts +0 -2
  81. package/types/lodash/ts3.1/defaultsDeep.d.ts +0 -2
  82. package/types/lodash/ts3.1/defer.d.ts +0 -2
  83. package/types/lodash/ts3.1/delay.d.ts +0 -2
  84. package/types/lodash/ts3.1/difference.d.ts +0 -2
  85. package/types/lodash/ts3.1/differenceBy.d.ts +0 -2
  86. package/types/lodash/ts3.1/differenceWith.d.ts +0 -2
  87. package/types/lodash/ts3.1/divide.d.ts +0 -2
  88. package/types/lodash/ts3.1/drop.d.ts +0 -2
  89. package/types/lodash/ts3.1/dropRight.d.ts +0 -2
  90. package/types/lodash/ts3.1/dropRightWhile.d.ts +0 -2
  91. package/types/lodash/ts3.1/dropWhile.d.ts +0 -2
  92. package/types/lodash/ts3.1/each.d.ts +0 -2
  93. package/types/lodash/ts3.1/eachRight.d.ts +0 -2
  94. package/types/lodash/ts3.1/endsWith.d.ts +0 -2
  95. package/types/lodash/ts3.1/entries.d.ts +0 -2
  96. package/types/lodash/ts3.1/entriesIn.d.ts +0 -2
  97. package/types/lodash/ts3.1/eq.d.ts +0 -2
  98. package/types/lodash/ts3.1/escape.d.ts +0 -2
  99. package/types/lodash/ts3.1/escapeRegExp.d.ts +0 -2
  100. package/types/lodash/ts3.1/every.d.ts +0 -2
  101. package/types/lodash/ts3.1/extend.d.ts +0 -2
  102. package/types/lodash/ts3.1/extendWith.d.ts +0 -2
  103. package/types/lodash/ts3.1/fill.d.ts +0 -2
  104. package/types/lodash/ts3.1/filter.d.ts +0 -2
  105. package/types/lodash/ts3.1/find.d.ts +0 -2
  106. package/types/lodash/ts3.1/findIndex.d.ts +0 -2
  107. package/types/lodash/ts3.1/findKey.d.ts +0 -2
  108. package/types/lodash/ts3.1/findLast.d.ts +0 -2
  109. package/types/lodash/ts3.1/findLastIndex.d.ts +0 -2
  110. package/types/lodash/ts3.1/findLastKey.d.ts +0 -2
  111. package/types/lodash/ts3.1/first.d.ts +0 -2
  112. package/types/lodash/ts3.1/flatMap.d.ts +0 -2
  113. package/types/lodash/ts3.1/flatMapDeep.d.ts +0 -2
  114. package/types/lodash/ts3.1/flatMapDepth.d.ts +0 -2
  115. package/types/lodash/ts3.1/flatten.d.ts +0 -2
  116. package/types/lodash/ts3.1/flattenDeep.d.ts +0 -2
  117. package/types/lodash/ts3.1/flattenDepth.d.ts +0 -2
  118. package/types/lodash/ts3.1/flip.d.ts +0 -2
  119. package/types/lodash/ts3.1/floor.d.ts +0 -2
  120. package/types/lodash/ts3.1/flow.d.ts +0 -2
  121. package/types/lodash/ts3.1/flowRight.d.ts +0 -2
  122. package/types/lodash/ts3.1/forEach.d.ts +0 -2
  123. package/types/lodash/ts3.1/forEachRight.d.ts +0 -2
  124. package/types/lodash/ts3.1/forIn.d.ts +0 -2
  125. package/types/lodash/ts3.1/forInRight.d.ts +0 -2
  126. package/types/lodash/ts3.1/forOwn.d.ts +0 -2
  127. package/types/lodash/ts3.1/forOwnRight.d.ts +0 -2
  128. package/types/lodash/ts3.1/fp/F.d.ts +0 -2
  129. package/types/lodash/ts3.1/fp/T.d.ts +0 -2
  130. package/types/lodash/ts3.1/fp/__.d.ts +0 -3
  131. package/types/lodash/ts3.1/fp/add.d.ts +0 -2
  132. package/types/lodash/ts3.1/fp/after.d.ts +0 -2
  133. package/types/lodash/ts3.1/fp/all.d.ts +0 -2
  134. package/types/lodash/ts3.1/fp/allPass.d.ts +0 -2
  135. package/types/lodash/ts3.1/fp/always.d.ts +0 -2
  136. package/types/lodash/ts3.1/fp/any.d.ts +0 -2
  137. package/types/lodash/ts3.1/fp/anyPass.d.ts +0 -2
  138. package/types/lodash/ts3.1/fp/apply.d.ts +0 -2
  139. package/types/lodash/ts3.1/fp/ary.d.ts +0 -2
  140. package/types/lodash/ts3.1/fp/assign.d.ts +0 -2
  141. package/types/lodash/ts3.1/fp/assignAll.d.ts +0 -2
  142. package/types/lodash/ts3.1/fp/assignAllWith.d.ts +0 -2
  143. package/types/lodash/ts3.1/fp/assignIn.d.ts +0 -2
  144. package/types/lodash/ts3.1/fp/assignInAll.d.ts +0 -2
  145. package/types/lodash/ts3.1/fp/assignInAllWith.d.ts +0 -2
  146. package/types/lodash/ts3.1/fp/assignInWith.d.ts +0 -2
  147. package/types/lodash/ts3.1/fp/assignWith.d.ts +0 -2
  148. package/types/lodash/ts3.1/fp/assoc.d.ts +0 -2
  149. package/types/lodash/ts3.1/fp/assocPath.d.ts +0 -2
  150. package/types/lodash/ts3.1/fp/at.d.ts +0 -2
  151. package/types/lodash/ts3.1/fp/attempt.d.ts +0 -2
  152. package/types/lodash/ts3.1/fp/before.d.ts +0 -2
  153. package/types/lodash/ts3.1/fp/bind.d.ts +0 -2
  154. package/types/lodash/ts3.1/fp/bindAll.d.ts +0 -2
  155. package/types/lodash/ts3.1/fp/bindKey.d.ts +0 -2
  156. package/types/lodash/ts3.1/fp/camelCase.d.ts +0 -2
  157. package/types/lodash/ts3.1/fp/capitalize.d.ts +0 -2
  158. package/types/lodash/ts3.1/fp/castArray.d.ts +0 -2
  159. package/types/lodash/ts3.1/fp/ceil.d.ts +0 -2
  160. package/types/lodash/ts3.1/fp/chunk.d.ts +0 -2
  161. package/types/lodash/ts3.1/fp/clamp.d.ts +0 -2
  162. package/types/lodash/ts3.1/fp/clone.d.ts +0 -2
  163. package/types/lodash/ts3.1/fp/cloneDeep.d.ts +0 -2
  164. package/types/lodash/ts3.1/fp/cloneDeepWith.d.ts +0 -2
  165. package/types/lodash/ts3.1/fp/cloneWith.d.ts +0 -2
  166. package/types/lodash/ts3.1/fp/compact.d.ts +0 -2
  167. package/types/lodash/ts3.1/fp/complement.d.ts +0 -2
  168. package/types/lodash/ts3.1/fp/compose.d.ts +0 -2
  169. package/types/lodash/ts3.1/fp/concat.d.ts +0 -2
  170. package/types/lodash/ts3.1/fp/cond.d.ts +0 -2
  171. package/types/lodash/ts3.1/fp/conforms.d.ts +0 -2
  172. package/types/lodash/ts3.1/fp/conformsTo.d.ts +0 -2
  173. package/types/lodash/ts3.1/fp/constant.d.ts +0 -2
  174. package/types/lodash/ts3.1/fp/contains.d.ts +0 -2
  175. package/types/lodash/ts3.1/fp/convert.d.ts +0 -15
  176. package/types/lodash/ts3.1/fp/countBy.d.ts +0 -2
  177. package/types/lodash/ts3.1/fp/create.d.ts +0 -2
  178. package/types/lodash/ts3.1/fp/curry.d.ts +0 -2
  179. package/types/lodash/ts3.1/fp/curryN.d.ts +0 -2
  180. package/types/lodash/ts3.1/fp/curryRight.d.ts +0 -2
  181. package/types/lodash/ts3.1/fp/curryRightN.d.ts +0 -2
  182. package/types/lodash/ts3.1/fp/debounce.d.ts +0 -2
  183. package/types/lodash/ts3.1/fp/deburr.d.ts +0 -2
  184. package/types/lodash/ts3.1/fp/defaultTo.d.ts +0 -2
  185. package/types/lodash/ts3.1/fp/defaults.d.ts +0 -2
  186. package/types/lodash/ts3.1/fp/defaultsAll.d.ts +0 -2
  187. package/types/lodash/ts3.1/fp/defaultsDeep.d.ts +0 -2
  188. package/types/lodash/ts3.1/fp/defaultsDeepAll.d.ts +0 -2
  189. package/types/lodash/ts3.1/fp/defer.d.ts +0 -2
  190. package/types/lodash/ts3.1/fp/delay.d.ts +0 -2
  191. package/types/lodash/ts3.1/fp/difference.d.ts +0 -2
  192. package/types/lodash/ts3.1/fp/differenceBy.d.ts +0 -2
  193. package/types/lodash/ts3.1/fp/differenceWith.d.ts +0 -2
  194. package/types/lodash/ts3.1/fp/dissoc.d.ts +0 -2
  195. package/types/lodash/ts3.1/fp/dissocPath.d.ts +0 -2
  196. package/types/lodash/ts3.1/fp/divide.d.ts +0 -2
  197. package/types/lodash/ts3.1/fp/drop.d.ts +0 -2
  198. package/types/lodash/ts3.1/fp/dropLast.d.ts +0 -2
  199. package/types/lodash/ts3.1/fp/dropLastWhile.d.ts +0 -2
  200. package/types/lodash/ts3.1/fp/dropRight.d.ts +0 -2
  201. package/types/lodash/ts3.1/fp/dropRightWhile.d.ts +0 -2
  202. package/types/lodash/ts3.1/fp/dropWhile.d.ts +0 -2
  203. package/types/lodash/ts3.1/fp/each.d.ts +0 -2
  204. package/types/lodash/ts3.1/fp/eachRight.d.ts +0 -2
  205. package/types/lodash/ts3.1/fp/endsWith.d.ts +0 -2
  206. package/types/lodash/ts3.1/fp/entries.d.ts +0 -2
  207. package/types/lodash/ts3.1/fp/entriesIn.d.ts +0 -2
  208. package/types/lodash/ts3.1/fp/eq.d.ts +0 -2
  209. package/types/lodash/ts3.1/fp/equals.d.ts +0 -2
  210. package/types/lodash/ts3.1/fp/escape.d.ts +0 -2
  211. package/types/lodash/ts3.1/fp/escapeRegExp.d.ts +0 -2
  212. package/types/lodash/ts3.1/fp/every.d.ts +0 -2
  213. package/types/lodash/ts3.1/fp/extend.d.ts +0 -2
  214. package/types/lodash/ts3.1/fp/extendAll.d.ts +0 -2
  215. package/types/lodash/ts3.1/fp/extendAllWith.d.ts +0 -2
  216. package/types/lodash/ts3.1/fp/extendWith.d.ts +0 -2
  217. package/types/lodash/ts3.1/fp/fill.d.ts +0 -2
  218. package/types/lodash/ts3.1/fp/filter.d.ts +0 -2
  219. package/types/lodash/ts3.1/fp/find.d.ts +0 -2
  220. package/types/lodash/ts3.1/fp/findFrom.d.ts +0 -2
  221. package/types/lodash/ts3.1/fp/findIndex.d.ts +0 -2
  222. package/types/lodash/ts3.1/fp/findIndexFrom.d.ts +0 -2
  223. package/types/lodash/ts3.1/fp/findKey.d.ts +0 -2
  224. package/types/lodash/ts3.1/fp/findLast.d.ts +0 -2
  225. package/types/lodash/ts3.1/fp/findLastFrom.d.ts +0 -2
  226. package/types/lodash/ts3.1/fp/findLastIndex.d.ts +0 -2
  227. package/types/lodash/ts3.1/fp/findLastIndexFrom.d.ts +0 -2
  228. package/types/lodash/ts3.1/fp/findLastKey.d.ts +0 -2
  229. package/types/lodash/ts3.1/fp/first.d.ts +0 -2
  230. package/types/lodash/ts3.1/fp/flatMap.d.ts +0 -2
  231. package/types/lodash/ts3.1/fp/flatMapDeep.d.ts +0 -2
  232. package/types/lodash/ts3.1/fp/flatMapDepth.d.ts +0 -2
  233. package/types/lodash/ts3.1/fp/flatten.d.ts +0 -2
  234. package/types/lodash/ts3.1/fp/flattenDeep.d.ts +0 -2
  235. package/types/lodash/ts3.1/fp/flattenDepth.d.ts +0 -2
  236. package/types/lodash/ts3.1/fp/flip.d.ts +0 -2
  237. package/types/lodash/ts3.1/fp/floor.d.ts +0 -2
  238. package/types/lodash/ts3.1/fp/flow.d.ts +0 -2
  239. package/types/lodash/ts3.1/fp/flowRight.d.ts +0 -2
  240. package/types/lodash/ts3.1/fp/forEach.d.ts +0 -2
  241. package/types/lodash/ts3.1/fp/forEachRight.d.ts +0 -2
  242. package/types/lodash/ts3.1/fp/forIn.d.ts +0 -2
  243. package/types/lodash/ts3.1/fp/forInRight.d.ts +0 -2
  244. package/types/lodash/ts3.1/fp/forOwn.d.ts +0 -2
  245. package/types/lodash/ts3.1/fp/forOwnRight.d.ts +0 -2
  246. package/types/lodash/ts3.1/fp/fromPairs.d.ts +0 -2
  247. package/types/lodash/ts3.1/fp/functions.d.ts +0 -2
  248. package/types/lodash/ts3.1/fp/functionsIn.d.ts +0 -2
  249. package/types/lodash/ts3.1/fp/get.d.ts +0 -2
  250. package/types/lodash/ts3.1/fp/getOr.d.ts +0 -2
  251. package/types/lodash/ts3.1/fp/groupBy.d.ts +0 -2
  252. package/types/lodash/ts3.1/fp/gt.d.ts +0 -2
  253. package/types/lodash/ts3.1/fp/gte.d.ts +0 -2
  254. package/types/lodash/ts3.1/fp/has.d.ts +0 -2
  255. package/types/lodash/ts3.1/fp/hasIn.d.ts +0 -2
  256. package/types/lodash/ts3.1/fp/head.d.ts +0 -2
  257. package/types/lodash/ts3.1/fp/identical.d.ts +0 -2
  258. package/types/lodash/ts3.1/fp/identity.d.ts +0 -2
  259. package/types/lodash/ts3.1/fp/inRange.d.ts +0 -2
  260. package/types/lodash/ts3.1/fp/includes.d.ts +0 -2
  261. package/types/lodash/ts3.1/fp/includesFrom.d.ts +0 -2
  262. package/types/lodash/ts3.1/fp/indexBy.d.ts +0 -2
  263. package/types/lodash/ts3.1/fp/indexOf.d.ts +0 -2
  264. package/types/lodash/ts3.1/fp/indexOfFrom.d.ts +0 -2
  265. package/types/lodash/ts3.1/fp/init.d.ts +0 -2
  266. package/types/lodash/ts3.1/fp/initial.d.ts +0 -2
  267. package/types/lodash/ts3.1/fp/intersection.d.ts +0 -2
  268. package/types/lodash/ts3.1/fp/intersectionBy.d.ts +0 -2
  269. package/types/lodash/ts3.1/fp/intersectionWith.d.ts +0 -2
  270. package/types/lodash/ts3.1/fp/invert.d.ts +0 -2
  271. package/types/lodash/ts3.1/fp/invertBy.d.ts +0 -2
  272. package/types/lodash/ts3.1/fp/invertObj.d.ts +0 -2
  273. package/types/lodash/ts3.1/fp/invoke.d.ts +0 -2
  274. package/types/lodash/ts3.1/fp/invokeArgs.d.ts +0 -2
  275. package/types/lodash/ts3.1/fp/invokeArgsMap.d.ts +0 -2
  276. package/types/lodash/ts3.1/fp/invokeMap.d.ts +0 -2
  277. package/types/lodash/ts3.1/fp/isArguments.d.ts +0 -2
  278. package/types/lodash/ts3.1/fp/isArray.d.ts +0 -2
  279. package/types/lodash/ts3.1/fp/isArrayBuffer.d.ts +0 -2
  280. package/types/lodash/ts3.1/fp/isArrayLike.d.ts +0 -2
  281. package/types/lodash/ts3.1/fp/isArrayLikeObject.d.ts +0 -2
  282. package/types/lodash/ts3.1/fp/isBoolean.d.ts +0 -2
  283. package/types/lodash/ts3.1/fp/isBuffer.d.ts +0 -2
  284. package/types/lodash/ts3.1/fp/isDate.d.ts +0 -2
  285. package/types/lodash/ts3.1/fp/isElement.d.ts +0 -2
  286. package/types/lodash/ts3.1/fp/isEmpty.d.ts +0 -2
  287. package/types/lodash/ts3.1/fp/isEqual.d.ts +0 -2
  288. package/types/lodash/ts3.1/fp/isEqualWith.d.ts +0 -2
  289. package/types/lodash/ts3.1/fp/isError.d.ts +0 -2
  290. package/types/lodash/ts3.1/fp/isFinite.d.ts +0 -2
  291. package/types/lodash/ts3.1/fp/isFunction.d.ts +0 -2
  292. package/types/lodash/ts3.1/fp/isInteger.d.ts +0 -2
  293. package/types/lodash/ts3.1/fp/isLength.d.ts +0 -2
  294. package/types/lodash/ts3.1/fp/isMap.d.ts +0 -2
  295. package/types/lodash/ts3.1/fp/isMatch.d.ts +0 -2
  296. package/types/lodash/ts3.1/fp/isMatchWith.d.ts +0 -2
  297. package/types/lodash/ts3.1/fp/isNaN.d.ts +0 -2
  298. package/types/lodash/ts3.1/fp/isNative.d.ts +0 -2
  299. package/types/lodash/ts3.1/fp/isNil.d.ts +0 -2
  300. package/types/lodash/ts3.1/fp/isNull.d.ts +0 -2
  301. package/types/lodash/ts3.1/fp/isNumber.d.ts +0 -2
  302. package/types/lodash/ts3.1/fp/isObject.d.ts +0 -2
  303. package/types/lodash/ts3.1/fp/isObjectLike.d.ts +0 -2
  304. package/types/lodash/ts3.1/fp/isPlainObject.d.ts +0 -2
  305. package/types/lodash/ts3.1/fp/isRegExp.d.ts +0 -2
  306. package/types/lodash/ts3.1/fp/isSafeInteger.d.ts +0 -2
  307. package/types/lodash/ts3.1/fp/isSet.d.ts +0 -2
  308. package/types/lodash/ts3.1/fp/isString.d.ts +0 -2
  309. package/types/lodash/ts3.1/fp/isSymbol.d.ts +0 -2
  310. package/types/lodash/ts3.1/fp/isTypedArray.d.ts +0 -2
  311. package/types/lodash/ts3.1/fp/isUndefined.d.ts +0 -2
  312. package/types/lodash/ts3.1/fp/isWeakMap.d.ts +0 -2
  313. package/types/lodash/ts3.1/fp/isWeakSet.d.ts +0 -2
  314. package/types/lodash/ts3.1/fp/iteratee.d.ts +0 -2
  315. package/types/lodash/ts3.1/fp/join.d.ts +0 -2
  316. package/types/lodash/ts3.1/fp/juxt.d.ts +0 -2
  317. package/types/lodash/ts3.1/fp/kebabCase.d.ts +0 -2
  318. package/types/lodash/ts3.1/fp/keyBy.d.ts +0 -2
  319. package/types/lodash/ts3.1/fp/keys.d.ts +0 -2
  320. package/types/lodash/ts3.1/fp/keysIn.d.ts +0 -2
  321. package/types/lodash/ts3.1/fp/last.d.ts +0 -2
  322. package/types/lodash/ts3.1/fp/lastIndexOf.d.ts +0 -2
  323. package/types/lodash/ts3.1/fp/lastIndexOfFrom.d.ts +0 -2
  324. package/types/lodash/ts3.1/fp/lowerCase.d.ts +0 -2
  325. package/types/lodash/ts3.1/fp/lowerFirst.d.ts +0 -2
  326. package/types/lodash/ts3.1/fp/lt.d.ts +0 -2
  327. package/types/lodash/ts3.1/fp/lte.d.ts +0 -2
  328. package/types/lodash/ts3.1/fp/map.d.ts +0 -2
  329. package/types/lodash/ts3.1/fp/mapKeys.d.ts +0 -2
  330. package/types/lodash/ts3.1/fp/mapValues.d.ts +0 -2
  331. package/types/lodash/ts3.1/fp/matches.d.ts +0 -2
  332. package/types/lodash/ts3.1/fp/matchesProperty.d.ts +0 -2
  333. package/types/lodash/ts3.1/fp/max.d.ts +0 -2
  334. package/types/lodash/ts3.1/fp/maxBy.d.ts +0 -2
  335. package/types/lodash/ts3.1/fp/mean.d.ts +0 -2
  336. package/types/lodash/ts3.1/fp/meanBy.d.ts +0 -2
  337. package/types/lodash/ts3.1/fp/memoize.d.ts +0 -2
  338. package/types/lodash/ts3.1/fp/merge.d.ts +0 -2
  339. package/types/lodash/ts3.1/fp/mergeAll.d.ts +0 -2
  340. package/types/lodash/ts3.1/fp/mergeAllWith.d.ts +0 -2
  341. package/types/lodash/ts3.1/fp/mergeWith.d.ts +0 -2
  342. package/types/lodash/ts3.1/fp/method.d.ts +0 -2
  343. package/types/lodash/ts3.1/fp/methodOf.d.ts +0 -2
  344. package/types/lodash/ts3.1/fp/min.d.ts +0 -2
  345. package/types/lodash/ts3.1/fp/minBy.d.ts +0 -2
  346. package/types/lodash/ts3.1/fp/multiply.d.ts +0 -2
  347. package/types/lodash/ts3.1/fp/nAry.d.ts +0 -2
  348. package/types/lodash/ts3.1/fp/negate.d.ts +0 -2
  349. package/types/lodash/ts3.1/fp/noConflict.d.ts +0 -2
  350. package/types/lodash/ts3.1/fp/noop.d.ts +0 -2
  351. package/types/lodash/ts3.1/fp/now.d.ts +0 -2
  352. package/types/lodash/ts3.1/fp/nth.d.ts +0 -2
  353. package/types/lodash/ts3.1/fp/nthArg.d.ts +0 -2
  354. package/types/lodash/ts3.1/fp/omit.d.ts +0 -2
  355. package/types/lodash/ts3.1/fp/omitAll.d.ts +0 -2
  356. package/types/lodash/ts3.1/fp/omitBy.d.ts +0 -2
  357. package/types/lodash/ts3.1/fp/once.d.ts +0 -2
  358. package/types/lodash/ts3.1/fp/orderBy.d.ts +0 -2
  359. package/types/lodash/ts3.1/fp/over.d.ts +0 -2
  360. package/types/lodash/ts3.1/fp/overArgs.d.ts +0 -2
  361. package/types/lodash/ts3.1/fp/overEvery.d.ts +0 -2
  362. package/types/lodash/ts3.1/fp/overSome.d.ts +0 -2
  363. package/types/lodash/ts3.1/fp/pad.d.ts +0 -2
  364. package/types/lodash/ts3.1/fp/padChars.d.ts +0 -2
  365. package/types/lodash/ts3.1/fp/padCharsEnd.d.ts +0 -2
  366. package/types/lodash/ts3.1/fp/padCharsStart.d.ts +0 -2
  367. package/types/lodash/ts3.1/fp/padEnd.d.ts +0 -2
  368. package/types/lodash/ts3.1/fp/padStart.d.ts +0 -2
  369. package/types/lodash/ts3.1/fp/parseInt.d.ts +0 -2
  370. package/types/lodash/ts3.1/fp/partial.d.ts +0 -2
  371. package/types/lodash/ts3.1/fp/partialRight.d.ts +0 -2
  372. package/types/lodash/ts3.1/fp/partition.d.ts +0 -2
  373. package/types/lodash/ts3.1/fp/path.d.ts +0 -2
  374. package/types/lodash/ts3.1/fp/pathEq.d.ts +0 -2
  375. package/types/lodash/ts3.1/fp/pathOr.d.ts +0 -2
  376. package/types/lodash/ts3.1/fp/paths.d.ts +0 -2
  377. package/types/lodash/ts3.1/fp/pick.d.ts +0 -2
  378. package/types/lodash/ts3.1/fp/pickAll.d.ts +0 -2
  379. package/types/lodash/ts3.1/fp/pickBy.d.ts +0 -2
  380. package/types/lodash/ts3.1/fp/pipe.d.ts +0 -2
  381. package/types/lodash/ts3.1/fp/placeholder.d.ts +0 -3
  382. package/types/lodash/ts3.1/fp/pluck.d.ts +0 -2
  383. package/types/lodash/ts3.1/fp/prop.d.ts +0 -2
  384. package/types/lodash/ts3.1/fp/propEq.d.ts +0 -2
  385. package/types/lodash/ts3.1/fp/propOr.d.ts +0 -2
  386. package/types/lodash/ts3.1/fp/property.d.ts +0 -2
  387. package/types/lodash/ts3.1/fp/propertyOf.d.ts +0 -2
  388. package/types/lodash/ts3.1/fp/props.d.ts +0 -2
  389. package/types/lodash/ts3.1/fp/pull.d.ts +0 -2
  390. package/types/lodash/ts3.1/fp/pullAll.d.ts +0 -2
  391. package/types/lodash/ts3.1/fp/pullAllBy.d.ts +0 -2
  392. package/types/lodash/ts3.1/fp/pullAllWith.d.ts +0 -2
  393. package/types/lodash/ts3.1/fp/pullAt.d.ts +0 -2
  394. package/types/lodash/ts3.1/fp/random.d.ts +0 -2
  395. package/types/lodash/ts3.1/fp/range.d.ts +0 -2
  396. package/types/lodash/ts3.1/fp/rangeRight.d.ts +0 -2
  397. package/types/lodash/ts3.1/fp/rangeStep.d.ts +0 -2
  398. package/types/lodash/ts3.1/fp/rangeStepRight.d.ts +0 -2
  399. package/types/lodash/ts3.1/fp/rearg.d.ts +0 -2
  400. package/types/lodash/ts3.1/fp/reduce.d.ts +0 -2
  401. package/types/lodash/ts3.1/fp/reduceRight.d.ts +0 -2
  402. package/types/lodash/ts3.1/fp/reject.d.ts +0 -2
  403. package/types/lodash/ts3.1/fp/remove.d.ts +0 -2
  404. package/types/lodash/ts3.1/fp/repeat.d.ts +0 -2
  405. package/types/lodash/ts3.1/fp/replace.d.ts +0 -2
  406. package/types/lodash/ts3.1/fp/rest.d.ts +0 -2
  407. package/types/lodash/ts3.1/fp/restFrom.d.ts +0 -2
  408. package/types/lodash/ts3.1/fp/result.d.ts +0 -2
  409. package/types/lodash/ts3.1/fp/reverse.d.ts +0 -2
  410. package/types/lodash/ts3.1/fp/round.d.ts +0 -2
  411. package/types/lodash/ts3.1/fp/runInContext.d.ts +0 -2
  412. package/types/lodash/ts3.1/fp/sample.d.ts +0 -2
  413. package/types/lodash/ts3.1/fp/sampleSize.d.ts +0 -2
  414. package/types/lodash/ts3.1/fp/set.d.ts +0 -2
  415. package/types/lodash/ts3.1/fp/setWith.d.ts +0 -2
  416. package/types/lodash/ts3.1/fp/shuffle.d.ts +0 -2
  417. package/types/lodash/ts3.1/fp/size.d.ts +0 -2
  418. package/types/lodash/ts3.1/fp/slice.d.ts +0 -2
  419. package/types/lodash/ts3.1/fp/snakeCase.d.ts +0 -2
  420. package/types/lodash/ts3.1/fp/some.d.ts +0 -2
  421. package/types/lodash/ts3.1/fp/sortBy.d.ts +0 -2
  422. package/types/lodash/ts3.1/fp/sortedIndex.d.ts +0 -2
  423. package/types/lodash/ts3.1/fp/sortedIndexBy.d.ts +0 -2
  424. package/types/lodash/ts3.1/fp/sortedIndexOf.d.ts +0 -2
  425. package/types/lodash/ts3.1/fp/sortedLastIndex.d.ts +0 -2
  426. package/types/lodash/ts3.1/fp/sortedLastIndexBy.d.ts +0 -2
  427. package/types/lodash/ts3.1/fp/sortedLastIndexOf.d.ts +0 -2
  428. package/types/lodash/ts3.1/fp/sortedUniq.d.ts +0 -2
  429. package/types/lodash/ts3.1/fp/sortedUniqBy.d.ts +0 -2
  430. package/types/lodash/ts3.1/fp/split.d.ts +0 -2
  431. package/types/lodash/ts3.1/fp/spread.d.ts +0 -2
  432. package/types/lodash/ts3.1/fp/spreadFrom.d.ts +0 -2
  433. package/types/lodash/ts3.1/fp/startCase.d.ts +0 -2
  434. package/types/lodash/ts3.1/fp/startsWith.d.ts +0 -2
  435. package/types/lodash/ts3.1/fp/stubArray.d.ts +0 -2
  436. package/types/lodash/ts3.1/fp/stubFalse.d.ts +0 -2
  437. package/types/lodash/ts3.1/fp/stubObject.d.ts +0 -2
  438. package/types/lodash/ts3.1/fp/stubString.d.ts +0 -2
  439. package/types/lodash/ts3.1/fp/stubTrue.d.ts +0 -2
  440. package/types/lodash/ts3.1/fp/subtract.d.ts +0 -2
  441. package/types/lodash/ts3.1/fp/sum.d.ts +0 -2
  442. package/types/lodash/ts3.1/fp/sumBy.d.ts +0 -2
  443. package/types/lodash/ts3.1/fp/symmetricDifference.d.ts +0 -2
  444. package/types/lodash/ts3.1/fp/symmetricDifferenceBy.d.ts +0 -2
  445. package/types/lodash/ts3.1/fp/symmetricDifferenceWith.d.ts +0 -2
  446. package/types/lodash/ts3.1/fp/tail.d.ts +0 -2
  447. package/types/lodash/ts3.1/fp/take.d.ts +0 -2
  448. package/types/lodash/ts3.1/fp/takeLast.d.ts +0 -2
  449. package/types/lodash/ts3.1/fp/takeLastWhile.d.ts +0 -2
  450. package/types/lodash/ts3.1/fp/takeRight.d.ts +0 -2
  451. package/types/lodash/ts3.1/fp/takeRightWhile.d.ts +0 -2
  452. package/types/lodash/ts3.1/fp/takeWhile.d.ts +0 -2
  453. package/types/lodash/ts3.1/fp/tap.d.ts +0 -2
  454. package/types/lodash/ts3.1/fp/template.d.ts +0 -2
  455. package/types/lodash/ts3.1/fp/throttle.d.ts +0 -2
  456. package/types/lodash/ts3.1/fp/thru.d.ts +0 -2
  457. package/types/lodash/ts3.1/fp/times.d.ts +0 -2
  458. package/types/lodash/ts3.1/fp/toArray.d.ts +0 -2
  459. package/types/lodash/ts3.1/fp/toFinite.d.ts +0 -2
  460. package/types/lodash/ts3.1/fp/toInteger.d.ts +0 -2
  461. package/types/lodash/ts3.1/fp/toLength.d.ts +0 -2
  462. package/types/lodash/ts3.1/fp/toLower.d.ts +0 -2
  463. package/types/lodash/ts3.1/fp/toNumber.d.ts +0 -2
  464. package/types/lodash/ts3.1/fp/toPairs.d.ts +0 -2
  465. package/types/lodash/ts3.1/fp/toPairsIn.d.ts +0 -2
  466. package/types/lodash/ts3.1/fp/toPath.d.ts +0 -2
  467. package/types/lodash/ts3.1/fp/toPlainObject.d.ts +0 -2
  468. package/types/lodash/ts3.1/fp/toSafeInteger.d.ts +0 -2
  469. package/types/lodash/ts3.1/fp/toString.d.ts +0 -2
  470. package/types/lodash/ts3.1/fp/toUpper.d.ts +0 -2
  471. package/types/lodash/ts3.1/fp/transform.d.ts +0 -2
  472. package/types/lodash/ts3.1/fp/trim.d.ts +0 -2
  473. package/types/lodash/ts3.1/fp/trimChars.d.ts +0 -2
  474. package/types/lodash/ts3.1/fp/trimCharsEnd.d.ts +0 -2
  475. package/types/lodash/ts3.1/fp/trimCharsStart.d.ts +0 -2
  476. package/types/lodash/ts3.1/fp/trimEnd.d.ts +0 -2
  477. package/types/lodash/ts3.1/fp/trimStart.d.ts +0 -2
  478. package/types/lodash/ts3.1/fp/truncate.d.ts +0 -2
  479. package/types/lodash/ts3.1/fp/unapply.d.ts +0 -2
  480. package/types/lodash/ts3.1/fp/unary.d.ts +0 -2
  481. package/types/lodash/ts3.1/fp/unescape.d.ts +0 -2
  482. package/types/lodash/ts3.1/fp/union.d.ts +0 -2
  483. package/types/lodash/ts3.1/fp/unionBy.d.ts +0 -2
  484. package/types/lodash/ts3.1/fp/unionWith.d.ts +0 -2
  485. package/types/lodash/ts3.1/fp/uniq.d.ts +0 -2
  486. package/types/lodash/ts3.1/fp/uniqBy.d.ts +0 -2
  487. package/types/lodash/ts3.1/fp/uniqWith.d.ts +0 -2
  488. package/types/lodash/ts3.1/fp/uniqueId.d.ts +0 -2
  489. package/types/lodash/ts3.1/fp/unnest.d.ts +0 -2
  490. package/types/lodash/ts3.1/fp/unset.d.ts +0 -2
  491. package/types/lodash/ts3.1/fp/unzip.d.ts +0 -2
  492. package/types/lodash/ts3.1/fp/unzipWith.d.ts +0 -2
  493. package/types/lodash/ts3.1/fp/update.d.ts +0 -2
  494. package/types/lodash/ts3.1/fp/updateWith.d.ts +0 -2
  495. package/types/lodash/ts3.1/fp/upperCase.d.ts +0 -2
  496. package/types/lodash/ts3.1/fp/upperFirst.d.ts +0 -2
  497. package/types/lodash/ts3.1/fp/useWith.d.ts +0 -2
  498. package/types/lodash/ts3.1/fp/values.d.ts +0 -2
  499. package/types/lodash/ts3.1/fp/valuesIn.d.ts +0 -2
  500. package/types/lodash/ts3.1/fp/where.d.ts +0 -2
  501. package/types/lodash/ts3.1/fp/whereEq.d.ts +0 -2
  502. package/types/lodash/ts3.1/fp/without.d.ts +0 -2
  503. package/types/lodash/ts3.1/fp/words.d.ts +0 -2
  504. package/types/lodash/ts3.1/fp/wrap.d.ts +0 -2
  505. package/types/lodash/ts3.1/fp/xor.d.ts +0 -2
  506. package/types/lodash/ts3.1/fp/xorBy.d.ts +0 -2
  507. package/types/lodash/ts3.1/fp/xorWith.d.ts +0 -2
  508. package/types/lodash/ts3.1/fp/zip.d.ts +0 -2
  509. package/types/lodash/ts3.1/fp/zipAll.d.ts +0 -2
  510. package/types/lodash/ts3.1/fp/zipObj.d.ts +0 -2
  511. package/types/lodash/ts3.1/fp/zipObject.d.ts +0 -2
  512. package/types/lodash/ts3.1/fp/zipObjectDeep.d.ts +0 -2
  513. package/types/lodash/ts3.1/fp/zipWith.d.ts +0 -2
  514. package/types/lodash/ts3.1/fp.d.ts +0 -4938
  515. package/types/lodash/ts3.1/fromPairs.d.ts +0 -2
  516. package/types/lodash/ts3.1/functions.d.ts +0 -2
  517. package/types/lodash/ts3.1/functionsIn.d.ts +0 -2
  518. package/types/lodash/ts3.1/get.d.ts +0 -2
  519. package/types/lodash/ts3.1/groupBy.d.ts +0 -2
  520. package/types/lodash/ts3.1/gt.d.ts +0 -2
  521. package/types/lodash/ts3.1/gte.d.ts +0 -2
  522. package/types/lodash/ts3.1/has.d.ts +0 -2
  523. package/types/lodash/ts3.1/hasIn.d.ts +0 -2
  524. package/types/lodash/ts3.1/head.d.ts +0 -2
  525. package/types/lodash/ts3.1/identity.d.ts +0 -2
  526. package/types/lodash/ts3.1/inRange.d.ts +0 -2
  527. package/types/lodash/ts3.1/includes.d.ts +0 -2
  528. package/types/lodash/ts3.1/index.d.ts +0 -33
  529. package/types/lodash/ts3.1/indexOf.d.ts +0 -2
  530. package/types/lodash/ts3.1/initial.d.ts +0 -2
  531. package/types/lodash/ts3.1/intersection.d.ts +0 -2
  532. package/types/lodash/ts3.1/intersectionBy.d.ts +0 -2
  533. package/types/lodash/ts3.1/intersectionWith.d.ts +0 -2
  534. package/types/lodash/ts3.1/invert.d.ts +0 -2
  535. package/types/lodash/ts3.1/invertBy.d.ts +0 -2
  536. package/types/lodash/ts3.1/invoke.d.ts +0 -2
  537. package/types/lodash/ts3.1/invokeMap.d.ts +0 -2
  538. package/types/lodash/ts3.1/isArguments.d.ts +0 -2
  539. package/types/lodash/ts3.1/isArray.d.ts +0 -2
  540. package/types/lodash/ts3.1/isArrayBuffer.d.ts +0 -2
  541. package/types/lodash/ts3.1/isArrayLike.d.ts +0 -2
  542. package/types/lodash/ts3.1/isArrayLikeObject.d.ts +0 -2
  543. package/types/lodash/ts3.1/isBoolean.d.ts +0 -2
  544. package/types/lodash/ts3.1/isBuffer.d.ts +0 -2
  545. package/types/lodash/ts3.1/isDate.d.ts +0 -2
  546. package/types/lodash/ts3.1/isElement.d.ts +0 -2
  547. package/types/lodash/ts3.1/isEmpty.d.ts +0 -2
  548. package/types/lodash/ts3.1/isEqual.d.ts +0 -2
  549. package/types/lodash/ts3.1/isEqualWith.d.ts +0 -2
  550. package/types/lodash/ts3.1/isError.d.ts +0 -2
  551. package/types/lodash/ts3.1/isFinite.d.ts +0 -2
  552. package/types/lodash/ts3.1/isFunction.d.ts +0 -2
  553. package/types/lodash/ts3.1/isInteger.d.ts +0 -2
  554. package/types/lodash/ts3.1/isLength.d.ts +0 -2
  555. package/types/lodash/ts3.1/isMap.d.ts +0 -2
  556. package/types/lodash/ts3.1/isMatch.d.ts +0 -2
  557. package/types/lodash/ts3.1/isMatchWith.d.ts +0 -2
  558. package/types/lodash/ts3.1/isNaN.d.ts +0 -2
  559. package/types/lodash/ts3.1/isNative.d.ts +0 -2
  560. package/types/lodash/ts3.1/isNil.d.ts +0 -2
  561. package/types/lodash/ts3.1/isNull.d.ts +0 -2
  562. package/types/lodash/ts3.1/isNumber.d.ts +0 -2
  563. package/types/lodash/ts3.1/isObject.d.ts +0 -2
  564. package/types/lodash/ts3.1/isObjectLike.d.ts +0 -2
  565. package/types/lodash/ts3.1/isPlainObject.d.ts +0 -2
  566. package/types/lodash/ts3.1/isRegExp.d.ts +0 -2
  567. package/types/lodash/ts3.1/isSafeInteger.d.ts +0 -2
  568. package/types/lodash/ts3.1/isSet.d.ts +0 -2
  569. package/types/lodash/ts3.1/isString.d.ts +0 -2
  570. package/types/lodash/ts3.1/isSymbol.d.ts +0 -2
  571. package/types/lodash/ts3.1/isTypedArray.d.ts +0 -2
  572. package/types/lodash/ts3.1/isUndefined.d.ts +0 -2
  573. package/types/lodash/ts3.1/isWeakMap.d.ts +0 -2
  574. package/types/lodash/ts3.1/isWeakSet.d.ts +0 -2
  575. package/types/lodash/ts3.1/iteratee.d.ts +0 -2
  576. package/types/lodash/ts3.1/join.d.ts +0 -2
  577. package/types/lodash/ts3.1/kebabCase.d.ts +0 -2
  578. package/types/lodash/ts3.1/keyBy.d.ts +0 -2
  579. package/types/lodash/ts3.1/keys.d.ts +0 -2
  580. package/types/lodash/ts3.1/keysIn.d.ts +0 -2
  581. package/types/lodash/ts3.1/last.d.ts +0 -2
  582. package/types/lodash/ts3.1/lastIndexOf.d.ts +0 -2
  583. package/types/lodash/ts3.1/lowerCase.d.ts +0 -2
  584. package/types/lodash/ts3.1/lowerFirst.d.ts +0 -2
  585. package/types/lodash/ts3.1/lt.d.ts +0 -2
  586. package/types/lodash/ts3.1/lte.d.ts +0 -2
  587. package/types/lodash/ts3.1/map.d.ts +0 -2
  588. package/types/lodash/ts3.1/mapKeys.d.ts +0 -2
  589. package/types/lodash/ts3.1/mapValues.d.ts +0 -2
  590. package/types/lodash/ts3.1/matches.d.ts +0 -2
  591. package/types/lodash/ts3.1/matchesProperty.d.ts +0 -2
  592. package/types/lodash/ts3.1/max.d.ts +0 -2
  593. package/types/lodash/ts3.1/maxBy.d.ts +0 -2
  594. package/types/lodash/ts3.1/mean.d.ts +0 -2
  595. package/types/lodash/ts3.1/meanBy.d.ts +0 -2
  596. package/types/lodash/ts3.1/memoize.d.ts +0 -2
  597. package/types/lodash/ts3.1/merge.d.ts +0 -2
  598. package/types/lodash/ts3.1/mergeWith.d.ts +0 -2
  599. package/types/lodash/ts3.1/method.d.ts +0 -2
  600. package/types/lodash/ts3.1/methodOf.d.ts +0 -2
  601. package/types/lodash/ts3.1/min.d.ts +0 -2
  602. package/types/lodash/ts3.1/minBy.d.ts +0 -2
  603. package/types/lodash/ts3.1/mixin.d.ts +0 -2
  604. package/types/lodash/ts3.1/multiply.d.ts +0 -2
  605. package/types/lodash/ts3.1/negate.d.ts +0 -2
  606. package/types/lodash/ts3.1/noConflict.d.ts +0 -2
  607. package/types/lodash/ts3.1/noop.d.ts +0 -2
  608. package/types/lodash/ts3.1/now.d.ts +0 -2
  609. package/types/lodash/ts3.1/nth.d.ts +0 -2
  610. package/types/lodash/ts3.1/nthArg.d.ts +0 -2
  611. package/types/lodash/ts3.1/omit.d.ts +0 -2
  612. package/types/lodash/ts3.1/omitBy.d.ts +0 -2
  613. package/types/lodash/ts3.1/once.d.ts +0 -2
  614. package/types/lodash/ts3.1/orderBy.d.ts +0 -2
  615. package/types/lodash/ts3.1/over.d.ts +0 -2
  616. package/types/lodash/ts3.1/overArgs.d.ts +0 -2
  617. package/types/lodash/ts3.1/overEvery.d.ts +0 -2
  618. package/types/lodash/ts3.1/overSome.d.ts +0 -2
  619. package/types/lodash/ts3.1/pad.d.ts +0 -2
  620. package/types/lodash/ts3.1/padEnd.d.ts +0 -2
  621. package/types/lodash/ts3.1/padStart.d.ts +0 -2
  622. package/types/lodash/ts3.1/parseInt.d.ts +0 -2
  623. package/types/lodash/ts3.1/partial.d.ts +0 -2
  624. package/types/lodash/ts3.1/partialRight.d.ts +0 -2
  625. package/types/lodash/ts3.1/partition.d.ts +0 -2
  626. package/types/lodash/ts3.1/pick.d.ts +0 -2
  627. package/types/lodash/ts3.1/pickBy.d.ts +0 -2
  628. package/types/lodash/ts3.1/property.d.ts +0 -2
  629. package/types/lodash/ts3.1/propertyOf.d.ts +0 -2
  630. package/types/lodash/ts3.1/pull.d.ts +0 -2
  631. package/types/lodash/ts3.1/pullAll.d.ts +0 -2
  632. package/types/lodash/ts3.1/pullAllBy.d.ts +0 -2
  633. package/types/lodash/ts3.1/pullAllWith.d.ts +0 -2
  634. package/types/lodash/ts3.1/pullAt.d.ts +0 -2
  635. package/types/lodash/ts3.1/random.d.ts +0 -2
  636. package/types/lodash/ts3.1/range.d.ts +0 -2
  637. package/types/lodash/ts3.1/rangeRight.d.ts +0 -2
  638. package/types/lodash/ts3.1/rearg.d.ts +0 -2
  639. package/types/lodash/ts3.1/reduce.d.ts +0 -2
  640. package/types/lodash/ts3.1/reduceRight.d.ts +0 -2
  641. package/types/lodash/ts3.1/reject.d.ts +0 -2
  642. package/types/lodash/ts3.1/remove.d.ts +0 -2
  643. package/types/lodash/ts3.1/repeat.d.ts +0 -2
  644. package/types/lodash/ts3.1/replace.d.ts +0 -2
  645. package/types/lodash/ts3.1/rest.d.ts +0 -2
  646. package/types/lodash/ts3.1/result.d.ts +0 -2
  647. package/types/lodash/ts3.1/reverse.d.ts +0 -2
  648. package/types/lodash/ts3.1/round.d.ts +0 -2
  649. package/types/lodash/ts3.1/runInContext.d.ts +0 -2
  650. package/types/lodash/ts3.1/sample.d.ts +0 -2
  651. package/types/lodash/ts3.1/sampleSize.d.ts +0 -2
  652. package/types/lodash/ts3.1/set.d.ts +0 -2
  653. package/types/lodash/ts3.1/setWith.d.ts +0 -2
  654. package/types/lodash/ts3.1/shuffle.d.ts +0 -2
  655. package/types/lodash/ts3.1/size.d.ts +0 -2
  656. package/types/lodash/ts3.1/slice.d.ts +0 -2
  657. package/types/lodash/ts3.1/snakeCase.d.ts +0 -2
  658. package/types/lodash/ts3.1/some.d.ts +0 -2
  659. package/types/lodash/ts3.1/sortBy.d.ts +0 -2
  660. package/types/lodash/ts3.1/sortedIndex.d.ts +0 -2
  661. package/types/lodash/ts3.1/sortedIndexBy.d.ts +0 -2
  662. package/types/lodash/ts3.1/sortedIndexOf.d.ts +0 -2
  663. package/types/lodash/ts3.1/sortedLastIndex.d.ts +0 -2
  664. package/types/lodash/ts3.1/sortedLastIndexBy.d.ts +0 -2
  665. package/types/lodash/ts3.1/sortedLastIndexOf.d.ts +0 -2
  666. package/types/lodash/ts3.1/sortedUniq.d.ts +0 -2
  667. package/types/lodash/ts3.1/sortedUniqBy.d.ts +0 -2
  668. package/types/lodash/ts3.1/split.d.ts +0 -2
  669. package/types/lodash/ts3.1/spread.d.ts +0 -2
  670. package/types/lodash/ts3.1/startCase.d.ts +0 -2
  671. package/types/lodash/ts3.1/startsWith.d.ts +0 -2
  672. package/types/lodash/ts3.1/stubFalse.d.ts +0 -2
  673. package/types/lodash/ts3.1/stubTrue.d.ts +0 -2
  674. package/types/lodash/ts3.1/subtract.d.ts +0 -2
  675. package/types/lodash/ts3.1/sum.d.ts +0 -2
  676. package/types/lodash/ts3.1/sumBy.d.ts +0 -2
  677. package/types/lodash/ts3.1/tail.d.ts +0 -2
  678. package/types/lodash/ts3.1/take.d.ts +0 -2
  679. package/types/lodash/ts3.1/takeRight.d.ts +0 -2
  680. package/types/lodash/ts3.1/takeRightWhile.d.ts +0 -2
  681. package/types/lodash/ts3.1/takeWhile.d.ts +0 -2
  682. package/types/lodash/ts3.1/tap.d.ts +0 -2
  683. package/types/lodash/ts3.1/template.d.ts +0 -2
  684. package/types/lodash/ts3.1/throttle.d.ts +0 -2
  685. package/types/lodash/ts3.1/thru.d.ts +0 -2
  686. package/types/lodash/ts3.1/times.d.ts +0 -2
  687. package/types/lodash/ts3.1/toArray.d.ts +0 -2
  688. package/types/lodash/ts3.1/toFinite.d.ts +0 -2
  689. package/types/lodash/ts3.1/toInteger.d.ts +0 -2
  690. package/types/lodash/ts3.1/toLength.d.ts +0 -2
  691. package/types/lodash/ts3.1/toLower.d.ts +0 -2
  692. package/types/lodash/ts3.1/toNumber.d.ts +0 -2
  693. package/types/lodash/ts3.1/toPairs.d.ts +0 -2
  694. package/types/lodash/ts3.1/toPairsIn.d.ts +0 -2
  695. package/types/lodash/ts3.1/toPath.d.ts +0 -2
  696. package/types/lodash/ts3.1/toPlainObject.d.ts +0 -2
  697. package/types/lodash/ts3.1/toSafeInteger.d.ts +0 -2
  698. package/types/lodash/ts3.1/toString.d.ts +0 -2
  699. package/types/lodash/ts3.1/toUpper.d.ts +0 -2
  700. package/types/lodash/ts3.1/transform.d.ts +0 -2
  701. package/types/lodash/ts3.1/trim.d.ts +0 -2
  702. package/types/lodash/ts3.1/trimEnd.d.ts +0 -2
  703. package/types/lodash/ts3.1/trimStart.d.ts +0 -2
  704. package/types/lodash/ts3.1/truncate.d.ts +0 -2
  705. package/types/lodash/ts3.1/unary.d.ts +0 -2
  706. package/types/lodash/ts3.1/unescape.d.ts +0 -2
  707. package/types/lodash/ts3.1/union.d.ts +0 -2
  708. package/types/lodash/ts3.1/unionBy.d.ts +0 -2
  709. package/types/lodash/ts3.1/unionWith.d.ts +0 -2
  710. package/types/lodash/ts3.1/uniq.d.ts +0 -2
  711. package/types/lodash/ts3.1/uniqBy.d.ts +0 -2
  712. package/types/lodash/ts3.1/uniqWith.d.ts +0 -2
  713. package/types/lodash/ts3.1/uniqueId.d.ts +0 -2
  714. package/types/lodash/ts3.1/unset.d.ts +0 -2
  715. package/types/lodash/ts3.1/unzip.d.ts +0 -2
  716. package/types/lodash/ts3.1/unzipWith.d.ts +0 -2
  717. package/types/lodash/ts3.1/update.d.ts +0 -2
  718. package/types/lodash/ts3.1/updateWith.d.ts +0 -2
  719. package/types/lodash/ts3.1/upperCase.d.ts +0 -2
  720. package/types/lodash/ts3.1/upperFirst.d.ts +0 -2
  721. package/types/lodash/ts3.1/values.d.ts +0 -2
  722. package/types/lodash/ts3.1/valuesIn.d.ts +0 -2
  723. package/types/lodash/ts3.1/without.d.ts +0 -2
  724. package/types/lodash/ts3.1/words.d.ts +0 -2
  725. package/types/lodash/ts3.1/wrap.d.ts +0 -2
  726. package/types/lodash/ts3.1/xor.d.ts +0 -2
  727. package/types/lodash/ts3.1/xorBy.d.ts +0 -2
  728. package/types/lodash/ts3.1/xorWith.d.ts +0 -2
  729. package/types/lodash/ts3.1/zip.d.ts +0 -2
  730. package/types/lodash/ts3.1/zipObject.d.ts +0 -2
  731. package/types/lodash/ts3.1/zipObjectDeep.d.ts +0 -2
  732. package/types/lodash/ts3.1/zipWith.d.ts +0 -2
@@ -1,7 +1,5 @@
1
1
  import _ = require("../index");
2
2
  declare module "../index" {
3
- // attempt
4
-
5
3
  interface LoDashStatic {
6
4
  /**
7
5
  * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments
@@ -10,25 +8,21 @@ declare module "../index" {
10
8
  * @param func The function to attempt.
11
9
  * @return Returns the func result or error object.
12
10
  */
13
- attempt<TResult>(func: (...args: any[]) => TResult, ...args: any[]): TResult|Error;
11
+ attempt<TResult>(func: (...args: any[]) => TResult, ...args: any[]): TResult | Error;
14
12
  }
15
-
16
13
  interface LoDashImplicitWrapper<TValue> {
17
14
  /**
18
15
  * @see _.attempt
19
16
  */
20
- attempt<TResult>(...args: any[]): TResult|Error;
17
+ attempt<TResult>(...args: any[]): TResult | Error;
21
18
  }
22
-
23
19
  interface LoDashExplicitWrapper<TValue> {
24
20
  /**
25
21
  * @see _.attempt
26
22
  */
27
- attempt<TResult>(...args: any[]): LoDashExplicitWrapper<TResult|Error>;
23
+ attempt<TResult>(...args: any[]): ExpChain<TResult | Error>;
28
24
  }
29
25
 
30
- // bindAll
31
-
32
26
  interface LoDashStatic {
33
27
  /**
34
28
  * Binds methods of an object to the object itself, overwriting the existing method. Method names may be
@@ -42,20 +36,20 @@ declare module "../index" {
42
36
  * method names.
43
37
  * @return Returns object.
44
38
  */
45
- bindAll<T>(
46
- object: T,
47
- ...methodNames: Array<Many<string>>
48
- ): T;
39
+ bindAll<T>(object: T, ...methodNames: Array<Many<string>>): T;
49
40
  }
50
-
51
- interface LoDashWrapper<TValue> {
41
+ interface LoDashImplicitWrapper<TValue> {
42
+ /**
43
+ * @see _.bindAll
44
+ */
45
+ bindAll(...methodNames: Array<Many<string>>): this;
46
+ }
47
+ interface LoDashExplicitWrapper<TValue> {
52
48
  /**
53
49
  * @see _.bindAll
54
50
  */
55
51
  bindAll(...methodNames: Array<Many<string>>): this;
56
52
  }
57
-
58
- // cond
59
53
 
60
54
  interface LoDashStatic {
61
55
  /**
@@ -88,12 +82,9 @@ declare module "../index" {
88
82
  cond<T, R>(pairs: Array<CondPair<T, R>>): (Target: T) => R;
89
83
  }
90
84
 
91
- // conforms
92
-
93
85
  type ConformsPredicateObject<T> = {
94
- [P in keyof T]?: (val: T[P]) => boolean;
86
+ [P in keyof T]: T[P] extends (arg: infer A) => any ? A : any
95
87
  };
96
-
97
88
  interface LoDashStatic {
98
89
  /**
99
90
  * Creates a function that invokes the predicate properties of `source` with the corresponding
@@ -101,23 +92,19 @@ declare module "../index" {
101
92
  */
102
93
  conforms<T>(source: ConformsPredicateObject<T>): (value: T) => boolean;
103
94
  }
104
-
105
95
  interface LoDashImplicitWrapper<TValue> {
106
96
  /**
107
97
  * @see _.conforms
108
98
  */
109
- conforms<T>(this: LoDashImplicitWrapper<ConformsPredicateObject<T>>): LoDashImplicitWrapper<(value: T) => boolean>;
99
+ conforms(): Function<(value: ConformsPredicateObject<TValue>) => boolean>;
110
100
  }
111
-
112
101
  interface LoDashExplicitWrapper<TValue> {
113
102
  /**
114
103
  * @see _.conforms
115
104
  */
116
- conforms<T>(this: LoDashExplicitWrapper<ConformsPredicateObject<T>>): LoDashExplicitWrapper<(value: T) => boolean>;
105
+ conforms(): FunctionChain<(value: ConformsPredicateObject<TValue>) => boolean>;
117
106
  }
118
107
 
119
- // constant
120
-
121
108
  interface LoDashStatic {
122
109
  /**
123
110
  * Creates a function that returns value.
@@ -127,23 +114,19 @@ declare module "../index" {
127
114
  */
128
115
  constant<T>(value: T): () => T;
129
116
  }
130
-
131
117
  interface LoDashImplicitWrapper<TValue> {
132
118
  /**
133
119
  * @see _.constant
134
120
  */
135
- constant(): LoDashImplicitWrapper<() => TValue>;
121
+ constant(): Function<() => TValue>;
136
122
  }
137
-
138
123
  interface LoDashExplicitWrapper<TValue> {
139
124
  /**
140
125
  * @see _.constant
141
126
  */
142
- constant(): LoDashExplicitWrapper<() => TValue>;
127
+ constant(): FunctionChain<() => TValue>;
143
128
  }
144
129
 
145
- // defaultTo
146
-
147
130
  interface LoDashStatic {
148
131
  /**
149
132
  * Checks `value` to determine whether a default value should be returned in
@@ -155,48 +138,32 @@ declare module "../index" {
155
138
  * @returns Returns the resolved value.
156
139
  */
157
140
  defaultTo<T>(value: T | null | undefined, defaultValue: T): T;
158
-
159
141
  /**
160
142
  * @see _.defaultTo
161
143
  */
162
- defaultTo<T, TDefault>(
163
- value: T | null | undefined,
164
- defaultValue: TDefault
165
- ): T | TDefault;
144
+ defaultTo<T, TDefault>(value: T | null | undefined, defaultValue: TDefault): T | TDefault;
166
145
  }
167
-
168
146
  interface LoDashImplicitWrapper<TValue> {
169
147
  /**
170
148
  * @see _.defaultTo
171
149
  */
172
- defaultTo<T>(this: LoDashImplicitWrapper<T | null | undefined>, defaultValue: T): T;
173
-
150
+ defaultTo(defaultValue: TValue): TValue;
174
151
  /**
175
152
  * @see _.defaultTo
176
153
  */
177
- defaultTo<T, TDefault>(
178
- this: LoDashImplicitWrapper<T | null | undefined>,
179
- defaultValue: TDefault
180
- ): T | TDefault;
154
+ defaultTo<TDefault>(defaultValue: TDefault): TValue extends null | undefined ? TDefault : TValue | TDefault;
181
155
  }
182
-
183
156
  interface LoDashExplicitWrapper<TValue> {
184
157
  /**
185
158
  * @see _.defaultTo
186
159
  */
187
- defaultTo<T>(this: LoDashExplicitWrapper<T | null | undefined>, defaultValue: T): LoDashExplicitWrapper<T>;
188
-
160
+ defaultTo(defaultValue: TValue): ExpChain<TValue>;
189
161
  /**
190
162
  * @see _.defaultTo
191
163
  */
192
- defaultTo<T, TDefault>(
193
- this: LoDashExplicitWrapper<T | null | undefined>,
194
- defaultValue: TDefault
195
- ): LoDashExplicitWrapper<T | TDefault>;
164
+ defaultTo<TDefault>(defaultValue: TDefault): ExpChain<TValue extends null | undefined ? TDefault : TValue | TDefault>;
196
165
  }
197
166
 
198
- // flow
199
-
200
167
  interface LoDashStatic {
201
168
  /**
202
169
  * Creates a function that returns the result of invoking the provided functions with the this binding of the
@@ -205,169 +172,105 @@ declare module "../index" {
205
172
  * @param funcs Functions to invoke.
206
173
  * @return Returns the new function.
207
174
  */
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;
175
+ flow<A extends any[], R1, R2, R3, R4, R5, R6, R7>(f1: (...args: A) => 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): (...args: A) => R7;
176
+ /**
177
+ * @see _.flow
178
+ */
179
+ flow<A extends any[], R1, R2, R3, R4, R5, R6, R7>(f1: (...args: A) => 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, ...func: Array<Many<(a: any) => any>>): (...args: A) => any;
180
+ /**
181
+ * @see _.flow
182
+ */
183
+ flow<A extends any[], R1, R2, R3, R4, R5, R6>(f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (...args: A) => R6;
184
+ /**
185
+ * @see _.flow
186
+ */
187
+ flow<A extends any[], R1, R2, R3, R4, R5>(f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (...args: A) => R5;
188
+ /**
189
+ * @see _.flow
190
+ */
191
+ flow<A extends any[], R1, R2, R3, R4>(f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (...args: A) => R4;
192
+ /**
193
+ * @see _.flow
194
+ */
195
+ flow<A extends any[], R1, R2, R3>(f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (...args: A) => R3;
196
+ /**
197
+ * @see _.flow
198
+ */
199
+ flow<A extends any[], R1, R2>(f1: (...args: A) => R1, f2: (a: R1) => R2): (...args: A) => R2;
200
+ /**
201
+ * @see _.flow
202
+ */
203
+ flow(...func: Array<Many<(...args: any[]) => any>>): (...args: any[]) => any;
257
204
  }
258
-
259
- interface LoDashImplicitWrapper<TValue> {
205
+ interface Function<T extends (...arg: any) => any> {
206
+ /**
207
+ * @see _.flow
208
+ */
209
+ flow<R2, R3, R4, R5, R6, R7>(f2: (a: ReturnType<T>) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): Function<(...args: Parameters<T>) => R7>;
210
+ /**
211
+ * @see _.flow
212
+ */
213
+ flow<R2, R3, R4, R5, R6, R7>(f2: (a: ReturnType<T>) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...func: Array<Many<(a: any) => any>>): Function<(...args: Parameters<T>) => any>;
214
+ /**
215
+ * @see _.flow
216
+ */
217
+ flow<R2, R3, R4, R5, R6>(f2: (a: ReturnType<T>) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): Function<(...args: Parameters<T>) => R6>;
218
+ /**
219
+ * @see _.flow
220
+ */
221
+ flow<R2, R3, R4, R5>(f2: (a: ReturnType<T>) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): Function<(...args: Parameters<T>) => R5>;
222
+ /**
223
+ * @see _.flow
224
+ */
225
+ flow<R2, R3, R4>(f2: (a: ReturnType<T>) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): Function<(...args: Parameters<T>) => R4>;
226
+ /**
227
+ * @see _.flow
228
+ */
229
+ flow<R2, R3>(f2: (a: ReturnType<T>) => R2, f3: (a: R2) => R3): Function<(...args: Parameters<T>) => R3>;
230
+ /**
231
+ * @see _.flow
232
+ */
233
+ flow<R2>(f2: (a: ReturnType<T>) => R2): Function<(...args: Parameters<T>) => R2>;
260
234
  /**
261
235
  * @see _.flow
262
236
  */
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>;
237
+ flow(...func: Array<Many<(...args: any[]) => any>>): Function<(...args: any[]) => any>;
312
238
  }
313
-
314
- interface LoDashExplicitWrapper<TValue> {
239
+ interface FunctionChain<T> {
240
+ /**
241
+ * @see _.flow
242
+ */
243
+ flow<R2, R3, R4, R5, R6, R7>(f2: (a: ReturnType<T>) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): FunctionChain<(...args: Parameters<T>) => R7>;
315
244
  /**
316
245
  * @see _.flow
317
246
  */
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>;
247
+ flow<R2, R3, R4, R5, R6, R7>(f2: (a: ReturnType<T>) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...func: Array<Many<(a: any) => any>>): FunctionChain<(...args: Parameters<T>) => any>;
248
+ /**
249
+ * @see _.flow
250
+ */
251
+ flow<R2, R3, R4, R5, R6>(f2: (a: ReturnType<T>) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): FunctionChain<(...args: Parameters<T>) => R6>;
252
+ /**
253
+ * @see _.flow
254
+ */
255
+ flow<R2, R3, R4, R5>(f2: (a: ReturnType<T>) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): FunctionChain<(...args: Parameters<T>) => R5>;
256
+ /**
257
+ * @see _.flow
258
+ */
259
+ flow<R2, R3, R4>(f2: (a: ReturnType<T>) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): FunctionChain<(...args: Parameters<T>) => R4>;
260
+ /**
261
+ * @see _.flow
262
+ */
263
+ flow<R2, R3>(f2: (a: ReturnType<T>) => R2, f3: (a: R2) => R3): FunctionChain<(...args: Parameters<T>) => R3>;
264
+ /**
265
+ * @see _.flow
266
+ */
267
+ flow<R2>(f2: (a: ReturnType<T>) => R2): FunctionChain<(...args: Parameters<T>) => R2>;
268
+ /**
269
+ * @see _.flow
270
+ */
271
+ flow(...func: Array<Many<(...args: any[]) => any>>): FunctionChain<(...args: any[]) => any>;
367
272
  }
368
273
 
369
- // flowRight
370
-
371
274
  interface LoDashStatic {
372
275
  /**
373
276
  * This method is like _.flow except that it creates a function that invokes the provided functions from right
@@ -376,154 +279,93 @@ declare module "../index" {
376
279
  * @param funcs Functions to invoke.
377
280
  * @return Returns the new function.
378
281
  */
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;
282
+ flowRight<A extends any[], R1, R2, R3, R4, R5, R6, R7>(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: A) => R1): (...args: A) => R7;
283
+ /**
284
+ * @see _.flowRight
285
+ */
286
+ flowRight<A extends any[], R1, R2, R3, R4, R5, R6>(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R6;
287
+ /**
288
+ * @see _.flowRight
289
+ */
290
+ flowRight<A extends any[], R1, R2, R3, R4, R5>(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R5;
291
+ /**
292
+ * @see _.flowRight
293
+ */
294
+ flowRight<A extends any[], R1, R2, R3, R4>(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R4;
295
+ /**
296
+ * @see _.flowRight
297
+ */
298
+ flowRight<A extends any[], R1, R2, R3>(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R3;
299
+ /**
300
+ * @see _.flowRight
301
+ */
302
+ flowRight<A extends any[], R1, R2>(f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R2;
303
+ /**
304
+ * @see _.flowRight
305
+ */
306
+ flowRight(...func: Array<Many<(...args: any[]) => any>>): (...args: any[]) => any;
423
307
  }
424
-
425
- interface LoDashImplicitWrapper<TValue> {
308
+ interface Function<T> {
309
+ /**
310
+ * @see _.flowRight
311
+ */
312
+ flowRight<A extends any[], R1, R2, R3, R4, R5>(f6: (a: R5) => Parameters<T>["0"], f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): Function<(...args: A) => ReturnType<T>>;
313
+ /**
314
+ * @see _.flowRight
315
+ */
316
+ flowRight<A extends any[], R1, R2, R3, R4>(f5: (a: R4) => Parameters<T>["0"], f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): Function<(...args: A) => ReturnType<T>>;
426
317
  /**
427
318
  * @see _.flowRight
428
319
  */
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>;
320
+ flowRight<A extends any[], R1, R2, R3>(f4: (a: R3) => Parameters<T>["0"], f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): Function<(...args: A) => ReturnType<T>>;
321
+ /**
322
+ * @see _.flowRight
323
+ */
324
+ flowRight<A extends any[], R1, R2>(f3: (a: R2) => Parameters<T>["0"], f2: (a: R1) => R2, f1: (...args: A) => R1): Function<(...args: A) => ReturnType<T>>;
325
+ /**
326
+ * @see _.flowRight
327
+ */
328
+ flowRight<A extends any[], R1>(f2: (a: R1) => Parameters<T>["0"], f1: (...args: A) => R1): Function<(...args: A) => ReturnType<T>>;
329
+ /**
330
+ * @see _.flowRight
331
+ */
332
+ flowRight<A extends any[]>(f1: (...args: A) => Parameters<T>["0"]): Function<(...args: A) => ReturnType<T>>;
333
+ /**
334
+ * @see _.flowRight
335
+ */
336
+ flowRight(...func: Array<Many<(...args: any[]) => any>>): Function<(...args: any[]) => any>;
473
337
  }
474
-
475
- interface LoDashExplicitWrapper<TValue> {
338
+ interface FunctionChain<T> {
339
+ /**
340
+ * @see _.flowRight
341
+ */
342
+ flowRight<A extends any[], R1, R2, R3, R4, R5>(f6: (a: R5) => Parameters<T>["0"], f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): FunctionChain<(...args: A) => ReturnType<T>>;
343
+ /**
344
+ * @see _.flowRight
345
+ */
346
+ flowRight<A extends any[], R1, R2, R3, R4>(f5: (a: R4) => Parameters<T>["0"], f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): FunctionChain<(...args: A) => ReturnType<T>>;
476
347
  /**
477
348
  * @see _.flowRight
478
349
  */
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>;
350
+ flowRight<A extends any[], R1, R2, R3>(f4: (a: R3) => Parameters<T>["0"], f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): FunctionChain<(...args: A) => ReturnType<T>>;
351
+ /**
352
+ * @see _.flowRight
353
+ */
354
+ flowRight<A extends any[], R1, R2>(f3: (a: R2) => Parameters<T>["0"], f2: (a: R1) => R2, f1: (...args: A) => R1): FunctionChain<(...args: A) => ReturnType<T>>;
355
+ /**
356
+ * @see _.flowRight
357
+ */
358
+ flowRight<A extends any[], R1>(f2: (a: R1) => Parameters<T>["0"], f1: (...args: A) => R1): FunctionChain<(...args: A) => ReturnType<T>>;
359
+ /**
360
+ * @see _.flowRight
361
+ */
362
+ flowRight<A extends any[]>(f1: (...args: A) => Parameters<T>["0"]): FunctionChain<(...args: A) => ReturnType<T>>;
363
+ /**
364
+ * @see _.flowRight
365
+ */
366
+ flowRight(...func: Array<Many<(...args: any[]) => any>>): FunctionChain<(...args: any[]) => any>;
523
367
  }
524
368
 
525
- // identity
526
-
527
369
  interface LoDashStatic {
528
370
  /**
529
371
  * This method returns the first argument provided to it.
@@ -532,20 +374,17 @@ declare module "../index" {
532
374
  * @return Returns value.
533
375
  */
534
376
  identity<T>(value: T): T;
535
-
536
377
  /**
537
378
  * @see _.identity
538
379
  */
539
380
  identity(): undefined;
540
381
  }
541
-
542
382
  interface LoDashImplicitWrapper<TValue> {
543
383
  /**
544
384
  * @see _.identity
545
385
  */
546
386
  identity(): TValue;
547
387
  }
548
-
549
388
  interface LoDashExplicitWrapper<TValue> {
550
389
  /**
551
390
  * @see _.identity
@@ -553,8 +392,6 @@ declare module "../index" {
553
392
  identity(): this;
554
393
  }
555
394
 
556
- // iteratee
557
-
558
395
  interface LoDashStatic {
559
396
  /**
560
397
  * Creates a function that invokes `func` with the arguments of the created
@@ -583,43 +420,66 @@ declare module "../index" {
583
420
  * _.filter(users, 'age > 36');
584
421
  * // => [{ 'user': 'fred', 'age': 40 }]
585
422
  */
586
- iteratee<TFunction extends (...args: any[]) => any>(
587
- func: TFunction
588
- ): TFunction;
589
-
423
+ iteratee<TFunction extends (...args: any[]) => any>(func: TFunction): TFunction;
590
424
  /**
591
425
  * @see _.iteratee
592
426
  */
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
-
427
+ iteratee(func: string | object): (...args: any[]) => any;
428
+ }
429
+ interface Function<T extends (...args: any) => any> {
598
430
  /**
599
431
  * @see _.iteratee
600
432
  */
601
- iteratee(): typeof _.identity; // tslint:disable-line:no-unnecessary-qualifier
433
+ iteratee(): Function<T>;
602
434
  }
603
-
604
- interface LoDashImplicitWrapper<TValue> {
435
+ interface Collection<T> {
605
436
  /**
606
437
  * @see _.iteratee
607
438
  */
608
- iteratee<TFunction extends (...args: any[]) => any>(
609
- this: LoDashImplicitWrapper<TFunction | string | object>
610
- ): LoDashImplicitWrapper<TFunction>;
439
+ iteratee(): Function<(o: object) => boolean>;
611
440
  }
612
-
613
- interface LoDashExplicitWrapper<TValue> {
441
+ interface Object<T> {
614
442
  /**
615
443
  * @see _.iteratee
616
444
  */
617
- iteratee<TFunction extends (...args: any[]) => any>(
618
- this: LoDashExplicitWrapper<TFunction | string | object>
619
- ): LoDashExplicitWrapper<TFunction>;
445
+ iteratee(): Function<(o: T) => boolean>;
446
+ }
447
+ interface String {
448
+ /**
449
+ * @see _.iteratee
450
+ */
451
+ iteratee(): Function<(o: object) => any>;
452
+ }
453
+ interface FunctionChain<T extends (...args: any) => any> {
454
+ /**
455
+ * @see _.iteratee
456
+ */
457
+ iteratee(): FunctionChain<T>;
458
+ }
459
+ interface CollectionChain<T> {
460
+ /**
461
+ * @see _.iteratee
462
+ */
463
+ iteratee(): FunctionChain<(o: object) => boolean>;
464
+ }
465
+ interface ObjectChain<T> {
466
+ /**
467
+ * @see _.iteratee
468
+ */
469
+ iteratee(): FunctionChain<(o: T) => boolean>;
470
+ }
471
+ interface StringChain {
472
+ /**
473
+ * @see _.iteratee
474
+ */
475
+ iteratee(): FunctionChain<(o: object) => any>;
476
+ }
477
+ interface StringNullableChain {
478
+ /**
479
+ * @see _.iteratee
480
+ */
481
+ iteratee(): FunctionChain<(o: object) => any>;
620
482
  }
621
-
622
- // matches
623
483
 
624
484
  interface LoDashStatic {
625
485
  /**
@@ -634,29 +494,24 @@ declare module "../index" {
634
494
  * @return Returns the new function.
635
495
  */
636
496
  matches<T>(source: T): (value: any) => boolean;
637
-
638
497
  /**
639
498
  * @see _.matches
640
499
  */
641
500
  matches<T, V>(source: T): (value: V) => boolean;
642
501
  }
643
-
644
502
  interface LoDashImplicitWrapper<TValue> {
645
503
  /**
646
504
  * @see _.matches
647
505
  */
648
- matches<V>(): LoDashImplicitWrapper<(value: V) => boolean>;
506
+ matches<V>(): Function<(value: V) => boolean>;
649
507
  }
650
-
651
508
  interface LoDashExplicitWrapper<TValue> {
652
509
  /**
653
510
  * @see _.matches
654
511
  */
655
- matches<V>(): LoDashExplicitWrapper<(value: V) => boolean>;
512
+ matches<V>(): FunctionChain<(value: V) => boolean>;
656
513
  }
657
514
 
658
- // matchesProperty
659
-
660
515
  interface LoDashStatic {
661
516
  /**
662
517
  * Creates a function that compares the property value of path on a given object to value.
@@ -668,54 +523,33 @@ declare module "../index" {
668
523
  * @param srcValue The value to match.
669
524
  * @return Returns the new function.
670
525
  */
671
- matchesProperty<T>(
672
- path: PropertyPath,
673
- srcValue: T
674
- ): (value: any) => boolean;
675
-
526
+ matchesProperty<T>(path: PropertyPath, srcValue: T): (value: any) => boolean;
676
527
  /**
677
528
  * @see _.matchesProperty
678
529
  */
679
- matchesProperty<T, V>(
680
- path: PropertyPath,
681
- srcValue: T
682
- ): (value: V) => boolean;
530
+ matchesProperty<T, V>(path: PropertyPath, srcValue: T): (value: V) => boolean;
683
531
  }
684
-
685
532
  interface LoDashImplicitWrapper<TValue> {
686
533
  /**
687
534
  * @see _.matchesProperty
688
535
  */
689
- matchesProperty<SrcValue>(
690
- srcValue: SrcValue
691
- ): LoDashImplicitWrapper<(value: any) => boolean>;
692
-
536
+ matchesProperty<SrcValue>(srcValue: SrcValue): Function<(value: any) => boolean>;
693
537
  /**
694
538
  * @see _.matchesProperty
695
539
  */
696
- matchesProperty<SrcValue, Value>(
697
- srcValue: SrcValue
698
- ): LoDashImplicitWrapper<(value: Value) => boolean>;
540
+ matchesProperty<SrcValue, Value>(srcValue: SrcValue): Function<(value: Value) => boolean>;
699
541
  }
700
-
701
542
  interface LoDashExplicitWrapper<TValue> {
702
543
  /**
703
544
  * @see _.matchesProperty
704
545
  */
705
- matchesProperty<SrcValue>(
706
- srcValue: SrcValue
707
- ): LoDashExplicitWrapper<(value: any) => boolean>;
708
-
546
+ matchesProperty<SrcValue>(srcValue: SrcValue): FunctionChain<(value: any) => boolean>;
709
547
  /**
710
548
  * @see _.matchesProperty
711
549
  */
712
- matchesProperty<SrcValue, Value>(
713
- srcValue: SrcValue
714
- ): LoDashExplicitWrapper<(value: Value) => boolean>;
550
+ matchesProperty<SrcValue, Value>(srcValue: SrcValue): FunctionChain<(value: Value) => boolean>;
715
551
  }
716
552
 
717
- // method
718
-
719
553
  interface LoDashStatic {
720
554
  /**
721
555
  * Creates a function that invokes the method at path on a given object. Any additional arguments are provided
@@ -725,28 +559,21 @@ declare module "../index" {
725
559
  * @param args The arguments to invoke the method with.
726
560
  * @return Returns the new function.
727
561
  */
728
- method(
729
- path: PropertyPath,
730
- ...args: any[]
731
- ): (object: any) => any;
562
+ method(path: PropertyPath, ...args: any[]): (object: any) => any;
732
563
  }
733
-
734
564
  interface LoDashImplicitWrapper<TValue> {
735
565
  /**
736
566
  * @see _.method
737
567
  */
738
- method(...args: any[]): LoDashImplicitWrapper<(object: any) => any>;
568
+ method(...args: any[]): Function<(object: any) => any>;
739
569
  }
740
-
741
570
  interface LoDashExplicitWrapper<TValue> {
742
571
  /**
743
572
  * @see _.method
744
573
  */
745
- method(...args: any[]): LoDashExplicitWrapper<(object: any) => any>;
574
+ method(...args: any[]): FunctionChain<(object: any) => any>;
746
575
  }
747
576
 
748
- // methodOf
749
-
750
577
  interface LoDashStatic {
751
578
  /**
752
579
  * The opposite of _.method; this method creates a function that invokes the method at a given path on object.
@@ -756,36 +583,27 @@ declare module "../index" {
756
583
  * @param args The arguments to invoke the method with.
757
584
  * @return Returns the new function.
758
585
  */
759
- methodOf(
760
- object: object,
761
- ...args: any[]
762
- ): (path: PropertyPath) => any;
586
+ methodOf(object: object, ...args: any[]): (path: PropertyPath) => any;
763
587
  }
764
-
765
588
  interface LoDashImplicitWrapper<TValue> {
766
589
  /**
767
590
  * @see _.methodOf
768
591
  */
769
- methodOf(
770
- ...args: any[]
771
- ): LoDashImplicitWrapper<(path: PropertyPath) => any>;
592
+ methodOf(...args: any[]): LoDashImplicitWrapper<(path: PropertyPath) => any>;
772
593
  }
773
-
774
594
  interface LoDashExplicitWrapper<TValue> {
775
595
  /**
776
596
  * @see _.methodOf
777
597
  */
778
- methodOf(
779
- ...args: any[]
780
- ): LoDashExplicitWrapper<(path: PropertyPath) => any>;
598
+ methodOf(...args: any[]): LoDashExplicitWrapper<(path: PropertyPath) => any>;
781
599
  }
782
600
 
783
- // mixin
784
-
785
601
  interface MixinOptions {
602
+ /**
603
+ * @see _.chain
604
+ */
786
605
  chain?: boolean;
787
606
  }
788
-
789
607
  interface LoDashStatic {
790
608
  /**
791
609
  * Adds all own enumerable function properties of a source object to the destination object. If object is a
@@ -800,57 +618,33 @@ declare module "../index" {
800
618
  * @param options.chain Specify whether the functions added are chainable.
801
619
  * @return Returns object.
802
620
  */
803
- mixin<TObject>(
804
- object: TObject,
805
- source: Dictionary<(...args: any[]) => any>,
806
- options?: MixinOptions
807
- ): TObject;
808
-
621
+ mixin<TObject>(object: TObject, source: Dictionary<(...args: any[]) => any>, options?: MixinOptions): TObject;
809
622
  /**
810
623
  * @see _.mixin
811
624
  */
812
- mixin<TResult>(
813
- source: Dictionary<(...args: any[]) => any>,
814
- options?: MixinOptions
815
- ): LoDashStatic;
625
+ mixin<TResult>(source: Dictionary<(...args: any[]) => any>, options?: MixinOptions): LoDashStatic;
816
626
  }
817
-
818
627
  interface LoDashImplicitWrapper<TValue> {
819
628
  /**
820
629
  * @see _.mixin
821
630
  */
822
- mixin(
823
- source: Dictionary<(...args: any[]) => any>,
824
- options?: MixinOptions
825
- ): this;
826
-
631
+ mixin(source: Dictionary<(...args: any[]) => any>, options?: MixinOptions): this;
827
632
  /**
828
633
  * @see _.mixin
829
634
  */
830
- mixin(
831
- options?: MixinOptions
832
- ): LoDashImplicitWrapper<LoDashStatic>;
635
+ mixin(options?: MixinOptions): LoDashImplicitWrapper<LoDashStatic>;
833
636
  }
834
-
835
637
  interface LoDashExplicitWrapper<TValue> {
836
638
  /**
837
639
  * @see _.mixin
838
640
  */
839
- mixin(
840
- source: Dictionary<(...args: any[]) => any>,
841
- options?: MixinOptions
842
- ): this;
843
-
641
+ mixin(source: Dictionary<(...args: any[]) => any>, options?: MixinOptions): this;
844
642
  /**
845
643
  * @see _.mixin
846
644
  */
847
- mixin(
848
- options?: MixinOptions
849
- ): LoDashExplicitWrapper<LoDashStatic>;
645
+ mixin(options?: MixinOptions): LoDashExplicitWrapper<LoDashStatic>;
850
646
  }
851
647
 
852
- // noConflict
853
-
854
648
  interface LoDashStatic {
855
649
  /**
856
650
  * Reverts the _ variable to its previous value and returns a reference to the lodash function.
@@ -859,14 +653,12 @@ declare module "../index" {
859
653
  */
860
654
  noConflict(): typeof _;
861
655
  }
862
-
863
656
  interface LoDashImplicitWrapper<TValue> {
864
657
  /**
865
658
  * @see _.noConflict
866
659
  */
867
660
  noConflict(): typeof _;
868
661
  }
869
-
870
662
  interface LoDashExplicitWrapper<TValue> {
871
663
  /**
872
664
  * @see _.noConflict
@@ -874,8 +666,6 @@ declare module "../index" {
874
666
  noConflict(): LoDashExplicitWrapper<typeof _>;
875
667
  }
876
668
 
877
- // noop
878
-
879
669
  interface LoDashStatic {
880
670
  /**
881
671
  * A no-operation function that returns undefined regardless of the arguments it receives.
@@ -884,23 +674,19 @@ declare module "../index" {
884
674
  */
885
675
  noop(...args: any[]): void;
886
676
  }
887
-
888
677
  interface LoDashImplicitWrapper<TValue> {
889
678
  /**
890
679
  * @see _.noop
891
680
  */
892
681
  noop(...args: any[]): void;
893
682
  }
894
-
895
683
  interface LoDashExplicitWrapper<TValue> {
896
684
  /**
897
685
  * @see _.noop
898
686
  */
899
- noop(...args: any[]): LoDashExplicitWrapper<undefined>;
687
+ noop(...args: any[]): PrimitiveChain<undefined>;
900
688
  }
901
689
 
902
- // nthArg
903
-
904
690
  interface LoDashStatic {
905
691
  /**
906
692
  * Creates a function that returns its nth argument.
@@ -910,23 +696,19 @@ declare module "../index" {
910
696
  */
911
697
  nthArg(n?: number): (...args: any[]) => any;
912
698
  }
913
-
914
699
  interface LoDashImplicitWrapper<TValue> {
915
700
  /**
916
701
  * @see _.nthArg
917
702
  */
918
- nthArg(): LoDashImplicitWrapper<(...args: any[]) => any>;
703
+ nthArg(): Function<(...args: any[]) => any>;
919
704
  }
920
-
921
705
  interface LoDashExplicitWrapper<TValue> {
922
706
  /**
923
707
  * @see _.nthArg
924
708
  */
925
- nthArg(): LoDashExplicitWrapper<(...args: any[]) => any>;
709
+ nthArg(): FunctionChain<(...args: any[]) => any>;
926
710
  }
927
711
 
928
- // over
929
-
930
712
  interface LoDashStatic {
931
713
  /**
932
714
  * Creates a function that invokes iteratees with the arguments provided to the created function and returns
@@ -937,28 +719,30 @@ declare module "../index" {
937
719
  */
938
720
  over<TResult>(...iteratees: Array<Many<(...args: any[]) => TResult>>): (...args: any[]) => TResult[];
939
721
  }
940
-
941
- interface LoDashImplicitWrapper<TValue> {
722
+ interface Collection<T> {
942
723
  /**
943
724
  * @see _.over
944
725
  */
945
- over<TResult>(
946
- this: LoDashImplicitWrapper<Many<(...args: any[]) => TResult>>,
947
- ...iteratees: Array<Many<(...args: any[]) => TResult>>
948
- ): LoDashImplicitWrapper<(...args: any[]) => TResult[]>;
726
+ over<TResult>(...iteratees: Array<Many<(...args: any[]) => TResult>>): Function<(...args: any[]) => TResult[]>;
949
727
  }
950
-
951
- interface LoDashExplicitWrapper<TValue> {
728
+ interface Function<T> {
952
729
  /**
953
730
  * @see _.over
954
731
  */
955
- over<TResult>(
956
- this: LoDashExplicitWrapper<Many<(...args: any[]) => TResult>>,
957
- ...iteratees: Array<Many<(...args: any[]) => TResult>>
958
- ): LoDashExplicitWrapper<(...args: any[]) => TResult[]>;
732
+ over<TResult>(...iteratees: Array<Many<(...args: any[]) => TResult>>): Function<(...args: any[]) => Array<ReturnType<T> | TResult>>;
733
+ }
734
+ interface CollectionChain<T> {
735
+ /**
736
+ * @see _.over
737
+ */
738
+ over<TResult>(...iteratees: Array<Many<(...args: any[]) => TResult>>): FunctionChain<(...args: any[]) => TResult[]>;
739
+ }
740
+ interface FunctionChain<T> {
741
+ /**
742
+ * @see _.over
743
+ */
744
+ over<TResult>(...iteratees: Array<Many<(...args: any[]) => TResult>>): FunctionChain<(...args: any[]) => Array<ReturnType<T> | TResult>>;
959
745
  }
960
-
961
- // overEvery
962
746
 
963
747
  interface LoDashStatic {
964
748
  /**
@@ -968,28 +752,36 @@ declare module "../index" {
968
752
  * @param predicates The predicates to check.
969
753
  * @return Returns the new function.
970
754
  */
971
- overEvery<T, Result1 extends T, Result2 extends T>(
972
- a: (arg: T) => arg is Result1,
973
- b: (arg: T) => arg is Result2
974
- ): (arg: T) => arg is Result1 & Result2;
755
+ overEvery<T, Result1 extends T, Result2 extends T>(...predicates: [
756
+ (arg: T) => arg is Result1,
757
+ (arg: T) => arg is Result2
758
+ ]): (arg: T) => arg is Result1 & Result2;
975
759
  overEvery<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): (...args: T[]) => boolean;
976
760
  }
977
-
978
- interface LoDashImplicitWrapper<TValue> {
761
+ interface Collection<T> {
979
762
  /**
980
763
  * @see _.overEvery
981
764
  */
982
- overEvery<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): LoDashImplicitWrapper<(...args: T[]) => boolean>;
765
+ overEvery<TArgs>(...iteratees: Array<Many<(...args: TArgs[]) => boolean>>): Function<(...args: TArgs[]) => boolean>;
983
766
  }
984
-
985
- interface LoDashExplicitWrapper<TValue> {
767
+ interface Function<T> {
986
768
  /**
987
769
  * @see _.overEvery
988
770
  */
989
- overEvery<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): LoDashExplicitWrapper<(...args: T[]) => boolean>;
771
+ overEvery<TArgs>(...iteratees: Array<Many<(...args: TArgs[]) => boolean>>): Function<(...args: Parameters<T> | TArgs[]) => boolean>;
772
+ }
773
+ interface CollectionChain<T> {
774
+ /**
775
+ * @see _.overEvery
776
+ */
777
+ overEvery<TArgs>(...iteratees: Array<Many<(...args: TArgs[]) => boolean>>): FunctionChain<(...args: TArgs[]) => boolean>;
778
+ }
779
+ interface FunctionChain<T> {
780
+ /**
781
+ * @see _.overEvery
782
+ */
783
+ overEvery<TArgs>(...iteratees: Array<Many<(...args: TArgs[]) => boolean>>): FunctionChain<(...args: Parameters<T> | TArgs[]) => boolean>;
990
784
  }
991
-
992
- // overSome
993
785
 
994
786
  interface LoDashStatic {
995
787
  /**
@@ -999,28 +791,36 @@ declare module "../index" {
999
791
  * @param predicates The predicates to check.
1000
792
  * @return Returns the new function.
1001
793
  */
1002
- overSome<T, Result1 extends T, Result2 extends T>(
1003
- a: (arg: T) => arg is Result1,
1004
- b: (arg: T) => arg is Result2
1005
- ): (arg: T) => arg is Result1 | Result2;
794
+ overSome<T, Result1 extends T, Result2 extends T>(...predicates: [
795
+ (arg: T) => arg is Result1,
796
+ (arg: T) => arg is Result2
797
+ ]): (arg: T) => arg is Result1 | Result2;
1006
798
  overSome<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): (...args: T[]) => boolean;
1007
799
  }
1008
-
1009
- interface LoDashImplicitWrapper<TValue> {
800
+ interface Collection<T> {
1010
801
  /**
1011
802
  * @see _.overSome
1012
803
  */
1013
- overSome<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): LoDashImplicitWrapper<(...args: T[]) => boolean>;
804
+ overSome<TArgs>(...iteratees: Array<Many<(...args: TArgs[]) => boolean>>): Function<(...args: TArgs[]) => boolean>;
1014
805
  }
1015
-
1016
- interface LoDashExplicitWrapper<TValue> {
806
+ interface Function<T> {
1017
807
  /**
1018
808
  * @see _.overSome
1019
809
  */
1020
- overSome<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): LoDashExplicitWrapper<(...args: T[]) => boolean>;
810
+ overSome<TArgs>(...iteratees: Array<Many<(...args: TArgs[]) => boolean>>): Function<(...args: Parameters<T> | TArgs[]) => boolean>;
811
+ }
812
+ interface CollectionChain<T> {
813
+ /**
814
+ * @see _.overSome
815
+ */
816
+ overSome<TArgs>(...iteratees: Array<Many<(...args: TArgs[]) => boolean>>): FunctionChain<(...args: TArgs[]) => boolean>;
817
+ }
818
+ interface FunctionChain<T> {
819
+ /**
820
+ * @see _.overSome
821
+ */
822
+ overSome<TArgs>(...iteratees: Array<Many<(...args: TArgs[]) => boolean>>): FunctionChain<(...args: Parameters<T> | TArgs[]) => boolean>;
1021
823
  }
1022
-
1023
- // property
1024
824
 
1025
825
  interface LoDashStatic {
1026
826
  /**
@@ -1031,23 +831,19 @@ declare module "../index" {
1031
831
  */
1032
832
  property<TObj, TResult>(path: PropertyPath): (obj: TObj) => TResult;
1033
833
  }
1034
-
1035
834
  interface LoDashImplicitWrapper<TValue> {
1036
835
  /**
1037
836
  * @see _.property
1038
837
  */
1039
- property<TObj, TResult>(): LoDashImplicitWrapper<(obj: TObj) => TResult>;
838
+ property<TObj, TResult>(): Function<(obj: TObj) => TResult>;
1040
839
  }
1041
-
1042
840
  interface LoDashExplicitWrapper<TValue> {
1043
841
  /**
1044
842
  * @see _.property
1045
843
  */
1046
- property<TObj, TResult>(): LoDashExplicitWrapper<(obj: TObj) => TResult>;
844
+ property<TObj, TResult>(): FunctionChain<(obj: TObj) => TResult>;
1047
845
  }
1048
846
 
1049
- // propertyOf
1050
-
1051
847
  interface LoDashStatic {
1052
848
  /**
1053
849
  * The opposite of _.property; this method creates a function that returns the property value at a given path
@@ -1058,14 +854,12 @@ declare module "../index" {
1058
854
  */
1059
855
  propertyOf<T extends {}>(object: T): (path: PropertyPath) => any;
1060
856
  }
1061
-
1062
857
  interface LoDashImplicitWrapper<TValue> {
1063
858
  /**
1064
859
  * @see _.propertyOf
1065
860
  */
1066
861
  propertyOf(): LoDashImplicitWrapper<(path: PropertyPath) => any>;
1067
862
  }
1068
-
1069
863
  interface LoDashExplicitWrapper<TValue> {
1070
864
  /**
1071
865
  * @see _.propertyOf
@@ -1073,8 +867,6 @@ declare module "../index" {
1073
867
  propertyOf(): LoDashExplicitWrapper<(path: PropertyPath) => any>;
1074
868
  }
1075
869
 
1076
- // range
1077
-
1078
870
  interface LoDashStatic {
1079
871
  /**
1080
872
  * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end.
@@ -1086,51 +878,25 @@ declare module "../index" {
1086
878
  * @param step The value to increment or decrement by.
1087
879
  * @return Returns a new range array.
1088
880
  */
1089
- range(
1090
- start: number,
1091
- end?: number,
1092
- step?: number
1093
- ): number[];
1094
-
881
+ range(start: number, end?: number, step?: number): number[];
1095
882
  /**
1096
- * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end.
1097
- * 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
1098
- * range is created unless a negative step is specified.
1099
- *
1100
- * @param start The start of the range.
1101
- * @param index Not used in this overload.
1102
- * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
1103
- * @return Returns a new range array.
883
+ * @see _.range
1104
884
  */
1105
- range(
1106
- end: number,
1107
- index: string | number,
1108
- guard: object
1109
- ): number[];
885
+ range(end: number, index: string | number, guard: object): number[];
1110
886
  }
1111
-
1112
887
  interface LoDashImplicitWrapper<TValue> {
1113
888
  /**
1114
889
  * @see _.range
1115
890
  */
1116
- range(
1117
- end?: number,
1118
- step?: number
1119
- ): LoDashImplicitWrapper<number[]>;
891
+ range(end?: number, step?: number): Collection<number>;
1120
892
  }
1121
-
1122
893
  interface LoDashExplicitWrapper<TValue> {
1123
894
  /**
1124
895
  * @see _.range
1125
896
  */
1126
- range(
1127
- end?: number,
1128
- step?: number
1129
- ): LoDashExplicitWrapper<number[]>;
897
+ range(end?: number, step?: number): CollectionChain<number>;
1130
898
  }
1131
899
 
1132
- // rangeRight
1133
-
1134
900
  interface LoDashStatic {
1135
901
  /**
1136
902
  * This method is like `_.range` except that it populates values in
@@ -1164,50 +930,25 @@ declare module "../index" {
1164
930
  * _.rangeRight(0);
1165
931
  * // => []
1166
932
  */
1167
- rangeRight(
1168
- start: number,
1169
- end?: number,
1170
- step?: number
1171
- ): number[];
1172
-
933
+ rangeRight(start: number, end?: number, step?: number): number[];
1173
934
  /**
1174
- * This method is like _.range except that it populates values in
1175
- * descending order.
1176
- *
1177
- * @param start The start of the range.
1178
- * @param index Not used in this overload.
1179
- * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
1180
- * @return Returns a new range array.
935
+ * @see _.rangeRight
1181
936
  */
1182
- rangeRight(
1183
- end: number,
1184
- index: string | number,
1185
- guard: object
1186
- ): number[];
937
+ rangeRight(end: number, index: string | number, guard: object): number[];
1187
938
  }
1188
-
1189
939
  interface LoDashImplicitWrapper<TValue> {
1190
940
  /**
1191
941
  * @see _.rangeRight
1192
942
  */
1193
- rangeRight(
1194
- end?: number,
1195
- step?: number
1196
- ): LoDashImplicitWrapper<number[]>;
943
+ rangeRight(end?: number, step?: number): Collection<number>;
1197
944
  }
1198
-
1199
945
  interface LoDashExplicitWrapper<TValue> {
1200
946
  /**
1201
947
  * @see _.rangeRight
1202
948
  */
1203
- rangeRight(
1204
- end?: number,
1205
- step?: number
1206
- ): LoDashExplicitWrapper<number[]>;
949
+ rangeRight(end?: number, step?: number): CollectionChain<number>;
1207
950
  }
1208
951
 
1209
- // runInContext
1210
-
1211
952
  interface LoDashStatic {
1212
953
  /**
1213
954
  * Create a new pristine lodash function using the given context object.
@@ -1217,7 +958,6 @@ declare module "../index" {
1217
958
  */
1218
959
  runInContext(context?: object): LoDashStatic;
1219
960
  }
1220
-
1221
961
  interface LoDashImplicitWrapper<TValue> {
1222
962
  /**
1223
963
  * @see _.runInContext
@@ -1225,8 +965,6 @@ declare module "../index" {
1225
965
  runInContext(): LoDashStatic;
1226
966
  }
1227
967
 
1228
- // stubArray
1229
-
1230
968
  interface LoDashStatic {
1231
969
  /**
1232
970
  * This method returns a new empty array.
@@ -1235,23 +973,19 @@ declare module "../index" {
1235
973
  */
1236
974
  stubArray(): any[];
1237
975
  }
1238
-
1239
976
  interface LoDashImplicitWrapper<TValue> {
1240
977
  /**
1241
978
  * @see _.stubArray
1242
979
  */
1243
980
  stubArray(): any[];
1244
981
  }
1245
-
1246
982
  interface LoDashExplicitWrapper<TValue> {
1247
983
  /**
1248
984
  * @see _.stubArray
1249
985
  */
1250
- stubArray(): LoDashExplicitWrapper<any[]>;
986
+ stubArray(): CollectionChain<any>;
1251
987
  }
1252
988
 
1253
- // stubFalse
1254
-
1255
989
  interface LoDashStatic {
1256
990
  /**
1257
991
  * This method returns `false`.
@@ -1260,23 +994,19 @@ declare module "../index" {
1260
994
  */
1261
995
  stubFalse(): false;
1262
996
  }
1263
-
1264
997
  interface LoDashImplicitWrapper<TValue> {
1265
998
  /**
1266
999
  * @see _.stubFalse
1267
1000
  */
1268
1001
  stubFalse(): false;
1269
1002
  }
1270
-
1271
1003
  interface LoDashExplicitWrapper<TValue> {
1272
1004
  /**
1273
1005
  * @see _.stubFalse
1274
1006
  */
1275
- stubFalse(): LoDashExplicitWrapper<false>;
1007
+ stubFalse(): PrimitiveChain<false>;
1276
1008
  }
1277
1009
 
1278
- // stubObject
1279
-
1280
1010
  interface LoDashStatic {
1281
1011
  /**
1282
1012
  * This method returns a new empty object.
@@ -1285,14 +1015,12 @@ declare module "../index" {
1285
1015
  */
1286
1016
  stubObject(): any;
1287
1017
  }
1288
-
1289
1018
  interface LoDashImplicitWrapper<TValue> {
1290
1019
  /**
1291
1020
  * @see _.stubObject
1292
1021
  */
1293
1022
  stubObject(): any;
1294
1023
  }
1295
-
1296
1024
  interface LoDashExplicitWrapper<TValue> {
1297
1025
  /**
1298
1026
  * @see _.stubObject
@@ -1300,8 +1028,6 @@ declare module "../index" {
1300
1028
  stubObject(): LoDashExplicitWrapper<any>;
1301
1029
  }
1302
1030
 
1303
- // stubString
1304
-
1305
1031
  interface LoDashStatic {
1306
1032
  /**
1307
1033
  * This method returns an empty string.
@@ -1310,23 +1036,19 @@ declare module "../index" {
1310
1036
  */
1311
1037
  stubString(): string;
1312
1038
  }
1313
-
1314
1039
  interface LoDashImplicitWrapper<TValue> {
1315
1040
  /**
1316
1041
  * @see _.stubString
1317
1042
  */
1318
1043
  stubString(): string;
1319
1044
  }
1320
-
1321
1045
  interface LoDashExplicitWrapper<TValue> {
1322
1046
  /**
1323
1047
  * @see _.stubString
1324
1048
  */
1325
- stubString(): LoDashExplicitWrapper<string>;
1049
+ stubString(): StringChain;
1326
1050
  }
1327
1051
 
1328
- // stubTrue
1329
-
1330
1052
  interface LoDashStatic {
1331
1053
  /**
1332
1054
  * This method returns `true`.
@@ -1335,23 +1057,19 @@ declare module "../index" {
1335
1057
  */
1336
1058
  stubTrue(): true;
1337
1059
  }
1338
-
1339
1060
  interface LoDashImplicitWrapper<TValue> {
1340
1061
  /**
1341
1062
  * @see _.stubTrue
1342
1063
  */
1343
1064
  stubTrue(): true;
1344
1065
  }
1345
-
1346
1066
  interface LoDashExplicitWrapper<TValue> {
1347
1067
  /**
1348
1068
  * @see _.stubTrue
1349
1069
  */
1350
- stubTrue(): LoDashExplicitWrapper<true>;
1070
+ stubTrue(): PrimitiveChain<true>;
1351
1071
  }
1352
1072
 
1353
- // times
1354
-
1355
1073
  interface LoDashStatic {
1356
1074
  /**
1357
1075
  * Invokes the iteratee function n times, returning an array of the results of each invocation. The iteratee
@@ -1361,47 +1079,33 @@ declare module "../index" {
1361
1079
  * @param iteratee The function invoked per iteration.
1362
1080
  * @return Returns the array of results.
1363
1081
  */
1364
- times<TResult>(
1365
- n: number,
1366
- iteratee: (num: number) => TResult
1367
- ): TResult[];
1368
-
1082
+ times<TResult>(n: number, iteratee: (num: number) => TResult): TResult[];
1369
1083
  /**
1370
1084
  * @see _.times
1371
1085
  */
1372
1086
  times(n: number): number[];
1373
1087
  }
1374
-
1375
1088
  interface LoDashImplicitWrapper<TValue> {
1376
1089
  /**
1377
1090
  * @see _.times
1378
1091
  */
1379
- times<TResult>(
1380
- iteratee: (num: number) => TResult
1381
- ): TResult[];
1382
-
1092
+ times<TResult>(iteratee: (num: number) => TResult): TResult[];
1383
1093
  /**
1384
1094
  * @see _.times
1385
1095
  */
1386
1096
  times(): number[];
1387
1097
  }
1388
-
1389
1098
  interface LoDashExplicitWrapper<TValue> {
1390
1099
  /**
1391
1100
  * @see _.times
1392
1101
  */
1393
- times<TResult>(
1394
- iteratee: (num: number) => TResult
1395
- ): LoDashExplicitWrapper<TResult[]>;
1396
-
1102
+ times<TResult>(iteratee: (num: number) => TResult): CollectionChain<TResult>;
1397
1103
  /**
1398
1104
  * @see _.times
1399
1105
  */
1400
- times(): LoDashExplicitWrapper<number[]>;
1106
+ times(): CollectionChain<number>;
1401
1107
  }
1402
1108
 
1403
- // toPath
1404
-
1405
1109
  interface LoDashStatic {
1406
1110
  /**
1407
1111
  * Converts `value` to a property path array.
@@ -1428,23 +1132,19 @@ declare module "../index" {
1428
1132
  */
1429
1133
  toPath(value: any): string[];
1430
1134
  }
1431
-
1432
1135
  interface LoDashImplicitWrapper<TValue> {
1433
1136
  /**
1434
1137
  * @see _.toPath
1435
1138
  */
1436
- toPath(): LoDashImplicitWrapper<string[]>;
1139
+ toPath(): Collection<string>;
1437
1140
  }
1438
-
1439
1141
  interface LoDashExplicitWrapper<TValue> {
1440
1142
  /**
1441
1143
  * @see _.toPath
1442
1144
  */
1443
- toPath(): LoDashExplicitWrapper<string[]>;
1145
+ toPath(): CollectionChain<string>;
1444
1146
  }
1445
1147
 
1446
- // uniqueId
1447
-
1448
1148
  interface LoDashStatic {
1449
1149
  /**
1450
1150
  * Generates a unique ID. If prefix is provided the ID is appended to it.
@@ -1454,19 +1154,17 @@ declare module "../index" {
1454
1154
  */
1455
1155
  uniqueId(prefix?: string): string;
1456
1156
  }
1457
-
1458
1157
  interface LoDashImplicitWrapper<TValue> {
1459
1158
  /**
1460
1159
  * @see _.uniqueId
1461
1160
  */
1462
1161
  uniqueId(): string;
1463
1162
  }
1464
-
1465
1163
  interface LoDashExplicitWrapper<TValue> {
1466
1164
  /**
1467
1165
  * @see _.uniqueId
1468
1166
  */
1469
- uniqueId(): LoDashExplicitWrapper<string>;
1167
+ uniqueId(): StringChain;
1470
1168
  }
1471
1169
 
1472
1170
  // stubTrue