@types/lodash 4.14.87 → 4.14.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. lodash/LICENSE +0 -0
  2. lodash/README.md +1 -1
  3. lodash/add.d.ts +0 -0
  4. lodash/after.d.ts +0 -0
  5. lodash/ary.d.ts +0 -0
  6. lodash/assign.d.ts +0 -0
  7. lodash/assignIn.d.ts +0 -0
  8. lodash/assignInWith.d.ts +0 -0
  9. lodash/assignWith.d.ts +0 -0
  10. lodash/at.d.ts +0 -0
  11. lodash/attempt.d.ts +0 -0
  12. lodash/before.d.ts +0 -0
  13. lodash/bind.d.ts +0 -0
  14. lodash/bindAll.d.ts +0 -0
  15. lodash/bindKey.d.ts +0 -0
  16. lodash/camelCase.d.ts +0 -0
  17. lodash/capitalize.d.ts +0 -0
  18. lodash/castArray.d.ts +0 -0
  19. lodash/ceil.d.ts +0 -0
  20. lodash/chain.d.ts +0 -0
  21. lodash/chunk.d.ts +0 -0
  22. lodash/clamp.d.ts +0 -0
  23. lodash/clone.d.ts +0 -0
  24. lodash/cloneDeep.d.ts +0 -0
  25. lodash/cloneDeepWith.d.ts +0 -0
  26. lodash/cloneWith.d.ts +0 -0
  27. lodash/compact.d.ts +0 -0
  28. lodash/concat.d.ts +0 -0
  29. lodash/cond.d.ts +0 -0
  30. lodash/conformsTo.d.ts +0 -0
  31. lodash/constant.d.ts +0 -0
  32. lodash/countBy.d.ts +0 -0
  33. lodash/create.d.ts +0 -0
  34. lodash/curry.d.ts +0 -0
  35. lodash/curryRight.d.ts +0 -0
  36. lodash/debounce.d.ts +0 -0
  37. lodash/deburr.d.ts +0 -0
  38. lodash/defaultTo.d.ts +0 -0
  39. lodash/defaults.d.ts +0 -0
  40. lodash/defaultsDeep.d.ts +0 -0
  41. lodash/defer.d.ts +0 -0
  42. lodash/delay.d.ts +0 -0
  43. lodash/difference.d.ts +0 -0
  44. lodash/differenceBy.d.ts +0 -0
  45. lodash/differenceWith.d.ts +0 -0
  46. lodash/divide.d.ts +0 -0
  47. lodash/drop.d.ts +0 -0
  48. lodash/dropRight.d.ts +0 -0
  49. lodash/dropRightWhile.d.ts +0 -0
  50. lodash/dropWhile.d.ts +0 -0
  51. lodash/each.d.ts +0 -0
  52. lodash/eachRight.d.ts +0 -0
  53. lodash/endsWith.d.ts +0 -0
  54. lodash/entries.d.ts +0 -0
  55. lodash/entriesIn.d.ts +0 -0
  56. lodash/eq.d.ts +0 -0
  57. lodash/escape.d.ts +0 -0
  58. lodash/escapeRegExp.d.ts +0 -0
  59. lodash/every.d.ts +0 -0
  60. lodash/extend.d.ts +0 -0
  61. lodash/extendWith.d.ts +0 -0
  62. lodash/fill.d.ts +0 -0
  63. lodash/filter.d.ts +0 -0
  64. lodash/find.d.ts +0 -0
  65. lodash/findIndex.d.ts +0 -0
  66. lodash/findKey.d.ts +0 -0
  67. lodash/findLast.d.ts +0 -0
  68. lodash/findLastIndex.d.ts +0 -0
  69. lodash/findLastKey.d.ts +0 -0
  70. lodash/first.d.ts +0 -0
  71. lodash/flatMap.d.ts +0 -0
  72. lodash/flatMapDeep.d.ts +0 -0
  73. lodash/flatMapDepth.d.ts +0 -0
  74. lodash/flatten.d.ts +0 -0
  75. lodash/flattenDeep.d.ts +0 -0
  76. lodash/flattenDepth.d.ts +0 -0
  77. lodash/flip.d.ts +0 -0
  78. lodash/floor.d.ts +0 -0
  79. lodash/flow.d.ts +0 -0
  80. lodash/flowRight.d.ts +0 -0
  81. lodash/forEach.d.ts +0 -0
  82. lodash/forEachRight.d.ts +0 -0
  83. lodash/forIn.d.ts +0 -0
  84. lodash/forInRight.d.ts +0 -0
  85. lodash/forOwn.d.ts +0 -0
  86. lodash/forOwnRight.d.ts +0 -0
  87. lodash/fromPairs.d.ts +0 -0
  88. lodash/functions.d.ts +0 -0
  89. lodash/functionsIn.d.ts +0 -0
  90. lodash/get.d.ts +0 -0
  91. lodash/groupBy.d.ts +0 -0
  92. lodash/gt.d.ts +0 -0
  93. lodash/gte.d.ts +0 -0
  94. lodash/has.d.ts +0 -0
  95. lodash/hasIn.d.ts +0 -0
  96. lodash/head.d.ts +0 -0
  97. lodash/identity.d.ts +0 -0
  98. lodash/inRange.d.ts +0 -0
  99. lodash/includes.d.ts +0 -0
  100. lodash/index.d.ts +164 -26
  101. lodash/indexOf.d.ts +0 -0
  102. lodash/initial.d.ts +0 -0
  103. lodash/intersection.d.ts +0 -0
  104. lodash/intersectionBy.d.ts +0 -0
  105. lodash/intersectionWith.d.ts +0 -0
  106. lodash/invert.d.ts +0 -0
  107. lodash/invertBy.d.ts +0 -0
  108. lodash/invoke.d.ts +0 -0
  109. lodash/invokeMap.d.ts +0 -0
  110. lodash/isArguments.d.ts +0 -0
  111. lodash/isArray.d.ts +0 -0
  112. lodash/isArrayBuffer.d.ts +0 -0
  113. lodash/isArrayLike.d.ts +0 -0
  114. lodash/isArrayLikeObject.d.ts +0 -0
  115. lodash/isBoolean.d.ts +0 -0
  116. lodash/isBuffer.d.ts +0 -0
  117. lodash/isDate.d.ts +0 -0
  118. lodash/isElement.d.ts +0 -0
  119. lodash/isEmpty.d.ts +0 -0
  120. lodash/isEqual.d.ts +0 -0
  121. lodash/isEqualWith.d.ts +0 -0
  122. lodash/isError.d.ts +0 -0
  123. lodash/isFinite.d.ts +0 -0
  124. lodash/isFunction.d.ts +0 -0
  125. lodash/isInteger.d.ts +0 -0
  126. lodash/isLength.d.ts +0 -0
  127. lodash/isMap.d.ts +0 -0
  128. lodash/isMatch.d.ts +0 -0
  129. lodash/isMatchWith.d.ts +0 -0
  130. lodash/isNaN.d.ts +0 -0
  131. lodash/isNative.d.ts +0 -0
  132. lodash/isNil.d.ts +0 -0
  133. lodash/isNull.d.ts +0 -0
  134. lodash/isNumber.d.ts +0 -0
  135. lodash/isObject.d.ts +0 -0
  136. lodash/isObjectLike.d.ts +0 -0
  137. lodash/isPlainObject.d.ts +0 -0
  138. lodash/isRegExp.d.ts +0 -0
  139. lodash/isSafeInteger.d.ts +0 -0
  140. lodash/isSet.d.ts +0 -0
  141. lodash/isString.d.ts +0 -0
  142. lodash/isSymbol.d.ts +0 -0
  143. lodash/isTypedArray.d.ts +0 -0
  144. lodash/isUndefined.d.ts +0 -0
  145. lodash/isWeakMap.d.ts +0 -0
  146. lodash/isWeakSet.d.ts +0 -0
  147. lodash/iteratee.d.ts +0 -0
  148. lodash/join.d.ts +0 -0
  149. lodash/kebabCase.d.ts +0 -0
  150. lodash/keyBy.d.ts +0 -0
  151. lodash/keys.d.ts +0 -0
  152. lodash/keysIn.d.ts +0 -0
  153. lodash/last.d.ts +0 -0
  154. lodash/lastIndexOf.d.ts +0 -0
  155. lodash/lowerCase.d.ts +0 -0
  156. lodash/lowerFirst.d.ts +0 -0
  157. lodash/lt.d.ts +0 -0
  158. lodash/lte.d.ts +0 -0
  159. lodash/map.d.ts +0 -0
  160. lodash/mapKeys.d.ts +0 -0
  161. lodash/mapValues.d.ts +0 -0
  162. lodash/matches.d.ts +0 -0
  163. lodash/matchesProperty.d.ts +0 -0
  164. lodash/max.d.ts +0 -0
  165. lodash/maxBy.d.ts +0 -0
  166. lodash/mean.d.ts +0 -0
  167. lodash/meanBy.d.ts +0 -0
  168. lodash/memoize.d.ts +0 -0
  169. lodash/merge.d.ts +0 -0
  170. lodash/mergeWith.d.ts +0 -0
  171. lodash/method.d.ts +0 -0
  172. lodash/methodOf.d.ts +0 -0
  173. lodash/min.d.ts +0 -0
  174. lodash/minBy.d.ts +0 -0
  175. lodash/mixin.d.ts +0 -0
  176. lodash/negate.d.ts +0 -0
  177. lodash/noConflict.d.ts +0 -0
  178. lodash/noop.d.ts +0 -0
  179. lodash/now.d.ts +0 -0
  180. lodash/nth.d.ts +0 -0
  181. lodash/nthArg.d.ts +0 -0
  182. lodash/omit.d.ts +0 -0
  183. lodash/omitBy.d.ts +0 -0
  184. lodash/once.d.ts +0 -0
  185. lodash/orderBy.d.ts +0 -0
  186. lodash/over.d.ts +0 -0
  187. lodash/overArgs.d.ts +0 -0
  188. lodash/overEvery.d.ts +0 -0
  189. lodash/overSome.d.ts +0 -0
  190. lodash/package.json +2 -2
  191. lodash/pad.d.ts +0 -0
  192. lodash/padEnd.d.ts +0 -0
  193. lodash/padStart.d.ts +0 -0
  194. lodash/parseInt.d.ts +0 -0
  195. lodash/partial.d.ts +0 -0
  196. lodash/partialRight.d.ts +0 -0
  197. lodash/partition.d.ts +0 -0
  198. lodash/pick.d.ts +0 -0
  199. lodash/pickBy.d.ts +0 -0
  200. lodash/property.d.ts +0 -0
  201. lodash/propertyOf.d.ts +0 -0
  202. lodash/pull.d.ts +0 -0
  203. lodash/pullAll.d.ts +0 -0
  204. lodash/pullAllBy.d.ts +0 -0
  205. lodash/pullAllWith.d.ts +0 -0
  206. lodash/pullAt.d.ts +0 -0
  207. lodash/random.d.ts +0 -0
  208. lodash/range.d.ts +0 -0
  209. lodash/rangeRight.d.ts +0 -0
  210. lodash/rearg.d.ts +0 -0
  211. lodash/reduce.d.ts +0 -0
  212. lodash/reduceRight.d.ts +0 -0
  213. lodash/reject.d.ts +0 -0
  214. lodash/remove.d.ts +0 -0
  215. lodash/repeat.d.ts +0 -0
  216. lodash/replace.d.ts +0 -0
  217. lodash/rest.d.ts +0 -0
  218. lodash/result.d.ts +0 -0
  219. lodash/reverse.d.ts +0 -0
  220. lodash/round.d.ts +0 -0
  221. lodash/runInContext.d.ts +0 -0
  222. lodash/sample.d.ts +0 -0
  223. lodash/sampleSize.d.ts +0 -0
  224. lodash/set.d.ts +0 -0
  225. lodash/setWith.d.ts +0 -0
  226. lodash/shuffle.d.ts +0 -0
  227. lodash/size.d.ts +0 -0
  228. lodash/slice.d.ts +0 -0
  229. lodash/snakeCase.d.ts +0 -0
  230. lodash/some.d.ts +0 -0
  231. lodash/sortBy.d.ts +0 -0
  232. lodash/sortedIndex.d.ts +0 -0
  233. lodash/sortedIndexBy.d.ts +0 -0
  234. lodash/sortedIndexOf.d.ts +0 -0
  235. lodash/sortedLastIndex.d.ts +0 -0
  236. lodash/sortedLastIndexBy.d.ts +0 -0
  237. lodash/sortedLastIndexOf.d.ts +0 -0
  238. lodash/sortedUniq.d.ts +0 -0
  239. lodash/sortedUniqBy.d.ts +0 -0
  240. lodash/split.d.ts +0 -0
  241. lodash/spread.d.ts +0 -0
  242. lodash/startCase.d.ts +0 -0
  243. lodash/startsWith.d.ts +0 -0
  244. lodash/subtract.d.ts +0 -0
  245. lodash/sum.d.ts +0 -0
  246. lodash/sumBy.d.ts +0 -0
  247. lodash/tail.d.ts +0 -0
  248. lodash/take.d.ts +0 -0
  249. lodash/takeRight.d.ts +0 -0
  250. lodash/takeRightWhile.d.ts +0 -0
  251. lodash/takeWhile.d.ts +0 -0
  252. lodash/tap.d.ts +0 -0
  253. lodash/template.d.ts +0 -0
  254. lodash/throttle.d.ts +0 -0
  255. lodash/thru.d.ts +0 -0
  256. lodash/times.d.ts +0 -0
  257. lodash/toArray.d.ts +0 -0
  258. lodash/toFinite.d.ts +0 -0
  259. lodash/toInteger.d.ts +0 -0
  260. lodash/toLength.d.ts +0 -0
  261. lodash/toLower.d.ts +0 -0
  262. lodash/toNumber.d.ts +0 -0
  263. lodash/toPairs.d.ts +0 -0
  264. lodash/toPairsIn.d.ts +0 -0
  265. lodash/toPath.d.ts +0 -0
  266. lodash/toPlainObject.d.ts +0 -0
  267. lodash/toSafeInteger.d.ts +0 -0
  268. lodash/toString.d.ts +0 -0
  269. lodash/toUpper.d.ts +0 -0
  270. lodash/transform.d.ts +0 -0
  271. lodash/trim.d.ts +0 -0
  272. lodash/trimEnd.d.ts +0 -0
  273. lodash/trimStart.d.ts +0 -0
  274. lodash/truncate.d.ts +0 -0
  275. lodash/unary.d.ts +0 -0
  276. lodash/unescape.d.ts +0 -0
  277. lodash/union.d.ts +0 -0
  278. lodash/unionBy.d.ts +0 -0
  279. lodash/unionWith.d.ts +0 -0
  280. lodash/uniq.d.ts +0 -0
  281. lodash/uniqBy.d.ts +0 -0
  282. lodash/uniqWith.d.ts +0 -0
  283. lodash/uniqueId.d.ts +0 -0
  284. lodash/unset.d.ts +0 -0
  285. lodash/unzip.d.ts +0 -0
  286. lodash/unzipWith.d.ts +0 -0
  287. lodash/update.d.ts +0 -0
  288. lodash/updateWith.d.ts +0 -0
  289. lodash/upperCase.d.ts +0 -0
  290. lodash/upperFirst.d.ts +0 -0
  291. lodash/values.d.ts +0 -0
  292. lodash/valuesIn.d.ts +0 -0
  293. lodash/without.d.ts +0 -0
  294. lodash/words.d.ts +0 -0
  295. lodash/wrap.d.ts +0 -0
  296. lodash/xor.d.ts +0 -0
  297. lodash/xorBy.d.ts +0 -0
  298. lodash/xorWith.d.ts +0 -0
  299. lodash/zip.d.ts +0 -0
  300. lodash/zipObject.d.ts +0 -0
  301. lodash/zipObjectDeep.d.ts +0 -0
  302. lodash/zipWith.d.ts +0 -0
