@types/lodash 4.14.100 → 4.14.104

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 (327) hide show
  1. lodash/README.md +2 -2
  2. lodash/common/array.d.ts +3845 -0
  3. lodash/common/collection.d.ts +3091 -0
  4. lodash/common/common.d.ts +3 -3
  5. lodash/{date/now.d.ts → common/date.d.ts} +3 -1
  6. lodash/common/function.d.ts +1367 -0
  7. lodash/common/lang.d.ts +1937 -0
  8. lodash/common/math.d.ts +536 -0
  9. lodash/{number/random.d.ts → common/number.d.ts} +98 -1
  10. lodash/common/object.d.ts +3653 -0
  11. lodash/common/seq.d.ts +198 -0
  12. lodash/common/string.d.ts +1059 -0
  13. lodash/common/util.d.ts +1455 -0
  14. lodash/index.d.ts +11 -338
  15. lodash/package.json +2 -7
  16. lodash/array/chunk.d.ts +0 -37
  17. lodash/array/compact.d.ts +0 -27
  18. lodash/array/concat.d.ts +0 -39
  19. lodash/array/difference.d.ts +0 -37
  20. lodash/array/differenceBy.d.ts +0 -243
  21. lodash/array/differenceWith.d.ts +0 -132
  22. lodash/array/drop.d.ts +0 -27
  23. lodash/array/dropRight.d.ts +0 -30
  24. lodash/array/dropRightWhile.d.ts +0 -47
  25. lodash/array/dropWhile.d.ts +0 -47
  26. lodash/array/fill.d.ts +0 -124
  27. lodash/array/findIndex.d.ts +0 -50
  28. lodash/array/findLastIndex.d.ts +0 -49
  29. lodash/array/first.d.ts +0 -23
  30. lodash/array/flatten.d.ts +0 -43
  31. lodash/array/flattenDeep.d.ts +0 -26
  32. lodash/array/flattenDepth.d.ts +0 -27
  33. lodash/array/fromPairs.d.ts +0 -59
  34. lodash/array/head.d.ts +0 -28
  35. lodash/array/indexOf.d.ts +0 -53
  36. lodash/array/initial.d.ts +0 -26
  37. lodash/array/intersection.d.ts +0 -33
  38. lodash/array/intersectionBy.d.ts +0 -134
  39. lodash/array/intersectionWith.d.ts +0 -133
  40. lodash/array/join.d.ts +0 -30
  41. lodash/array/last.d.ts +0 -26
  42. lodash/array/lastIndexOf.d.ts +0 -40
  43. lodash/array/nth.d.ts +0 -36
  44. lodash/array/pull.d.ts +0 -46
  45. lodash/array/pullAll.d.ts +0 -54
  46. lodash/array/pullAllBy.d.ts +0 -77
  47. lodash/array/pullAllWith.d.ts +0 -77
  48. lodash/array/pullAt.d.ts +0 -34
  49. lodash/array/remove.d.ts +0 -49
  50. lodash/array/reverse.d.ts +0 -27
  51. lodash/array/slice.d.ts +0 -40
  52. lodash/array/sortedIndex.d.ts +0 -45
  53. lodash/array/sortedIndexBy.d.ts +0 -97
  54. lodash/array/sortedIndexOf.d.ts +0 -42
  55. lodash/array/sortedLastIndex.d.ts +0 -43
  56. lodash/array/sortedLastIndexBy.d.ts +0 -48
  57. lodash/array/sortedLastIndexOf.d.ts +0 -42
  58. lodash/array/sortedUniq.d.ts +0 -34
  59. lodash/array/sortedUniqBy.d.ts +0 -66
  60. lodash/array/tail.d.ts +0 -26
  61. lodash/array/take.d.ts +0 -36
  62. lodash/array/takeRight.d.ts +0 -36
  63. lodash/array/takeRightWhile.d.ts +0 -47
  64. lodash/array/takeWhile.d.ts +0 -47
  65. lodash/array/union.d.ts +0 -33
  66. lodash/array/unionBy.d.ts +0 -164
  67. lodash/array/unionWith.d.ts +0 -103
  68. lodash/array/uniq.d.ts +0 -36
  69. lodash/array/uniqBy.d.ts +0 -71
  70. lodash/array/uniqWith.d.ts +0 -45
  71. lodash/array/unzip.d.ts +0 -27
  72. lodash/array/unzipWith.d.ts +0 -60
  73. lodash/array/without.d.ts +0 -36
  74. lodash/array/xor.d.ts +0 -32
  75. lodash/array/xorBy.d.ts +0 -104
  76. lodash/array/xorWith.d.ts +0 -103
  77. lodash/array/zip.d.ts +0 -129
  78. lodash/array/zipObject.d.ts +0 -58
  79. lodash/array/zipObjectDeep.d.ts +0 -36
  80. lodash/array/zipWith.d.ts +0 -187
  81. lodash/collection/countBy.d.ts +0 -121
  82. lodash/collection/each.d.ts +0 -40
  83. lodash/collection/eachRight.d.ts +0 -40
  84. lodash/collection/every.d.ts +0 -85
  85. lodash/collection/filter.d.ts +0 -143
  86. lodash/collection/find.d.ts +0 -131
  87. lodash/collection/findLast.d.ts +0 -121
  88. lodash/collection/flatMap.d.ts +0 -164
  89. lodash/collection/flatMapDeep.d.ts +0 -164
  90. lodash/collection/flatMapDepth.d.ts +0 -180
  91. lodash/collection/forEach.d.ts +0 -113
  92. lodash/collection/forEachRight.d.ts +0 -108
  93. lodash/collection/groupBy.d.ts +0 -121
  94. lodash/collection/includes.d.ts +0 -41
  95. lodash/collection/invokeMap.d.ts +0 -58
  96. lodash/collection/keyBy.d.ts +0 -121
  97. lodash/collection/map.d.ts +0 -180
  98. lodash/collection/orderBy.d.ts +0 -192
  99. lodash/collection/partition.d.ts +0 -72
  100. lodash/collection/reduce.d.ts +0 -220
  101. lodash/collection/reduceRight.d.ts +0 -217
  102. lodash/collection/reject.d.ts +0 -86
  103. lodash/collection/sample.d.ts +0 -74
  104. lodash/collection/sampleSize.d.ts +0 -60
  105. lodash/collection/shuffle.d.ts +0 -41
  106. lodash/collection/size.d.ts +0 -27
  107. lodash/collection/some.d.ts +0 -85
  108. lodash/collection/sortBy.d.ts +0 -84
  109. lodash/function/after.d.ts +0 -30
  110. lodash/function/ary.d.ts +0 -30
  111. lodash/function/before.d.ts +0 -32
  112. lodash/function/bind.d.ts +0 -50
  113. lodash/function/bindKey.d.ts +0 -51
  114. lodash/function/curry.d.ts +0 -203
  115. lodash/function/curryRight.d.ts +0 -132
  116. lodash/function/debounce.d.ts +0 -67
  117. lodash/function/defer.d.ts +0 -31
  118. lodash/function/delay.d.ts +0 -38
  119. lodash/function/flip.d.ts +0 -28
  120. lodash/function/memoize.d.ts +0 -37
  121. lodash/function/negate.d.ts +0 -20
  122. lodash/function/once.d.ts +0 -20
  123. lodash/function/overArgs.d.ts +0 -31
  124. lodash/function/partial.d.ts +0 -159
  125. lodash/function/partialRight.d.ts +0 -150
  126. lodash/function/rearg.d.ts +0 -28
  127. lodash/function/rest.d.ts +0 -33
  128. lodash/function/spread.d.ts +0 -44
  129. lodash/function/throttle.d.ts +0 -58
  130. lodash/function/unary.d.ts +0 -32
  131. lodash/function/wrap.d.ts +0 -61
  132. lodash/lang/castArray.d.ts +0 -26
  133. lodash/lang/clone.d.ts +0 -31
  134. lodash/lang/cloneDeep.d.ts +0 -26
  135. lodash/lang/cloneDeepWith.d.ts +0 -51
  136. lodash/lang/cloneWith.d.ts +0 -74
  137. lodash/lang/conformsTo.d.ts +0 -31
  138. lodash/lang/eq.d.ts +0 -55
  139. lodash/lang/gt.d.ts +0 -30
  140. lodash/lang/gte.d.ts +0 -30
  141. lodash/lang/isArguments.d.ts +0 -26
  142. lodash/lang/isArray.d.ts +0 -31
  143. lodash/lang/isArrayBuffer.d.ts +0 -26
  144. lodash/lang/isArrayLike.d.ts +0 -52
  145. lodash/lang/isArrayLikeObject.d.ts +0 -53
  146. lodash/lang/isBoolean.d.ts +0 -26
  147. lodash/lang/isBuffer.d.ts +0 -26
  148. lodash/lang/isDate.d.ts +0 -26
  149. lodash/lang/isElement.d.ts +0 -26
  150. lodash/lang/isEmpty.d.ts +0 -27
  151. lodash/lang/isEqual.d.ts +0 -52
  152. lodash/lang/isEqualWith.d.ts +0 -61
  153. lodash/lang/isError.d.ts +0 -27
  154. lodash/lang/isFinite.d.ts +0 -28
  155. lodash/lang/isFunction.d.ts +0 -26
  156. lodash/lang/isInteger.d.ts +0 -42
  157. lodash/lang/isLength.d.ts +0 -42
  158. lodash/lang/isMap.d.ts +0 -26
  159. lodash/lang/isMatch.d.ts +0 -42
  160. lodash/lang/isMatchWith.d.ts +0 -51
  161. lodash/lang/isNaN.d.ts +0 -28
  162. lodash/lang/isNative.d.ts +0 -26
  163. lodash/lang/isNil.d.ts +0 -37
  164. lodash/lang/isNull.d.ts +0 -26
  165. lodash/lang/isNumber.d.ts +0 -28
  166. lodash/lang/isObject.d.ts +0 -27
  167. lodash/lang/isObjectLike.d.ts +0 -41
  168. lodash/lang/isPlainObject.d.ts +0 -29
  169. lodash/lang/isRegExp.d.ts +0 -26
  170. lodash/lang/isSafeInteger.d.ts +0 -43
  171. lodash/lang/isSet.d.ts +0 -26
  172. lodash/lang/isString.d.ts +0 -26
  173. lodash/lang/isSymbol.d.ts +0 -34
  174. lodash/lang/isTypedArray.d.ts +0 -26
  175. lodash/lang/isUndefined.d.ts +0 -26
  176. lodash/lang/isWeakMap.d.ts +0 -26
  177. lodash/lang/isWeakSet.d.ts +0 -26
  178. lodash/lang/lt.d.ts +0 -30
  179. lodash/lang/lte.d.ts +0 -30
  180. lodash/lang/toArray.d.ts +0 -46
  181. lodash/lang/toFinite.d.ts +0 -41
  182. lodash/lang/toInteger.d.ts +0 -42
  183. lodash/lang/toLength.d.ts +0 -43
  184. lodash/lang/toNumber.d.ts +0 -40
  185. lodash/lang/toPlainObject.d.ts +0 -27
  186. lodash/lang/toSafeInteger.d.ts +0 -41
  187. lodash/lang/toString.d.ts +0 -24
  188. lodash/math/add.d.ts +0 -30
  189. lodash/math/ceil.d.ts +0 -30
  190. lodash/math/divide.d.ts +0 -30
  191. lodash/math/floor.d.ts +0 -30
  192. lodash/math/max.d.ts +0 -30
  193. lodash/math/maxBy.d.ts +0 -49
  194. lodash/math/mean.d.ts +0 -33
  195. lodash/math/meanBy.d.ts +0 -41
  196. lodash/math/min.d.ts +0 -30
  197. lodash/math/minBy.d.ts +0 -49
  198. lodash/math/multiply.d.ts +0 -29
  199. lodash/math/round.d.ts +0 -30
  200. lodash/math/subtract.d.ts +0 -39
  201. lodash/math/sum.d.ts +0 -31
  202. lodash/math/sumBy.d.ts +0 -53
  203. lodash/number/clamp.d.ts +0 -56
  204. lodash/number/inRange.d.ts +0 -39
  205. lodash/object/assign.d.ts +0 -172
  206. lodash/object/assignIn.d.ts +0 -171
  207. lodash/object/assignInWith.d.ts +0 -183
  208. lodash/object/assignWith.d.ts +0 -180
  209. lodash/object/at.d.ts +0 -61
  210. lodash/object/create.d.ts +0 -31
  211. lodash/object/defaults.d.ts +0 -155
  212. lodash/object/defaultsDeep.d.ts +0 -28
  213. lodash/object/entries.d.ts +0 -38
  214. lodash/object/entriesIn.d.ts +0 -38
  215. lodash/object/extend.d.ts +0 -147
  216. lodash/object/extendWith.d.ts +0 -159
  217. lodash/object/findKey.d.ts +0 -47
  218. lodash/object/findLastKey.d.ts +0 -46
  219. lodash/object/forIn.d.ts +0 -37
  220. lodash/object/forInRight.d.ts +0 -35
  221. lodash/object/forOwn.d.ts +0 -37
  222. lodash/object/forOwnRight.d.ts +0 -35
  223. lodash/object/functions.d.ts +0 -39
  224. lodash/object/functionsIn.d.ts +0 -39
  225. lodash/object/get.d.ts +0 -238
  226. lodash/object/has.d.ts +0 -47
  227. lodash/object/hasIn.d.ts +0 -46
  228. lodash/object/invert.d.ts +0 -30
  229. lodash/object/invertBy.d.ts +0 -62
  230. lodash/object/invoke.d.ts +0 -33
  231. lodash/object/keys.d.ts +0 -28
  232. lodash/object/keysIn.d.ts +0 -28
  233. lodash/object/mapKeys.d.ts +0 -86
  234. lodash/object/mapValues.d.ts +0 -189
  235. lodash/object/merge.d.ts +0 -156
  236. lodash/object/mergeWith.d.ts +0 -133
  237. lodash/object/omit.d.ts +0 -69
  238. lodash/object/omitBy.d.ts +0 -45
  239. lodash/object/pick.d.ts +0 -68
  240. lodash/object/pickBy.d.ts +0 -44
  241. lodash/object/result.d.ts +0 -39
  242. lodash/object/set.d.ts +0 -65
  243. lodash/object/setWith.d.ts +0 -71
  244. lodash/object/toPairs.d.ts +0 -41
  245. lodash/object/toPairsIn.d.ts +0 -41
  246. lodash/object/transform.d.ts +0 -163
  247. lodash/object/unset.d.ts +0 -32
  248. lodash/object/update.d.ts +0 -39
  249. lodash/object/updateWith.d.ts +0 -83
  250. lodash/object/values.d.ts +0 -56
  251. lodash/object/valuesIn.d.ts +0 -41
  252. lodash/seq/chain.d.ts +0 -26
  253. lodash/seq/prototype.at.d.ts +0 -12
  254. lodash/seq/prototype.chain.d.ts +0 -26
  255. lodash/seq/prototype.commit.d.ts +0 -11
  256. lodash/seq/prototype.plant.d.ts +0 -18
  257. lodash/seq/prototype.reverse.d.ts +0 -14
  258. lodash/seq/prototype.toJSON.d.ts +0 -9
  259. lodash/seq/prototype.toString.d.ts +0 -11
  260. lodash/seq/prototype.value.d.ts +0 -13
  261. lodash/seq/prototype.valueOf.d.ts +0 -9
  262. lodash/seq/tap.d.ts +0 -28
  263. lodash/seq/thru.d.ts +0 -31
  264. lodash/string/camelCase.d.ts +0 -26
  265. lodash/string/capitalize.d.ts +0 -26
  266. lodash/string/deburr.d.ts +0 -27
  267. lodash/string/endsWith.d.ts +0 -38
  268. lodash/string/escape.d.ts +0 -37
  269. lodash/string/escapeRegExp.d.ts +0 -27
  270. lodash/string/kebabCase.d.ts +0 -26
  271. lodash/string/lowerCase.d.ts +0 -26
  272. lodash/string/lowerFirst.d.ts +0 -26
  273. lodash/string/pad.d.ts +0 -39
  274. lodash/string/padEnd.d.ts +0 -39
  275. lodash/string/padStart.d.ts +0 -39
  276. lodash/string/parseInt.d.ts +0 -33
  277. lodash/string/repeat.d.ts +0 -32
  278. lodash/string/replace.d.ts +0 -59
  279. lodash/string/snakeCase.d.ts +0 -26
  280. lodash/string/split.d.ts +0 -56
  281. lodash/string/startCase.d.ts +0 -26
  282. lodash/string/startsWith.d.ts +0 -38
  283. lodash/string/template.d.ts +0 -61
  284. lodash/string/toLower.d.ts +0 -26
  285. lodash/string/toUpper.d.ts +0 -26
  286. lodash/string/trim.d.ts +0 -44
  287. lodash/string/trimEnd.d.ts +0 -44
  288. lodash/string/trimStart.d.ts +0 -44
  289. lodash/string/truncate.d.ts +0 -40
  290. lodash/string/unescape.d.ts +0 -30
  291. lodash/string/upperCase.d.ts +0 -26
  292. lodash/string/upperFirst.d.ts +0 -26
  293. lodash/string/words.d.ts +0 -44
  294. lodash/util/attempt.d.ts +0 -27
  295. lodash/util/bindAll.d.ts +0 -28
  296. lodash/util/cond.d.ts +0 -33
  297. lodash/util/conforms.d.ts +0 -28
  298. lodash/util/constant.d.ts +0 -26
  299. lodash/util/defaultTo.d.ts +0 -53
  300. lodash/util/flow.d.ts +0 -171
  301. lodash/util/flowRight.d.ts +0 -156
  302. lodash/util/identity.d.ts +0 -31
  303. lodash/util/iteratee.d.ts +0 -58
  304. lodash/util/matches.d.ts +0 -36
  305. lodash/util/matchesProperty.d.ts +0 -59
  306. lodash/util/method.d.ts +0 -31
  307. lodash/util/methodOf.d.ts +0 -35
  308. lodash/util/mixin.d.ts +0 -69
  309. lodash/util/noConflict.d.ts +0 -25
  310. lodash/util/noop.d.ts +0 -25
  311. lodash/util/nthArg.d.ts +0 -26
  312. lodash/util/over.d.ts +0 -33
  313. lodash/util/overEvery.d.ts +0 -27
  314. lodash/util/overSome.d.ts +0 -27
  315. lodash/util/property.d.ts +0 -26
  316. lodash/util/propertyOf.d.ts +0 -27
  317. lodash/util/range.d.ts +0 -56
  318. lodash/util/rangeRight.d.ts +0 -77
  319. lodash/util/runInContext.d.ts +0 -19
  320. lodash/util/stubArray.d.ts +0 -25
  321. lodash/util/stubFalse.d.ts +0 -25
  322. lodash/util/stubObject.d.ts +0 -25
  323. lodash/util/stubString.d.ts +0 -25
  324. lodash/util/stubTrue.d.ts +0 -25
  325. lodash/util/times.d.ts +0 -50
  326. lodash/util/toPath.d.ts +0 -43
  327. lodash/util/uniqueId.d.ts +0 -26
