@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.
- lodash/README.md +2 -2
- lodash/common/array.d.ts +3845 -0
- lodash/common/collection.d.ts +3091 -0
- lodash/common/common.d.ts +3 -3
- lodash/{date/now.d.ts → common/date.d.ts} +3 -1
- lodash/common/function.d.ts +1367 -0
- lodash/common/lang.d.ts +1937 -0
- lodash/common/math.d.ts +536 -0
- lodash/{number/random.d.ts → common/number.d.ts} +98 -1
- lodash/common/object.d.ts +3653 -0
- lodash/common/seq.d.ts +198 -0
- lodash/common/string.d.ts +1059 -0
- lodash/common/util.d.ts +1455 -0
- lodash/index.d.ts +11 -338
- lodash/package.json +2 -7
- lodash/array/chunk.d.ts +0 -37
- lodash/array/compact.d.ts +0 -27
- lodash/array/concat.d.ts +0 -39
- lodash/array/difference.d.ts +0 -37
- lodash/array/differenceBy.d.ts +0 -243
- lodash/array/differenceWith.d.ts +0 -132
- lodash/array/drop.d.ts +0 -27
- lodash/array/dropRight.d.ts +0 -30
- lodash/array/dropRightWhile.d.ts +0 -47
- lodash/array/dropWhile.d.ts +0 -47
- lodash/array/fill.d.ts +0 -124
- lodash/array/findIndex.d.ts +0 -50
- lodash/array/findLastIndex.d.ts +0 -49
- lodash/array/first.d.ts +0 -23
- lodash/array/flatten.d.ts +0 -43
- lodash/array/flattenDeep.d.ts +0 -26
- lodash/array/flattenDepth.d.ts +0 -27
- lodash/array/fromPairs.d.ts +0 -59
- lodash/array/head.d.ts +0 -28
- lodash/array/indexOf.d.ts +0 -53
- lodash/array/initial.d.ts +0 -26
- lodash/array/intersection.d.ts +0 -33
- lodash/array/intersectionBy.d.ts +0 -134
- lodash/array/intersectionWith.d.ts +0 -133
- lodash/array/join.d.ts +0 -30
- lodash/array/last.d.ts +0 -26
- lodash/array/lastIndexOf.d.ts +0 -40
- lodash/array/nth.d.ts +0 -36
- lodash/array/pull.d.ts +0 -46
- lodash/array/pullAll.d.ts +0 -54
- lodash/array/pullAllBy.d.ts +0 -77
- lodash/array/pullAllWith.d.ts +0 -77
- lodash/array/pullAt.d.ts +0 -34
- lodash/array/remove.d.ts +0 -49
- lodash/array/reverse.d.ts +0 -27
- lodash/array/slice.d.ts +0 -40
- lodash/array/sortedIndex.d.ts +0 -45
- lodash/array/sortedIndexBy.d.ts +0 -97
- lodash/array/sortedIndexOf.d.ts +0 -42
- lodash/array/sortedLastIndex.d.ts +0 -43
- lodash/array/sortedLastIndexBy.d.ts +0 -48
- lodash/array/sortedLastIndexOf.d.ts +0 -42
- lodash/array/sortedUniq.d.ts +0 -34
- lodash/array/sortedUniqBy.d.ts +0 -66
- lodash/array/tail.d.ts +0 -26
- lodash/array/take.d.ts +0 -36
- lodash/array/takeRight.d.ts +0 -36
- lodash/array/takeRightWhile.d.ts +0 -47
- lodash/array/takeWhile.d.ts +0 -47
- lodash/array/union.d.ts +0 -33
- lodash/array/unionBy.d.ts +0 -164
- lodash/array/unionWith.d.ts +0 -103
- lodash/array/uniq.d.ts +0 -36
- lodash/array/uniqBy.d.ts +0 -71
- lodash/array/uniqWith.d.ts +0 -45
- lodash/array/unzip.d.ts +0 -27
- lodash/array/unzipWith.d.ts +0 -60
- lodash/array/without.d.ts +0 -36
- lodash/array/xor.d.ts +0 -32
- lodash/array/xorBy.d.ts +0 -104
- lodash/array/xorWith.d.ts +0 -103
- lodash/array/zip.d.ts +0 -129
- lodash/array/zipObject.d.ts +0 -58
- lodash/array/zipObjectDeep.d.ts +0 -36
- lodash/array/zipWith.d.ts +0 -187
- lodash/collection/countBy.d.ts +0 -121
- lodash/collection/each.d.ts +0 -40
- lodash/collection/eachRight.d.ts +0 -40
- lodash/collection/every.d.ts +0 -85
- lodash/collection/filter.d.ts +0 -143
- lodash/collection/find.d.ts +0 -131
- lodash/collection/findLast.d.ts +0 -121
- lodash/collection/flatMap.d.ts +0 -164
- lodash/collection/flatMapDeep.d.ts +0 -164
- lodash/collection/flatMapDepth.d.ts +0 -180
- lodash/collection/forEach.d.ts +0 -113
- lodash/collection/forEachRight.d.ts +0 -108
- lodash/collection/groupBy.d.ts +0 -121
- lodash/collection/includes.d.ts +0 -41
- lodash/collection/invokeMap.d.ts +0 -58
- lodash/collection/keyBy.d.ts +0 -121
- lodash/collection/map.d.ts +0 -180
- lodash/collection/orderBy.d.ts +0 -192
- lodash/collection/partition.d.ts +0 -72
- lodash/collection/reduce.d.ts +0 -220
- lodash/collection/reduceRight.d.ts +0 -217
- lodash/collection/reject.d.ts +0 -86
- lodash/collection/sample.d.ts +0 -74
- lodash/collection/sampleSize.d.ts +0 -60
- lodash/collection/shuffle.d.ts +0 -41
- lodash/collection/size.d.ts +0 -27
- lodash/collection/some.d.ts +0 -85
- lodash/collection/sortBy.d.ts +0 -84
- lodash/function/after.d.ts +0 -30
- lodash/function/ary.d.ts +0 -30
- lodash/function/before.d.ts +0 -32
- lodash/function/bind.d.ts +0 -50
- lodash/function/bindKey.d.ts +0 -51
- lodash/function/curry.d.ts +0 -203
- lodash/function/curryRight.d.ts +0 -132
- lodash/function/debounce.d.ts +0 -67
- lodash/function/defer.d.ts +0 -31
- lodash/function/delay.d.ts +0 -38
- lodash/function/flip.d.ts +0 -28
- lodash/function/memoize.d.ts +0 -37
- lodash/function/negate.d.ts +0 -20
- lodash/function/once.d.ts +0 -20
- lodash/function/overArgs.d.ts +0 -31
- lodash/function/partial.d.ts +0 -159
- lodash/function/partialRight.d.ts +0 -150
- lodash/function/rearg.d.ts +0 -28
- lodash/function/rest.d.ts +0 -33
- lodash/function/spread.d.ts +0 -44
- lodash/function/throttle.d.ts +0 -58
- lodash/function/unary.d.ts +0 -32
- lodash/function/wrap.d.ts +0 -61
- lodash/lang/castArray.d.ts +0 -26
- lodash/lang/clone.d.ts +0 -31
- lodash/lang/cloneDeep.d.ts +0 -26
- lodash/lang/cloneDeepWith.d.ts +0 -51
- lodash/lang/cloneWith.d.ts +0 -74
- lodash/lang/conformsTo.d.ts +0 -31
- lodash/lang/eq.d.ts +0 -55
- lodash/lang/gt.d.ts +0 -30
- lodash/lang/gte.d.ts +0 -30
- lodash/lang/isArguments.d.ts +0 -26
- lodash/lang/isArray.d.ts +0 -31
- lodash/lang/isArrayBuffer.d.ts +0 -26
- lodash/lang/isArrayLike.d.ts +0 -52
- lodash/lang/isArrayLikeObject.d.ts +0 -53
- lodash/lang/isBoolean.d.ts +0 -26
- lodash/lang/isBuffer.d.ts +0 -26
- lodash/lang/isDate.d.ts +0 -26
- lodash/lang/isElement.d.ts +0 -26
- lodash/lang/isEmpty.d.ts +0 -27
- lodash/lang/isEqual.d.ts +0 -52
- lodash/lang/isEqualWith.d.ts +0 -61
- lodash/lang/isError.d.ts +0 -27
- lodash/lang/isFinite.d.ts +0 -28
- lodash/lang/isFunction.d.ts +0 -26
- lodash/lang/isInteger.d.ts +0 -42
- lodash/lang/isLength.d.ts +0 -42
- lodash/lang/isMap.d.ts +0 -26
- lodash/lang/isMatch.d.ts +0 -42
- lodash/lang/isMatchWith.d.ts +0 -51
- lodash/lang/isNaN.d.ts +0 -28
- lodash/lang/isNative.d.ts +0 -26
- lodash/lang/isNil.d.ts +0 -37
- lodash/lang/isNull.d.ts +0 -26
- lodash/lang/isNumber.d.ts +0 -28
- lodash/lang/isObject.d.ts +0 -27
- lodash/lang/isObjectLike.d.ts +0 -41
- lodash/lang/isPlainObject.d.ts +0 -29
- lodash/lang/isRegExp.d.ts +0 -26
- lodash/lang/isSafeInteger.d.ts +0 -43
- lodash/lang/isSet.d.ts +0 -26
- lodash/lang/isString.d.ts +0 -26
- lodash/lang/isSymbol.d.ts +0 -34
- lodash/lang/isTypedArray.d.ts +0 -26
- lodash/lang/isUndefined.d.ts +0 -26
- lodash/lang/isWeakMap.d.ts +0 -26
- lodash/lang/isWeakSet.d.ts +0 -26
- lodash/lang/lt.d.ts +0 -30
- lodash/lang/lte.d.ts +0 -30
- lodash/lang/toArray.d.ts +0 -46
- lodash/lang/toFinite.d.ts +0 -41
- lodash/lang/toInteger.d.ts +0 -42
- lodash/lang/toLength.d.ts +0 -43
- lodash/lang/toNumber.d.ts +0 -40
- lodash/lang/toPlainObject.d.ts +0 -27
- lodash/lang/toSafeInteger.d.ts +0 -41
- lodash/lang/toString.d.ts +0 -24
- lodash/math/add.d.ts +0 -30
- lodash/math/ceil.d.ts +0 -30
- lodash/math/divide.d.ts +0 -30
- lodash/math/floor.d.ts +0 -30
- lodash/math/max.d.ts +0 -30
- lodash/math/maxBy.d.ts +0 -49
- lodash/math/mean.d.ts +0 -33
- lodash/math/meanBy.d.ts +0 -41
- lodash/math/min.d.ts +0 -30
- lodash/math/minBy.d.ts +0 -49
- lodash/math/multiply.d.ts +0 -29
- lodash/math/round.d.ts +0 -30
- lodash/math/subtract.d.ts +0 -39
- lodash/math/sum.d.ts +0 -31
- lodash/math/sumBy.d.ts +0 -53
- lodash/number/clamp.d.ts +0 -56
- lodash/number/inRange.d.ts +0 -39
- lodash/object/assign.d.ts +0 -172
- lodash/object/assignIn.d.ts +0 -171
- lodash/object/assignInWith.d.ts +0 -183
- lodash/object/assignWith.d.ts +0 -180
- lodash/object/at.d.ts +0 -61
- lodash/object/create.d.ts +0 -31
- lodash/object/defaults.d.ts +0 -155
- lodash/object/defaultsDeep.d.ts +0 -28
- lodash/object/entries.d.ts +0 -38
- lodash/object/entriesIn.d.ts +0 -38
- lodash/object/extend.d.ts +0 -147
- lodash/object/extendWith.d.ts +0 -159
- lodash/object/findKey.d.ts +0 -47
- lodash/object/findLastKey.d.ts +0 -46
- lodash/object/forIn.d.ts +0 -37
- lodash/object/forInRight.d.ts +0 -35
- lodash/object/forOwn.d.ts +0 -37
- lodash/object/forOwnRight.d.ts +0 -35
- lodash/object/functions.d.ts +0 -39
- lodash/object/functionsIn.d.ts +0 -39
- lodash/object/get.d.ts +0 -238
- lodash/object/has.d.ts +0 -47
- lodash/object/hasIn.d.ts +0 -46
- lodash/object/invert.d.ts +0 -30
- lodash/object/invertBy.d.ts +0 -62
- lodash/object/invoke.d.ts +0 -33
- lodash/object/keys.d.ts +0 -28
- lodash/object/keysIn.d.ts +0 -28
- lodash/object/mapKeys.d.ts +0 -86
- lodash/object/mapValues.d.ts +0 -189
- lodash/object/merge.d.ts +0 -156
- lodash/object/mergeWith.d.ts +0 -133
- lodash/object/omit.d.ts +0 -69
- lodash/object/omitBy.d.ts +0 -45
- lodash/object/pick.d.ts +0 -68
- lodash/object/pickBy.d.ts +0 -44
- lodash/object/result.d.ts +0 -39
- lodash/object/set.d.ts +0 -65
- lodash/object/setWith.d.ts +0 -71
- lodash/object/toPairs.d.ts +0 -41
- lodash/object/toPairsIn.d.ts +0 -41
- lodash/object/transform.d.ts +0 -163
- lodash/object/unset.d.ts +0 -32
- lodash/object/update.d.ts +0 -39
- lodash/object/updateWith.d.ts +0 -83
- lodash/object/values.d.ts +0 -56
- lodash/object/valuesIn.d.ts +0 -41
- lodash/seq/chain.d.ts +0 -26
- lodash/seq/prototype.at.d.ts +0 -12
- lodash/seq/prototype.chain.d.ts +0 -26
- lodash/seq/prototype.commit.d.ts +0 -11
- lodash/seq/prototype.plant.d.ts +0 -18
- lodash/seq/prototype.reverse.d.ts +0 -14
- lodash/seq/prototype.toJSON.d.ts +0 -9
- lodash/seq/prototype.toString.d.ts +0 -11
- lodash/seq/prototype.value.d.ts +0 -13
- lodash/seq/prototype.valueOf.d.ts +0 -9
- lodash/seq/tap.d.ts +0 -28
- lodash/seq/thru.d.ts +0 -31
- lodash/string/camelCase.d.ts +0 -26
- lodash/string/capitalize.d.ts +0 -26
- lodash/string/deburr.d.ts +0 -27
- lodash/string/endsWith.d.ts +0 -38
- lodash/string/escape.d.ts +0 -37
- lodash/string/escapeRegExp.d.ts +0 -27
- lodash/string/kebabCase.d.ts +0 -26
- lodash/string/lowerCase.d.ts +0 -26
- lodash/string/lowerFirst.d.ts +0 -26
- lodash/string/pad.d.ts +0 -39
- lodash/string/padEnd.d.ts +0 -39
- lodash/string/padStart.d.ts +0 -39
- lodash/string/parseInt.d.ts +0 -33
- lodash/string/repeat.d.ts +0 -32
- lodash/string/replace.d.ts +0 -59
- lodash/string/snakeCase.d.ts +0 -26
- lodash/string/split.d.ts +0 -56
- lodash/string/startCase.d.ts +0 -26
- lodash/string/startsWith.d.ts +0 -38
- lodash/string/template.d.ts +0 -61
- lodash/string/toLower.d.ts +0 -26
- lodash/string/toUpper.d.ts +0 -26
- lodash/string/trim.d.ts +0 -44
- lodash/string/trimEnd.d.ts +0 -44
- lodash/string/trimStart.d.ts +0 -44
- lodash/string/truncate.d.ts +0 -40
- lodash/string/unescape.d.ts +0 -30
- lodash/string/upperCase.d.ts +0 -26
- lodash/string/upperFirst.d.ts +0 -26
- lodash/string/words.d.ts +0 -44
- lodash/util/attempt.d.ts +0 -27
- lodash/util/bindAll.d.ts +0 -28
- lodash/util/cond.d.ts +0 -33
- lodash/util/conforms.d.ts +0 -28
- lodash/util/constant.d.ts +0 -26
- lodash/util/defaultTo.d.ts +0 -53
- lodash/util/flow.d.ts +0 -171
- lodash/util/flowRight.d.ts +0 -156
- lodash/util/identity.d.ts +0 -31
- lodash/util/iteratee.d.ts +0 -58
- lodash/util/matches.d.ts +0 -36
- lodash/util/matchesProperty.d.ts +0 -59
- lodash/util/method.d.ts +0 -31
- lodash/util/methodOf.d.ts +0 -35
- lodash/util/mixin.d.ts +0 -69
- lodash/util/noConflict.d.ts +0 -25
- lodash/util/noop.d.ts +0 -25
- lodash/util/nthArg.d.ts +0 -26
- lodash/util/over.d.ts +0 -33
- lodash/util/overEvery.d.ts +0 -27
- lodash/util/overSome.d.ts +0 -27
- lodash/util/property.d.ts +0 -26
- lodash/util/propertyOf.d.ts +0 -27
- lodash/util/range.d.ts +0 -56
- lodash/util/rangeRight.d.ts +0 -77
- lodash/util/runInContext.d.ts +0 -19
- lodash/util/stubArray.d.ts +0 -25
- lodash/util/stubFalse.d.ts +0 -25
- lodash/util/stubObject.d.ts +0 -25
- lodash/util/stubString.d.ts +0 -25
- lodash/util/stubTrue.d.ts +0 -25
- lodash/util/times.d.ts +0 -50
- lodash/util/toPath.d.ts +0 -43
- lodash/util/uniqueId.d.ts +0 -26
lodash/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
// Definitions by: Brian Zengel <https://github.com/bczengel>,
|
|
4
4
|
// Ilya Mochalov <https://github.com/chrootsu>,
|
|
5
5
|
// Stepan Mikhaylyuk <https://github.com/stepancar>,
|
|
6
|
-
// Eric L Anderson <https://github.com/ericanderson>,
|
|
7
6
|
// AJ Richardson <https://github.com/aj-r>,
|
|
8
7
|
// Junyoung Clare Jang <https://github.com/ailrun>,
|
|
9
8
|
// e-cloud <https://github.com/e-cloud>,
|
|
@@ -13,344 +12,18 @@
|
|
|
13
12
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
14
13
|
// TypeScript Version: 2.2
|
|
15
14
|
|
|
16
|
-
// common
|
|
17
15
|
/// <reference path="./common/common.d.ts" />
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/// <reference path="./
|
|
21
|
-
/// <reference path="./
|
|
22
|
-
/// <reference path="./
|
|
23
|
-
/// <reference path="./
|
|
24
|
-
/// <reference path="./
|
|
25
|
-
/// <reference path="./
|
|
26
|
-
/// <reference path="./
|
|
27
|
-
/// <reference path="./
|
|
28
|
-
/// <reference path="./
|
|
29
|
-
/// <reference path="./array/dropWhile.d.ts" />
|
|
30
|
-
/// <reference path="./array/fill.d.ts" />
|
|
31
|
-
/// <reference path="./array/findIndex.d.ts" />
|
|
32
|
-
/// <reference path="./array/findLastIndex.d.ts" />
|
|
33
|
-
/// <reference path="./array/first.d.ts" />
|
|
34
|
-
/// <reference path="./array/flatten.d.ts" />
|
|
35
|
-
/// <reference path="./array/flattenDeep.d.ts" />
|
|
36
|
-
/// <reference path="./array/flattenDepth.d.ts" />
|
|
37
|
-
/// <reference path="./array/fromPairs.d.ts" />
|
|
38
|
-
/// <reference path="./array/head.d.ts" />
|
|
39
|
-
/// <reference path="./array/indexOf.d.ts" />
|
|
40
|
-
/// <reference path="./array/initial.d.ts" />
|
|
41
|
-
/// <reference path="./array/intersection.d.ts" />
|
|
42
|
-
/// <reference path="./array/intersectionBy.d.ts" />
|
|
43
|
-
/// <reference path="./array/intersectionWith.d.ts" />
|
|
44
|
-
/// <reference path="./array/join.d.ts" />
|
|
45
|
-
/// <reference path="./array/last.d.ts" />
|
|
46
|
-
/// <reference path="./array/lastIndexOf.d.ts" />
|
|
47
|
-
/// <reference path="./array/nth.d.ts" />
|
|
48
|
-
/// <reference path="./array/pull.d.ts" />
|
|
49
|
-
/// <reference path="./array/pullAll.d.ts" />
|
|
50
|
-
/// <reference path="./array/pullAllBy.d.ts" />
|
|
51
|
-
/// <reference path="./array/pullAllWith.d.ts" />
|
|
52
|
-
/// <reference path="./array/pullAt.d.ts" />
|
|
53
|
-
/// <reference path="./array/remove.d.ts" />
|
|
54
|
-
/// <reference path="./array/reverse.d.ts" />
|
|
55
|
-
/// <reference path="./array/slice.d.ts" />
|
|
56
|
-
/// <reference path="./array/sortedIndex.d.ts" />
|
|
57
|
-
/// <reference path="./array/sortedIndexBy.d.ts" />
|
|
58
|
-
/// <reference path="./array/sortedIndexOf.d.ts" />
|
|
59
|
-
/// <reference path="./array/sortedLastIndex.d.ts" />
|
|
60
|
-
/// <reference path="./array/sortedLastIndexBy.d.ts" />
|
|
61
|
-
/// <reference path="./array/sortedLastIndexOf.d.ts" />
|
|
62
|
-
/// <reference path="./array/sortedUniq.d.ts" />
|
|
63
|
-
/// <reference path="./array/sortedUniqBy.d.ts" />
|
|
64
|
-
/// <reference path="./array/tail.d.ts" />
|
|
65
|
-
/// <reference path="./array/take.d.ts" />
|
|
66
|
-
/// <reference path="./array/takeRight.d.ts" />
|
|
67
|
-
/// <reference path="./array/takeRightWhile.d.ts" />
|
|
68
|
-
/// <reference path="./array/takeWhile.d.ts" />
|
|
69
|
-
/// <reference path="./array/union.d.ts" />
|
|
70
|
-
/// <reference path="./array/unionBy.d.ts" />
|
|
71
|
-
/// <reference path="./array/unionWith.d.ts" />
|
|
72
|
-
/// <reference path="./array/uniq.d.ts" />
|
|
73
|
-
/// <reference path="./array/uniqBy.d.ts" />
|
|
74
|
-
/// <reference path="./array/uniqWith.d.ts" />
|
|
75
|
-
/// <reference path="./array/unzip.d.ts" />
|
|
76
|
-
/// <reference path="./array/unzipWith.d.ts" />
|
|
77
|
-
/// <reference path="./array/without.d.ts" />
|
|
78
|
-
/// <reference path="./array/xor.d.ts" />
|
|
79
|
-
/// <reference path="./array/xorBy.d.ts" />
|
|
80
|
-
/// <reference path="./array/xorWith.d.ts" />
|
|
81
|
-
/// <reference path="./array/zip.d.ts" />
|
|
82
|
-
/// <reference path="./array/zipObject.d.ts" />
|
|
83
|
-
/// <reference path="./array/zipObjectDeep.d.ts" />
|
|
84
|
-
/// <reference path="./array/zipWith.d.ts" />
|
|
85
|
-
|
|
86
|
-
// collection
|
|
87
|
-
/// <reference path="./collection/countBy.d.ts" />
|
|
88
|
-
/// <reference path="./collection/each.d.ts" />
|
|
89
|
-
/// <reference path="./collection/eachRight.d.ts" />
|
|
90
|
-
/// <reference path="./collection/every.d.ts" />
|
|
91
|
-
/// <reference path="./collection/filter.d.ts" />
|
|
92
|
-
/// <reference path="./collection/find.d.ts" />
|
|
93
|
-
/// <reference path="./collection/findLast.d.ts" />
|
|
94
|
-
/// <reference path="./collection/flatMap.d.ts" />
|
|
95
|
-
/// <reference path="./collection/flatMapDeep.d.ts" />
|
|
96
|
-
/// <reference path="./collection/flatMapDepth.d.ts" />
|
|
97
|
-
/// <reference path="./collection/forEach.d.ts" />
|
|
98
|
-
/// <reference path="./collection/forEachRight.d.ts" />
|
|
99
|
-
/// <reference path="./collection/groupBy.d.ts" />
|
|
100
|
-
/// <reference path="./collection/includes.d.ts" />
|
|
101
|
-
/// <reference path="./collection/invokeMap.d.ts" />
|
|
102
|
-
/// <reference path="./collection/keyBy.d.ts" />
|
|
103
|
-
/// <reference path="./collection/map.d.ts" />
|
|
104
|
-
/// <reference path="./collection/orderBy.d.ts" />
|
|
105
|
-
/// <reference path="./collection/partition.d.ts" />
|
|
106
|
-
/// <reference path="./collection/reduce.d.ts" />
|
|
107
|
-
/// <reference path="./collection/reduceRight.d.ts" />
|
|
108
|
-
/// <reference path="./collection/reject.d.ts" />
|
|
109
|
-
/// <reference path="./collection/sample.d.ts" />
|
|
110
|
-
/// <reference path="./collection/sampleSize.d.ts" />
|
|
111
|
-
/// <reference path="./collection/shuffle.d.ts" />
|
|
112
|
-
/// <reference path="./collection/size.d.ts" />
|
|
113
|
-
/// <reference path="./collection/some.d.ts" />
|
|
114
|
-
/// <reference path="./collection/sortBy.d.ts" />
|
|
115
|
-
|
|
116
|
-
// date
|
|
117
|
-
/// <reference path="./date/now.d.ts" />
|
|
118
|
-
|
|
119
|
-
// function
|
|
120
|
-
/// <reference path="./function/after.d.ts" />
|
|
121
|
-
/// <reference path="./function/ary.d.ts" />
|
|
122
|
-
/// <reference path="./function/before.d.ts" />
|
|
123
|
-
/// <reference path="./function/bind.d.ts" />
|
|
124
|
-
/// <reference path="./function/bindKey.d.ts" />
|
|
125
|
-
/// <reference path="./function/curry.d.ts" />
|
|
126
|
-
/// <reference path="./function/curryRight.d.ts" />
|
|
127
|
-
/// <reference path="./function/debounce.d.ts" />
|
|
128
|
-
/// <reference path="./function/defer.d.ts" />
|
|
129
|
-
/// <reference path="./function/delay.d.ts" />
|
|
130
|
-
/// <reference path="./function/flip.d.ts" />
|
|
131
|
-
/// <reference path="./function/memoize.d.ts" />
|
|
132
|
-
/// <reference path="./function/negate.d.ts" />
|
|
133
|
-
/// <reference path="./function/once.d.ts" />
|
|
134
|
-
/// <reference path="./function/overArgs.d.ts" />
|
|
135
|
-
/// <reference path="./function/partial.d.ts" />
|
|
136
|
-
/// <reference path="./function/partialRight.d.ts" />
|
|
137
|
-
/// <reference path="./function/rearg.d.ts" />
|
|
138
|
-
/// <reference path="./function/rest.d.ts" />
|
|
139
|
-
/// <reference path="./function/spread.d.ts" />
|
|
140
|
-
/// <reference path="./function/throttle.d.ts" />
|
|
141
|
-
/// <reference path="./function/unary.d.ts" />
|
|
142
|
-
/// <reference path="./function/wrap.d.ts" />
|
|
143
|
-
|
|
144
|
-
// lang
|
|
145
|
-
/// <reference path="./lang/castArray.d.ts" />
|
|
146
|
-
/// <reference path="./lang/clone.d.ts" />
|
|
147
|
-
/// <reference path="./lang/cloneDeep.d.ts" />
|
|
148
|
-
/// <reference path="./lang/cloneDeepWith.d.ts" />
|
|
149
|
-
/// <reference path="./lang/cloneWith.d.ts" />
|
|
150
|
-
/// <reference path="./lang/conformsTo.d.ts" />
|
|
151
|
-
/// <reference path="./lang/eq.d.ts" />
|
|
152
|
-
/// <reference path="./lang/gt.d.ts" />
|
|
153
|
-
/// <reference path="./lang/gte.d.ts" />
|
|
154
|
-
/// <reference path="./lang/isArguments.d.ts" />
|
|
155
|
-
/// <reference path="./lang/isArray.d.ts" />
|
|
156
|
-
/// <reference path="./lang/isArrayBuffer.d.ts" />
|
|
157
|
-
/// <reference path="./lang/isArrayLike.d.ts" />
|
|
158
|
-
/// <reference path="./lang/isArrayLikeObject.d.ts" />
|
|
159
|
-
/// <reference path="./lang/isBoolean.d.ts" />
|
|
160
|
-
/// <reference path="./lang/isBuffer.d.ts" />
|
|
161
|
-
/// <reference path="./lang/isDate.d.ts" />
|
|
162
|
-
/// <reference path="./lang/isElement.d.ts" />
|
|
163
|
-
/// <reference path="./lang/isEmpty.d.ts" />
|
|
164
|
-
/// <reference path="./lang/isEqual.d.ts" />
|
|
165
|
-
/// <reference path="./lang/isEqualWith.d.ts" />
|
|
166
|
-
/// <reference path="./lang/isError.d.ts" />
|
|
167
|
-
/// <reference path="./lang/isFinite.d.ts" />
|
|
168
|
-
/// <reference path="./lang/isFunction.d.ts" />
|
|
169
|
-
/// <reference path="./lang/isInteger.d.ts" />
|
|
170
|
-
/// <reference path="./lang/isLength.d.ts" />
|
|
171
|
-
/// <reference path="./lang/isMap.d.ts" />
|
|
172
|
-
/// <reference path="./lang/isMatch.d.ts" />
|
|
173
|
-
/// <reference path="./lang/isMatchWith.d.ts" />
|
|
174
|
-
/// <reference path="./lang/isNaN.d.ts" />
|
|
175
|
-
/// <reference path="./lang/isNative.d.ts" />
|
|
176
|
-
/// <reference path="./lang/isNil.d.ts" />
|
|
177
|
-
/// <reference path="./lang/isNull.d.ts" />
|
|
178
|
-
/// <reference path="./lang/isNumber.d.ts" />
|
|
179
|
-
/// <reference path="./lang/isObject.d.ts" />
|
|
180
|
-
/// <reference path="./lang/isObjectLike.d.ts" />
|
|
181
|
-
/// <reference path="./lang/isPlainObject.d.ts" />
|
|
182
|
-
/// <reference path="./lang/isRegExp.d.ts" />
|
|
183
|
-
/// <reference path="./lang/isSafeInteger.d.ts" />
|
|
184
|
-
/// <reference path="./lang/isSet.d.ts" />
|
|
185
|
-
/// <reference path="./lang/isString.d.ts" />
|
|
186
|
-
/// <reference path="./lang/isSymbol.d.ts" />
|
|
187
|
-
/// <reference path="./lang/isTypedArray.d.ts" />
|
|
188
|
-
/// <reference path="./lang/isUndefined.d.ts" />
|
|
189
|
-
/// <reference path="./lang/isWeakMap.d.ts" />
|
|
190
|
-
/// <reference path="./lang/isWeakSet.d.ts" />
|
|
191
|
-
/// <reference path="./lang/lt.d.ts" />
|
|
192
|
-
/// <reference path="./lang/lte.d.ts" />
|
|
193
|
-
/// <reference path="./lang/toArray.d.ts" />
|
|
194
|
-
/// <reference path="./lang/toFinite.d.ts" />
|
|
195
|
-
/// <reference path="./lang/toInteger.d.ts" />
|
|
196
|
-
/// <reference path="./lang/toLength.d.ts" />
|
|
197
|
-
/// <reference path="./lang/toNumber.d.ts" />
|
|
198
|
-
/// <reference path="./lang/toPlainObject.d.ts" />
|
|
199
|
-
/// <reference path="./lang/toSafeInteger.d.ts" />
|
|
200
|
-
/// <reference path="./lang/toString.d.ts" />
|
|
201
|
-
|
|
202
|
-
// math
|
|
203
|
-
/// <reference path="./math/add.d.ts" />
|
|
204
|
-
/// <reference path="./math/ceil.d.ts" />
|
|
205
|
-
/// <reference path="./math/divide.d.ts" />
|
|
206
|
-
/// <reference path="./math/floor.d.ts" />
|
|
207
|
-
/// <reference path="./math/max.d.ts" />
|
|
208
|
-
/// <reference path="./math/maxBy.d.ts" />
|
|
209
|
-
/// <reference path="./math/mean.d.ts" />
|
|
210
|
-
/// <reference path="./math/meanBy.d.ts" />
|
|
211
|
-
/// <reference path="./math/min.d.ts" />
|
|
212
|
-
/// <reference path="./math/minBy.d.ts" />
|
|
213
|
-
/// <reference path="./math/multiply.d.ts" />
|
|
214
|
-
/// <reference path="./math/round.d.ts" />
|
|
215
|
-
/// <reference path="./math/subtract.d.ts" />
|
|
216
|
-
/// <reference path="./math/sum.d.ts" />
|
|
217
|
-
/// <reference path="./math/sumBy.d.ts" />
|
|
218
|
-
|
|
219
|
-
// number
|
|
220
|
-
/// <reference path="./number/clamp.d.ts" />
|
|
221
|
-
/// <reference path="./number/inRange.d.ts" />
|
|
222
|
-
/// <reference path="./number/random.d.ts" />
|
|
223
|
-
|
|
224
|
-
// object
|
|
225
|
-
/// <reference path="./object/assign.d.ts" />
|
|
226
|
-
/// <reference path="./object/assignIn.d.ts" />
|
|
227
|
-
/// <reference path="./object/assignInWith.d.ts" />
|
|
228
|
-
/// <reference path="./object/assignWith.d.ts" />
|
|
229
|
-
/// <reference path="./object/at.d.ts" />
|
|
230
|
-
/// <reference path="./object/create.d.ts" />
|
|
231
|
-
/// <reference path="./object/defaults.d.ts" />
|
|
232
|
-
/// <reference path="./object/defaultsDeep.d.ts" />
|
|
233
|
-
/// <reference path="./object/entries.d.ts" />
|
|
234
|
-
/// <reference path="./object/entriesIn.d.ts" />
|
|
235
|
-
/// <reference path="./object/extend.d.ts" />
|
|
236
|
-
/// <reference path="./object/extendWith.d.ts" />
|
|
237
|
-
/// <reference path="./object/findKey.d.ts" />
|
|
238
|
-
/// <reference path="./object/findLastKey.d.ts" />
|
|
239
|
-
/// <reference path="./object/forIn.d.ts" />
|
|
240
|
-
/// <reference path="./object/forInRight.d.ts" />
|
|
241
|
-
/// <reference path="./object/forOwn.d.ts" />
|
|
242
|
-
/// <reference path="./object/forOwnRight.d.ts" />
|
|
243
|
-
/// <reference path="./object/functions.d.ts" />
|
|
244
|
-
/// <reference path="./object/functionsIn.d.ts" />
|
|
245
|
-
/// <reference path="./object/get.d.ts" />
|
|
246
|
-
/// <reference path="./object/has.d.ts" />
|
|
247
|
-
/// <reference path="./object/hasIn.d.ts" />
|
|
248
|
-
/// <reference path="./object/invert.d.ts" />
|
|
249
|
-
/// <reference path="./object/invertBy.d.ts" />
|
|
250
|
-
/// <reference path="./object/invoke.d.ts" />
|
|
251
|
-
/// <reference path="./object/keys.d.ts" />
|
|
252
|
-
/// <reference path="./object/keysIn.d.ts" />
|
|
253
|
-
/// <reference path="./object/mapKeys.d.ts" />
|
|
254
|
-
/// <reference path="./object/mapValues.d.ts" />
|
|
255
|
-
/// <reference path="./object/merge.d.ts" />
|
|
256
|
-
/// <reference path="./object/mergeWith.d.ts" />
|
|
257
|
-
/// <reference path="./object/omit.d.ts" />
|
|
258
|
-
/// <reference path="./object/omitBy.d.ts" />
|
|
259
|
-
/// <reference path="./object/pick.d.ts" />
|
|
260
|
-
/// <reference path="./object/pickBy.d.ts" />
|
|
261
|
-
/// <reference path="./object/result.d.ts" />
|
|
262
|
-
/// <reference path="./object/set.d.ts" />
|
|
263
|
-
/// <reference path="./object/setWith.d.ts" />
|
|
264
|
-
/// <reference path="./object/toPairs.d.ts" />
|
|
265
|
-
/// <reference path="./object/toPairsIn.d.ts" />
|
|
266
|
-
/// <reference path="./object/transform.d.ts" />
|
|
267
|
-
/// <reference path="./object/unset.d.ts" />
|
|
268
|
-
/// <reference path="./object/update.d.ts" />
|
|
269
|
-
/// <reference path="./object/updateWith.d.ts" />
|
|
270
|
-
/// <reference path="./object/values.d.ts" />
|
|
271
|
-
/// <reference path="./object/valuesIn.d.ts" />
|
|
272
|
-
|
|
273
|
-
// _
|
|
274
|
-
/// <reference path="./seq/chain.d.ts" />
|
|
275
|
-
/// <reference path="./seq/tap.d.ts" />
|
|
276
|
-
/// <reference path="./seq/thru.d.ts" />
|
|
277
|
-
/// <reference path="./seq/prototype.at.d.ts" />
|
|
278
|
-
/// <reference path="./seq/prototype.chain.d.ts" />
|
|
279
|
-
/// <reference path="./seq/prototype.commit.d.ts" />
|
|
280
|
-
/// <reference path="./seq/prototype.plant.d.ts" />
|
|
281
|
-
/// <reference path="./seq/prototype.reverse.d.ts" />
|
|
282
|
-
/// <reference path="./seq/prototype.toJSON.d.ts" />
|
|
283
|
-
/// <reference path="./seq/prototype.toString.d.ts" />
|
|
284
|
-
/// <reference path="./seq/prototype.value.d.ts" />
|
|
285
|
-
/// <reference path="./seq/prototype.valueOf.d.ts" />
|
|
286
|
-
|
|
287
|
-
// string
|
|
288
|
-
/// <reference path="./string/camelCase.d.ts" />
|
|
289
|
-
/// <reference path="./string/capitalize.d.ts" />
|
|
290
|
-
/// <reference path="./string/deburr.d.ts" />
|
|
291
|
-
/// <reference path="./string/endsWith.d.ts" />
|
|
292
|
-
/// <reference path="./string/escape.d.ts" />
|
|
293
|
-
/// <reference path="./string/escapeRegExp.d.ts" />
|
|
294
|
-
/// <reference path="./string/kebabCase.d.ts" />
|
|
295
|
-
/// <reference path="./string/lowerCase.d.ts" />
|
|
296
|
-
/// <reference path="./string/lowerFirst.d.ts" />
|
|
297
|
-
/// <reference path="./string/pad.d.ts" />
|
|
298
|
-
/// <reference path="./string/padEnd.d.ts" />
|
|
299
|
-
/// <reference path="./string/padStart.d.ts" />
|
|
300
|
-
/// <reference path="./string/parseInt.d.ts" />
|
|
301
|
-
/// <reference path="./string/repeat.d.ts" />
|
|
302
|
-
/// <reference path="./string/replace.d.ts" />
|
|
303
|
-
/// <reference path="./string/snakeCase.d.ts" />
|
|
304
|
-
/// <reference path="./string/split.d.ts" />
|
|
305
|
-
/// <reference path="./string/startCase.d.ts" />
|
|
306
|
-
/// <reference path="./string/startsWith.d.ts" />
|
|
307
|
-
/// <reference path="./string/template.d.ts" />
|
|
308
|
-
/// <reference path="./string/toLower.d.ts" />
|
|
309
|
-
/// <reference path="./string/toUpper.d.ts" />
|
|
310
|
-
/// <reference path="./string/trim.d.ts" />
|
|
311
|
-
/// <reference path="./string/trimEnd.d.ts" />
|
|
312
|
-
/// <reference path="./string/trimStart.d.ts" />
|
|
313
|
-
/// <reference path="./string/truncate.d.ts" />
|
|
314
|
-
/// <reference path="./string/unescape.d.ts" />
|
|
315
|
-
/// <reference path="./string/upperCase.d.ts" />
|
|
316
|
-
/// <reference path="./string/upperFirst.d.ts" />
|
|
317
|
-
/// <reference path="./string/words.d.ts" />
|
|
318
|
-
|
|
319
|
-
// util
|
|
320
|
-
/// <reference path="./util/attempt.d.ts" />
|
|
321
|
-
/// <reference path="./util/bindAll.d.ts" />
|
|
322
|
-
/// <reference path="./util/cond.d.ts" />
|
|
323
|
-
/// <reference path="./util/conforms.d.ts" />
|
|
324
|
-
/// <reference path="./util/constant.d.ts" />
|
|
325
|
-
/// <reference path="./util/defaultTo.d.ts" />
|
|
326
|
-
/// <reference path="./util/flow.d.ts" />
|
|
327
|
-
/// <reference path="./util/flowRight.d.ts" />
|
|
328
|
-
/// <reference path="./util/identity.d.ts" />
|
|
329
|
-
/// <reference path="./util/iteratee.d.ts" />
|
|
330
|
-
/// <reference path="./util/matches.d.ts" />
|
|
331
|
-
/// <reference path="./util/matchesProperty.d.ts" />
|
|
332
|
-
/// <reference path="./util/method.d.ts" />
|
|
333
|
-
/// <reference path="./util/methodOf.d.ts" />
|
|
334
|
-
/// <reference path="./util/mixin.d.ts" />
|
|
335
|
-
/// <reference path="./util/noConflict.d.ts" />
|
|
336
|
-
/// <reference path="./util/noop.d.ts" />
|
|
337
|
-
/// <reference path="./util/nthArg.d.ts" />
|
|
338
|
-
/// <reference path="./util/over.d.ts" />
|
|
339
|
-
/// <reference path="./util/overEvery.d.ts" />
|
|
340
|
-
/// <reference path="./util/overSome.d.ts" />
|
|
341
|
-
/// <reference path="./util/property.d.ts" />
|
|
342
|
-
/// <reference path="./util/propertyOf.d.ts" />
|
|
343
|
-
/// <reference path="./util/range.d.ts" />
|
|
344
|
-
/// <reference path="./util/rangeRight.d.ts" />
|
|
345
|
-
/// <reference path="./util/runInContext.d.ts" />
|
|
346
|
-
/// <reference path="./util/stubArray.d.ts" />
|
|
347
|
-
/// <reference path="./util/stubFalse.d.ts" />
|
|
348
|
-
/// <reference path="./util/stubObject.d.ts" />
|
|
349
|
-
/// <reference path="./util/stubString.d.ts" />
|
|
350
|
-
/// <reference path="./util/stubTrue.d.ts" />
|
|
351
|
-
/// <reference path="./util/times.d.ts" />
|
|
352
|
-
/// <reference path="./util/toPath.d.ts" />
|
|
353
|
-
/// <reference path="./util/uniqueId.d.ts" />
|
|
16
|
+
/// <reference path="./common/array.d.ts" />
|
|
17
|
+
/// <reference path="./common/collection.d.ts" />
|
|
18
|
+
/// <reference path="./common/date.d.ts" />
|
|
19
|
+
/// <reference path="./common/function.d.ts" />
|
|
20
|
+
/// <reference path="./common/lang.d.ts" />
|
|
21
|
+
/// <reference path="./common/math.d.ts" />
|
|
22
|
+
/// <reference path="./common/number.d.ts" />
|
|
23
|
+
/// <reference path="./common/object.d.ts" />
|
|
24
|
+
/// <reference path="./common/seq.d.ts" />
|
|
25
|
+
/// <reference path="./common/string.d.ts" />
|
|
26
|
+
/// <reference path="./common/util.d.ts" />
|
|
354
27
|
|
|
355
28
|
export = _;
|
|
356
29
|
export as namespace _;
|
lodash/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/lodash",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.104",
|
|
4
4
|
"description": "TypeScript definitions for Lo-Dash",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -19,11 +19,6 @@
|
|
|
19
19
|
"url": "https://github.com/stepancar",
|
|
20
20
|
"githubUsername": "stepancar"
|
|
21
21
|
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Eric L Anderson",
|
|
24
|
-
"url": "https://github.com/ericanderson",
|
|
25
|
-
"githubUsername": "ericanderson"
|
|
26
|
-
},
|
|
27
22
|
{
|
|
28
23
|
"name": "AJ Richardson",
|
|
29
24
|
"url": "https://github.com/aj-r",
|
|
@@ -62,6 +57,6 @@
|
|
|
62
57
|
},
|
|
63
58
|
"scripts": {},
|
|
64
59
|
"dependencies": {},
|
|
65
|
-
"typesPublisherContentHash": "
|
|
60
|
+
"typesPublisherContentHash": "c36738a623ac109215d6490f59bd1353f53841adaf45cf1a63b6415b5ba96bf5",
|
|
66
61
|
"typeScriptVersion": "2.2"
|
|
67
62
|
}
|
lodash/array/chunk.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates an array of elements split into groups the length of size. If collection can’t be split evenly, the
|
|
6
|
-
* final chunk will be the remaining elements.
|
|
7
|
-
*
|
|
8
|
-
* @param array The array to process.
|
|
9
|
-
* @param size The length of each chunk.
|
|
10
|
-
* @return Returns the new array containing chunks.
|
|
11
|
-
*/
|
|
12
|
-
chunk<T>(
|
|
13
|
-
array: List<T> | null | undefined,
|
|
14
|
-
size?: number
|
|
15
|
-
): T[][];
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
19
|
-
/**
|
|
20
|
-
* @see _.chunk
|
|
21
|
-
*/
|
|
22
|
-
chunk<T>(
|
|
23
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
24
|
-
size?: number,
|
|
25
|
-
): LoDashImplicitWrapper<T[][]>;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
29
|
-
/**
|
|
30
|
-
* @see _.chunk
|
|
31
|
-
*/
|
|
32
|
-
chunk<T>(
|
|
33
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
34
|
-
size?: number,
|
|
35
|
-
): LoDashExplicitWrapper<T[][]>;
|
|
36
|
-
}
|
|
37
|
-
}
|
lodash/array/compact.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates an array with all falsey values removed. The values false, null, 0, "", undefined, and NaN are
|
|
6
|
-
* falsey.
|
|
7
|
-
*
|
|
8
|
-
* @param array The array to compact.
|
|
9
|
-
* @return Returns the new array of filtered values.
|
|
10
|
-
*/
|
|
11
|
-
compact<T>(array: List<T | null | undefined | false | "" | 0> | null | undefined): T[];
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
15
|
-
/**
|
|
16
|
-
* @see _.compact
|
|
17
|
-
*/
|
|
18
|
-
compact<T>(this: LoDashImplicitWrapper<List<T | null | undefined | false | "" | 0> | null | undefined>): LoDashImplicitWrapper<T[]>;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
22
|
-
/**
|
|
23
|
-
* @see _.compact
|
|
24
|
-
*/
|
|
25
|
-
compact<T>(this: LoDashExplicitWrapper<List<T | null | undefined | false | "" | 0> | null | undefined>): LoDashExplicitWrapper<T[]>;
|
|
26
|
-
}
|
|
27
|
-
}
|
lodash/array/concat.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates a new array concatenating `array` with any additional arrays
|
|
6
|
-
* and/or values.
|
|
7
|
-
*
|
|
8
|
-
* @category Array
|
|
9
|
-
* @param array The array to concatenate.
|
|
10
|
-
* @param [values] The values to concatenate.
|
|
11
|
-
* @returns Returns the new concatenated array.
|
|
12
|
-
* @example
|
|
13
|
-
*
|
|
14
|
-
* var array = [1];
|
|
15
|
-
* var other = _.concat(array, 2, [3], [[4]]);
|
|
16
|
-
*
|
|
17
|
-
* console.log(other);
|
|
18
|
-
* // => [1, 2, 3, [4]]
|
|
19
|
-
*
|
|
20
|
-
* console.log(array);
|
|
21
|
-
* // => [1]
|
|
22
|
-
*/
|
|
23
|
-
concat<T>(array: Many<T>, ...values: Array<Many<T>>): T[];
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
27
|
-
/**
|
|
28
|
-
* @see _.compact
|
|
29
|
-
*/
|
|
30
|
-
concat<T>(this: LoDashImplicitWrapper<Many<T>>, ...values: Array<Many<T>>): LoDashImplicitWrapper<T[]>;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
34
|
-
/**
|
|
35
|
-
* @see _.compact
|
|
36
|
-
*/
|
|
37
|
-
concat<T>(this: LoDashExplicitWrapper<Many<T>>, ...values: Array<Many<T>>): LoDashExplicitWrapper<T[]>;
|
|
38
|
-
}
|
|
39
|
-
}
|
lodash/array/difference.d.ts
DELETED
|
@@ -1,37 +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 provided arrays using SameValueZero for
|
|
6
|
-
* equality comparisons.
|
|
7
|
-
*
|
|
8
|
-
* @param array The array to inspect.
|
|
9
|
-
* @param values The arrays of values to exclude.
|
|
10
|
-
* @return Returns the new array of filtered values.
|
|
11
|
-
*/
|
|
12
|
-
difference<T>(
|
|
13
|
-
array: List<T> | null | undefined,
|
|
14
|
-
...values: Array<List<T>>
|
|
15
|
-
): T[];
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
19
|
-
/**
|
|
20
|
-
* @see _.difference
|
|
21
|
-
*/
|
|
22
|
-
difference<T>(
|
|
23
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
24
|
-
...values: Array<List<T>>
|
|
25
|
-
): LoDashImplicitWrapper<T[]>;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
29
|
-
/**
|
|
30
|
-
* @see _.difference
|
|
31
|
-
*/
|
|
32
|
-
difference<T>(
|
|
33
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
34
|
-
...values: Array<List<T>>
|
|
35
|
-
): LoDashExplicitWrapper<T[]>;
|
|
36
|
-
}
|
|
37
|
-
}
|