lodash/LICENSE CHANGED
File without changes
lodash/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Lo-Dash (http://lodash.com/).
8
8
  Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash
9
9
 
10
10
  Additional Details
11
- * Last updated: Sun, 03 Dec 2017 16:26:41 GMT
11
+ * Last updated: Fri, 15 Dec 2017 01:17:38 GMT
12
12
  * Dependencies: none
13
13
  * Global values: _
14
14
 
lodash/add.d.ts CHANGED
File without changes
lodash/after.d.ts CHANGED
File without changes
lodash/ary.d.ts CHANGED
File without changes
lodash/assign.d.ts CHANGED
File without changes
lodash/assignIn.d.ts CHANGED
File without changes
lodash/assignInWith.d.ts CHANGED
File without changes
lodash/assignWith.d.ts CHANGED
File without changes
lodash/at.d.ts CHANGED
File without changes
lodash/attempt.d.ts CHANGED
File without changes
lodash/before.d.ts CHANGED
File without changes
lodash/bind.d.ts CHANGED
File without changes
lodash/bindAll.d.ts CHANGED
File without changes
lodash/bindKey.d.ts CHANGED
File without changes
lodash/camelCase.d.ts CHANGED
File without changes
lodash/capitalize.d.ts CHANGED
File without changes
lodash/castArray.d.ts CHANGED
File without changes
lodash/ceil.d.ts CHANGED
File without changes
lodash/chain.d.ts CHANGED
File without changes
lodash/chunk.d.ts CHANGED
File without changes
lodash/clamp.d.ts CHANGED
File without changes
lodash/clone.d.ts CHANGED
File without changes
lodash/cloneDeep.d.ts CHANGED
File without changes
lodash/cloneDeepWith.d.ts CHANGED
File without changes
lodash/cloneWith.d.ts CHANGED
File without changes
lodash/compact.d.ts CHANGED
File without changes
lodash/concat.d.ts CHANGED
File without changes
lodash/cond.d.ts CHANGED
File without changes
lodash/conformsTo.d.ts CHANGED
File without changes
lodash/constant.d.ts CHANGED
File without changes
lodash/countBy.d.ts CHANGED
File without changes
lodash/create.d.ts CHANGED
File without changes
lodash/curry.d.ts CHANGED
File without changes
lodash/curryRight.d.ts CHANGED
File without changes
lodash/debounce.d.ts CHANGED
File without changes
lodash/deburr.d.ts CHANGED
File without changes
lodash/defaultTo.d.ts CHANGED
File without changes
lodash/defaults.d.ts CHANGED
File without changes
lodash/defaultsDeep.d.ts CHANGED
File without changes
lodash/defer.d.ts CHANGED
File without changes
lodash/delay.d.ts CHANGED
File without changes
lodash/difference.d.ts CHANGED
File without changes
lodash/differenceBy.d.ts CHANGED
File without changes
File without changes
lodash/divide.d.ts CHANGED
File without changes
lodash/drop.d.ts CHANGED
File without changes
lodash/dropRight.d.ts CHANGED
File without changes
File without changes
lodash/dropWhile.d.ts CHANGED
File without changes
lodash/each.d.ts CHANGED
File without changes
lodash/eachRight.d.ts CHANGED
File without changes
lodash/endsWith.d.ts CHANGED
File without changes
lodash/entries.d.ts CHANGED
File without changes
lodash/entriesIn.d.ts CHANGED
File without changes
lodash/eq.d.ts CHANGED
File without changes
lodash/escape.d.ts CHANGED
File without changes
lodash/escapeRegExp.d.ts CHANGED
File without changes
lodash/every.d.ts CHANGED
File without changes
lodash/extend.d.ts CHANGED
File without changes
lodash/extendWith.d.ts CHANGED
File without changes
lodash/fill.d.ts CHANGED
File without changes
lodash/filter.d.ts CHANGED
File without changes
lodash/find.d.ts CHANGED
File without changes
lodash/findIndex.d.ts CHANGED
File without changes
lodash/findKey.d.ts CHANGED
File without changes
lodash/findLast.d.ts CHANGED
File without changes
lodash/findLastIndex.d.ts CHANGED
File without changes
lodash/findLastKey.d.ts CHANGED
File without changes
lodash/first.d.ts CHANGED
File without changes
lodash/flatMap.d.ts CHANGED
File without changes
lodash/flatMapDeep.d.ts CHANGED
File without changes
lodash/flatMapDepth.d.ts CHANGED
File without changes
lodash/flatten.d.ts CHANGED
File without changes
lodash/flattenDeep.d.ts CHANGED
File without changes
lodash/flattenDepth.d.ts CHANGED
File without changes
lodash/flip.d.ts CHANGED
File without changes
lodash/floor.d.ts CHANGED
File without changes
lodash/flow.d.ts CHANGED
File without changes
lodash/flowRight.d.ts CHANGED
File without changes
lodash/forEach.d.ts CHANGED
File without changes
lodash/forEachRight.d.ts CHANGED
File without changes
lodash/forIn.d.ts CHANGED
File without changes
lodash/forInRight.d.ts CHANGED
File without changes
lodash/forOwn.d.ts CHANGED
File without changes
lodash/forOwnRight.d.ts CHANGED
File without changes
lodash/fromPairs.d.ts CHANGED
File without changes
lodash/functions.d.ts CHANGED
File without changes
lodash/functionsIn.d.ts CHANGED
File without changes
lodash/get.d.ts CHANGED
File without changes
lodash/groupBy.d.ts CHANGED
File without changes
lodash/gt.d.ts CHANGED
File without changes
lodash/gte.d.ts CHANGED
File without changes
lodash/has.d.ts CHANGED
File without changes
lodash/hasIn.d.ts CHANGED
File without changes
lodash/head.d.ts CHANGED
File without changes
lodash/identity.d.ts CHANGED
File without changes
lodash/inRange.d.ts CHANGED
File without changes
lodash/includes.d.ts CHANGED
File without changes
lodash/index.d.ts CHANGED
@@ -3954,6 +3954,10 @@ declare namespace _ {
3954
3954
  arrays3: List<T> | null | undefined,
3955
3955
  arrays4: List<T> | null | undefined,
3956
3956
  arrays5: List<T> | null | undefined,
3957
+ iteratee: (value1: T, value2: T, value3: T, value4: T, value5: T) => TResult
3958
+ ): TResult[];
3959
+
3960
+ zipWith<T, TResult>(
3957
3961
  ...iteratee: Array<((...group: T[]) => TResult) | List<T> | null | undefined>
3958
3962
  ): TResult[];
3959
3963
  }