@@ -1,243 +0,0 @@
1
- import * as _ from "../index";
2
- declare module "../index" {
3
- interface LoDashStatic {
4
- /**
5
- * This method is like _.difference except that it accepts iteratee which is invoked for each element of array
6
- * and values to generate the criterion by which uniqueness is computed. The iteratee is invoked with one
7
- * argument: (value).
8
- *
9
- * @param array The array to inspect.
10
- * @param values The values to exclude.
11
- * @param iteratee The iteratee invoked per element.
12
- * @returns Returns the new array of filtered values.
13
- */
14
- differenceBy<T1, T2>(
15
- array: List<T1> | null | undefined,
16
- values: List<T2>,
17
- iteratee: ValueIteratee<T1 | T2>
18
- ): T1[];
19
-
20
- /**
21
- * @see _.differenceBy
22
- */
23
- differenceBy<T1, T2, T3>(
24
- array: List<T1> | null | undefined,
25
- values1: List<T2>,
26
- values2: List<T3>,
27
- iteratee: ValueIteratee<T1 | T2 | T3>
28
- ): T1[];
29
-
30
- /**
31
- * @see _.differenceBy
32
- */
33
- differenceBy<T1, T2, T3, T4>(
34
- array: List<T1> | null | undefined,
35
- values1: List<T2>,
36
- values2: List<T3>,
37
- values3: List<T4>,
38
- iteratee: ValueIteratee<T1 | T2 | T3 | T4>
39
- ): T1[];
40
-
41
- /**
42
- * @see _.differenceBy
43
- */
44
- differenceBy<T1, T2, T3, T4, T5>(
45
- array: List<T1> | null | undefined,
46
- values1: List<T2>,
47
- values2: List<T3>,
48
- values3: List<T4>,
49
- values4: List<T5>,
50
- iteratee: ValueIteratee<T1 | T2 | T3 | T4 | T5>
51
- ): T1[];
52
-
53
- /**
54
- * @see _.differenceBy
55
- */
56
- differenceBy<T1, T2, T3, T4, T5, T6>(
57
- array: List<T1> | null | undefined,
58
- values1: List<T2>,
59
- values2: List<T3>,
60
- values3: List<T4>,
61
- values4: List<T5>,
62
- values5: List<T6>,
63
- iteratee: ValueIteratee<T1 | T2 | T3 | T4 | T5 | T6>
64
- ): T1[];
65
-
66
- /**
67
- * @see _.differenceBy
68
- */
69
- differenceBy<T1, T2, T3, T4, T5, T6, T7>(
70
- array: List<T1> | null | undefined,
71
- values1: List<T2>,
72
- values2: List<T3>,
73
- values3: List<T4>,
74
- values4: List<T5>,
75
- values5: List<T6>,
76
- ...values: Array<List<T7> | ValueIteratee<T1 | T2 | T3 | T4 | T5 | T6 | T7>>
77
- ): T1[];
78
-
79
- /**
80
- * @see _.differenceBy
81
- */
82
- differenceBy<T>(
83
- array: List<T> | null | undefined,
84
- ...values: Array<List<T>>
85
- ): T[];
86
- }
87
-
88
- interface LoDashImplicitWrapper<TValue> {
89
- /**
90
- * @see _.differenceBy
91
- */
92
- differenceBy<T1, T2>(
93
- this: LoDashImplicitWrapper<List<T1> | null | undefined>,
94
- values: List<T2>,
95
- iteratee: ValueIteratee<T1 | T2>
96
- ): LoDashImplicitWrapper<T1[]>;
97
-
98
- /**
99
- * @see _.differenceBy
100
- */
101
- differenceBy<T1, T2, T3>(
102
- this: LoDashImplicitWrapper<List<T1> | null | undefined>,
103
- values1: List<T2>,
104
- values2: List<T3>,
105
- iteratee: ValueIteratee<T1 | T2 | T3>
106
- ): LoDashImplicitWrapper<T1[]>;
107
-
108
- /**
109
- * @see _.differenceBy
110
- */
111
- differenceBy<T1, T2, T3, T4>(
112
- this: LoDashImplicitWrapper<List<T1> | null | undefined>,
113
- values1: List<T2>,
114
- values2: List<T3>,
115
- values3: List<T4>,
116
- iteratee: ValueIteratee<T1 | T2 | T3 | T4>
117
- ): LoDashImplicitWrapper<T1[]>;
118
-
119
- /**
120
- * @see _.differenceBy
121
- */
122
- differenceBy<T1, T2, T3, T4, T5>(
123
- this: LoDashImplicitWrapper<List<T1> | null | undefined>,
124
- values1: List<T2>,
125
- values2: List<T3>,
126
- values3: List<T4>,
127
- values4: List<T5>,
128
- iteratee: ValueIteratee<T1 | T2 | T3 | T4 | T5>
129
- ): LoDashImplicitWrapper<T1[]>;
130
-
131
- /**
132
- * @see _.differenceBy
133
- */
134
- differenceBy<T1, T2, T3, T4, T5, T6>(
135
- this: LoDashImplicitWrapper<List<T1> | null | undefined>,
136
- values1: List<T2>,
137
- values2: List<T3>,
138
- values3: List<T4>,
139
- values4: List<T5>,
140
- values5: List<T6>,
141
- iteratee: ValueIteratee<T1 | T2 | T3 | T4 | T5 | T6>
142
- ): LoDashImplicitWrapper<T1[]>;
143
-
144
- /**
145
- * @see _.differenceBy
146
- */
147
- differenceBy<T1, T2, T3, T4, T5, T6, T7>(
148
- this: LoDashImplicitWrapper<List<T1> | null | undefined>,
149
- values1: List<T2>,
150
- values2: List<T3>,
151
- values3: List<T4>,
152
- values4: List<T5>,
153
- values5: List<T6>,
154
- ...values: Array<List<T7> | ValueIteratee<T1 | T2 | T3 | T4 | T5 | T6 | T7>>
155
- ): LoDashImplicitWrapper<T1[]>;
156
-
157
- /**
158
- * @see _.differenceBy
159
- */
160
- differenceBy<T>(
161
- this: LoDashImplicitWrapper<List<T> | null | undefined>,
162
- ...values: Array<List<T>>
163
- ): LoDashImplicitWrapper<T[]>;
164
- }
165
-
166
- interface LoDashExplicitWrapper<TValue> {
167
- /**
168
- * @see _.differenceBy
169
- */
170
- differenceBy<T1, T2>(
171
- this: LoDashExplicitWrapper<List<T1> | null | undefined>,
172
- values: List<T2>,
173
- iteratee: ValueIteratee<T1 | T2>
174
- ): LoDashExplicitWrapper<T1[]>;
175
-
176
- /**
177
- * @see _.differenceBy
178
- */
179
- differenceBy<T1, T2, T3>(
180
- this: LoDashExplicitWrapper<List<T1> | null | undefined>,
181
- values1: List<T2>,
182
- values2: List<T3>,
183
- iteratee: ValueIteratee<T1 | T2 | T3>
184
- ): LoDashExplicitWrapper<T1[]>;
185
-
186
- /**
187
- * @see _.differenceBy
188
- */
189
- differenceBy<T1, T2, T3, T4>(
190
- this: LoDashExplicitWrapper<List<T1> | null | undefined>,
191
- values1: List<T2>,
192
- values2: List<T3>,
193
- values3: List<T4>,
194
- iteratee: ValueIteratee<T1 | T2 | T3 | T4>
195
- ): LoDashExplicitWrapper<T1[]>;
196
-
197
- /**
198
- * @see _.differenceBy
199
- */
200
- differenceBy<T1, T2, T3, T4, T5>(
201
- this: LoDashExplicitWrapper<List<T1> | null | undefined>,
202
- values1: List<T2>,
203
- values2: List<T3>,
204
- values3: List<T4>,
205
- values4: List<T5>,
206
- iteratee: ValueIteratee<T1 | T2 | T3 | T4 | T5>
207
- ): LoDashExplicitWrapper<T1[]>;
208
-
209
- /**
210
- * @see _.differenceBy
211
- */
212
- differenceBy<T1, T2, T3, T4, T5, T6>(
213
- this: LoDashExplicitWrapper<List<T1> | null | undefined>,
214
- values1: List<T2>,
215
- values2: List<T3>,
216
- values3: List<T4>,
217
- values4: List<T5>,
218
- values5: List<T6>,
219
- iteratee: ValueIteratee<T1 | T2 | T3 | T4 | T5 | T6>
220
- ): LoDashExplicitWrapper<T1[]>;
221
-
222
- /**
223
- * @see _.differenceBy
224
- */
225
- differenceBy<T1, T2, T3, T4, T5, T6, T7>(
226
- this: LoDashExplicitWrapper<List<T1> | null | undefined>,
227
- values1: List<T2>,
228
- values2: List<T3>,
229
- values3: List<T4>,
230
- values4: List<T5>,
231
- values5: List<T6>,
232
- ...values: Array<List<T7> | ValueIteratee<T1 | T2 | T3 | T4 | T5 | T6 | T7>>
233
- ): LoDashExplicitWrapper<T1[]>;
234
-
235
- /**
236
- * @see _.differenceBy
237
- */
238
- differenceBy<T>(
239
- this: LoDashExplicitWrapper<List<T> | null | undefined>,
240
- ...values: Array<List<T>>
241
- ): LoDashExplicitWrapper<T[]>;
242
- }
243
- }
@@ -1,132 +0,0 @@
1
- import * as _ from "../index";
2
- declare module "../index" {
3
- interface LoDashStatic {
4
- /**
5
- * Creates an array of unique `array` values not included in the other
6
- * provided arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
7
- * for equality comparisons.
8
- *
9
- * @category Array
10
- * @param [values] The arrays to inspect.
11
- * @param [comparator] The comparator invoked per element.
12
- * @returns Returns the new array of filtered values.
13
- * @example
14
- *
15
- * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
16
-
17
- * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);
18
- * // => [{ 'x': 2, 'y': 1 }]
19
- */
20
- differenceWith<T1, T2>(
21
- array: List<T1> | null | undefined,
22
- values: List<T2>,
23
- comparator: Comparator2<T1, T2>
24
- ): T1[];
25
-
26
- /**
27
- * @see _.differenceWith
28
- */
29
- differenceWith<T1, T2, T3>(
30
- array: List<T1> | null | undefined,
31
- values1: List<T2>,
32
- values2: List<T3>,
33
- comparator: Comparator2<T1, T2 | T3>
34
- ): T1[];
35
-
36
- /**
37
- * @see _.differenceWith
38
- */
39
- differenceWith<T1, T2, T3, T4>(
40
- array: List<T1> | null | undefined,
41
- values1: List<T2>,
42
- values2: List<T3>,
43
- ...values: Array<List<T4> | Comparator2<T1, T2 | T3 | T4>>
44
- ): T1[];
45
-
46
- /**
47
- * @see _.differenceWith
48
- */
49
- differenceWith<T>(
50
- array: List<T> | null | undefined,
51
- ...values: Array<List<T>>
52
- ): T[];
53
- }
54
-
55
- interface LoDashImplicitWrapper<TValue> {
56
- /**
57
- * @see _.differenceWith
58
- */
59
- differenceWith<T1, T2>(
60
- this: LoDashImplicitWrapper<List<T1> | null | undefined>,
61
- values: List<T2>,
62
- comparator: Comparator2<T1, T2>
63
- ): LoDashImplicitWrapper<T1[]>;
64
-
65
- /**
66
- * @see _.differenceWith
67
- */
68
- differenceWith<T1, T2, T3>(
69
- this: LoDashImplicitWrapper<List<T1> | null | undefined>,
70
- values1: List<T2>,
71
- values2: List<T3>,
72
- comparator: Comparator2<T1, T2 | T3>
73
- ): LoDashImplicitWrapper<T1[]>;
74
-
75
- /**
76
- * @see _.differenceWith
77
- */
78
- differenceWith<T1, T2, T3, T4>(
79
- this: LoDashImplicitWrapper<List<T1> | null | undefined>,
80
- values1: List<T2>,
81
- values2: List<T3>,
82
- ...values: Array<List<T4> | Comparator2<T1, T2 | T3 | T4>>
83
- ): LoDashImplicitWrapper<T1[]>;
84
-
85
- /**
86
- * @see _.differenceWith
87
- */
88
- differenceWith<T>(
89
- this: LoDashImplicitWrapper<List<T> | null | undefined>,
90
- ...values: Array<List<T>>
91
- ): LoDashImplicitWrapper<T[]>;
92
- }
93
-
94
- interface LoDashExplicitWrapper<TValue> {
95
- /**
96
- * @see _.differenceWith
97
- */
98
- differenceWith<T1, T2>(
99
- this: LoDashExplicitWrapper<List<T1> | null | undefined>,
100
- values: List<T2>,
101
- comparator: Comparator2<T1, T2>
102
- ): LoDashExplicitWrapper<T1[]>;
103
-
104
- /**
105
- * @see _.differenceWith
106
- */
107
- differenceWith<T1, T2, T3>(
108
- this: LoDashExplicitWrapper<List<T1> | null | undefined>,
109
- values1: List<T2>,
110
- values2: List<T3>,
111
- comparator: Comparator2<T1, T2 | T3>
112
- ): LoDashExplicitWrapper<T1[]>;
113
-
114
- /**
115
- * @see _.differenceWith
116
- */
117
- differenceWith<T1, T2, T3, T4>(
118
- this: LoDashExplicitWrapper<List<T1> | null | undefined>,
119
- values1: List<T2>,
120
- values2: List<T3>,
121
- ...values: Array<List<T4> | Comparator2<T1, T2 | T3 | T4>>
122
- ): LoDashExplicitWrapper<T1[]>;
123
-
124
- /**
125
- * @see _.differenceWith
126
- */
127
- differenceWith<T>(
128
- this: LoDashExplicitWrapper<List<T> | null | undefined>,
129
- ...values: Array<List<T>>
130
- ): LoDashExplicitWrapper<T[]>;
131
- }
132
- }
lodash/array/drop.d.ts DELETED
@@ -1,27 +0,0 @@
1
- import * as _ from "../index";
2
- declare module "../index" {
3
- interface LoDashStatic {
4
- /**
5
- * Creates a slice of array with n elements dropped from the beginning.
6
- *
7
- * @param array The array to query.
8
- * @param n The number of elements to drop.
9
- * @return Returns the slice of array.
10
- */
11
- drop<T>(array: List<T> | null | undefined, n?: number): T[];
12
- }
13
-
14
- interface LoDashImplicitWrapper<TValue> {
15
- /**
16
- * @see _.drop
17
- */
18
- drop<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>, n?: number): LoDashImplicitWrapper<T[]>;
19
- }
20
-
21
- interface LoDashExplicitWrapper<TValue> {
22
- /**
23
- * @see _.drop
24
- */
25
- drop<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>, n?: number): LoDashExplicitWrapper<T[]>;
26
- }
27
- }
@@ -1,30 +0,0 @@
1
- import * as _ from "../index";
2
- declare module "../index" {
3
- interface LoDashStatic {
4
- /**
5
- * Creates a slice of array with n elements dropped from the end.
6
- *
7
- * @param array The array to query.
8
- * @param n The number of elements to drop.
9
- * @return Returns the slice of array.
10
- */
11
- dropRight<T>(
12
- array: List<T> | null | undefined,
13
- n?: number
14
- ): T[];
15
- }
16
-
17
- interface LoDashImplicitWrapper<TValue> {
18
- /**
19
- * @see _.dropRight
20
- */
21
- dropRight<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>, n?: number): LoDashImplicitWrapper<T[]>;
22
- }
23
-
24
- interface LoDashExplicitWrapper<TValue> {
25
- /**
26
- * @see _.dropRight
27
- */
28
- dropRight<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>, n?: number): LoDashExplicitWrapper<T[]>;
29
- }
30
- }
@@ -1,47 +0,0 @@
1
- import * as _ from "../index";
2
- declare module "../index" {
3
- interface LoDashStatic {
4
- /**
5
- * Creates a slice of array excluding elements dropped from the end. Elements are dropped until predicate
6
- * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array).
7
- *
8
- * If a property name is provided for predicate the created _.property style callback returns the property
9
- * value of the given element.
10
- *
11
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
12
- * elements that have a matching property value, else false.
13
- *
14
- * If an object is provided for predicate the created _.matches style callback returns true for elements that
15
- * match the properties of the given object, else false.
16
- *
17
- * @param array The array to query.
18
- * @param predicate The function invoked per iteration.
19
- * @param thisArg The this binding of predicate.
20
- * @return Returns the slice of array.
21
- */
22
- dropRightWhile<T>(
23
- array: List<T> | null | undefined,
24
- predicate?: ListIteratee<T>
25
- ): T[];
26
- }
27
-
28
- interface LoDashImplicitWrapper<TValue> {
29
- /**
30
- * @see _.dropRightWhile
31
- */
32
- dropRightWhile<T>(
33
- this: LoDashImplicitWrapper<List<T> | null | undefined>,
34
- predicate?: ListIteratee<T>
35
- ): LoDashImplicitWrapper<T[]>;
36
- }
37
-
38
- interface LoDashExplicitWrapper<TValue> {
39
- /**
40
- * @see _.dropRightWhile
41
- */
42
- dropRightWhile<T>(
43
- this: LoDashExplicitWrapper<List<T> | null | undefined>,
44
- predicate?: ListIteratee<T>
45
- ): LoDashExplicitWrapper<T[]>;
46
- }
47
- }
@@ -1,47 +0,0 @@
1
- import * as _ from "../index";
2
- declare module "../index" {
3
- interface LoDashStatic {
4
- /**
5
- * Creates a slice of array excluding elements dropped from the beginning. Elements are dropped until predicate
6
- * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array).
7
- *
8
- * If a property name is provided for predicate the created _.property style callback returns the property
9
- * value of the given element.
10
- *
11
- * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
12
- * elements that have a matching property value, else false.
13
- *
14
- * If an object is provided for predicate the created _.matches style callback returns true for elements that
15
- * have the properties of the given object, else false.
16
- *
17
- * @param array The array to query.
18
- * @param predicate The function invoked per iteration.
19
- * @param thisArg The this binding of predicate.
20
- * @return Returns the slice of array.
21
- */
22
- dropWhile<T>(
23
- array: List<T> | null | undefined,
24
- predicate?: ListIteratee<T>
25
- ): T[];
26
- }
27
-
28
- interface LoDashImplicitWrapper<TValue> {
29
- /**
30
- * @see _.dropWhile
31
- */
32
- dropWhile<T>(
33
- this: LoDashImplicitWrapper<List<T> | null | undefined>,
34
- predicate?: ListIteratee<T>
35
- ): LoDashImplicitWrapper<T[]>;
36
- }
37
-
38
- interface LoDashExplicitWrapper<TValue> {
39
- /**
40
- * @see _.dropWhile
41
- */
42
- dropWhile<T>(
43
- this: LoDashExplicitWrapper<List<T> | null | undefined>,
44
- predicate?: ListIteratee<T>
45
- ): LoDashExplicitWrapper<T[]>;
46
- }
47
- }
lodash/array/fill.d.ts DELETED
@@ -1,124 +0,0 @@
1
- import * as _ from "../index";
2
- declare module "../index" {
3
- interface LoDashStatic {
4
- /**
5
- * Fills elements of array with value from start up to, but not including, end.
6
- *
7
- * Note: This method mutates array.
8
- *
9
- * @param array The array to fill.
10
- * @param value The value to fill array with.
11
- * @param start The start position.
12
- * @param end The end position.
13
- * @return Returns array.
14
- */
15
- fill<T>(
16
- array: any[] | null | undefined,
17
- value: T
18
- ): T[];
19
-
20
- /**
21
- * @see _.fill
22
- */
23
- fill<T>(
24
- array: List<any> | null | undefined,
25
- value: T
26
- ): List<T>;
27
-
28
- /**
29
- * @see _.fill
30
- */
31
- fill<T, U>(
32
- array: U[] | null | undefined,
33
- value: T,
34
- start?: number,
35
- end?: number
36
- ): Array<T | U>;
37
-
38
- /**
39
- * @see _.fill
40
- */
41
- fill<T, U>(
42
- array: List<U> | null | undefined,
43
- value: T,
44
- start?: number,
45
- end?: number
46
- ): List<T | U>;
47
- }
48
-
49
- interface LoDashImplicitWrapper<TValue> {
50
- /**
51
- * @see _.fill
52
- */
53
- fill<T>(
54
- this: LoDashImplicitWrapper<any[] | null | undefined>,
55
- value: T
56
- ): LoDashImplicitWrapper<T[]>;
57
-
58
- /**
59
- * @see _.fill
60
- */
61
- fill<T>(
62
- this: LoDashImplicitWrapper<List<any> | null | undefined>,
63
- value: T
64
- ): LoDashImplicitWrapper<List<T>>;
65
-
66
- /**
67
- * @see _.fill
68
- */
69
- fill<T, U>(
70
- this: LoDashImplicitWrapper<U[] | null | undefined>,
71
- value: T,
72
- start?: number,
73
- end?: number
74
- ): LoDashImplicitWrapper<Array<T | U>>;
75
-
76
- /**
77
- * @see _.fill
78
- */
79
- fill<T, U>(
80
- this: LoDashImplicitWrapper<List<U> | null | undefined>,
81
- value: T,
82
- start?: number,
83
- end?: number
84
- ): LoDashImplicitWrapper<List<T | U>>;
85
- }
86
-
87
- interface LoDashExplicitWrapper<TValue> {
88
- /**
89
- * @see _.fill
90
- */
91
- fill<T>(
92
- this: LoDashExplicitWrapper<any[] | null | undefined>,
93
- value: T
94
- ): LoDashExplicitWrapper<T[]>;
95
-
96
- /**
97
- * @see _.fill
98
- */
99
- fill<T>(
100
- this: LoDashExplicitWrapper<List<any> | null | undefined>,
101
- value: T
102
- ): LoDashExplicitWrapper<List<T>>;
103
-
104
- /**
105
- * @see _.fill
106
- */
107
- fill<T, U>(
108
- this: LoDashExplicitWrapper<U[] | null | undefined>,
109
- value: T,
110
- start?: number,
111
- end?: number
112
- ): LoDashExplicitWrapper<Array<T | U>>;
113
-
114
- /**
115
- * @see _.fill
116
- */
117
- fill<T, U>(
118
- this: LoDashExplicitWrapper<List<U> | null | undefined>,
119
- value: T,
120
- start?: number,
121
- end?: number
122
- ): LoDashExplicitWrapper<List<T | U>>;
123
- }
124
- }