@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/collection/eachRight.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
eachRight: typeof _.forEachRight; // tslint:disable-line:no-unnecessary-qualifier
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
interface LoDashWrapper<TValue> {
|
|
8
|
-
/**
|
|
9
|
-
* @see _.forEachRight
|
|
10
|
-
*/
|
|
11
|
-
eachRight<T>(
|
|
12
|
-
this: LoDashWrapper<T[] | null | undefined>,
|
|
13
|
-
iteratee?: ArrayIterator<T, any>
|
|
14
|
-
): this;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @see _.forEachRight
|
|
18
|
-
*/
|
|
19
|
-
eachRight(
|
|
20
|
-
this: LoDashWrapper<string | null | undefined>,
|
|
21
|
-
iteratee?: StringIterator<any>
|
|
22
|
-
): this;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @see _.forEachRight
|
|
26
|
-
*/
|
|
27
|
-
eachRight<T>(
|
|
28
|
-
this: LoDashWrapper<List<T> | null | undefined>,
|
|
29
|
-
iteratee?: ListIterator<T, any>
|
|
30
|
-
): this;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @see _.forEachRight
|
|
34
|
-
*/
|
|
35
|
-
eachRight<T extends object>(
|
|
36
|
-
this: LoDashWrapper<T | null | undefined>,
|
|
37
|
-
iteratee?: ObjectIterator<T, any>
|
|
38
|
-
): this;
|
|
39
|
-
}
|
|
40
|
-
}
|
lodash/collection/every.d.ts
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Checks if predicate returns truthy for all elements of collection. Iteration is stopped once predicate
|
|
6
|
-
* returns falsey. The predicate is invoked with three arguments: (value, index|key, collection).
|
|
7
|
-
*
|
|
8
|
-
* @param collection The collection to iterate over.
|
|
9
|
-
* @param predicate The function invoked per iteration.
|
|
10
|
-
* @return Returns true if all elements pass the predicate check, else false.
|
|
11
|
-
*/
|
|
12
|
-
every<T>(
|
|
13
|
-
collection: List<T> | null | undefined,
|
|
14
|
-
predicate?: ListIterateeCustom<T, boolean>
|
|
15
|
-
): boolean;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @see _.every
|
|
19
|
-
*/
|
|
20
|
-
every<T>(
|
|
21
|
-
collection: NumericDictionary<T> | null | undefined,
|
|
22
|
-
predicate?: NumericDictionaryIterateeCustom<T, boolean>
|
|
23
|
-
): boolean;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @see _.every
|
|
27
|
-
*/
|
|
28
|
-
every<T extends object>(
|
|
29
|
-
collection: T | null | undefined,
|
|
30
|
-
predicate?: ObjectIterateeCustom<T, boolean>
|
|
31
|
-
): boolean;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
35
|
-
/**
|
|
36
|
-
* @see _.every
|
|
37
|
-
*/
|
|
38
|
-
every<T>(
|
|
39
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
40
|
-
predicate?: ListIterateeCustom<T, boolean>
|
|
41
|
-
): boolean;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @see _.every
|
|
45
|
-
*/
|
|
46
|
-
every<T extends object>(
|
|
47
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
48
|
-
predicate?: ObjectIterateeCustom<T, boolean>
|
|
49
|
-
): boolean;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @see _.every
|
|
53
|
-
*/
|
|
54
|
-
every<T>(
|
|
55
|
-
this: LoDashImplicitWrapper<NumericDictionary<T> | null | undefined>,
|
|
56
|
-
predicate?: NumericDictionaryIterateeCustom<T, boolean>
|
|
57
|
-
): boolean;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
61
|
-
/**
|
|
62
|
-
* @see _.every
|
|
63
|
-
*/
|
|
64
|
-
every<T>(
|
|
65
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
66
|
-
predicate?: ListIterateeCustom<T, boolean>
|
|
67
|
-
): LoDashExplicitWrapper<boolean>;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @see _.every
|
|
71
|
-
*/
|
|
72
|
-
every<T extends object>(
|
|
73
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
74
|
-
predicate?: ObjectIterateeCustom<T, boolean>
|
|
75
|
-
): LoDashExplicitWrapper<boolean>;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* @see _.every
|
|
79
|
-
*/
|
|
80
|
-
every<T>(
|
|
81
|
-
this: LoDashExplicitWrapper<NumericDictionary<T> | null | undefined>,
|
|
82
|
-
predicate?: NumericDictionaryIterateeCustom<T, boolean>
|
|
83
|
-
): LoDashExplicitWrapper<boolean>;
|
|
84
|
-
}
|
|
85
|
-
}
|
lodash/collection/filter.d.ts
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Iterates over elements of collection, returning an array of all elements predicate returns truthy for. The
|
|
6
|
-
* predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection).
|
|
7
|
-
*
|
|
8
|
-
* If a property name is provided for predicate the created _.property style callback returns the property
|
|
9
|
-
* value of the given element.
|
|
10
|
-
*
|
|
11
|
-
* If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
|
|
12
|
-
* elements that have a matching property value, else false.
|
|
13
|
-
*
|
|
14
|
-
* If an object is provided for predicate the created _.matches style callback returns true for elements that
|
|
15
|
-
* have the properties of the given object, else false.
|
|
16
|
-
*
|
|
17
|
-
* @param collection The collection to iterate over.
|
|
18
|
-
* @param predicate The function invoked per iteration.
|
|
19
|
-
* @param thisArg The this binding of predicate.
|
|
20
|
-
* @return Returns the new filtered array.
|
|
21
|
-
*/
|
|
22
|
-
filter(
|
|
23
|
-
collection: string | null | undefined,
|
|
24
|
-
predicate?: StringIterator<boolean>
|
|
25
|
-
): string[];
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @see _.filter
|
|
29
|
-
*/
|
|
30
|
-
filter<T, S extends T>(
|
|
31
|
-
collection: List<T> | null | undefined,
|
|
32
|
-
predicate: ListIteratorTypeGuard<T, S>
|
|
33
|
-
): S[];
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @see _.filter
|
|
37
|
-
*/
|
|
38
|
-
filter<T>(
|
|
39
|
-
collection: List<T> | null | undefined,
|
|
40
|
-
predicate?: ListIterateeCustom<T, boolean>
|
|
41
|
-
): T[];
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @see _.filter
|
|
45
|
-
*/
|
|
46
|
-
filter<T extends object, S extends T[keyof T]>(
|
|
47
|
-
collection: T | null | undefined,
|
|
48
|
-
predicate: ObjectIteratorTypeGuard<T, S>
|
|
49
|
-
): S[];
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @see _.filter
|
|
53
|
-
*/
|
|
54
|
-
filter<T extends object>(
|
|
55
|
-
collection: T | null | undefined,
|
|
56
|
-
predicate?: ObjectIterateeCustom<T, boolean>
|
|
57
|
-
): Array<T[keyof T]>;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
61
|
-
/**
|
|
62
|
-
* @see _.filter
|
|
63
|
-
*/
|
|
64
|
-
filter(
|
|
65
|
-
this: LoDashImplicitWrapper<string | null | undefined>,
|
|
66
|
-
predicate?: StringIterator<boolean>
|
|
67
|
-
): LoDashImplicitWrapper<string[]>;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @see _.filter
|
|
71
|
-
*/
|
|
72
|
-
filter<T, S extends T>(
|
|
73
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
74
|
-
predicate: ListIteratorTypeGuard<T, S>
|
|
75
|
-
): LoDashImplicitWrapper<S[]>;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* @see _.filter
|
|
79
|
-
*/
|
|
80
|
-
filter<T>(
|
|
81
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
82
|
-
predicate?: ListIterateeCustom<T, boolean>
|
|
83
|
-
): LoDashImplicitWrapper<T[]>;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @see _.filter
|
|
87
|
-
*/
|
|
88
|
-
filter<T extends object, S extends T[keyof T]>(
|
|
89
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
90
|
-
predicate: ObjectIteratorTypeGuard<T, S>
|
|
91
|
-
): LoDashImplicitWrapper<S[]>;
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* @see _.filter
|
|
95
|
-
*/
|
|
96
|
-
filter<T extends object>(
|
|
97
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
98
|
-
predicate?: ObjectIterateeCustom<T, boolean>
|
|
99
|
-
): LoDashImplicitWrapper<Array<T[keyof T]>>;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
103
|
-
/**
|
|
104
|
-
* @see _.filter
|
|
105
|
-
*/
|
|
106
|
-
filter(
|
|
107
|
-
this: LoDashExplicitWrapper<string | null | undefined>,
|
|
108
|
-
predicate?: StringIterator<boolean>
|
|
109
|
-
): LoDashExplicitWrapper<string[]>;
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* @see _.filter
|
|
113
|
-
*/
|
|
114
|
-
filter<T, S extends T>(
|
|
115
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
116
|
-
predicate: ListIteratorTypeGuard<T, S>
|
|
117
|
-
): LoDashExplicitWrapper<S[]>;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @see _.filter
|
|
121
|
-
*/
|
|
122
|
-
filter<T>(
|
|
123
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
124
|
-
predicate?: ListIterateeCustom<T, boolean>
|
|
125
|
-
): LoDashExplicitWrapper<T[]>;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @see _.filter
|
|
129
|
-
*/
|
|
130
|
-
filter<T extends object, S extends T[keyof T]>(
|
|
131
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
132
|
-
predicate: ObjectIteratorTypeGuard<T, S>
|
|
133
|
-
): LoDashExplicitWrapper<S[]>;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* @see _.filter
|
|
137
|
-
*/
|
|
138
|
-
filter<T extends object>(
|
|
139
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
140
|
-
predicate?: ObjectIterateeCustom<T, boolean>
|
|
141
|
-
): LoDashExplicitWrapper<Array<T[keyof T]>>;
|
|
142
|
-
}
|
|
143
|
-
}
|
lodash/collection/find.d.ts
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Iterates over elements of collection, returning the first element predicate returns truthy for.
|
|
6
|
-
* The predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection).
|
|
7
|
-
*
|
|
8
|
-
* If a property name is provided for predicate the created _.property style callback returns the property
|
|
9
|
-
* value of the given element.
|
|
10
|
-
*
|
|
11
|
-
* If a value is also provided for thisArg the created _.matchesProperty style callback returns true for
|
|
12
|
-
* elements that have a matching property value, else false.
|
|
13
|
-
*
|
|
14
|
-
* If an object is provided for predicate the created _.matches style callback returns true for elements that
|
|
15
|
-
* have the properties of the given object, else false.
|
|
16
|
-
*
|
|
17
|
-
* @param collection The collection to search.
|
|
18
|
-
* @param predicate The function invoked per iteration.
|
|
19
|
-
* @param fromIndex The index to search from.
|
|
20
|
-
* @return Returns the matched element, else undefined.
|
|
21
|
-
*/
|
|
22
|
-
find<T, S extends T>(
|
|
23
|
-
collection: List<T> | null | undefined,
|
|
24
|
-
predicate: ListIteratorTypeGuard<T, S>,
|
|
25
|
-
fromIndex?: number
|
|
26
|
-
): S|undefined;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @see _.find
|
|
30
|
-
*/
|
|
31
|
-
find<T>(
|
|
32
|
-
collection: List<T> | null | undefined,
|
|
33
|
-
predicate?: ListIterateeCustom<T, boolean>,
|
|
34
|
-
fromIndex?: number
|
|
35
|
-
): T|undefined;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @see _.find
|
|
39
|
-
*/
|
|
40
|
-
find<T extends object, S extends T[keyof T]>(
|
|
41
|
-
collection: T | null | undefined,
|
|
42
|
-
predicate: ObjectIteratorTypeGuard<T, S>,
|
|
43
|
-
fromIndex?: number
|
|
44
|
-
): S|undefined;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @see _.find
|
|
48
|
-
*/
|
|
49
|
-
find<T extends object>(
|
|
50
|
-
collection: T | null | undefined,
|
|
51
|
-
predicate?: ObjectIterateeCustom<T, boolean>,
|
|
52
|
-
fromIndex?: number
|
|
53
|
-
): T[keyof T]|undefined;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
57
|
-
/**
|
|
58
|
-
* @see _.find
|
|
59
|
-
*/
|
|
60
|
-
find<T, S extends T>(
|
|
61
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
62
|
-
predicate: ListIteratorTypeGuard<T, S>,
|
|
63
|
-
fromIndex?: number
|
|
64
|
-
): S|undefined;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @see _.find
|
|
68
|
-
*/
|
|
69
|
-
find<T>(
|
|
70
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
71
|
-
predicate?: ListIterateeCustom<T, boolean>,
|
|
72
|
-
fromIndex?: number
|
|
73
|
-
): T|undefined;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @see _.find
|
|
77
|
-
*/
|
|
78
|
-
find<T extends object, S extends T[keyof T]>(
|
|
79
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
80
|
-
predicate: ObjectIteratorTypeGuard<T, S>,
|
|
81
|
-
fromIndex?: number
|
|
82
|
-
): S|undefined;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @see _.find
|
|
86
|
-
*/
|
|
87
|
-
find<T extends object>(
|
|
88
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
89
|
-
predicate?: ObjectIterateeCustom<T, boolean>,
|
|
90
|
-
fromIndex?: number
|
|
91
|
-
): T[keyof T]|undefined;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
95
|
-
/**
|
|
96
|
-
* @see _.find
|
|
97
|
-
*/
|
|
98
|
-
find<T, S extends T>(
|
|
99
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
100
|
-
predicate: ListIteratorTypeGuard<T, S>,
|
|
101
|
-
fromIndex?: number
|
|
102
|
-
): LoDashExplicitWrapper<S|undefined>;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @see _.find
|
|
106
|
-
*/
|
|
107
|
-
find<T>(
|
|
108
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
109
|
-
predicate?: ListIterateeCustom<T, boolean>,
|
|
110
|
-
fromIndex?: number
|
|
111
|
-
): LoDashExplicitWrapper<T|undefined>;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @see _.find
|
|
115
|
-
*/
|
|
116
|
-
find<T extends object, S extends T[keyof T]>(
|
|
117
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
118
|
-
predicate: ObjectIteratorTypeGuard<T, S>,
|
|
119
|
-
fromIndex?: number
|
|
120
|
-
): LoDashExplicitWrapper<S|undefined>;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @see _.find
|
|
124
|
-
*/
|
|
125
|
-
find<T extends object>(
|
|
126
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
127
|
-
predicate?: ObjectIterateeCustom<T, boolean>,
|
|
128
|
-
fromIndex?: number
|
|
129
|
-
): LoDashExplicitWrapper<T[keyof T]|undefined>;
|
|
130
|
-
}
|
|
131
|
-
}
|
lodash/collection/findLast.d.ts
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like _.find except that it iterates over elements of a collection from
|
|
6
|
-
* right to left.
|
|
7
|
-
* @param collection Searches for a value in this list.
|
|
8
|
-
* @param predicate The function called per iteration.
|
|
9
|
-
* @param fromIndex The index to search from.
|
|
10
|
-
* @return The found element, else undefined.
|
|
11
|
-
**/
|
|
12
|
-
findLast<T, S extends T>(
|
|
13
|
-
collection: List<T> | null | undefined,
|
|
14
|
-
predicate: ListIteratorTypeGuard<T, S>,
|
|
15
|
-
fromIndex?: number
|
|
16
|
-
): S|undefined;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @see _.findLast
|
|
20
|
-
*/
|
|
21
|
-
findLast<T>(
|
|
22
|
-
collection: List<T> | null | undefined,
|
|
23
|
-
predicate?: ListIterateeCustom<T, boolean>,
|
|
24
|
-
fromIndex?: number
|
|
25
|
-
): T|undefined;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @see _.findLast
|
|
29
|
-
*/
|
|
30
|
-
findLast<T extends object, S extends T[keyof T]>(
|
|
31
|
-
collection: T | null | undefined,
|
|
32
|
-
predicate: ObjectIteratorTypeGuard<T, S>,
|
|
33
|
-
fromIndex?: number
|
|
34
|
-
): S|undefined;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @see _.findLast
|
|
38
|
-
*/
|
|
39
|
-
findLast<T extends object>(
|
|
40
|
-
collection: T | null | undefined,
|
|
41
|
-
predicate?: ObjectIterateeCustom<T, boolean>,
|
|
42
|
-
fromIndex?: number
|
|
43
|
-
): T[keyof T]|undefined;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
47
|
-
/**
|
|
48
|
-
* @see _.findLast
|
|
49
|
-
*/
|
|
50
|
-
findLast<T, S extends T>(
|
|
51
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
52
|
-
predicate: ListIteratorTypeGuard<T, S>,
|
|
53
|
-
fromIndex?: number
|
|
54
|
-
): S | undefined;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @see _.findLast
|
|
58
|
-
*/
|
|
59
|
-
findLast<T>(
|
|
60
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
61
|
-
predicate?: ListIterateeCustom<T, boolean>,
|
|
62
|
-
fromIndex?: number
|
|
63
|
-
): T | undefined;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @see _.findLast
|
|
67
|
-
*/
|
|
68
|
-
findLast<T extends object, S extends T[keyof T]>(
|
|
69
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
70
|
-
predicate: ObjectIteratorTypeGuard<T, S>,
|
|
71
|
-
fromIndex?: number
|
|
72
|
-
): S|undefined;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @see _.findLast
|
|
76
|
-
*/
|
|
77
|
-
findLast<T extends object>(
|
|
78
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
79
|
-
predicate?: ObjectIterateeCustom<T, boolean>,
|
|
80
|
-
fromIndex?: number
|
|
81
|
-
): T[keyof T]|undefined;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
85
|
-
/**
|
|
86
|
-
* @see _.findLast
|
|
87
|
-
*/
|
|
88
|
-
findLast<T, S extends T>(
|
|
89
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
90
|
-
predicate: ListIteratorTypeGuard<T, S>,
|
|
91
|
-
fromIndex?: number
|
|
92
|
-
): LoDashExplicitWrapper<S | undefined>;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* @see _.findLast
|
|
96
|
-
*/
|
|
97
|
-
findLast<T>(
|
|
98
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
99
|
-
predicate?: ListIterateeCustom<T, boolean>,
|
|
100
|
-
fromIndex?: number
|
|
101
|
-
): LoDashExplicitWrapper<T | undefined>;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @see _.findLast
|
|
105
|
-
*/
|
|
106
|
-
findLast<T extends object, S extends T[keyof T]>(
|
|
107
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
108
|
-
predicate: ObjectIteratorTypeGuard<T, S>,
|
|
109
|
-
fromIndex?: number
|
|
110
|
-
): LoDashExplicitWrapper<S|undefined>;
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* @see _.findLast
|
|
114
|
-
*/
|
|
115
|
-
findLast<T extends object>(
|
|
116
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
117
|
-
predicate?: ObjectIterateeCustom<T, boolean>,
|
|
118
|
-
fromIndex?: number
|
|
119
|
-
): LoDashExplicitWrapper<T[keyof T]|undefined>;
|
|
120
|
-
}
|
|
121
|
-
}
|
lodash/collection/flatMap.d.ts
DELETED
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates an array of flattened values by running each element in collection through iteratee
|
|
6
|
-
* and concating its result to the other mapped values. The iteratee is invoked with three arguments:
|
|
7
|
-
* (value, index|key, collection).
|
|
8
|
-
*
|
|
9
|
-
* @param collection The collection to iterate over.
|
|
10
|
-
* @param iteratee The function invoked per iteration.
|
|
11
|
-
* @return Returns the new flattened array.
|
|
12
|
-
*/
|
|
13
|
-
flatMap<T>(
|
|
14
|
-
collection: List<Many<T>> | Dictionary<Many<T>> | NumericDictionary<Many<T>> | null | undefined
|
|
15
|
-
): T[];
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @see _.flatMap
|
|
19
|
-
*/
|
|
20
|
-
flatMap(
|
|
21
|
-
collection: object | null | undefined
|
|
22
|
-
): any[];
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @see _.flatMap
|
|
26
|
-
*/
|
|
27
|
-
flatMap<T, TResult>(
|
|
28
|
-
collection: List<T> | null | undefined,
|
|
29
|
-
iteratee: ListIterator<T, Many<TResult>>
|
|
30
|
-
): TResult[];
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @see _.flatMap
|
|
34
|
-
*/
|
|
35
|
-
flatMap<T, TResult>(
|
|
36
|
-
collection: NumericDictionary<T> | null | undefined,
|
|
37
|
-
iteratee: NumericDictionaryIterator<T, Many<TResult>>
|
|
38
|
-
): TResult[];
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* @see _.flatMap
|
|
42
|
-
*/
|
|
43
|
-
flatMap<T extends object, TResult>(
|
|
44
|
-
collection: T | null | undefined,
|
|
45
|
-
iteratee: ObjectIterator<T, Many<TResult>>
|
|
46
|
-
): TResult[];
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @see _.flatMap
|
|
50
|
-
*/
|
|
51
|
-
flatMap(
|
|
52
|
-
collection: object | null | undefined,
|
|
53
|
-
iteratee: string
|
|
54
|
-
): any[];
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @see _.flatMap
|
|
58
|
-
*/
|
|
59
|
-
flatMap(
|
|
60
|
-
collection: object | null | undefined,
|
|
61
|
-
iteratee: object
|
|
62
|
-
): boolean[];
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
66
|
-
/**
|
|
67
|
-
* @see _.flatMap
|
|
68
|
-
*/
|
|
69
|
-
flatMap<T>(this: LoDashImplicitWrapper<List<Many<T>> | Dictionary<Many<T>> | NumericDictionary<Many<T>> | null | undefined>): LoDashImplicitWrapper<T[]>;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @see _.flatMap
|
|
73
|
-
*/
|
|
74
|
-
flatMap(): LoDashImplicitWrapper<any[]>;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @see _.flatMap
|
|
78
|
-
*/
|
|
79
|
-
flatMap<T, TResult>(
|
|
80
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
81
|
-
iteratee: ListIterator<T, Many<TResult>>
|
|
82
|
-
): LoDashImplicitWrapper<TResult[]>;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @see _.flatMap
|
|
86
|
-
*/
|
|
87
|
-
flatMap<T extends object, TResult>(
|
|
88
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
89
|
-
iteratee: ObjectIterator<T, Many<TResult>>
|
|
90
|
-
): LoDashImplicitWrapper<TResult[]>;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @see _.flatMap
|
|
94
|
-
*/
|
|
95
|
-
flatMap<T, TResult>(
|
|
96
|
-
this: LoDashImplicitWrapper<NumericDictionary<T> | null | undefined>,
|
|
97
|
-
iteratee: NumericDictionaryIterator<T, Many<TResult>>
|
|
98
|
-
): LoDashImplicitWrapper<TResult[]>;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @see _.flatMap
|
|
102
|
-
*/
|
|
103
|
-
flatMap(
|
|
104
|
-
iteratee: string
|
|
105
|
-
): LoDashImplicitWrapper<any[]>;
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* @see _.flatMap
|
|
109
|
-
*/
|
|
110
|
-
flatMap(
|
|
111
|
-
iteratee: object
|
|
112
|
-
): LoDashImplicitWrapper<boolean[]>;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
116
|
-
/**
|
|
117
|
-
* @see _.flatMap
|
|
118
|
-
*/
|
|
119
|
-
flatMap<T>(this: LoDashExplicitWrapper<List<Many<T>> | Dictionary<Many<T>> | NumericDictionary<Many<T>> | null | undefined>): LoDashExplicitWrapper<T[]>;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* @see _.flatMap
|
|
123
|
-
*/
|
|
124
|
-
flatMap(): LoDashExplicitWrapper<any[]>;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* @see _.flatMap
|
|
128
|
-
*/
|
|
129
|
-
flatMap<T, TResult>(
|
|
130
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
131
|
-
iteratee: ListIterator<T, Many<TResult>>
|
|
132
|
-
): LoDashExplicitWrapper<TResult[]>;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @see _.flatMap
|
|
136
|
-
*/
|
|
137
|
-
flatMap<T, TResult>(
|
|
138
|
-
this: LoDashExplicitWrapper<NumericDictionary<T> | null | undefined>,
|
|
139
|
-
iteratee: NumericDictionaryIterator<T, Many<TResult>>
|
|
140
|
-
): LoDashExplicitWrapper<TResult[]>;
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* @see _.flatMap
|
|
144
|
-
*/
|
|
145
|
-
flatMap<T extends object, TResult>(
|
|
146
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
147
|
-
iteratee: ObjectIterator<T, Many<TResult>>
|
|
148
|
-
): LoDashExplicitWrapper<TResult[]>;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* @see _.flatMap
|
|
152
|
-
*/
|
|
153
|
-
flatMap(
|
|
154
|
-
iteratee: string
|
|
155
|
-
): LoDashExplicitWrapper<any[]>;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @see _.flatMap
|
|
159
|
-
*/
|
|
160
|
-
flatMap(
|
|
161
|
-
iteratee: object
|
|
162
|
-
): LoDashExplicitWrapper<boolean[]>;
|
|
163
|
-
}
|
|
164
|
-
}
|