@@ -6263,7 +6267,7 @@ declare namespace _ {
6263
6267
  partition<T>(
6264
6268
  collection: List<T> | null | undefined,
6265
6269
  callback: ValueIteratee<T>
6266
- ): T[][];
6270
+ ): [T[], T[]];
6267
6271
 
6268
6272
  /**
6269
6273
  * @see _.partition
@@ -6271,7 +6275,7 @@ declare namespace _ {
6271
6275
  partition<T extends object>(
6272
6276
  collection: T | null | undefined,
6273
6277
  callback: ValueIteratee<T[keyof T]>
6274
- ): Array<Array<T[keyof T]>>;
6278
+ ): [Array<T[keyof T]>, Array<T[keyof T]>];
6275
6279
  }
6276
6280
 
6277
6281
  interface LoDashImplicitWrapper<TValue> {
@@ -6281,7 +6285,7 @@ declare namespace _ {
6281
6285
  partition<T>(
6282
6286
  this: LoDashImplicitWrapper<List<T> | null | undefined>,
6283
6287
  callback: ValueIteratee<T>
6284
- ): LoDashImplicitWrapper<T[][]>;
6288
+ ): LoDashImplicitWrapper<[T[], T[]]>;
6285
6289
 
6286
6290
  /**
6287
6291
  * @see _.partition
@@ -6289,7 +6293,7 @@ declare namespace _ {
6289
6293
  partition<T>(
6290
6294
  this: LoDashImplicitWrapper<T | null | undefined>,
6291
6295
  callback: ValueIteratee<T[keyof T]>
6292
- ): LoDashImplicitWrapper<Array<Array<T[keyof T]>>>;
6296
+ ): LoDashImplicitWrapper<[Array<T[keyof T]>, Array<T[keyof T]>]>;
6293
6297
  }
6294
6298
 
6295
6299
  interface LoDashExplicitWrapper<TValue> {
@@ -6299,7 +6303,7 @@ declare namespace _ {
6299
6303
  partition<T>(
6300
6304
  this: LoDashExplicitWrapper<List<T> | null | undefined>,
6301
6305
  callback: ValueIteratee<T>
6302
- ): LoDashExplicitWrapper<T[][]>;
6306
+ ): LoDashExplicitWrapper<[T[], T[]]>;
6303
6307
 
6304
6308
  /**
6305
6309
  * @see _.partition
@@ -6307,7 +6311,7 @@ declare namespace _ {
6307
6311
  partition<T>(
6308
6312
  this: LoDashExplicitWrapper<T | null | undefined>,
6309
6313
  callback: ValueIteratee<T[keyof T]>
6310
- ): LoDashExplicitWrapper<Array<Array<T[keyof T]>>>;
6314
+ ): LoDashExplicitWrapper<[Array<T[keyof T]>, Array<T[keyof T]>]>;
6311
6315
  }
6312
6316
 
6313
6317
  //_.reduce
@@ -11585,6 +11589,10 @@ declare namespace _ {
11585
11589
  lower: number,
11586
11590
  upper: number
11587
11591
  ): number;
11592
+ clamp(
11593
+ number: number,
11594
+ upper: number
11595
+ ): number;
11588
11596
  }
11589
11597
 
11590
11598
  interface LoDashImplicitWrapper<TValue> {
@@ -11595,6 +11603,9 @@ declare namespace _ {
11595
11603
  lower: number,
11596
11604
  upper: number
11597
11605
  ): number;
11606
+ clamp(
11607
+ upper: number
11608
+ ): number;
11598
11609
  }
11599
11610
 
11600
11611
  interface LoDashExplicitWrapper<TValue> {
@@ -11605,6 +11616,9 @@ declare namespace _ {
11605
11616
  lower: number,
11606
11617
  upper: number
11607
11618
  ): LoDashExplicitWrapper<number>;
11619
+ clamp(
11620
+ upper: number
11621
+ ): LoDashExplicitWrapper<number>;
11608
11622
  }
11609
11623
 
11610
11624
  //_.inRange
@@ -11658,8 +11672,6 @@ declare namespace _ {
11658
11672
  * @return Returns the random number.
11659
11673
  */
