@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/size.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Gets the size of collection by returning its length for array-like values or the number of own enumerable
|
|
6
|
-
* properties for objects.
|
|
7
|
-
*
|
|
8
|
-
* @param collection The collection to inspect.
|
|
9
|
-
* @return Returns the size of collection.
|
|
10
|
-
*/
|
|
11
|
-
size(collection: object | string | null | undefined): number;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
15
|
-
/**
|
|
16
|
-
* @see _.size
|
|
17
|
-
*/
|
|
18
|
-
size(): number;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
22
|
-
/**
|
|
23
|
-
* @see _.size
|
|
24
|
-
*/
|
|
25
|
-
size(): LoDashExplicitWrapper<number>;
|
|
26
|
-
}
|
|
27
|
-
}
|
lodash/collection/some.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 any element of collection. Iteration is stopped once predicate
|
|
6
|
-
* returns truthy. 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 any element passes the predicate check, else false.
|
|
11
|
-
*/
|
|
12
|
-
some<T>(
|
|
13
|
-
collection: List<T> | null | undefined,
|
|
14
|
-
predicate?: ListIterateeCustom<T, boolean>
|
|
15
|
-
): boolean;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @see _.some
|
|
19
|
-
*/
|
|
20
|
-
some<T extends object>(
|
|
21
|
-
collection: T | null | undefined,
|
|
22
|
-
predicate?: ObjectIterateeCustom<T, boolean>
|
|
23
|
-
): boolean;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @see _.some
|
|
27
|
-
*/
|
|
28
|
-
some<T>(
|
|
29
|
-
collection: NumericDictionary<T> | null | undefined,
|
|
30
|
-
predicate?: NumericDictionaryIterateeCustom<T, boolean>
|
|
31
|
-
): boolean;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
35
|
-
/**
|
|
36
|
-
* @see _.some
|
|
37
|
-
*/
|
|
38
|
-
some<T>(
|
|
39
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
40
|
-
predicate?: ListIterateeCustom<T, boolean>
|
|
41
|
-
): boolean;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @see _.some
|
|
45
|
-
*/
|
|
46
|
-
some<T extends object>(
|
|
47
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
48
|
-
predicate?: ObjectIterateeCustom<T, boolean>
|
|
49
|
-
): boolean;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @see _.some
|
|
53
|
-
*/
|
|
54
|
-
some<T>(
|
|
55
|
-
this: LoDashImplicitWrapper<NumericDictionary<T> | null | undefined>,
|
|
56
|
-
predicate?: NumericDictionaryIterateeCustom<T, boolean>
|
|
57
|
-
): boolean;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
61
|
-
/**
|
|
62
|
-
* @see _.some
|
|
63
|
-
*/
|
|
64
|
-
some<T>(
|
|
65
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
66
|
-
predicate?: ListIterateeCustom<T, boolean>
|
|
67
|
-
): LoDashExplicitWrapper<boolean>;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @see _.some
|
|
71
|
-
*/
|
|
72
|
-
some<T extends object>(
|
|
73
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
74
|
-
predicate?: ObjectIterateeCustom<T, boolean>
|
|
75
|
-
): LoDashExplicitWrapper<boolean>;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* @see _.some
|
|
79
|
-
*/
|
|
80
|
-
some<T>(
|
|
81
|
-
this: LoDashExplicitWrapper<NumericDictionary<T> | null | undefined>,
|
|
82
|
-
predicate?: NumericDictionaryIterateeCustom<T, boolean>
|
|
83
|
-
): LoDashExplicitWrapper<boolean>;
|
|
84
|
-
}
|
|
85
|
-
}
|
lodash/collection/sortBy.d.ts
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates an array of elements, sorted in ascending order by the results of
|
|
6
|
-
* running each element in a collection through each iteratee. This method
|
|
7
|
-
* performs a stable sort, that is, it preserves the original sort order of
|
|
8
|
-
* equal elements. The iteratees are invoked with one argument: (value).
|
|
9
|
-
*
|
|
10
|
-
* @category Collection
|
|
11
|
-
* @param collection The collection to iterate over.
|
|
12
|
-
* @param [iteratees=[_.identity]]
|
|
13
|
-
* The iteratees to sort by, specified individually or in arrays.
|
|
14
|
-
* @returns Returns the new sorted array.
|
|
15
|
-
* @example
|
|
16
|
-
*
|
|
17
|
-
* var users = [
|
|
18
|
-
* { 'user': 'fred', 'age': 48 },
|
|
19
|
-
* { 'user': 'barney', 'age': 36 },
|
|
20
|
-
* { 'user': 'fred', 'age': 42 },
|
|
21
|
-
* { 'user': 'barney', 'age': 34 }
|
|
22
|
-
* ];
|
|
23
|
-
*
|
|
24
|
-
* _.sortBy(users, function(o) { return o.user; });
|
|
25
|
-
* // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]
|
|
26
|
-
*
|
|
27
|
-
* _.sortBy(users, ['user', 'age']);
|
|
28
|
-
* // => objects for [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]]
|
|
29
|
-
*
|
|
30
|
-
* _.sortBy(users, 'user', function(o) {
|
|
31
|
-
* return Math.floor(o.age / 10);
|
|
32
|
-
* });
|
|
33
|
-
* // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]
|
|
34
|
-
*/
|
|
35
|
-
sortBy<T>(
|
|
36
|
-
collection: List<T> | null | undefined,
|
|
37
|
-
...iteratees: Array<Many<ListIteratee<T>>>
|
|
38
|
-
): T[];
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* @see _.sortBy
|
|
42
|
-
*/
|
|
43
|
-
sortBy<T extends object>(
|
|
44
|
-
collection: T | null | undefined,
|
|
45
|
-
...iteratees: Array<Many<ObjectIteratee<T>>>
|
|
46
|
-
): Array<T[keyof T]>;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
50
|
-
/**
|
|
51
|
-
* @see _.sortBy
|
|
52
|
-
*/
|
|
53
|
-
sortBy<T>(
|
|
54
|
-
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
55
|
-
...iteratees: Array<Many<ListIteratee<T>>>
|
|
56
|
-
): LoDashImplicitWrapper<T[]>;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @see _.sortBy
|
|
60
|
-
*/
|
|
61
|
-
sortBy<T extends object>(
|
|
62
|
-
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
63
|
-
...iteratees: Array<Many<ObjectIteratee<T>>>
|
|
64
|
-
): LoDashImplicitWrapper<Array<T[keyof T]>>;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
68
|
-
/**
|
|
69
|
-
* @see _.sortBy
|
|
70
|
-
*/
|
|
71
|
-
sortBy<T>(
|
|
72
|
-
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
73
|
-
...iteratees: Array<Many<ListIteratee<T>>>
|
|
74
|
-
): LoDashExplicitWrapper<T[]>;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @see _.sortBy
|
|
78
|
-
*/
|
|
79
|
-
sortBy<T extends object>(
|
|
80
|
-
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
81
|
-
...iteratees: Array<Many<ObjectIteratee<T>>>
|
|
82
|
-
): LoDashExplicitWrapper<Array<T[keyof T]>>;
|
|
83
|
-
}
|
|
84
|
-
}
|
lodash/function/after.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* The opposite of _.before; this method creates a function that invokes func once it’s called n or more times.
|
|
6
|
-
*
|
|
7
|
-
* @param n The number of calls before func is invoked.
|
|
8
|
-
* @param func The function to restrict.
|
|
9
|
-
* @return Returns the new restricted function.
|
|
10
|
-
*/
|
|
11
|
-
after<TFunc extends (...args: any[]) => any>(
|
|
12
|
-
n: number,
|
|
13
|
-
func: TFunc
|
|
14
|
-
): TFunc;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
18
|
-
/**
|
|
19
|
-
* @see _.after
|
|
20
|
-
**/
|
|
21
|
-
after<TFunc extends (...args: any[]) => any>(func: TFunc): LoDashImplicitWrapper<TFunc>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
25
|
-
/**
|
|
26
|
-
* @see _.after
|
|
27
|
-
**/
|
|
28
|
-
after<TFunc extends (...args: any[]) => any>(func: TFunc): LoDashExplicitWrapper<TFunc>;
|
|
29
|
-
}
|
|
30
|
-
}
|
lodash/function/ary.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates a function that accepts up to n arguments ignoring any additional arguments.
|
|
6
|
-
*
|
|
7
|
-
* @param func The function to cap arguments for.
|
|
8
|
-
* @param n The arity cap.
|
|
9
|
-
* @returns Returns the new function.
|
|
10
|
-
*/
|
|
11
|
-
ary(
|
|
12
|
-
func: (...args: any[]) => any,
|
|
13
|
-
n?: number
|
|
14
|
-
): (...args: any[]) => any;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
18
|
-
/**
|
|
19
|
-
* @see _.ary
|
|
20
|
-
*/
|
|
21
|
-
ary(n?: number): LoDashImplicitWrapper<(...args: any[]) => any>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
25
|
-
/**
|
|
26
|
-
* @see _.ary
|
|
27
|
-
*/
|
|
28
|
-
ary(n?: number): LoDashExplicitWrapper<(...args: any[]) => any>;
|
|
29
|
-
}
|
|
30
|
-
}
|
lodash/function/before.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates a function that invokes func, with the this binding and arguments of the created function, while
|
|
6
|
-
* it’s called less than n times. Subsequent calls to the created function return the result of the last func
|
|
7
|
-
* invocation.
|
|
8
|
-
*
|
|
9
|
-
* @param n The number of calls at which func is no longer invoked.
|
|
10
|
-
* @param func The function to restrict.
|
|
11
|
-
* @return Returns the new restricted function.
|
|
12
|
-
*/
|
|
13
|
-
before<TFunc extends (...args: any[]) => any>(
|
|
14
|
-
n: number,
|
|
15
|
-
func: TFunc
|
|
16
|
-
): TFunc;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
20
|
-
/**
|
|
21
|
-
* @see _.before
|
|
22
|
-
**/
|
|
23
|
-
before<TFunc extends (...args: any[]) => any>(func: TFunc): LoDashImplicitWrapper<TFunc>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
27
|
-
/**
|
|
28
|
-
* @see _.before
|
|
29
|
-
**/
|
|
30
|
-
before<TFunc extends (...args: any[]) => any>(func: TFunc): LoDashExplicitWrapper<TFunc>;
|
|
31
|
-
}
|
|
32
|
-
}
|
lodash/function/bind.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface FunctionBind {
|
|
4
|
-
placeholder: any;
|
|
5
|
-
|
|
6
|
-
(
|
|
7
|
-
func: (...args: any[]) => any,
|
|
8
|
-
thisArg: any,
|
|
9
|
-
...partials: any[]
|
|
10
|
-
): (...args: any[]) => any;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface LoDashStatic {
|
|
14
|
-
/**
|
|
15
|
-
* Creates a function that invokes func with the this binding of thisArg and prepends any additional _.bind
|
|
16
|
-
* arguments to those provided to the bound function.
|
|
17
|
-
*
|
|
18
|
-
* The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for
|
|
19
|
-
* partially applied arguments.
|
|
20
|
-
*
|
|
21
|
-
* Note: Unlike native Function#bind this method does not set the "length" property of bound functions.
|
|
22
|
-
*
|
|
23
|
-
* @param func The function to bind.
|
|
24
|
-
* @param thisArg The this binding of func.
|
|
25
|
-
* @param partials The arguments to be partially applied.
|
|
26
|
-
* @return Returns the new bound function.
|
|
27
|
-
*/
|
|
28
|
-
bind: FunctionBind;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
32
|
-
/**
|
|
33
|
-
* @see _.bind
|
|
34
|
-
*/
|
|
35
|
-
bind(
|
|
36
|
-
thisArg: any,
|
|
37
|
-
...partials: any[]
|
|
38
|
-
): LoDashImplicitWrapper<(...args: any[]) => any>;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
42
|
-
/**
|
|
43
|
-
* @see _.bind
|
|
44
|
-
*/
|
|
45
|
-
bind(
|
|
46
|
-
thisArg: any,
|
|
47
|
-
...partials: any[]
|
|
48
|
-
): LoDashExplicitWrapper<(...args: any[]) => any>;
|
|
49
|
-
}
|
|
50
|
-
}
|
lodash/function/bindKey.d.ts
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface FunctionBindKey {
|
|
4
|
-
placeholder: any;
|
|
5
|
-
|
|
6
|
-
(
|
|
7
|
-
object: object,
|
|
8
|
-
key: string,
|
|
9
|
-
...partials: any[]
|
|
10
|
-
): (...args: any[]) => any;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface LoDashStatic {
|
|
14
|
-
/**
|
|
15
|
-
* Creates a function that invokes the method at object[key] and prepends any additional _.bindKey arguments
|
|
16
|
-
* to those provided to the bound function.
|
|
17
|
-
*
|
|
18
|
-
* This method differs from _.bind by allowing bound functions to reference methods that may be redefined
|
|
19
|
-
* or don’t yet exist. See Peter Michaux’s article for more details.
|
|
20
|
-
*
|
|
21
|
-
* The _.bindKey.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder
|
|
22
|
-
* for partially applied arguments.
|
|
23
|
-
*
|
|
24
|
-
* @param object The object the method belongs to.
|
|
25
|
-
* @param key The key of the method.
|
|
26
|
-
* @param partials The arguments to be partially applied.
|
|
27
|
-
* @return Returns the new bound function.
|
|
28
|
-
*/
|
|
29
|
-
bindKey: FunctionBindKey;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
33
|
-
/**
|
|
34
|
-
* @see _.bindKey
|
|
35
|
-
*/
|
|
36
|
-
bindKey(
|
|
37
|
-
key: string,
|
|
38
|
-
...partials: any[]
|
|
39
|
-
): LoDashImplicitWrapper<(...args: any[]) => any>;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
43
|
-
/**
|
|
44
|
-
* @see _.bindKey
|
|
45
|
-
*/
|
|
46
|
-
bindKey(
|
|
47
|
-
key: string,
|
|
48
|
-
...partials: any[]
|
|
49
|
-
): LoDashExplicitWrapper<(...args: any[]) => any>;
|
|
50
|
-
}
|
|
51
|
-
}
|
lodash/function/curry.d.ts
DELETED
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates a function that accepts one or more arguments of func that when called either invokes func returning
|
|
6
|
-
* its result, if all func arguments have been provided, or returns a function that accepts one or more of the
|
|
7
|
-
* remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient.
|
|
8
|
-
* @param func The function to curry.
|
|
9
|
-
* @param arity The arity of func.
|
|
10
|
-
* @return Returns the new curried function.
|
|
11
|
-
*/
|
|
12
|
-
curry<T1, R>(func: (t1: T1) => R, arity?: number):
|
|
13
|
-
CurriedFunction1<T1, R>;
|
|
14
|
-
/**
|
|
15
|
-
* Creates a function that accepts one or more arguments of func that when called either invokes func returning
|
|
16
|
-
* its result, if all func arguments have been provided, or returns a function that accepts one or more of the
|
|
17
|
-
* remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient.
|
|
18
|
-
* @param func The function to curry.
|
|
19
|
-
* @param arity The arity of func.
|
|
20
|
-
* @return Returns the new curried function.
|
|
21
|
-
*/
|
|
22
|
-
curry<T1, T2, R>(func: (t1: T1, t2: T2) => R, arity?: number):
|
|
23
|
-
CurriedFunction2<T1, T2, R>;
|
|
24
|
-
/**
|
|
25
|
-
* Creates a function that accepts one or more arguments of func that when called either invokes func returning
|
|
26
|
-
* its result, if all func arguments have been provided, or returns a function that accepts one or more of the
|
|
27
|
-
* remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient.
|
|
28
|
-
* @param func The function to curry.
|
|
29
|
-
* @param arity The arity of func.
|
|
30
|
-
* @return Returns the new curried function.
|
|
31
|
-
*/
|
|
32
|
-
curry<T1, T2, T3, R>(func: (t1: T1, t2: T2, t3: T3) => R, arity?: number):
|
|
33
|
-
CurriedFunction3<T1, T2, T3, R>;
|
|
34
|
-
/**
|
|
35
|
-
* Creates a function that accepts one or more arguments of func that when called either invokes func returning
|
|
36
|
-
* its result, if all func arguments have been provided, or returns a function that accepts one or more of the
|
|
37
|
-
* remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient.
|
|
38
|
-
* @param func The function to curry.
|
|
39
|
-
* @param arity The arity of func.
|
|
40
|
-
* @return Returns the new curried function.
|
|
41
|
-
*/
|
|
42
|
-
curry<T1, T2, T3, T4, R>(func: (t1: T1, t2: T2, t3: T3, t4: T4) => R, arity?: number):
|
|
43
|
-
CurriedFunction4<T1, T2, T3, T4, R>;
|
|
44
|
-
/**
|
|
45
|
-
* Creates a function that accepts one or more arguments of func that when called either invokes func returning
|
|
46
|
-
* its result, if all func arguments have been provided, or returns a function that accepts one or more of the
|
|
47
|
-
* remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient.
|
|
48
|
-
* @param func The function to curry.
|
|
49
|
-
* @param arity The arity of func.
|
|
50
|
-
* @return Returns the new curried function.
|
|
51
|
-
*/
|
|
52
|
-
curry<T1, T2, T3, T4, T5, R>(func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R, arity?: number):
|
|
53
|
-
CurriedFunction5<T1, T2, T3, T4, T5, R>;
|
|
54
|
-
/**
|
|
55
|
-
* Creates a function that accepts one or more arguments of func that when called either invokes func returning
|
|
56
|
-
* its result, if all func arguments have been provided, or returns a function that accepts one or more of the
|
|
57
|
-
* remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient.
|
|
58
|
-
* @param func The function to curry.
|
|
59
|
-
* @param arity The arity of func.
|
|
60
|
-
* @return Returns the new curried function.
|
|
61
|
-
*/
|
|
62
|
-
curry(func: (...args: any[]) => any, arity?: number): (...args: any[]) => any;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
interface CurriedFunction1<T1, R> {
|
|
66
|
-
(): CurriedFunction1<T1, R>;
|
|
67
|
-
(t1: T1): R;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
interface CurriedFunction2<T1, T2, R> {
|
|
71
|
-
(): CurriedFunction2<T1, T2, R>;
|
|
72
|
-
(t1: T1): CurriedFunction1<T2, R>;
|
|
73
|
-
(t1: T1, t2: T2): R;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
interface CurriedFunction3<T1, T2, T3, R> {
|
|
77
|
-
(): CurriedFunction3<T1, T2, T3, R>;
|
|
78
|
-
(t1: T1): CurriedFunction2<T2, T3, R>;
|
|
79
|
-
(t1: T1, t2: T2): CurriedFunction1<T3, R>;
|
|
80
|
-
(t1: T1, t2: T2, t3: T3): R;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
interface CurriedFunction4<T1, T2, T3, T4, R> {
|
|
84
|
-
(): CurriedFunction4<T1, T2, T3, T4, R>;
|
|
85
|
-
(t1: T1): CurriedFunction3<T2, T3, T4, R>;
|
|
86
|
-
(t1: T1, t2: T2): CurriedFunction2<T3, T4, R>;
|
|
87
|
-
(t1: T1, t2: T2, t3: T3): CurriedFunction1<T4, R>;
|
|
88
|
-
(t1: T1, t2: T2, t3: T3, t4: T4): R;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
interface CurriedFunction5<T1, T2, T3, T4, T5, R> {
|
|
92
|
-
(): CurriedFunction5<T1, T2, T3, T4, T5, R>;
|
|
93
|
-
(t1: T1): CurriedFunction4<T2, T3, T4, T5, R>;
|
|
94
|
-
(t1: T1, t2: T2): CurriedFunction3<T3, T4, T5, R>;
|
|
95
|
-
(t1: T1, t2: T2, t3: T3): CurriedFunction2<T4, T5, R>;
|
|
96
|
-
(t1: T1, t2: T2, t3: T3, t4: T4): CurriedFunction1<T5, R>;
|
|
97
|
-
(t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): R;
|
|
98
|
-
}
|
|
99
|
-
interface RightCurriedFunction1<T1, R> {
|
|
100
|
-
(): RightCurriedFunction1<T1, R>;
|
|
101
|
-
(t1: T1): R;
|
|
102
|
-
}
|
|
103
|
-
interface RightCurriedFunction2<T1, T2, R> {
|
|
104
|
-
(): RightCurriedFunction2<T1, T2, R>;
|
|
105
|
-
(t2: T2): RightCurriedFunction1<T1, R>;
|
|
106
|
-
(t1: T1, t2: T2): R;
|
|
107
|
-
}
|
|
108
|
-
interface RightCurriedFunction3<T1, T2, T3, R> {
|
|
109
|
-
(): RightCurriedFunction3<T1, T2, T3, R>;
|
|
110
|
-
(t3: T3): RightCurriedFunction2<T1, T2, R>;
|
|
111
|
-
(t2: T2, t3: T3): RightCurriedFunction1<T1, R>;
|
|
112
|
-
(t1: T1, t2: T2, t3: T3): R;
|
|
113
|
-
}
|
|
114
|
-
interface RightCurriedFunction4<T1, T2, T3, T4, R> {
|
|
115
|
-
(): RightCurriedFunction4<T1, T2, T3, T4, R>;
|
|
116
|
-
(t4: T4): RightCurriedFunction3<T1, T2, T3, R>;
|
|
117
|
-
(t3: T3, t4: T4): RightCurriedFunction2<T1, T2, R>;
|
|
118
|
-
(t2: T2, t3: T3, t4: T4): RightCurriedFunction1<T1, R>;
|
|
119
|
-
(t1: T1, t2: T2, t3: T3, t4: T4): R;
|
|
120
|
-
}
|
|
121
|
-
interface RightCurriedFunction5<T1, T2, T3, T4, T5, R> {
|
|
122
|
-
(): RightCurriedFunction5<T1, T2, T3, T4, T5, R>;
|
|
123
|
-
(t5: T5): RightCurriedFunction4<T1, T2, T3, T4, R>;
|
|
124
|
-
(t4: T4, t5: T5): RightCurriedFunction3<T1, T2, T3, R>;
|
|
125
|
-
(t3: T3, t4: T4, t5: T5): RightCurriedFunction2<T1, T2, R>;
|
|
126
|
-
(t2: T2, t3: T3, t4: T4, t5: T5): RightCurriedFunction1<T1, R>;
|
|
127
|
-
(t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): R;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
131
|
-
/**
|
|
132
|
-
* @see _.curry
|
|
133
|
-
**/
|
|
134
|
-
curry<T1, R>(this: LoDashImplicitWrapper<(t1: T1) => R>, arity?: number):
|
|
135
|
-
LoDashImplicitWrapper<CurriedFunction1<T1, R>>;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* @see _.curry
|
|
139
|
-
**/
|
|
140
|
-
curry<T1, T2, R>(this: LoDashImplicitWrapper<(t1: T1, t2: T2) => R>, arity?: number):
|
|
141
|
-
LoDashImplicitWrapper<CurriedFunction2<T1, T2, R>>;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* @see _.curry
|
|
145
|
-
**/
|
|
146
|
-
curry<T1, T2, T3, R>(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3) => R>, arity?: number):
|
|
147
|
-
LoDashImplicitWrapper<CurriedFunction3<T1, T2, T3, R>>;
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* @see _.curry
|
|
151
|
-
**/
|
|
152
|
-
curry<T1, T2, T3, T4, R>(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4) => R>, arity?: number):
|
|
153
|
-
LoDashImplicitWrapper<CurriedFunction4<T1, T2, T3, T4, R>>;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* @see _.curry
|
|
157
|
-
**/
|
|
158
|
-
curry<T1, T2, T3, T4, T5, R>(this: LoDashImplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R>, arity?: number):
|
|
159
|
-
LoDashImplicitWrapper<CurriedFunction5<T1, T2, T3, T4, T5, R>>;
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* @see _.curry
|
|
163
|
-
**/
|
|
164
|
-
curry(arity?: number): LoDashImplicitWrapper<(...args: any[]) => any>;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
168
|
-
/**
|
|
169
|
-
* @see _.curry
|
|
170
|
-
**/
|
|
171
|
-
curry<T1, R>(this: LoDashExplicitWrapper<(t1: T1) => R>):
|
|
172
|
-
LoDashExplicitWrapper<CurriedFunction1<T1, R>>;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* @see _.curry
|
|
176
|
-
**/
|
|
177
|
-
curry<T1, T2, R>(this: LoDashExplicitWrapper<(t1: T1, t2: T2) => R>):
|
|
178
|
-
LoDashExplicitWrapper<CurriedFunction2<T1, T2, R>>;
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* @see _.curry
|
|
182
|
-
**/
|
|
183
|
-
curry<T1, T2, T3, R>(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3) => R>):
|
|
184
|
-
LoDashExplicitWrapper<CurriedFunction3<T1, T2, T3, R>>;
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* @see _.curry
|
|
188
|
-
**/
|
|
189
|
-
curry<T1, T2, T3, T4, R>(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4) => R>):
|
|
190
|
-
LoDashExplicitWrapper<CurriedFunction4<T1, T2, T3, T4, R>>;
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* @see _.curry
|
|
194
|
-
**/
|
|
195
|
-
curry<T1, T2, T3, T4, T5, R>(this: LoDashExplicitWrapper<(t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R>):
|
|
196
|
-
LoDashExplicitWrapper<CurriedFunction5<T1, T2, T3, T4, T5, R>>;
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* @see _.curry
|
|
200
|
-
**/
|
|
201
|
-
curry(arity?: number): LoDashExplicitWrapper<(...args: any[]) => any>;
|
|
202
|
-
}
|
|
203
|
-
}
|