@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/object/valuesIn.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates an array of the own and inherited enumerable property values of object.
|
|
6
|
-
*
|
|
7
|
-
* @param object The object to query.
|
|
8
|
-
* @return Returns the array of property values.
|
|
9
|
-
*/
|
|
10
|
-
valuesIn<T>(object: Dictionary<T>|NumericDictionary<T>|List<T> | null | undefined): T[];
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @see _.valuesIn
|
|
14
|
-
*/
|
|
15
|
-
valuesIn<T extends object>(object: T | null | undefined): Array<T[keyof T]>;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
19
|
-
/**
|
|
20
|
-
* @see _.valuesIn
|
|
21
|
-
*/
|
|
22
|
-
valuesIn<T>(this: LoDashImplicitWrapper<Dictionary<T> | NumericDictionary<T> | List<T> | null | undefined>): LoDashImplicitWrapper<T[]>;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @see _.valuesIn
|
|
26
|
-
*/
|
|
27
|
-
valuesIn<T extends object>(this: LoDashImplicitWrapper<T | null | undefined>): LoDashImplicitWrapper<Array<T[keyof T]>>;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
31
|
-
/**
|
|
32
|
-
* @see _.valuesIn
|
|
33
|
-
*/
|
|
34
|
-
valuesIn<T>(this: LoDashExplicitWrapper<Dictionary<T> | NumericDictionary<T> | List<T> | null | undefined>): LoDashExplicitWrapper<T[]>;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @see _.valuesIn
|
|
38
|
-
*/
|
|
39
|
-
valuesIn<T extends object>(this: LoDashExplicitWrapper<T | null | undefined>): LoDashExplicitWrapper<Array<T[keyof T]>>;
|
|
40
|
-
}
|
|
41
|
-
}
|
lodash/seq/chain.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates a lodash object that wraps value with explicit method chaining enabled.
|
|
6
|
-
*
|
|
7
|
-
* @param value The value to wrap.
|
|
8
|
-
* @return Returns the new lodash wrapper instance.
|
|
9
|
-
*/
|
|
10
|
-
chain<T>(value: T): LoDashExplicitWrapper<T>;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
14
|
-
/**
|
|
15
|
-
* @see _.chain
|
|
16
|
-
*/
|
|
17
|
-
chain(): LoDashExplicitWrapper<TValue>;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
21
|
-
/**
|
|
22
|
-
* @see _.chain
|
|
23
|
-
*/
|
|
24
|
-
chain(): this;
|
|
25
|
-
}
|
|
26
|
-
}
|
lodash/seq/prototype.at.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// import * as _ from "../index";
|
|
2
|
-
// declare module "../index" {
|
|
3
|
-
// interface LoDashWrapper<TValue> {
|
|
4
|
-
// /**
|
|
5
|
-
// * This method is the wrapper version of _.at.
|
|
6
|
-
// *
|
|
7
|
-
// * @
|
|
8
|
-
// * @return Returns the new lodash wrapper instance.
|
|
9
|
-
// */
|
|
10
|
-
// at(paths: string|string[]): this;
|
|
11
|
-
// }
|
|
12
|
-
// }
|
lodash/seq/prototype.chain.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Creates a lodash object that wraps value with explicit method chaining enabled.
|
|
6
|
-
*
|
|
7
|
-
* @param value The value to wrap.
|
|
8
|
-
* @return Returns the new lodash wrapper instance.
|
|
9
|
-
*/
|
|
10
|
-
chain<T>(value: T): LoDashExplicitWrapper<T>;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
14
|
-
/**
|
|
15
|
-
* @see _.chain
|
|
16
|
-
*/
|
|
17
|
-
chain(): LoDashExplicitWrapper<TValue>;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
21
|
-
/**
|
|
22
|
-
* @see _.chain
|
|
23
|
-
*/
|
|
24
|
-
chain(): this;
|
|
25
|
-
}
|
|
26
|
-
}
|
lodash/seq/prototype.commit.d.ts
DELETED
lodash/seq/prototype.plant.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
4
|
-
/**
|
|
5
|
-
* Creates a clone of the chained sequence planting value as the wrapped value.
|
|
6
|
-
* @param value The value to plant as the wrapped value.
|
|
7
|
-
* @return Returns the new lodash wrapper instance.
|
|
8
|
-
*/
|
|
9
|
-
plant<T>(value: T): LoDashImplicitWrapper<T>;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
13
|
-
/**
|
|
14
|
-
* @see _.plant
|
|
15
|
-
*/
|
|
16
|
-
plant<T>(value: T): LoDashExplicitWrapper<T>;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashWrapper<TValue> {
|
|
4
|
-
/**
|
|
5
|
-
* Reverses the wrapped array so the first element becomes the last, the second element becomes the second to
|
|
6
|
-
* last, and so on.
|
|
7
|
-
*
|
|
8
|
-
* Note: This method mutates the wrapped array.
|
|
9
|
-
*
|
|
10
|
-
* @return Returns the new reversed lodash wrapper instance.
|
|
11
|
-
*/
|
|
12
|
-
reverse(): this;
|
|
13
|
-
}
|
|
14
|
-
}
|
lodash/seq/prototype.toJSON.d.ts
DELETED
lodash/seq/prototype.value.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashWrapper<TValue> {
|
|
4
|
-
/**
|
|
5
|
-
* Executes the chained sequence to extract the unwrapped value.
|
|
6
|
-
*
|
|
7
|
-
* @alias _.toJSON, _.valueOf
|
|
8
|
-
*
|
|
9
|
-
* @return Returns the resolved unwrapped value.
|
|
10
|
-
*/
|
|
11
|
-
value(): TValue;
|
|
12
|
-
}
|
|
13
|
-
}
|
lodash/seq/tap.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method invokes interceptor and returns value. The interceptor is bound to thisArg and invoked with one
|
|
6
|
-
* argument; (value). The purpose of this method is to "tap into" a method chain in order to perform operations
|
|
7
|
-
* on intermediate results within the chain.
|
|
8
|
-
*
|
|
9
|
-
* @param value The value to provide to interceptor.
|
|
10
|
-
* @param interceptor The function to invoke.
|
|
11
|
-
* @parem thisArg The this binding of interceptor.
|
|
12
|
-
* @return Returns value.
|
|
13
|
-
**/
|
|
14
|
-
tap<T>(
|
|
15
|
-
value: T,
|
|
16
|
-
interceptor: (value: T) => void
|
|
17
|
-
): T;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface LoDashWrapper<TValue> {
|
|
21
|
-
/**
|
|
22
|
-
* @see _.tap
|
|
23
|
-
*/
|
|
24
|
-
tap(
|
|
25
|
-
interceptor: (value: TValue) => void
|
|
26
|
-
): this;
|
|
27
|
-
}
|
|
28
|
-
}
|
lodash/seq/thru.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* This method is like _.tap except that it returns the result of interceptor.
|
|
6
|
-
*
|
|
7
|
-
* @param value The value to provide to interceptor.
|
|
8
|
-
* @param interceptor The function to invoke.
|
|
9
|
-
* @param thisArg The this binding of interceptor.
|
|
10
|
-
* @return Returns the result of interceptor.
|
|
11
|
-
*/
|
|
12
|
-
thru<T, TResult>(
|
|
13
|
-
value: T,
|
|
14
|
-
interceptor: (value: T) => TResult
|
|
15
|
-
): TResult;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
19
|
-
/**
|
|
20
|
-
* @see _.thru
|
|
21
|
-
*/
|
|
22
|
-
thru<TResult>(interceptor: (value: TValue) => TResult): LoDashImplicitWrapper<TResult>;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
26
|
-
/**
|
|
27
|
-
* @see _.thru
|
|
28
|
-
*/
|
|
29
|
-
thru<TResult>(interceptor: (value: TValue) => TResult): LoDashExplicitWrapper<TResult>;
|
|
30
|
-
}
|
|
31
|
-
}
|
lodash/string/camelCase.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Converts string to camel case.
|
|
6
|
-
*
|
|
7
|
-
* @param string The string to convert.
|
|
8
|
-
* @return Returns the camel cased string.
|
|
9
|
-
*/
|
|
10
|
-
camelCase(string?: string): string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
14
|
-
/**
|
|
15
|
-
* @see _.camelCase
|
|
16
|
-
*/
|
|
17
|
-
camelCase(): string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
21
|
-
/**
|
|
22
|
-
* @see _.camelCase
|
|
23
|
-
*/
|
|
24
|
-
camelCase(): LoDashExplicitWrapper<string>;
|
|
25
|
-
}
|
|
26
|
-
}
|
lodash/string/capitalize.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Converts the first character of string to upper case and the remaining to lower case.
|
|
6
|
-
*
|
|
7
|
-
* @param string The string to capitalize.
|
|
8
|
-
* @return Returns the capitalized string.
|
|
9
|
-
*/
|
|
10
|
-
capitalize(string?: string): string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
14
|
-
/**
|
|
15
|
-
* @see _.capitalize
|
|
16
|
-
*/
|
|
17
|
-
capitalize(): string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
21
|
-
/**
|
|
22
|
-
* @see _.capitalize
|
|
23
|
-
*/
|
|
24
|
-
capitalize(): LoDashExplicitWrapper<string>;
|
|
25
|
-
}
|
|
26
|
-
}
|
lodash/string/deburr.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Deburrs string by converting latin-1 supplementary letters to basic latin letters and removing combining
|
|
6
|
-
* diacritical marks.
|
|
7
|
-
*
|
|
8
|
-
* @param string The string to deburr.
|
|
9
|
-
* @return Returns the deburred string.
|
|
10
|
-
*/
|
|
11
|
-
deburr(string?: string): string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
15
|
-
/**
|
|
16
|
-
* @see _.deburr
|
|
17
|
-
*/
|
|
18
|
-
deburr(): string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
22
|
-
/**
|
|
23
|
-
* @see _.deburr
|
|
24
|
-
*/
|
|
25
|
-
deburr(): LoDashExplicitWrapper<string>;
|
|
26
|
-
}
|
|
27
|
-
}
|
lodash/string/endsWith.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Checks if string ends with the given target string.
|
|
6
|
-
*
|
|
7
|
-
* @param string The string to search.
|
|
8
|
-
* @param target The string to search for.
|
|
9
|
-
* @param position The position to search from.
|
|
10
|
-
* @return Returns true if string ends with target, else false.
|
|
11
|
-
*/
|
|
12
|
-
endsWith(
|
|
13
|
-
string?: string,
|
|
14
|
-
target?: string,
|
|
15
|
-
position?: number
|
|
16
|
-
): boolean;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
20
|
-
/**
|
|
21
|
-
* @see _.endsWith
|
|
22
|
-
*/
|
|
23
|
-
endsWith(
|
|
24
|
-
target?: string,
|
|
25
|
-
position?: number
|
|
26
|
-
): boolean;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
30
|
-
/**
|
|
31
|
-
* @see _.endsWith
|
|
32
|
-
*/
|
|
33
|
-
endsWith(
|
|
34
|
-
target?: string,
|
|
35
|
-
position?: number
|
|
36
|
-
): LoDashExplicitWrapper<boolean>;
|
|
37
|
-
}
|
|
38
|
-
}
|
lodash/string/escape.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Converts the characters "&", "<", ">", '"', "'", and "`" in string to their corresponding HTML entities.
|
|
6
|
-
*
|
|
7
|
-
* Note: No other characters are escaped. To escape additional characters use a third-party library like he.
|
|
8
|
-
*
|
|
9
|
-
* hough the ">" character is escaped for symmetry, characters like ">" and "/" don’t need escaping in HTML
|
|
10
|
-
* and have no special meaning unless they're part of a tag or unquoted attribute value. See Mathias Bynens’s
|
|
11
|
-
* article (under "semi-related fun fact") for more details.
|
|
12
|
-
*
|
|
13
|
-
* Backticks are escaped because in IE < 9, they can break out of attribute values or HTML comments. See #59,
|
|
14
|
-
* #102, #108, and #133 of the HTML5 Security Cheatsheet for more details.
|
|
15
|
-
*
|
|
16
|
-
* When working with HTML you should always quote attribute values to reduce XSS vectors.
|
|
17
|
-
*
|
|
18
|
-
* @param string The string to escape.
|
|
19
|
-
* @return Returns the escaped string.
|
|
20
|
-
*/
|
|
21
|
-
escape(string?: string): string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
25
|
-
/**
|
|
26
|
-
* @see _.escape
|
|
27
|
-
*/
|
|
28
|
-
escape(): string;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
32
|
-
/**
|
|
33
|
-
* @see _.escape
|
|
34
|
-
*/
|
|
35
|
-
escape(): LoDashExplicitWrapper<string>;
|
|
36
|
-
}
|
|
37
|
-
}
|
lodash/string/escapeRegExp.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Escapes the RegExp special characters "^", "$", "\", ".", "*", "+", "?", "(", ")", "[", "]",
|
|
6
|
-
* "{", "}", and "|" in string.
|
|
7
|
-
*
|
|
8
|
-
* @param string The string to escape.
|
|
9
|
-
* @return Returns the escaped string.
|
|
10
|
-
*/
|
|
11
|
-
escapeRegExp(string?: string): string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
15
|
-
/**
|
|
16
|
-
* @see _.escapeRegExp
|
|
17
|
-
*/
|
|
18
|
-
escapeRegExp(): string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
22
|
-
/**
|
|
23
|
-
* @see _.escapeRegExp
|
|
24
|
-
*/
|
|
25
|
-
escapeRegExp(): LoDashExplicitWrapper<string>;
|
|
26
|
-
}
|
|
27
|
-
}
|
lodash/string/kebabCase.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Converts string to kebab case.
|
|
6
|
-
*
|
|
7
|
-
* @param string The string to convert.
|
|
8
|
-
* @return Returns the kebab cased string.
|
|
9
|
-
*/
|
|
10
|
-
kebabCase(string?: string): string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
14
|
-
/**
|
|
15
|
-
* @see _.kebabCase
|
|
16
|
-
*/
|
|
17
|
-
kebabCase(): string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
21
|
-
/**
|
|
22
|
-
* @see _.kebabCase
|
|
23
|
-
*/
|
|
24
|
-
kebabCase(): LoDashExplicitWrapper<string>;
|
|
25
|
-
}
|
|
26
|
-
}
|
lodash/string/lowerCase.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Converts `string`, as space separated words, to lower case.
|
|
6
|
-
*
|
|
7
|
-
* @param string The string to convert.
|
|
8
|
-
* @return Returns the lower cased string.
|
|
9
|
-
*/
|
|
10
|
-
lowerCase(string?: string): string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
14
|
-
/**
|
|
15
|
-
* @see _.lowerCase
|
|
16
|
-
*/
|
|
17
|
-
lowerCase(): string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
21
|
-
/**
|
|
22
|
-
* @see _.lowerCase
|
|
23
|
-
*/
|
|
24
|
-
lowerCase(): LoDashExplicitWrapper<string>;
|
|
25
|
-
}
|
|
26
|
-
}
|
lodash/string/lowerFirst.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Converts the first character of `string` to lower case.
|
|
6
|
-
*
|
|
7
|
-
* @param string The string to convert.
|
|
8
|
-
* @return Returns the converted string.
|
|
9
|
-
*/
|
|
10
|
-
lowerFirst(string?: string): string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
14
|
-
/**
|
|
15
|
-
* @see _.lowerFirst
|
|
16
|
-
*/
|
|
17
|
-
lowerFirst(): string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
21
|
-
/**
|
|
22
|
-
* @see _.lowerFirst
|
|
23
|
-
*/
|
|
24
|
-
lowerFirst(): LoDashExplicitWrapper<string>;
|
|
25
|
-
}
|
|
26
|
-
}
|
lodash/string/pad.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Pads string on the left and right sides if it’s shorter than length. Padding characters are truncated if
|
|
6
|
-
* they can’t be evenly divided by length.
|
|
7
|
-
*
|
|
8
|
-
* @param string The string to pad.
|
|
9
|
-
* @param length The padding length.
|
|
10
|
-
* @param chars The string used as padding.
|
|
11
|
-
* @return Returns the padded string.
|
|
12
|
-
*/
|
|
13
|
-
pad(
|
|
14
|
-
string?: string,
|
|
15
|
-
length?: number,
|
|
16
|
-
chars?: string
|
|
17
|
-
): string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
21
|
-
/**
|
|
22
|
-
* @see _.pad
|
|
23
|
-
*/
|
|
24
|
-
pad(
|
|
25
|
-
length?: number,
|
|
26
|
-
chars?: string
|
|
27
|
-
): string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
31
|
-
/**
|
|
32
|
-
* @see _.pad
|
|
33
|
-
*/
|
|
34
|
-
pad(
|
|
35
|
-
length?: number,
|
|
36
|
-
chars?: string
|
|
37
|
-
): LoDashExplicitWrapper<string>;
|
|
38
|
-
}
|
|
39
|
-
}
|
lodash/string/padEnd.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Pads string on the right side if it’s shorter than length. Padding characters are truncated if they exceed
|
|
6
|
-
* length.
|
|
7
|
-
*
|
|
8
|
-
* @param string The string to pad.
|
|
9
|
-
* @param length The padding length.
|
|
10
|
-
* @param chars The string used as padding.
|
|
11
|
-
* @return Returns the padded string.
|
|
12
|
-
*/
|
|
13
|
-
padEnd(
|
|
14
|
-
string?: string,
|
|
15
|
-
length?: number,
|
|
16
|
-
chars?: string
|
|
17
|
-
): string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
21
|
-
/**
|
|
22
|
-
* @see _.padEnd
|
|
23
|
-
*/
|
|
24
|
-
padEnd(
|
|
25
|
-
length?: number,
|
|
26
|
-
chars?: string
|
|
27
|
-
): string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
31
|
-
/**
|
|
32
|
-
* @see _.padEnd
|
|
33
|
-
*/
|
|
34
|
-
padEnd(
|
|
35
|
-
length?: number,
|
|
36
|
-
chars?: string
|
|
37
|
-
): LoDashExplicitWrapper<string>;
|
|
38
|
-
}
|
|
39
|
-
}
|
lodash/string/padStart.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as _ from "../index";
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
interface LoDashStatic {
|
|
4
|
-
/**
|
|
5
|
-
* Pads string on the left side if it’s shorter than length. Padding characters are truncated if they exceed
|
|
6
|
-
* length.
|
|
7
|
-
*
|
|
8
|
-
* @param string The string to pad.
|
|
9
|
-
* @param length The padding length.
|
|
10
|
-
* @param chars The string used as padding.
|
|
11
|
-
* @return Returns the padded string.
|
|
12
|
-
*/
|
|
13
|
-
padStart(
|
|
14
|
-
string?: string,
|
|
15
|
-
length?: number,
|
|
16
|
-
chars?: string
|
|
17
|
-
): string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
21
|
-
/**
|
|
22
|
-
* @see _.padStart
|
|
23
|
-
*/
|
|
24
|
-
padStart(
|
|
25
|
-
length?: number,
|
|
26
|
-
chars?: string
|
|
27
|
-
): string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
31
|
-
/**
|
|
32
|
-
* @see _.padStart
|
|
33
|
-
*/
|
|
34
|
-
padStart(
|
|
35
|
-
length?: number,
|
|
36
|
-
chars?: string
|
|
37
|
-
): LoDashExplicitWrapper<string>;
|
|
38
|
-
}
|
|
39
|
-
}
|