11660
11674
  random(
11661
- min?: number,
11662
- max?: number,
11663
11675
  floating?: boolean
11664
11676
  ): number;
11665
11677
 
@@ -11667,44 +11679,64 @@ declare namespace _ {
11667
11679
  * @see _.random
11668
11680
  */
11669
11681
  random(
11670
- min?: number,
11682
+ max: number,
11671
11683
  floating?: boolean
11672
11684
  ): number;
11673
11685
 
11674
11686
  /**
11675
11687
  * @see _.random
11676
11688
  */
11677
- random(floating?: boolean): number;
11678
- }
11689
+ random(
11690
+ min: number,
11691
+ max: number,
11692
+ floating?: boolean
11693
+ ): number;
11679
11694
 
11680
- interface LoDashImplicitWrapper<TValue> {
11681
11695
  /**
11682
- * @see _.random
11696
+ * Produces a random number between min and max (inclusive). If only one argument is provided a number between
11697
+ * 0 and the given number is returned. If floating is true, or either min or max are floats, a floating-point
11698
+ * number is returned instead of an integer.
11699
+ *
11700
+ * @param min The minimum possible value.
11701
+ * @param index Not used in this overload.
11702
+ * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
11703
+ * @return Returns the random number.
11683
11704
  */
11684
11705
  random(
11685
- max?: number,
11686
- floating?: boolean
11706
+ min: number,
11707
+ index: string | number,
11708
+ guard: object
11687
11709
  ): number;
11710
+ }
11688
11711
 
