@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
|
@@ -1,133 +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
|
-
* var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
|
|
17
|
-
|
|
18
|
-
* _.intersectionWith(objects, others, _.isEqual);
|
|
19
|
-
* // => [{ 'x': 1, 'y': 2 }]
|
|
20
|
-
*/
|
|
21
|
-
intersectionWith<T1, T2>(
|
|
22
|
-
array: List<T1> | null | undefined,
|
|
23
|
-
values: List<T2>,
|
|
24
|
-
comparator: Comparator2<T1, T2>
|
|
25
|
-
): T1[];
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @see _.intersectionWith
|
|
29
|
-
*/
|
|
30
|
-
intersectionWith<T1, T2, T3>(
|
|
31
|
-
array: List<T1> | null | undefined,
|
|
32
|
-
values1: List<T2>,
|
|
33
|
-
values2: List<T3>,
|
|
34
|
-
comparator: Comparator2<T1, T2 | T3>
|
|
35
|
-
): T1[];
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @see _.intersectionWith
|
|
39
|
-
*/
|
|
40
|
-
intersectionWith<T1, T2, T3, T4>(
|
|
41
|
-
array: List<T1> | null | undefined,
|
|
42
|
-
values1: List<T2>,
|
|
43
|
-
values2: List<T3>,
|
|
44
|
-
...values: Array<List<T4> | Comparator2<T1, T2 | T3 | T4>>
|
|
45
|
-
): T1[];
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @see _.intersectionWith
|
|
49
|
-
*/
|
|
50
|
-
intersectionWith<T>(
|
|
51
|
-
array?: List<T> | null,
|
|
52
|
-
...values: Array<List<T>>
|
|
53
|
-
): T[];
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
57
|
-
/**
|
|
58
|
-
* @see _.intersectionWith
|
|
59
|
-
*/
|
|
60
|
-
intersectionWith<T1, T2>(
|
|
61
|
-
this: LoDashImplicitWrapper<List<T1> | null | undefined>,
|
|
62
|
-
values: List<T2>,
|
|
63
|
-
comparator: Comparator2<T1, T2>
|
|
64
|
-
): LoDashImplicitWrapper<T1[]>;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @see _.intersectionWith
|
|
68
|
-
*/
|
|
69
|
-
intersectionWith<T1, T2, T3>(
|
|
70
|
-
this: LoDashImplicitWrapper<List<T1> | null | undefined>,
|
|
71
|
-
values1: List<T2>,
|
|
72
|
-
values2: List<T3>,
|
|
73
|
-
comparator: Comparator2<T1, T2 | T3>
|
|
74
|
-
): LoDashImplicitWrapper<T1[]>;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @see _.intersectionWith
|
|
78
|
-
*/
|
|
79
|
-
intersectionWith<T1, T2, T3, T4>(
|
|
80
|
-
this: LoDashImplicitWrapper<List<T1> | null | undefined>,
|
|
81
|
-
values1: List<T2>,
|
|
82
|
-
values2: List<T3>,
|
|
83
|
-
...values: Array<List<T4> | Comparator2<T1, T2 | T3 | T4>>,
|
|
84
|
-
): LoDashImplicitWrapper<T1[]>;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @see _.intersectionWith
|
|
88
|
-
*/
|
|
89
|
-
intersectionWith<T>(
|
|
90
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
91
|
-
...values: Array<List<T>>
|
|
92
|
-
): LoDashImplicitWrapper<T[]>;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
96
|
-
/**
|
|
97
|
-
* @see _.intersectionWith
|
|
98
|
-
*/
|
|
99
|
-
intersectionWith<T1, T2>(
|
|
100
|
-
this: LoDashExplicitWrapper<List<T1> | null | undefined>,
|
|
101
|
-
values: List<T2>,
|
|
102
|
-
comparator: Comparator2<T1, T2>
|
|
103
|
-
): LoDashExplicitWrapper<T1[]>;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* @see _.intersectionWith
|
|
107
|
-
*/
|
|
108
|
-
intersectionWith<T1, T2, T3>(
|
|
109
|
-
this: LoDashExplicitWrapper<List<T1> | null | undefined>,
|
|
110
|
-
values1: List<T2>,
|
|
111
|
-
values2: List<T3>,
|
|
112
|
-
comparator: Comparator2<T1, T2 | T3>
|
|
113
|
-
): LoDashExplicitWrapper<T1[]>;
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @see _.intersectionWith
|
|
117
|
-
*/
|
|
118
|
-
intersectionWith<T1, T2, T3, T4>(
|
|
119
|
-
this: LoDashExplicitWrapper<List<T1> | null | undefined>,
|
|
120
|
-
values1: List<T2>,
|
|
121
|
-
values2: List<T3>,
|
|
122
|
-
...values: Array<List<T4> | Comparator2<T1, T2 | T3 | T4>>,
|
|
123
|
-
): LoDashExplicitWrapper<T1[]>;
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @see _.intersectionWith
|
|
127
|
-
*/
|
|
128
|
-
intersectionWith<T>(
|
|
129
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
130
|
-
...values: Array<List<T>>
|
|
131
|
-
): LoDashExplicitWrapper<T[]>;
|
|
132
|
-
}
|
|
133
|
-
}
|
lodash/array/join.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Converts all elements in `array` into a string separated by `separator`.
|
|
6
|
-
*
|
|
7
|
-
* @param array The array to convert.
|
|
8
|
-
* @param separator The element separator.
|
|
9
|
-
* @returns Returns the joined string.
|
|
10
|
-
*/
|
|
11
|
-
join(
|
|
12
|
-
array: List<any> | null | undefined,
|
|
13
|
-
separator?: string
|
|
14
|
-
): string;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
18
|
-
/**
|
|
19
|
-
* @see _.join
|
|
20
|
-
*/
|
|
21
|
-
join(separator?: string): string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
25
|
-
/**
|
|
26
|
-
* @see _.join
|
|
27
|
-
*/
|
|
28
|
-
join(separator?: string): LoDashExplicitWrapper<string>;
|
|
29
|
-
}
|
|
30
|
-
}
|
lodash/array/last.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Gets the last element of array.
|
|
6
|
-
*
|
|
7
|
-
* @param array The array to query.
|
|
8
|
-
* @return Returns the last element of array.
|
|
9
|
-
*/
|
|
10
|
-
last<T>(array: List<T> | null | undefined): T | undefined;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
14
|
-
/**
|
|
15
|
-
* @see _.last
|
|
16
|
-
*/
|
|
17
|
-
last<T>(this: LoDashImplicitWrapper<List<T> | null | undefined>): T | undefined;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
21
|
-
/**
|
|
22
|
-
* @see _.last
|
|
23
|
-
*/
|
|
24
|
-
last<T>(this: LoDashExplicitWrapper<List<T> | null | undefined>): LoDashExplicitWrapper<T | undefined>;
|
|
25
|
-
}
|
|
26
|
-
}
|
lodash/array/lastIndexOf.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like _.indexOf except that it iterates over elements of array from right to left.
|
|
6
|
-
*
|
|
7
|
-
* @param array The array to search.
|
|
8
|
-
* @param value The value to search for.
|
|
9
|
-
* @param fromIndex The index to search from or true to perform a binary search on a sorted array.
|
|
10
|
-
* @return Returns the index of the matched value, else -1.
|
|
11
|
-
*/
|
|
12
|
-
lastIndexOf<T>(
|
|
13
|
-
array: List<T> | null | undefined,
|
|
14
|
-
value: T,
|
|
15
|
-
fromIndex?: true|number
|
|
16
|
-
): number;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
20
|
-
/**
|
|
21
|
-
* @see _.indexOf
|
|
22
|
-
*/
|
|
23
|
-
lastIndexOf<T>(
|
|
24
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
25
|
-
value: T,
|
|
26
|
-
fromIndex?: true|number
|
|
27
|
-
): number;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
31
|
-
/**
|
|
32
|
-
* @see _.indexOf
|
|
33
|
-
*/
|
|
34
|
-
lastIndexOf<T>(
|
|
35
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
36
|
-
value: T,
|
|
37
|
-
fromIndex?: true|number
|
|
38
|
-
): LoDashExplicitWrapper<number>;
|
|
39
|
-
}
|
|
40
|
-
}
|
lodash/array/nth.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Gets the element at index `n` of `array`. If `n` is negative, the nth element from the end is returned.
|
|
6
|
-
*
|
|
7
|
-
* @param array array The array to query.
|
|
8
|
-
* @param value The index of the element to return.
|
|
9
|
-
* @return Returns the nth element of `array`.
|
|
10
|
-
*/
|
|
11
|
-
nth<T>(
|
|
12
|
-
array: List<T> | null | undefined,
|
|
13
|
-
n?: number
|
|
14
|
-
): T | undefined;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
18
|
-
/**
|
|
19
|
-
* @see _.nth
|
|
20
|
-
*/
|
|
21
|
-
nth<T>(
|
|
22
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
23
|
-
n?: number
|
|
24
|
-
): T | undefined;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
28
|
-
/**
|
|
29
|
-
* @see _.nth
|
|
30
|
-
*/
|
|
31
|
-
nth<T>(
|
|
32
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
33
|
-
n?: number
|
|
34
|
-
): LoDashExplicitWrapper<T | undefined>;
|
|
35
|
-
}
|
|
36
|
-
}
|
lodash/array/pull.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Removes all provided values from array using SameValueZero for equality comparisons.
|
|
6
|
-
*
|
|
7
|
-
* Note: Unlike _.without, this method mutates array.
|
|
8
|
-
*
|
|
9
|
-
* @param array The array to modify.
|
|
10
|
-
* @param values The values to remove.
|
|
11
|
-
* @return Returns array.
|
|
12
|
-
*/
|
|
13
|
-
pull<T>(
|
|
14
|
-
array: T[],
|
|
15
|
-
...values: T[]
|
|
16
|
-
): T[];
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @see _.pull
|
|
20
|
-
*/
|
|
21
|
-
pull<T>(
|
|
22
|
-
array: List<T>,
|
|
23
|
-
...values: T[]
|
|
24
|
-
): List<T>;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
28
|
-
/**
|
|
29
|
-
* @see _.pull
|
|
30
|
-
*/
|
|
31
|
-
pull<T>(
|
|
32
|
-
this: LoDashImplicitWrapper<List<T>>,
|
|
33
|
-
...values: T[]
|
|
34
|
-
): this;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
38
|
-
/**
|
|
39
|
-
* @see _.pull
|
|
40
|
-
*/
|
|
41
|
-
pull<T>(
|
|
42
|
-
this: LoDashExplicitWrapper<List<T>>,
|
|
43
|
-
...values: T[]
|
|
44
|
-
): this;
|
|
45
|
-
}
|
|
46
|
-
}
|
lodash/array/pullAll.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like `_.pull` except that it accepts an array of values to remove.
|
|
6
|
-
*
|
|
7
|
-
* **Note:** Unlike `_.difference`, this method mutates `array`.
|
|
8
|
-
*
|
|
9
|
-
* @category Array
|
|
10
|
-
* @param array The array to modify.
|
|
11
|
-
* @param values The values to remove.
|
|
12
|
-
* @returns Returns `array`.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* var array = [1, 2, 3, 1, 2, 3];
|
|
16
|
-
*
|
|
17
|
-
* _.pull(array, [2, 3]);
|
|
18
|
-
* console.log(array);
|
|
19
|
-
* // => [1, 1]
|
|
20
|
-
*/
|
|
21
|
-
pullAll<T>(
|
|
22
|
-
array: T[],
|
|
23
|
-
values?: List<T>,
|
|
24
|
-
): T[];
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @see _.pullAll
|
|
28
|
-
*/
|
|
29
|
-
pullAll<T>(
|
|
30
|
-
array: List<T>,
|
|
31
|
-
values?: List<T>,
|
|
32
|
-
): List<T>;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
36
|
-
/**
|
|
37
|
-
* @see _.pullAll
|
|
38
|
-
*/
|
|
39
|
-
pullAll<T>(
|
|
40
|
-
this: LoDashImplicitWrapper<List<T>>,
|
|
41
|
-
values?: List<T>
|
|
42
|
-
): this;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
46
|
-
/**
|
|
47
|
-
* @see _.pullAll
|
|
48
|
-
*/
|
|
49
|
-
pullAll<T>(
|
|
50
|
-
this: LoDashExplicitWrapper<List<T>>,
|
|
51
|
-
values?: List<T>
|
|
52
|
-
): this;
|
|
53
|
-
}
|
|
54
|
-
}
|
lodash/array/pullAllBy.d.ts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like `_.pullAll` except that it accepts `iteratee` which is
|
|
6
|
-
* invoked for each element of `array` and `values` to to generate the criterion
|
|
7
|
-
* by which uniqueness is computed. The iteratee is invoked with one argument: (value).
|
|
8
|
-
*
|
|
9
|
-
* **Note:** Unlike `_.differenceBy`, this method mutates `array`.
|
|
10
|
-
*
|
|
11
|
-
* @category Array
|
|
12
|
-
* @param array The array to modify.
|
|
13
|
-
* @param values The values to remove.
|
|
14
|
-
* @param [iteratee=_.identity] The iteratee invoked per element.
|
|
15
|
-
* @returns Returns `array`.
|
|
16
|
-
* @example
|
|
17
|
-
*
|
|
18
|
-
* var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];
|
|
19
|
-
*
|
|
20
|
-
* _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');
|
|
21
|
-
* console.log(array);
|
|
22
|
-
* // => [{ 'x': 2 }]
|
|
23
|
-
*/
|
|
24
|
-
pullAllBy<T>(
|
|
25
|
-
array: T[],
|
|
26
|
-
values?: List<T>,
|
|
27
|
-
iteratee?: ValueIteratee<T>
|
|
28
|
-
): T[];
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @see _.pullAllBy
|
|
32
|
-
*/
|
|
33
|
-
pullAllBy<T>(
|
|
34
|
-
array: List<T>,
|
|
35
|
-
values?: List<T>,
|
|
36
|
-
iteratee?: ValueIteratee<T>
|
|
37
|
-
): List<T>;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @see _.pullAllBy
|
|
41
|
-
*/
|
|
42
|
-
pullAllBy<T1, T2>(
|
|
43
|
-
array: T1[],
|
|
44
|
-
values: List<T2>,
|
|
45
|
-
iteratee: ValueIteratee<T1 | T2>
|
|
46
|
-
): T1[];
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @see _.pullAllBy
|
|
50
|
-
*/
|
|
51
|
-
pullAllBy<T1, T2>(
|
|
52
|
-
array: List<T1>,
|
|
53
|
-
values: List<T2>,
|
|
54
|
-
iteratee: ValueIteratee<T1 | T2>
|
|
55
|
-
): List<T1>;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
interface LoDashWrapper<TValue> {
|
|
59
|
-
/**
|
|
60
|
-
* @see _.pullAllBy
|
|
61
|
-
*/
|
|
62
|
-
pullAllBy<T>(
|
|
63
|
-
this: LoDashWrapper<List<T>>,
|
|
64
|
-
values?: List<T>,
|
|
65
|
-
iteratee?: ValueIteratee<T>
|
|
66
|
-
): this;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @see _.pullAllBy
|
|
70
|
-
*/
|
|
71
|
-
pullAllBy<T1, T2>(
|
|
72
|
-
this: LoDashWrapper<List<T1>>,
|
|
73
|
-
values: List<T2>,
|
|
74
|
-
iteratee: ValueIteratee<T1 | T2>
|
|
75
|
-
): this;
|
|
76
|
-
}
|
|
77
|
-
}
|
lodash/array/pullAllWith.d.ts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like `_.pullAll` except that it accepts `comparator` which is
|
|
6
|
-
* invoked to compare elements of array to values. The comparator is invoked with
|
|
7
|
-
* two arguments: (arrVal, othVal).
|
|
8
|
-
*
|
|
9
|
-
* **Note:** Unlike `_.differenceWith`, this method mutates `array`.
|
|
10
|
-
*
|
|
11
|
-
* @category Array
|
|
12
|
-
* @param array The array to modify.
|
|
13
|
-
* @param values The values to remove.
|
|
14
|
-
* @param [iteratee=_.identity] The iteratee invoked per element.
|
|
15
|
-
* @returns Returns `array`.
|
|
16
|
-
* @example
|
|
17
|
-
*
|
|
18
|
-
* var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
|
|
19
|
-
*
|
|
20
|
-
* _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);
|
|
21
|
-
* console.log(array);
|
|
22
|
-
* // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]
|
|
23
|
-
*/
|
|
24
|
-
pullAllWith<T>(
|
|
25
|
-
array: T[],
|
|
26
|
-
values?: List<T>,
|
|
27
|
-
comparator?: Comparator<T>
|
|
28
|
-
): T[];
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @see _.pullAllWith
|
|
32
|
-
*/
|
|
33
|
-
pullAllWith<T>(
|
|
34
|
-
array: List<T>,
|
|
35
|
-
values?: List<T>,
|
|
36
|
-
comparator?: Comparator<T>
|
|
37
|
-
): List<T>;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @see _.pullAllWith
|
|
41
|
-
*/
|
|
42
|
-
pullAllWith<T1, T2>(
|
|
43
|
-
array: T1[],
|
|
44
|
-
values: List<T2>,
|
|
45
|
-
comparator: Comparator2<T1, T2>
|
|
46
|
-
): T1[];
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @see _.pullAllWith
|
|
50
|
-
*/
|
|
51
|
-
pullAllWith<T1, T2>(
|
|
52
|
-
array: List<T1>,
|
|
53
|
-
values: List<T2>,
|
|
54
|
-
comparator: Comparator2<T1, T2>
|
|
55
|
-
): List<T1>;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
interface LoDashWrapper<TValue> {
|
|
59
|
-
/**
|
|
60
|
-
* @see _.pullAllWith
|
|
61
|
-
*/
|
|
62
|
-
pullAllWith<T>(
|
|
63
|
-
this: LoDashWrapper<List<T>>,
|
|
64
|
-
values?: List<T>,
|
|
65
|
-
comparator?: Comparator<T>
|
|
66
|
-
): this;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @see _.pullAllWith
|
|
70
|
-
*/
|
|
71
|
-
pullAllWith<T1, T2>(
|
|
72
|
-
this: LoDashWrapper<List<T1>>,
|
|
73
|
-
values: List<T2>,
|
|
74
|
-
comparator: Comparator2<T1, T2>
|
|
75
|
-
): this;
|
|
76
|
-
}
|
|
77
|
-
}
|
lodash/array/pullAt.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Removes elements from array corresponding to the given indexes and returns an array of the removed elements.
|
|
6
|
-
* Indexes may be specified as an array of indexes or as individual arguments.
|
|
7
|
-
*
|
|
8
|
-
* Note: Unlike _.at, this method mutates array.
|
|
9
|
-
*
|
|
10
|
-
* @param array The array to modify.
|
|
11
|
-
* @param indexes The indexes of elements to remove, specified as individual indexes or arrays of indexes.
|
|
12
|
-
* @return Returns the new array of removed elements.
|
|
13
|
-
*/
|
|
14
|
-
pullAt<T>(
|
|
15
|
-
array: T[],
|
|
16
|
-
...indexes: Array<Many<number>>
|
|
17
|
-
): T[];
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @see _.pullAt
|
|
21
|
-
*/
|
|
22
|
-
pullAt<T>(
|
|
23
|
-
array: List<T>,
|
|
24
|
-
...indexes: Array<Many<number>>
|
|
25
|
-
): List<T>;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
interface LoDashWrapper<TValue> {
|
|
29
|
-
/**
|
|
30
|
-
* @see _.pullAt
|
|
31
|
-
*/
|
|
32
|
-
pullAt(...indexes: Array<Many<number>>): this;
|
|
33
|
-
}
|
|
34
|
-
}
|
lodash/array/remove.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Removes all elements from array that predicate returns truthy for and returns an array of the removed
|
|
6
|
-
* elements. 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
|
-
* Note: Unlike _.filter, this method mutates array.
|
|
18
|
-
*
|
|
19
|
-
* @param array The array to modify.
|
|
20
|
-
* @param predicate The function invoked per iteration.
|
|
21
|
-
* @param thisArg The this binding of predicate.
|
|
22
|
-
* @return Returns the new array of removed elements.
|
|
23
|
-
*/
|
|
24
|
-
remove<T>(
|
|
25
|
-
array: List<T>,
|
|
26
|
-
predicate?: ListIteratee<T>
|
|
27
|
-
): T[];
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
31
|
-
/**
|
|
32
|
-
* @see _.remove
|
|
33
|
-
*/
|
|
34
|
-
remove<T>(
|
|
35
|
-
this: LoDashImplicitWrapper<List<T>>,
|
|
36
|
-
predicate?: ListIteratee<T>
|
|
37
|
-
): LoDashImplicitWrapper<T[]>;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
41
|
-
/**
|
|
42
|
-
* @see _.remove
|
|
43
|
-
*/
|
|
44
|
-
remove<T>(
|
|
45
|
-
this: LoDashExplicitWrapper<List<T>>,
|
|
46
|
-
predicate?: ListIteratee<T>
|
|
47
|
-
): LoDashExplicitWrapper<T[]>;
|
|
48
|
-
}
|
|
49
|
-
}
|
lodash/array/reverse.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Reverses `array` so that the first element becomes the last, the second
|
|
6
|
-
* element becomes the second to last, and so on.
|
|
7
|
-
*
|
|
8
|
-
* **Note:** This method mutates `array` and is based on
|
|
9
|
-
* [`Array#reverse`](https://mdn.io/Array/reverse).
|
|
10
|
-
*
|
|
11
|
-
* @category Array
|
|
12
|
-
* @returns Returns `array`.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* var array = [1, 2, 3];
|
|
16
|
-
*
|
|
17
|
-
* _.reverse(array);
|
|
18
|
-
* // => [3, 2, 1]
|
|
19
|
-
*
|
|
20
|
-
* console.log(array);
|
|
21
|
-
* // => [3, 2, 1]
|
|
22
|
-
*/
|
|
23
|
-
reverse<TList extends List<any>>(
|
|
24
|
-
array: TList,
|
|
25
|
-
): TList;
|
|
26
|
-
}
|
|
27
|
-
}
|
lodash/array/slice.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates a slice of array from start up to, but not including, end.
|
|
6
|
-
*
|
|
7
|
-
* @param array The array to slice.
|
|
8
|
-
* @param start The start position.
|
|
9
|
-
* @param end The end position.
|
|
10
|
-
* @return Returns the slice of array.
|
|
11
|
-
*/
|
|
12
|
-
slice<T>(
|
|
13
|
-
array: List<T> | null | undefined,
|
|
14
|
-
start?: number,
|
|
15
|
-
end?: number
|
|
16
|
-
): T[];
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
20
|
-
/**
|
|
21
|
-
* @see _.slice
|
|
22
|
-
*/
|
|
23
|
-
slice<T>(
|
|
24
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
25
|
-
start?: number,
|
|
26
|
-
end?: number
|
|
27
|
-
): LoDashImplicitWrapper<T[]>;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
31
|
-
/**
|
|
32
|
-
* @see _.slice
|
|
33
|
-
*/
|
|
34
|
-
slice<T>(
|
|
35
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
36
|
-
start?: number,
|
|
37
|
-
end?: number
|
|
38
|
-
): LoDashExplicitWrapper<T[]>;
|
|
39
|
-
}
|
|
40
|
-
}
|