@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,164 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like `_.flatMap` except that it recursively flattens the
|
|
6
|
-
* mapped results.
|
|
7
|
-
*
|
|
8
|
-
* @since 4.7.0
|
|
9
|
-
* @category Collection
|
|
10
|
-
* @param collection The collection to iterate over.
|
|
11
|
-
* @param [iteratee=_.identity] The function invoked per iteration.
|
|
12
|
-
* @returns Returns the new flattened array.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* function duplicate(n) {
|
|
16
|
-
* return [[[n, n]]];
|
|
17
|
-
* }
|
|
18
|
-
*
|
|
19
|
-
* _.flatMapDeep([1, 2], duplicate);
|
|
20
|
-
* // => [1, 1, 2, 2]
|
|
21
|
-
*/
|
|
22
|
-
flatMapDeep<T>(
|
|
23
|
-
collection: List<ListOfRecursiveArraysOrValues<T> | T> | Dictionary<ListOfRecursiveArraysOrValues<T> | T> | NumericDictionary<ListOfRecursiveArraysOrValues<T> | T> | null | undefined
|
|
24
|
-
): T[];
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @see _.flatMapDeep
|
|
28
|
-
*/
|
|
29
|
-
flatMapDeep<T, TResult>(
|
|
30
|
-
collection: List<T> | null | undefined,
|
|
31
|
-
iteratee: ListIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>
|
|
32
|
-
): TResult[];
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @see _.flatMapDeep
|
|
36
|
-
*/
|
|
37
|
-
flatMapDeep<T, TResult>(
|
|
38
|
-
collection: NumericDictionary<T> | null | undefined,
|
|
39
|
-
iteratee: NumericDictionaryIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>
|
|
40
|
-
): TResult[];
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @see _.flatMapDeep
|
|
44
|
-
*/
|
|
45
|
-
flatMapDeep<T extends object, TResult>(
|
|
46
|
-
collection: T | null | undefined,
|
|
47
|
-
iteratee: ObjectIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>
|
|
48
|
-
): TResult[];
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @see _.flatMapDeep
|
|
52
|
-
*/
|
|
53
|
-
flatMapDeep(
|
|
54
|
-
collection: object | null | undefined,
|
|
55
|
-
iteratee: string
|
|
56
|
-
): any[];
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @see _.flatMapDeep
|
|
60
|
-
*/
|
|
61
|
-
flatMapDeep(
|
|
62
|
-
collection: object | null | undefined,
|
|
63
|
-
iteratee: object
|
|
64
|
-
): boolean[];
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
68
|
-
/**
|
|
69
|
-
* @see _.flatMapDeep
|
|
70
|
-
*/
|
|
71
|
-
flatMapDeep<T>(
|
|
72
|
-
this: LoDashImplicitWrapper<List<ListOfRecursiveArraysOrValues<T> | T> | Dictionary<ListOfRecursiveArraysOrValues<T> | T> | NumericDictionary<ListOfRecursiveArraysOrValues<T> | T> | null | undefined>
|
|
73
|
-
): LoDashImplicitWrapper<T[]>;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @see _.flatMapDeep
|
|
77
|
-
*/
|
|
78
|
-
flatMapDeep<T, TResult>(
|
|
79
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
80
|
-
iteratee: ListIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>
|
|
81
|
-
): LoDashImplicitWrapper<TResult[]>;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @see _.flatMapDeep
|
|
85
|
-
*/
|
|
86
|
-
flatMapDeep<T, TResult>(
|
|
87
|
-
this: LoDashImplicitWrapper<NumericDictionary<T> | null | undefined>,
|
|
88
|
-
iteratee: NumericDictionaryIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>
|
|
89
|
-
): LoDashImplicitWrapper<TResult[]>;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* @see _.flatMapDeep
|
|
93
|
-
*/
|
|
94
|
-
flatMapDeep<T extends object, TResult>(
|
|
95
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
96
|
-
iteratee: ObjectIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>
|
|
97
|
-
): LoDashImplicitWrapper<TResult[]>;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @see _.flatMapDeep
|
|
101
|
-
*/
|
|
102
|
-
flatMapDeep(
|
|
103
|
-
this: LoDashImplicitWrapper<object | null | undefined>,
|
|
104
|
-
iteratee: string
|
|
105
|
-
): LoDashImplicitWrapper<any[]>;
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* @see _.flatMapDeep
|
|
109
|
-
*/
|
|
110
|
-
flatMapDeep(
|
|
111
|
-
this: LoDashImplicitWrapper<object | null | undefined>,
|
|
112
|
-
iteratee: object
|
|
113
|
-
): LoDashImplicitWrapper<boolean[]>;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
117
|
-
/**
|
|
118
|
-
* @see _.flatMapDeep
|
|
119
|
-
*/
|
|
120
|
-
flatMapDeep<T>(
|
|
121
|
-
this: LoDashExplicitWrapper<List<ListOfRecursiveArraysOrValues<T> | T> | Dictionary<ListOfRecursiveArraysOrValues<T> | T> | NumericDictionary<ListOfRecursiveArraysOrValues<T> | T> | null | undefined>
|
|
122
|
-
): LoDashExplicitWrapper<T[]>;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* @see _.flatMapDeep
|
|
126
|
-
*/
|
|
127
|
-
flatMapDeep<T, TResult>(
|
|
128
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
129
|
-
iteratee: ListIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>
|
|
130
|
-
): LoDashExplicitWrapper<TResult[]>;
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @see _.flatMapDeep
|
|
134
|
-
*/
|
|
135
|
-
flatMapDeep<T, TResult>(
|
|
136
|
-
this: LoDashExplicitWrapper<NumericDictionary<T> | null | undefined>,
|
|
137
|
-
iteratee: NumericDictionaryIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>
|
|
138
|
-
): LoDashExplicitWrapper<TResult[]>;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* @see _.flatMapDeep
|
|
142
|
-
*/
|
|
143
|
-
flatMapDeep<T extends object, TResult>(
|
|
144
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
145
|
-
iteratee: ObjectIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>
|
|
146
|
-
): LoDashExplicitWrapper<TResult[]>;
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* @see _.flatMapDeep
|
|
150
|
-
*/
|
|
151
|
-
flatMapDeep(
|
|
152
|
-
this: LoDashExplicitWrapper<object | null | undefined>,
|
|
153
|
-
iteratee: string
|
|
154
|
-
): LoDashExplicitWrapper<any[]>;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* @see _.flatMapDeep
|
|
158
|
-
*/
|
|
159
|
-
flatMapDeep(
|
|
160
|
-
this: LoDashExplicitWrapper<object | null | undefined>,
|
|
161
|
-
iteratee: object
|
|
162
|
-
): LoDashExplicitWrapper<boolean[]>;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like `_.flatMap` except that it recursively flattens the
|
|
6
|
-
* mapped results up to `depth` times.
|
|
7
|
-
*
|
|
8
|
-
* @since 4.7.0
|
|
9
|
-
* @category Collection
|
|
10
|
-
* @param collection The collection to iterate over.
|
|
11
|
-
* @param [iteratee=_.identity] The function invoked per iteration.
|
|
12
|
-
* @param [depth=1] The maximum recursion depth.
|
|
13
|
-
* @returns Returns the new flattened array.
|
|
14
|
-
* @example
|
|
15
|
-
*
|
|
16
|
-
* function duplicate(n) {
|
|
17
|
-
* return [[[n, n]]];
|
|
18
|
-
* }
|
|
19
|
-
*
|
|
20
|
-
* _.flatMapDepth([1, 2], duplicate, 2);
|
|
21
|
-
* // => [[1, 1], [2, 2]]
|
|
22
|
-
*/
|
|
23
|
-
flatMapDepth<T>(
|
|
24
|
-
collection: List<ListOfRecursiveArraysOrValues<T> | T> | Dictionary<ListOfRecursiveArraysOrValues<T> | T> | NumericDictionary<ListOfRecursiveArraysOrValues<T> | T> | null | undefined
|
|
25
|
-
): T[];
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @see _.flatMapDepth
|
|
29
|
-
*/
|
|
30
|
-
flatMapDepth<T, TResult>(
|
|
31
|
-
collection: List<T> | null | undefined,
|
|
32
|
-
iteratee: ListIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>,
|
|
33
|
-
depth?: number
|
|
34
|
-
): TResult[];
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @see _.flatMapDepth
|
|
38
|
-
*/
|
|
39
|
-
flatMapDepth<T, TResult>(
|
|
40
|
-
collection: NumericDictionary<T> | null | undefined,
|
|
41
|
-
iteratee: NumericDictionaryIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>,
|
|
42
|
-
depth?: number
|
|
43
|
-
): TResult[];
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @see _.flatMapDepth
|
|
47
|
-
*/
|
|
48
|
-
flatMapDepth<T extends object, TResult>(
|
|
49
|
-
collection: T | null | undefined,
|
|
50
|
-
iteratee: ObjectIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>,
|
|
51
|
-
depth?: number
|
|
52
|
-
): TResult[];
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @see _.flatMapDepth
|
|
56
|
-
*/
|
|
57
|
-
flatMapDepth(
|
|
58
|
-
collection: object | null | undefined,
|
|
59
|
-
iteratee: string,
|
|
60
|
-
depth?: number
|
|
61
|
-
): any[];
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @see _.flatMapDepth
|
|
65
|
-
*/
|
|
66
|
-
flatMapDepth(
|
|
67
|
-
collection: object | null | undefined,
|
|
68
|
-
iteratee: object,
|
|
69
|
-
depth?: number
|
|
70
|
-
): boolean[];
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
74
|
-
/**
|
|
75
|
-
* @see _.flatMapDepth
|
|
76
|
-
*/
|
|
77
|
-
flatMapDepth<T>(
|
|
78
|
-
this: LoDashImplicitWrapper<List<ListOfRecursiveArraysOrValues<T> | T> | Dictionary<ListOfRecursiveArraysOrValues<T> | T> | NumericDictionary<ListOfRecursiveArraysOrValues<T> | T> | null | undefined>
|
|
79
|
-
): LoDashImplicitWrapper<T[]>;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @see _.flatMapDepth
|
|
83
|
-
*/
|
|
84
|
-
flatMapDepth<T, TResult>(
|
|
85
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
86
|
-
iteratee: ListIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>,
|
|
87
|
-
depth?: number
|
|
88
|
-
): LoDashImplicitWrapper<TResult[]>;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @see _.flatMapDepth
|
|
92
|
-
*/
|
|
93
|
-
flatMapDepth<T, TResult>(
|
|
94
|
-
this: LoDashImplicitWrapper<NumericDictionary<T> | null | undefined>,
|
|
95
|
-
iteratee: NumericDictionaryIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>,
|
|
96
|
-
depth?: number
|
|
97
|
-
): LoDashImplicitWrapper<TResult[]>;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @see _.flatMapDepth
|
|
101
|
-
*/
|
|
102
|
-
flatMapDepth<T extends object, TResult>(
|
|
103
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
104
|
-
iteratee: ObjectIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>,
|
|
105
|
-
depth?: number
|
|
106
|
-
): LoDashImplicitWrapper<TResult[]>;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* @see _.flatMapDepth
|
|
110
|
-
*/
|
|
111
|
-
flatMapDepth(
|
|
112
|
-
this: LoDashImplicitWrapper<object | null | undefined>,
|
|
113
|
-
iteratee: string,
|
|
114
|
-
depth?: number
|
|
115
|
-
): LoDashImplicitWrapper<any[]>;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* @see _.flatMapDepth
|
|
119
|
-
*/
|
|
120
|
-
flatMapDepth(
|
|
121
|
-
this: LoDashImplicitWrapper<object | null | undefined>,
|
|
122
|
-
iteratee: object,
|
|
123
|
-
depth?: number
|
|
124
|
-
): LoDashImplicitWrapper<boolean[]>;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
128
|
-
/**
|
|
129
|
-
* @see _.flatMapDepth
|
|
130
|
-
*/
|
|
131
|
-
flatMapDepth<T>(
|
|
132
|
-
this: LoDashExplicitWrapper<List<ListOfRecursiveArraysOrValues<T> | T> | Dictionary<ListOfRecursiveArraysOrValues<T> | T> | NumericDictionary<ListOfRecursiveArraysOrValues<T> | T> | null | undefined>
|
|
133
|
-
): LoDashExplicitWrapper<T[]>;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* @see _.flatMapDepth
|
|
137
|
-
*/
|
|
138
|
-
flatMapDepth<T, TResult>(
|
|
139
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
140
|
-
iteratee: ListIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>,
|
|
141
|
-
depth?: number
|
|
142
|
-
): LoDashExplicitWrapper<TResult[]>;
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* @see _.flatMapDepth
|
|
146
|
-
*/
|
|
147
|
-
flatMapDepth<T, TResult>(
|
|
148
|
-
this: LoDashExplicitWrapper<NumericDictionary<T> | null | undefined>,
|
|
149
|
-
iteratee: NumericDictionaryIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>,
|
|
150
|
-
depth?: number
|
|
151
|
-
): LoDashExplicitWrapper<TResult[]>;
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* @see _.flatMapDepth
|
|
155
|
-
*/
|
|
156
|
-
flatMapDepth<T extends object, TResult>(
|
|
157
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
158
|
-
iteratee: ObjectIterator<T, ListOfRecursiveArraysOrValues<TResult> | TResult>,
|
|
159
|
-
depth?: number
|
|
160
|
-
): LoDashExplicitWrapper<TResult[]>;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* @see _.flatMapDepth
|
|
164
|
-
*/
|
|
165
|
-
flatMapDepth(
|
|
166
|
-
this: LoDashExplicitWrapper<object | null | undefined>,
|
|
167
|
-
iteratee: string,
|
|
168
|
-
depth?: number
|
|
169
|
-
): LoDashExplicitWrapper<any[]>;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* @see _.flatMapDepth
|
|
173
|
-
*/
|
|
174
|
-
flatMapDepth(
|
|
175
|
-
this: LoDashExplicitWrapper<object | null | undefined>,
|
|
176
|
-
iteratee: object,
|
|
177
|
-
depth?: number
|
|
178
|
-
): LoDashExplicitWrapper<boolean[]>;
|
|
179
|
-
}
|
|
180
|
-
}
|
lodash/collection/forEach.d.ts
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Iterates over elements of collection invoking iteratee for each element. The iteratee is bound to thisArg
|
|
6
|
-
* and invoked with three arguments:
|
|
7
|
-
* (value, index|key, collection). Iteratee functions may exit iteration early by explicitly returning false.
|
|
8
|
-
*
|
|
9
|
-
* Note: As with other "Collections" methods, objects with a "length" property are iterated like arrays. To
|
|
10
|
-
* avoid this behavior _.forIn or _.forOwn may be used for object iteration.
|
|
11
|
-
*
|
|
12
|
-
* @alias _.each
|
|
13
|
-
*
|
|
14
|
-
* @param collection The collection to iterate over.
|
|
15
|
-
* @param iteratee The function invoked per iteration.
|
|
16
|
-
* @param thisArg The this binding of iteratee.
|
|
17
|
-
*/
|
|
18
|
-
forEach<T>(
|
|
19
|
-
collection: T[],
|
|
20
|
-
iteratee?: ArrayIterator<T, any>
|
|
21
|
-
): T[];
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @see _.forEach
|
|
25
|
-
*/
|
|
26
|
-
forEach(
|
|
27
|
-
collection: string,
|
|
28
|
-
iteratee?: StringIterator<any>
|
|
29
|
-
): string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* @see _.forEach
|
|
33
|
-
*/
|
|
34
|
-
forEach<T>(
|
|
35
|
-
collection: List<T>,
|
|
36
|
-
iteratee?: ListIterator<T, any>
|
|
37
|
-
): List<T>;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @see _.forEach
|
|
41
|
-
*/
|
|
42
|
-
forEach<T extends object>(
|
|
43
|
-
collection: T,
|
|
44
|
-
iteratee?: ObjectIterator<T, any>
|
|
45
|
-
): T;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @see _.forEach
|
|
49
|
-
*/
|
|
50
|
-
forEach<T, TArray extends T[] | null | undefined>(
|
|
51
|
-
collection: TArray & (T[] | null | undefined),
|
|
52
|
-
iteratee?: ArrayIterator<T, any>
|
|
53
|
-
): TArray;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @see _.forEach
|
|
57
|
-
*/
|
|
58
|
-
forEach<TString extends string | null | undefined>(
|
|
59
|
-
collection: TString,
|
|
60
|
-
iteratee?: StringIterator<any>
|
|
61
|
-
): TString;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @see _.forEach
|
|
65
|
-
*/
|
|
66
|
-
forEach<T, TList extends List<T> | null | undefined>(
|
|
67
|
-
collection: TList & (List<T> | null | undefined),
|
|
68
|
-
iteratee?: ListIterator<T, any>
|
|
69
|
-
): TList;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @see _.forEach
|
|
73
|
-
*/
|
|
74
|
-
forEach<T extends object>(
|
|
75
|
-
collection: T | null | undefined,
|
|
76
|
-
iteratee?: ObjectIterator<T, any>
|
|
77
|
-
): T | null | undefined;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
interface LoDashWrapper<TValue> {
|
|
81
|
-
/**
|
|
82
|
-
* @see _.forEach
|
|
83
|
-
*/
|
|
84
|
-
forEach<T>(
|
|
85
|
-
this: LoDashWrapper<T[] | null | undefined>,
|
|
86
|
-
iteratee?: ArrayIterator<T, any>
|
|
87
|
-
): this;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* @see _.forEach
|
|
91
|
-
*/
|
|
92
|
-
forEach(
|
|
93
|
-
this: LoDashWrapper<string | null | undefined>,
|
|
94
|
-
iteratee?: StringIterator<any>
|
|
95
|
-
): this;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @see _.forEach
|
|
99
|
-
*/
|
|
100
|
-
forEach<T>(
|
|
101
|
-
this: LoDashWrapper<List<T> | null | undefined>,
|
|
102
|
-
iteratee?: ListIterator<T, any>
|
|
103
|
-
): this;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* @see _.forEach
|
|
107
|
-
*/
|
|
108
|
-
forEach<T extends object>(
|
|
109
|
-
this: LoDashWrapper<T | null | undefined>,
|
|
110
|
-
iteratee?: ObjectIterator<T, any>
|
|
111
|
-
): this;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like _.forEach except that it iterates over elements of collection from right to left.
|
|
6
|
-
*
|
|
7
|
-
* @alias _.eachRight
|
|
8
|
-
*
|
|
9
|
-
* @param collection The collection to iterate over.
|
|
10
|
-
* @param iteratee The function called per iteration.
|
|
11
|
-
* @param thisArg The this binding of callback.
|
|
12
|
-
*/
|
|
13
|
-
forEachRight<T>(
|
|
14
|
-
collection: T[],
|
|
15
|
-
iteratee?: ArrayIterator<T, any>
|
|
16
|
-
): T[];
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @see _.forEachRight
|
|
20
|
-
*/
|
|
21
|
-
forEachRight(
|
|
22
|
-
collection: string,
|
|
23
|
-
iteratee?: StringIterator<any>
|
|
24
|
-
): string;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @see _.forEachRight
|
|
28
|
-
*/
|
|
29
|
-
forEachRight<T>(
|
|
30
|
-
collection: List<T>,
|
|
31
|
-
iteratee?: ListIterator<T, any>
|
|
32
|
-
): List<T>;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @see _.forEachRight
|
|
36
|
-
*/
|
|
37
|
-
forEachRight<T extends object>(
|
|
38
|
-
collection: T,
|
|
39
|
-
iteratee?: ObjectIterator<T, any>
|
|
40
|
-
): T;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @see _.forEachRight
|
|
44
|
-
*/
|
|
45
|
-
forEachRight<T, TArray extends T[] | null | undefined>(
|
|
46
|
-
collection: TArray & (T[] | null | undefined),
|
|
47
|
-
iteratee?: ArrayIterator<T, any>
|
|
48
|
-
): TArray;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @see _.forEachRight
|
|
52
|
-
*/
|
|
53
|
-
forEachRight<TString extends string | null | undefined>(
|
|
54
|
-
collection: TString,
|
|
55
|
-
iteratee?: StringIterator<any>
|
|
56
|
-
): TString;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @see _.forEachRight
|
|
60
|
-
*/
|
|
61
|
-
forEachRight<T, TList extends List<T> | null | undefined>(
|
|
62
|
-
collection: TList & (List<T> | null | undefined),
|
|
63
|
-
iteratee?: ListIterator<T, any>
|
|
64
|
-
): TList;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @see _.forEachRight
|
|
68
|
-
*/
|
|
69
|
-
forEachRight<T extends object>(
|
|
70
|
-
collection: T | null | undefined,
|
|
71
|
-
iteratee?: ObjectIterator<T, any>
|
|
72
|
-
): T | null | undefined;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
interface LoDashWrapper<TValue> {
|
|
76
|
-
/**
|
|
77
|
-
* @see _.forEachRight
|
|
78
|
-
*/
|
|
79
|
-
forEachRight<T>(
|
|
80
|
-
this: LoDashWrapper<T[] | null | undefined>,
|
|
81
|
-
iteratee?: ArrayIterator<T, any>
|
|
82
|
-
): this;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @see _.forEachRight
|
|
86
|
-
*/
|
|
87
|
-
forEachRight(
|
|
88
|
-
this: LoDashWrapper<string | null | undefined>,
|
|
89
|
-
iteratee?: StringIterator<any>
|
|
90
|
-
): this;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @see _.forEachRight
|
|
94
|
-
*/
|
|
95
|
-
forEachRight<T>(
|
|
96
|
-
this: LoDashWrapper<List<T> | null | undefined>,
|
|
97
|
-
iteratee?: ListIterator<T, any>
|
|
98
|
-
): this;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @see _.forEachRight
|
|
102
|
-
*/
|
|
103
|
-
forEachRight<T extends object>(
|
|
104
|
-
this: LoDashWrapper<T | null | undefined>,
|
|
105
|
-
iteratee?: ObjectIterator<T, any>
|
|
106
|
-
): this;
|
|
107
|
-
}
|
|
108
|
-
}
|
lodash/collection/groupBy.d.ts
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates an object composed of keys generated from the results of running each element of collection through
|
|
6
|
-
* iteratee. The corresponding value of each key is an array of the elements responsible for generating the
|
|
7
|
-
* key. The iteratee is bound to thisArg and invoked with three arguments:
|
|
8
|
-
* (value, index|key, collection).
|
|
9
|
-
*
|
|
10
|
-
* If a property name is provided for iteratee the created _.property style callback returns the property
|
|
11
|
-
* value of the given element.
|
|
12
|
-
*
|
|
13
|
-
* If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
|
|
14
|
-
* elements that have a matching property value, else false.
|
|
15
|
-
*
|
|
16
|
-
* If an object is provided for iteratee the created _.matches style callback returns true for elements that
|
|
17
|
-
* have the properties of the given object, else false.
|
|
18
|
-
*
|
|
19
|
-
* @param collection The collection to iterate over.
|
|
20
|
-
* @param iteratee The function invoked per iteration.
|
|
21
|
-
* @param thisArg The this binding of iteratee.
|
|
22
|
-
* @return Returns the composed aggregate object.
|
|
23
|
-
*/
|
|
24
|
-
groupBy(
|
|
25
|
-
collection: string | null | undefined,
|
|
26
|
-
iteratee?: StringIterator<NotVoid>
|
|
27
|
-
): Dictionary<string[]>;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @see _.groupBy
|
|
31
|
-
*/
|
|
32
|
-
groupBy<T>(
|
|
33
|
-
collection: List<T> | null | undefined,
|
|
34
|
-
iteratee?: ListIteratee<T>
|
|
35
|
-
): Dictionary<T[]>;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @see _.groupBy
|
|
39
|
-
*/
|
|
40
|
-
groupBy<T>(
|
|
41
|
-
collection: NumericDictionary<T> | null | undefined,
|
|
42
|
-
iteratee?: NumericDictionaryIteratee<T>
|
|
43
|
-
): Dictionary<T[]>;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @see _.groupBy
|
|
47
|
-
*/
|
|
48
|
-
groupBy<T extends object>(
|
|
49
|
-
collection: T | null | undefined,
|
|
50
|
-
iteratee?: ObjectIteratee<T>
|
|
51
|
-
): Dictionary<Array<T[keyof T]>>;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
55
|
-
/**
|
|
56
|
-
* @see _.groupBy
|
|
57
|
-
*/
|
|
58
|
-
groupBy(
|
|
59
|
-
this: LoDashImplicitWrapper<string | null | undefined>,
|
|
60
|
-
iteratee?: StringIterator<NotVoid>
|
|
61
|
-
): LoDashImplicitWrapper<Dictionary<string[]>>;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @see _.groupBy
|
|
65
|
-
*/
|
|
66
|
-
groupBy<T>(
|
|
67
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
68
|
-
iteratee?: ListIteratee<T>
|
|
69
|
-
): LoDashImplicitWrapper<Dictionary<T[]>>;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @see _.groupBy
|
|
73
|
-
*/
|
|
74
|
-
groupBy<T extends object>(
|
|
75
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
76
|
-
iteratee?: ObjectIteratee<T>
|
|
77
|
-
): LoDashImplicitWrapper<Dictionary<Array<T[keyof T]>>>;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @see _.groupBy
|
|
81
|
-
*/
|
|
82
|
-
groupBy<T>(
|
|
83
|
-
this: LoDashImplicitWrapper<NumericDictionary<T> | null | undefined>,
|
|
84
|
-
iteratee?: NumericDictionaryIteratee<T>
|
|
85
|
-
): LoDashImplicitWrapper<Dictionary<T[]>>;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
89
|
-
/**
|
|
90
|
-
* @see _.groupBy
|
|
91
|
-
*/
|
|
92
|
-
groupBy(
|
|
93
|
-
this: LoDashExplicitWrapper<string | null | undefined>,
|
|
94
|
-
iteratee?: StringIterator<NotVoid>
|
|
95
|
-
): LoDashExplicitWrapper<Dictionary<string[]>>;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @see _.groupBy
|
|
99
|
-
*/
|
|
100
|
-
groupBy<T>(
|
|
101
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
102
|
-
iteratee?: ListIteratee<T>
|
|
103
|
-
): LoDashExplicitWrapper<Dictionary<T[]>>;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* @see _.groupBy
|
|
107
|
-
*/
|
|
108
|
-
groupBy<T>(
|
|
109
|
-
this: LoDashExplicitWrapper<NumericDictionary<T> | null | undefined>,
|
|
110
|
-
iteratee?: NumericDictionaryIteratee<T>
|
|
111
|
-
): LoDashExplicitWrapper<Dictionary<T[]>>;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @see _.groupBy
|
|
115
|
-
*/
|
|
116
|
-
groupBy<T extends object>(
|
|
117
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
118
|
-
iteratee?: ObjectIteratee<T>
|
|
119
|
-
): LoDashExplicitWrapper<Dictionary<Array<T[keyof T]>>>;
|
|
120
|
-
}
|
|
121
|
-
}
|