11712
+ interface LoDashImplicitWrapper<TValue> {
11689
11713
  /**
11690
11714
  * @see _.random
11691
11715
  */
11692
11716
  random(floating?: boolean): number;
11693
- }
11694
11717
 
11695
- interface LoDashExplicitWrapper<TValue> {
11696
11718
  /**
11697
11719
  * @see _.random
11698
11720
  */
11699
11721
  random(
11700
- max?: number,
11722
+ max: number,
11701
11723
  floating?: boolean
11702
- ): LoDashExplicitWrapper<number>;
11724
+ ): number;
11725
+ }
11703
11726
 
11727
+ interface LoDashExplicitWrapper<TValue> {
11704
11728
  /**
11705
11729
  * @see _.random
11706
11730
  */
11707
11731
  random(floating?: boolean): LoDashExplicitWrapper<number>;
11732
+
11733
+ /**
11734
+ * @see _.random
11735
+ */
11736
+ random(
11737
+ max: number,
11738
+ floating?: boolean
11739
+ ): LoDashExplicitWrapper<number>;
11708
11740
  }
11709
11741
 
11710
11742
  /**********
@@ -14394,7 +14426,7 @@ declare namespace _ {
14394
14426
  * // => { 'a': 1, 'c': 3 }
14395
14427
  */
14396
14428
  pick<T extends object, U extends keyof T>(
14397
- object: T | null | undefined,
14429
+ object: T,
14398
14430
  ...props: Array<Many<U>>
14399
14431
  ): Pick<T, U>;
14400
14432
 
@@ -14412,7 +14444,7 @@ declare namespace _ {
14412
14444
  * @see _.pick
14413
14445
  */
14414
14446
  pick<T extends object, U extends keyof T>(
14415
- this: LoDashImplicitWrapper<T | null | undefined>,
14447
+ this: LoDashImplicitWrapper<T>,
14416
14448
  ...props: Array<Many<U>>
14417
14449
  ): LoDashImplicitWrapper<Pick<T, U>>;
14418
14450
 
@@ -14430,7 +14462,7 @@ declare namespace _ {
14430
14462
  * @see _.pick
14431
14463
  */
14432
14464
  pick<T extends object, U extends keyof T>(
14433
- this: LoDashExplicitWrapper<T | null | undefined>,
14465
+ this: LoDashExplicitWrapper<T>,
14434
14466
  ...props: Array<Many<U>>
14435
14467
  ): LoDashExplicitWrapper<Pick<T, U>>;
14436
14468
 
@@ -15667,6 +15699,9 @@ declare namespace _ {
15667
15699
  *
15668
15700
  * Note: This method is based on String#split.
15669
15701
  *
15702
+ * @param string The string to trim.
15703
+ * @param separator The separator pattern to split by.
15704
+ * @param limit The length to truncate results to.
15670
15705
  * @return Returns the new array of string segments.
15671
15706
  */
15672
15707
  split(
@@ -15674,6 +15709,22 @@ declare namespace _ {
15674
15709
  separator?: RegExp|string,
15675
15710
  limit?: number
15676
15711
  ): string[];
15712
+
15713
+ /**
15714
+ * Splits string by separator.
15715
+ *
15716
+ * Note: This method is based on String#split.
15717
+ *
15718
+ * @param string The string to trim.
15719
+ * @param index Not used in this overload.
15720
+ * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
15721
+ * @return Returns the new array of string segments.
15722
+ */
15723
+ split(
15724
+ string: string,
15725
+ index: string | number,
15726
+ guard: object
15727
+ ): string[];
15677
15728
  }
15678
15729
 
15679
15730
  interface LoDashImplicitWrapper<TValue> {
@@ -15881,6 +15932,20 @@ declare namespace _ {
15881
15932
  string?: string,
15882
15933
  chars?: string
15883
15934
  ): string;
15935
+
15936
+ /**
15937
+ * Removes leading and trailing whitespace or specified characters from string.
15938
+ *
15939
+ * @param string The string to trim.
15940
+ * @param index Not used in this overload.
15941
+ * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
15942
+ * @return Returns the trimmed string.
15943
+ */
15944
+ trim(
15945
+ string: string,
15946
+ index: string | number,
15947
+ guard: object
15948
+ ): string;
15884
15949
  }
15885
15950
 
15886
15951
  interface LoDashImplicitWrapper<TValue> {
@@ -15910,6 +15975,20 @@ declare namespace _ {
15910
15975
  string?: string,
15911
15976
  chars?: string
15912
15977
  ): string;
15978
+
15979
+ /**
15980
+ * Removes trailing whitespace or specified characters from string.
15981
+ *
15982
+ * @param string The string to trim.
15983
+ * @param index Not used in this overload.
15984
+ * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
15985
+ * @return Returns the trimmed string.
15986
+ */
15987
+ trimEnd(
15988
+ string: string,
15989
+ index: string | number,
15990
+ guard: object
15991
+ ): string;
15913
15992
  }
15914
15993
 
15915
15994
  interface LoDashImplicitWrapper<TValue> {
@@ -15939,6 +16018,20 @@ declare namespace _ {
15939
16018
  string?: string,
15940
16019
  chars?: string
15941
16020
  ): string;
16021
+
16022
+ /**
16023
+ * Removes leading whitespace or specified characters from string.
16024
+ *
16025
+ * @param string The string to trim.
16026
+ * @param index Not used in this overload.
16027
+ * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
16028
+ * @return Returns the trimmed string.
16029
+ */
16030
+ trimStart(
16031
+ string: string,
16032
+ index: string | number,
16033
+ guard: object
16034
+ ): string;
15942
16035
  }
15943
16036
 
15944
16037
  interface LoDashImplicitWrapper<TValue> {
@@ -16086,6 +16179,20 @@ declare namespace _ {
16086
16179
  string?: string,
16087
16180
  pattern?: string|RegExp
16088
16181
  ): string[];
16182
+
16183
+ /**
16184
+ * Splits `string` into an array of its words.
16185
+ *
16186
+ * @param string The string to inspect.
16187
+ * @param index Not used in this overload.
16188
+ * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
16189
+ * @return Returns the words of `string`.
16190
+ */
16191
+ words(
16192
+ string: string,
16193
+ index: string | number,
16194
+ guard: object
16195
+ ): string[];
16089
16196
  }
16090
16197
 
16091
16198
  interface LoDashImplicitWrapper<TValue> {
@@ -16746,6 +16853,22 @@ declare namespace _ {
16746
16853
  end?: number,
16747
16854
  step?: number
16748
16855
  ): number[];
16856
+
16857
+ /**
16858
+ * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end.
16859
+ * 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
16860
+ * range is created unless a negative step is specified.
16861
+ *
16862
+ * @param start The start of the range.
16863
+ * @param index Not used in this overload.
16864
+ * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
16865
+ * @return Returns a new range array.
16866
+ */
16867
+ range(
16868
+ end: number,
16869
+ index: string | number,
16870
+ guard: object
16871
+ ): number[];
16749
16872
  }
16750
16873
 
16751
16874
  interface LoDashImplicitWrapper<TValue> {
@@ -16775,9 +16898,9 @@ declare namespace _ {
16775
16898
  * descending order.
16776
16899
  *
16777
16900
  * @category Util
16778
- * @param [start=0] The start of the range.
16901
+ * @param start The start of the range.
16779
16902
  * @param end The end of the range.
16780
- * @param [step=1] The value to increment or decrement by.
16903
+ * @param step The value to increment or decrement by.
16781
16904
  * @returns Returns the new array of numbers.
16782
16905
  * @example
16783
16906
  *
@@ -16807,6 +16930,21 @@ declare namespace _ {
16807
16930
  end?: number,
16808
16931
  step?: number
16809
16932
  ): number[];
16933
+
16934
+ /**
16935
+ * This method is like _.range except that it populates values in
16936
+ * descending order.
16937
+ *
16938
+ * @param start The start of the range.
16939
+ * @param index Not used in this overload.
16940
+ * @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
16941
+ * @return Returns a new range array.
16942
+ */
16943
+ rangeRight(
16944
+ end: number,
16945
+ index: string | number,
16946
+ guard: object
16947
+ ): number[];
16810
16948
  }
16811
16949
 
16812
16950
  interface LoDashImplicitWrapper<TValue> {
@@ -17084,13 +17222,13 @@ declare namespace _ {
17084
17222
  type ArrayIterator<T, TResult> = (value: T, index: number, collection: T[]) => TResult;
17085
17223
  type ListIterator<T, TResult> = (value: T, index: number, collection: List<T>) => TResult;
17086
17224
  type ListIteratee<T> = ListIterator<T, NotVoid> | string | [string, any] | PartialDeep<T>;
17087
- type ListIterateeCustom<T, TResult> = ListIterator<T, TResult> | string | [string, any] | PartialDeep<T>;
17225
+ type ListIterateeCustom<T, TResult> = ListIterator<T, TResult> | string | object | [string, any] | PartialDeep<T>;
17088
17226
  type ListIteratorTypeGuard<T, S extends T> = (value: T, index: number, collection: List<T>) => value is S;
17089
17227
 
17090
17228
  // Note: key should be string, not keyof T, because the actual object may contain extra properties that were not specified in the type.
17091
17229
  type ObjectIterator<TObject, TResult> = (value: TObject[keyof TObject], key: string, collection: TObject) => TResult;
17092
17230
  type ObjectIteratee<TObject> = ObjectIterator<TObject, NotVoid> | string | [string, any] | PartialDeep<TObject[keyof TObject]>;
17093
- type ObjectIterateeCustom<TObject, TResult> = ObjectIterator<TObject, TResult> | string | [string, any] | PartialDeep<TObject[keyof TObject]>;
17231
+ type ObjectIterateeCustom<TObject, TResult> = ObjectIterator<TObject, TResult> | string | object | [string, any] | PartialDeep<TObject[keyof TObject]>;
17094
17232
  type ObjectIteratorTypeGuard<TObject, S extends TObject[keyof TObject]> = (value: TObject[keyof TObject], key: string, collection: TObject) => value is S;
17095
17233
 
17096
17234
  type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
lodash/indexOf.d.ts CHANGED
File without changes
lodash/initial.d.ts CHANGED
File without changes