@types/lodash 4.14.87 → 4.14.91
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/LICENSE +0 -0
- lodash/README.md +1 -1
- lodash/add.d.ts +0 -0
- lodash/after.d.ts +0 -0
- lodash/ary.d.ts +0 -0
- lodash/assign.d.ts +0 -0
- lodash/assignIn.d.ts +0 -0
- lodash/assignInWith.d.ts +0 -0
- lodash/assignWith.d.ts +0 -0
- lodash/at.d.ts +0 -0
- lodash/attempt.d.ts +0 -0
- lodash/before.d.ts +0 -0
- lodash/bind.d.ts +0 -0
- lodash/bindAll.d.ts +0 -0
- lodash/bindKey.d.ts +0 -0
- lodash/camelCase.d.ts +0 -0
- lodash/capitalize.d.ts +0 -0
- lodash/castArray.d.ts +0 -0
- lodash/ceil.d.ts +0 -0
- lodash/chain.d.ts +0 -0
- lodash/chunk.d.ts +0 -0
- lodash/clamp.d.ts +0 -0
- lodash/clone.d.ts +0 -0
- lodash/cloneDeep.d.ts +0 -0
- lodash/cloneDeepWith.d.ts +0 -0
- lodash/cloneWith.d.ts +0 -0
- lodash/compact.d.ts +0 -0
- lodash/concat.d.ts +0 -0
- lodash/cond.d.ts +0 -0
- lodash/conformsTo.d.ts +0 -0
- lodash/constant.d.ts +0 -0
- lodash/countBy.d.ts +0 -0
- lodash/create.d.ts +0 -0
- lodash/curry.d.ts +0 -0
- lodash/curryRight.d.ts +0 -0
- lodash/debounce.d.ts +0 -0
- lodash/deburr.d.ts +0 -0
- lodash/defaultTo.d.ts +0 -0
- lodash/defaults.d.ts +0 -0
- lodash/defaultsDeep.d.ts +0 -0
- lodash/defer.d.ts +0 -0
- lodash/delay.d.ts +0 -0
- lodash/difference.d.ts +0 -0
- lodash/differenceBy.d.ts +0 -0
- lodash/differenceWith.d.ts +0 -0
- lodash/divide.d.ts +0 -0
- lodash/drop.d.ts +0 -0
- lodash/dropRight.d.ts +0 -0
- lodash/dropRightWhile.d.ts +0 -0
- lodash/dropWhile.d.ts +0 -0
- lodash/each.d.ts +0 -0
- lodash/eachRight.d.ts +0 -0
- lodash/endsWith.d.ts +0 -0
- lodash/entries.d.ts +0 -0
- lodash/entriesIn.d.ts +0 -0
- lodash/eq.d.ts +0 -0
- lodash/escape.d.ts +0 -0
- lodash/escapeRegExp.d.ts +0 -0
- lodash/every.d.ts +0 -0
- lodash/extend.d.ts +0 -0
- lodash/extendWith.d.ts +0 -0
- lodash/fill.d.ts +0 -0
- lodash/filter.d.ts +0 -0
- lodash/find.d.ts +0 -0
- lodash/findIndex.d.ts +0 -0
- lodash/findKey.d.ts +0 -0
- lodash/findLast.d.ts +0 -0
- lodash/findLastIndex.d.ts +0 -0
- lodash/findLastKey.d.ts +0 -0
- lodash/first.d.ts +0 -0
- lodash/flatMap.d.ts +0 -0
- lodash/flatMapDeep.d.ts +0 -0
- lodash/flatMapDepth.d.ts +0 -0
- lodash/flatten.d.ts +0 -0
- lodash/flattenDeep.d.ts +0 -0
- lodash/flattenDepth.d.ts +0 -0
- lodash/flip.d.ts +0 -0
- lodash/floor.d.ts +0 -0
- lodash/flow.d.ts +0 -0
- lodash/flowRight.d.ts +0 -0
- lodash/forEach.d.ts +0 -0
- lodash/forEachRight.d.ts +0 -0
- lodash/forIn.d.ts +0 -0
- lodash/forInRight.d.ts +0 -0
- lodash/forOwn.d.ts +0 -0
- lodash/forOwnRight.d.ts +0 -0
- lodash/fromPairs.d.ts +0 -0
- lodash/functions.d.ts +0 -0
- lodash/functionsIn.d.ts +0 -0
- lodash/get.d.ts +0 -0
- lodash/groupBy.d.ts +0 -0
- lodash/gt.d.ts +0 -0
- lodash/gte.d.ts +0 -0
- lodash/has.d.ts +0 -0
- lodash/hasIn.d.ts +0 -0
- lodash/head.d.ts +0 -0
- lodash/identity.d.ts +0 -0
- lodash/inRange.d.ts +0 -0
- lodash/includes.d.ts +0 -0
- lodash/index.d.ts +164 -26
- lodash/indexOf.d.ts +0 -0
- lodash/initial.d.ts +0 -0
- lodash/intersection.d.ts +0 -0
- lodash/intersectionBy.d.ts +0 -0
- lodash/intersectionWith.d.ts +0 -0
- lodash/invert.d.ts +0 -0
- lodash/invertBy.d.ts +0 -0
- lodash/invoke.d.ts +0 -0
- lodash/invokeMap.d.ts +0 -0
- lodash/isArguments.d.ts +0 -0
- lodash/isArray.d.ts +0 -0
- lodash/isArrayBuffer.d.ts +0 -0
- lodash/isArrayLike.d.ts +0 -0
- lodash/isArrayLikeObject.d.ts +0 -0
- lodash/isBoolean.d.ts +0 -0
- lodash/isBuffer.d.ts +0 -0
- lodash/isDate.d.ts +0 -0
- lodash/isElement.d.ts +0 -0
- lodash/isEmpty.d.ts +0 -0
- lodash/isEqual.d.ts +0 -0
- lodash/isEqualWith.d.ts +0 -0
- lodash/isError.d.ts +0 -0
- lodash/isFinite.d.ts +0 -0
- lodash/isFunction.d.ts +0 -0
- lodash/isInteger.d.ts +0 -0
- lodash/isLength.d.ts +0 -0
- lodash/isMap.d.ts +0 -0
- lodash/isMatch.d.ts +0 -0
- lodash/isMatchWith.d.ts +0 -0
- lodash/isNaN.d.ts +0 -0
- lodash/isNative.d.ts +0 -0
- lodash/isNil.d.ts +0 -0
- lodash/isNull.d.ts +0 -0
- lodash/isNumber.d.ts +0 -0
- lodash/isObject.d.ts +0 -0
- lodash/isObjectLike.d.ts +0 -0
- lodash/isPlainObject.d.ts +0 -0
- lodash/isRegExp.d.ts +0 -0
- lodash/isSafeInteger.d.ts +0 -0
- lodash/isSet.d.ts +0 -0
- lodash/isString.d.ts +0 -0
- lodash/isSymbol.d.ts +0 -0
- lodash/isTypedArray.d.ts +0 -0
- lodash/isUndefined.d.ts +0 -0
- lodash/isWeakMap.d.ts +0 -0
- lodash/isWeakSet.d.ts +0 -0
- lodash/iteratee.d.ts +0 -0
- lodash/join.d.ts +0 -0
- lodash/kebabCase.d.ts +0 -0
- lodash/keyBy.d.ts +0 -0
- lodash/keys.d.ts +0 -0
- lodash/keysIn.d.ts +0 -0
- lodash/last.d.ts +0 -0
- lodash/lastIndexOf.d.ts +0 -0
- lodash/lowerCase.d.ts +0 -0
- lodash/lowerFirst.d.ts +0 -0
- lodash/lt.d.ts +0 -0
- lodash/lte.d.ts +0 -0
- lodash/map.d.ts +0 -0
- lodash/mapKeys.d.ts +0 -0
- lodash/mapValues.d.ts +0 -0
- lodash/matches.d.ts +0 -0
- lodash/matchesProperty.d.ts +0 -0
- lodash/max.d.ts +0 -0
- lodash/maxBy.d.ts +0 -0
- lodash/mean.d.ts +0 -0
- lodash/meanBy.d.ts +0 -0
- lodash/memoize.d.ts +0 -0
- lodash/merge.d.ts +0 -0
- lodash/mergeWith.d.ts +0 -0
- lodash/method.d.ts +0 -0
- lodash/methodOf.d.ts +0 -0
- lodash/min.d.ts +0 -0
- lodash/minBy.d.ts +0 -0
- lodash/mixin.d.ts +0 -0
- lodash/negate.d.ts +0 -0
- lodash/noConflict.d.ts +0 -0
- lodash/noop.d.ts +0 -0
- lodash/now.d.ts +0 -0
- lodash/nth.d.ts +0 -0
- lodash/nthArg.d.ts +0 -0
- lodash/omit.d.ts +0 -0
- lodash/omitBy.d.ts +0 -0
- lodash/once.d.ts +0 -0
- lodash/orderBy.d.ts +0 -0
- lodash/over.d.ts +0 -0
- lodash/overArgs.d.ts +0 -0
- lodash/overEvery.d.ts +0 -0
- lodash/overSome.d.ts +0 -0
- lodash/package.json +2 -2
- lodash/pad.d.ts +0 -0
- lodash/padEnd.d.ts +0 -0
- lodash/padStart.d.ts +0 -0
- lodash/parseInt.d.ts +0 -0
- lodash/partial.d.ts +0 -0
- lodash/partialRight.d.ts +0 -0
- lodash/partition.d.ts +0 -0
- lodash/pick.d.ts +0 -0
- lodash/pickBy.d.ts +0 -0
- lodash/property.d.ts +0 -0
- lodash/propertyOf.d.ts +0 -0
- lodash/pull.d.ts +0 -0
- lodash/pullAll.d.ts +0 -0
- lodash/pullAllBy.d.ts +0 -0
- lodash/pullAllWith.d.ts +0 -0
- lodash/pullAt.d.ts +0 -0
- lodash/random.d.ts +0 -0
- lodash/range.d.ts +0 -0
- lodash/rangeRight.d.ts +0 -0
- lodash/rearg.d.ts +0 -0
- lodash/reduce.d.ts +0 -0
- lodash/reduceRight.d.ts +0 -0
- lodash/reject.d.ts +0 -0
- lodash/remove.d.ts +0 -0
- lodash/repeat.d.ts +0 -0
- lodash/replace.d.ts +0 -0
- lodash/rest.d.ts +0 -0
- lodash/result.d.ts +0 -0
- lodash/reverse.d.ts +0 -0
- lodash/round.d.ts +0 -0
- lodash/runInContext.d.ts +0 -0
- lodash/sample.d.ts +0 -0
- lodash/sampleSize.d.ts +0 -0
- lodash/set.d.ts +0 -0
- lodash/setWith.d.ts +0 -0
- lodash/shuffle.d.ts +0 -0
- lodash/size.d.ts +0 -0
- lodash/slice.d.ts +0 -0
- lodash/snakeCase.d.ts +0 -0
- lodash/some.d.ts +0 -0
- lodash/sortBy.d.ts +0 -0
- lodash/sortedIndex.d.ts +0 -0
- lodash/sortedIndexBy.d.ts +0 -0
- lodash/sortedIndexOf.d.ts +0 -0
- lodash/sortedLastIndex.d.ts +0 -0
- lodash/sortedLastIndexBy.d.ts +0 -0
- lodash/sortedLastIndexOf.d.ts +0 -0
- lodash/sortedUniq.d.ts +0 -0
- lodash/sortedUniqBy.d.ts +0 -0
- lodash/split.d.ts +0 -0
- lodash/spread.d.ts +0 -0
- lodash/startCase.d.ts +0 -0
- lodash/startsWith.d.ts +0 -0
- lodash/subtract.d.ts +0 -0
- lodash/sum.d.ts +0 -0
- lodash/sumBy.d.ts +0 -0
- lodash/tail.d.ts +0 -0
- lodash/take.d.ts +0 -0
- lodash/takeRight.d.ts +0 -0
- lodash/takeRightWhile.d.ts +0 -0
- lodash/takeWhile.d.ts +0 -0
- lodash/tap.d.ts +0 -0
- lodash/template.d.ts +0 -0
- lodash/throttle.d.ts +0 -0
- lodash/thru.d.ts +0 -0
- lodash/times.d.ts +0 -0
- lodash/toArray.d.ts +0 -0
- lodash/toFinite.d.ts +0 -0
- lodash/toInteger.d.ts +0 -0
- lodash/toLength.d.ts +0 -0
- lodash/toLower.d.ts +0 -0
- lodash/toNumber.d.ts +0 -0
- lodash/toPairs.d.ts +0 -0
- lodash/toPairsIn.d.ts +0 -0
- lodash/toPath.d.ts +0 -0
- lodash/toPlainObject.d.ts +0 -0
- lodash/toSafeInteger.d.ts +0 -0
- lodash/toString.d.ts +0 -0
- lodash/toUpper.d.ts +0 -0
- lodash/transform.d.ts +0 -0
- lodash/trim.d.ts +0 -0
- lodash/trimEnd.d.ts +0 -0
- lodash/trimStart.d.ts +0 -0
- lodash/truncate.d.ts +0 -0
- lodash/unary.d.ts +0 -0
- lodash/unescape.d.ts +0 -0
- lodash/union.d.ts +0 -0
- lodash/unionBy.d.ts +0 -0
- lodash/unionWith.d.ts +0 -0
- lodash/uniq.d.ts +0 -0
- lodash/uniqBy.d.ts +0 -0
- lodash/uniqWith.d.ts +0 -0
- lodash/uniqueId.d.ts +0 -0
- lodash/unset.d.ts +0 -0
- lodash/unzip.d.ts +0 -0
- lodash/unzipWith.d.ts +0 -0
- lodash/update.d.ts +0 -0
- lodash/updateWith.d.ts +0 -0
- lodash/upperCase.d.ts +0 -0
- lodash/upperFirst.d.ts +0 -0
- lodash/values.d.ts +0 -0
- lodash/valuesIn.d.ts +0 -0
- lodash/without.d.ts +0 -0
- lodash/words.d.ts +0 -0
- lodash/wrap.d.ts +0 -0
- lodash/xor.d.ts +0 -0
- lodash/xorBy.d.ts +0 -0
- lodash/xorWith.d.ts +0 -0
- lodash/zip.d.ts +0 -0
- lodash/zipObject.d.ts +0 -0
- lodash/zipObjectDeep.d.ts +0 -0
- lodash/zipWith.d.ts +0 -0
lodash/LICENSE
CHANGED
|
File without changes
|
lodash/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Lo-Dash (http://lodash.com/).
|
|
|
8
8
|
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 15 Dec 2017 01:17:38 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: _
|
|
14
14
|
|
lodash/add.d.ts
CHANGED
|
File without changes
|
lodash/after.d.ts
CHANGED
|
File without changes
|
lodash/ary.d.ts
CHANGED
|
File without changes
|
lodash/assign.d.ts
CHANGED
|
File without changes
|
lodash/assignIn.d.ts
CHANGED
|
File without changes
|
lodash/assignInWith.d.ts
CHANGED
|
File without changes
|
lodash/assignWith.d.ts
CHANGED
|
File without changes
|
lodash/at.d.ts
CHANGED
|
File without changes
|
lodash/attempt.d.ts
CHANGED
|
File without changes
|
lodash/before.d.ts
CHANGED
|
File without changes
|
lodash/bind.d.ts
CHANGED
|
File without changes
|
lodash/bindAll.d.ts
CHANGED
|
File without changes
|
lodash/bindKey.d.ts
CHANGED
|
File without changes
|
lodash/camelCase.d.ts
CHANGED
|
File without changes
|
lodash/capitalize.d.ts
CHANGED
|
File without changes
|
lodash/castArray.d.ts
CHANGED
|
File without changes
|
lodash/ceil.d.ts
CHANGED
|
File without changes
|
lodash/chain.d.ts
CHANGED
|
File without changes
|
lodash/chunk.d.ts
CHANGED
|
File without changes
|
lodash/clamp.d.ts
CHANGED
|
File without changes
|
lodash/clone.d.ts
CHANGED
|
File without changes
|
lodash/cloneDeep.d.ts
CHANGED
|
File without changes
|
lodash/cloneDeepWith.d.ts
CHANGED
|
File without changes
|
lodash/cloneWith.d.ts
CHANGED
|
File without changes
|
lodash/compact.d.ts
CHANGED
|
File without changes
|
lodash/concat.d.ts
CHANGED
|
File without changes
|
lodash/cond.d.ts
CHANGED
|
File without changes
|
lodash/conformsTo.d.ts
CHANGED
|
File without changes
|
lodash/constant.d.ts
CHANGED
|
File without changes
|
lodash/countBy.d.ts
CHANGED
|
File without changes
|
lodash/create.d.ts
CHANGED
|
File without changes
|
lodash/curry.d.ts
CHANGED
|
File without changes
|
lodash/curryRight.d.ts
CHANGED
|
File without changes
|
lodash/debounce.d.ts
CHANGED
|
File without changes
|
lodash/deburr.d.ts
CHANGED
|
File without changes
|
lodash/defaultTo.d.ts
CHANGED
|
File without changes
|
lodash/defaults.d.ts
CHANGED
|
File without changes
|
lodash/defaultsDeep.d.ts
CHANGED
|
File without changes
|
lodash/defer.d.ts
CHANGED
|
File without changes
|
lodash/delay.d.ts
CHANGED
|
File without changes
|
lodash/difference.d.ts
CHANGED
|
File without changes
|
lodash/differenceBy.d.ts
CHANGED
|
File without changes
|
lodash/differenceWith.d.ts
CHANGED
|
File without changes
|
lodash/divide.d.ts
CHANGED
|
File without changes
|
lodash/drop.d.ts
CHANGED
|
File without changes
|
lodash/dropRight.d.ts
CHANGED
|
File without changes
|
lodash/dropRightWhile.d.ts
CHANGED
|
File without changes
|
lodash/dropWhile.d.ts
CHANGED
|
File without changes
|
lodash/each.d.ts
CHANGED
|
File without changes
|
lodash/eachRight.d.ts
CHANGED
|
File without changes
|
lodash/endsWith.d.ts
CHANGED
|
File without changes
|
lodash/entries.d.ts
CHANGED
|
File without changes
|
lodash/entriesIn.d.ts
CHANGED
|
File without changes
|
lodash/eq.d.ts
CHANGED
|
File without changes
|
lodash/escape.d.ts
CHANGED
|
File without changes
|
lodash/escapeRegExp.d.ts
CHANGED
|
File without changes
|
lodash/every.d.ts
CHANGED
|
File without changes
|
lodash/extend.d.ts
CHANGED
|
File without changes
|
lodash/extendWith.d.ts
CHANGED
|
File without changes
|
lodash/fill.d.ts
CHANGED
|
File without changes
|
lodash/filter.d.ts
CHANGED
|
File without changes
|
lodash/find.d.ts
CHANGED
|
File without changes
|
lodash/findIndex.d.ts
CHANGED
|
File without changes
|
lodash/findKey.d.ts
CHANGED
|
File without changes
|
lodash/findLast.d.ts
CHANGED
|
File without changes
|
lodash/findLastIndex.d.ts
CHANGED
|
File without changes
|
lodash/findLastKey.d.ts
CHANGED
|
File without changes
|
lodash/first.d.ts
CHANGED
|
File without changes
|
lodash/flatMap.d.ts
CHANGED
|
File without changes
|
lodash/flatMapDeep.d.ts
CHANGED
|
File without changes
|
lodash/flatMapDepth.d.ts
CHANGED
|
File without changes
|
lodash/flatten.d.ts
CHANGED
|
File without changes
|
lodash/flattenDeep.d.ts
CHANGED
|
File without changes
|
lodash/flattenDepth.d.ts
CHANGED
|
File without changes
|
lodash/flip.d.ts
CHANGED
|
File without changes
|
lodash/floor.d.ts
CHANGED
|
File without changes
|
lodash/flow.d.ts
CHANGED
|
File without changes
|
lodash/flowRight.d.ts
CHANGED
|
File without changes
|
lodash/forEach.d.ts
CHANGED
|
File without changes
|
lodash/forEachRight.d.ts
CHANGED
|
File without changes
|
lodash/forIn.d.ts
CHANGED
|
File without changes
|
lodash/forInRight.d.ts
CHANGED
|
File without changes
|
lodash/forOwn.d.ts
CHANGED
|
File without changes
|
lodash/forOwnRight.d.ts
CHANGED
|
File without changes
|
lodash/fromPairs.d.ts
CHANGED
|
File without changes
|
lodash/functions.d.ts
CHANGED
|
File without changes
|
lodash/functionsIn.d.ts
CHANGED
|
File without changes
|
lodash/get.d.ts
CHANGED
|
File without changes
|
lodash/groupBy.d.ts
CHANGED
|
File without changes
|
lodash/gt.d.ts
CHANGED
|
File without changes
|
lodash/gte.d.ts
CHANGED
|
File without changes
|
lodash/has.d.ts
CHANGED
|
File without changes
|
lodash/hasIn.d.ts
CHANGED
|
File without changes
|
lodash/head.d.ts
CHANGED
|
File without changes
|
lodash/identity.d.ts
CHANGED
|
File without changes
|
lodash/inRange.d.ts
CHANGED
|
File without changes
|
lodash/includes.d.ts
CHANGED
|
File without changes
|
lodash/index.d.ts
CHANGED
|
@@ -3954,6 +3954,10 @@ declare namespace _ {
|
|
|
3954
3954
|
arrays3: List<T> | null | undefined,
|
|
3955
3955
|
arrays4: List<T> | null | undefined,
|
|
3956
3956
|
arrays5: List<T> | null | undefined,
|
|
3957
|
+
iteratee: (value1: T, value2: T, value3: T, value4: T, value5: T) => TResult
|
|
3958
|
+
): TResult[];
|
|
3959
|
+
|
|
3960
|
+
zipWith<T, TResult>(
|
|
3957
3961
|
...iteratee: Array<((...group: T[]) => TResult) | List<T> | null | undefined>
|
|
3958
3962
|
): TResult[];
|
|
3959
3963
|
}
|
|
@@ -6263,7 +6267,7 @@ declare namespace _ {
|
|
|
6263
6267
|
partition<T>(
|
|
6264
6268
|
collection: List<T> | null | undefined,
|
|
6265
6269
|
callback: ValueIteratee<T>
|
|
6266
|
-
): T[][];
|
|
6270
|
+
): [T[], T[]];
|
|
6267
6271
|
|
|
6268
6272
|
/**
|
|
6269
6273
|
* @see _.partition
|
|
@@ -6271,7 +6275,7 @@ declare namespace _ {
|
|
|
6271
6275
|
partition<T extends object>(
|
|
6272
6276
|
collection: T | null | undefined,
|
|
6273
6277
|
callback: ValueIteratee<T[keyof T]>
|
|
6274
|
-
): Array<Array<T[keyof T]
|
|
6278
|
+
): [Array<T[keyof T]>, Array<T[keyof T]>];
|
|
6275
6279
|
}
|
|
6276
6280
|
|
|
6277
6281
|
interface LoDashImplicitWrapper<TValue> {
|
|
@@ -6281,7 +6285,7 @@ declare namespace _ {
|
|
|
6281
6285
|
partition<T>(
|
|
6282
6286
|
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
6283
6287
|
callback: ValueIteratee<T>
|
|
6284
|
-
): LoDashImplicitWrapper<T[][]>;
|
|
6288
|
+
): LoDashImplicitWrapper<[T[], T[]]>;
|
|
6285
6289
|
|
|
6286
6290
|
/**
|
|
6287
6291
|
* @see _.partition
|
|
@@ -6289,7 +6293,7 @@ declare namespace _ {
|
|
|
6289
6293
|
partition<T>(
|
|
6290
6294
|
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
6291
6295
|
callback: ValueIteratee<T[keyof T]>
|
|
6292
|
-
): LoDashImplicitWrapper<Array<Array<T[keyof T]
|
|
6296
|
+
): LoDashImplicitWrapper<[Array<T[keyof T]>, Array<T[keyof T]>]>;
|
|
6293
6297
|
}
|
|
6294
6298
|
|
|
6295
6299
|
interface LoDashExplicitWrapper<TValue> {
|
|
@@ -6299,7 +6303,7 @@ declare namespace _ {
|
|
|
6299
6303
|
partition<T>(
|
|
6300
6304
|
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
6301
6305
|
callback: ValueIteratee<T>
|
|
6302
|
-
): LoDashExplicitWrapper<T[][]>;
|
|
6306
|
+
): LoDashExplicitWrapper<[T[], T[]]>;
|
|
6303
6307
|
|
|
6304
6308
|
/**
|
|
6305
6309
|
* @see _.partition
|
|
@@ -6307,7 +6311,7 @@ declare namespace _ {
|
|
|
6307
6311
|
partition<T>(
|
|
6308
6312
|
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
6309
6313
|
callback: ValueIteratee<T[keyof T]>
|
|
6310
|
-
): LoDashExplicitWrapper<Array<Array<T[keyof T]
|
|
6314
|
+
): LoDashExplicitWrapper<[Array<T[keyof T]>, Array<T[keyof T]>]>;
|
|
6311
6315
|
}
|
|
6312
6316
|
|
|
6313
6317
|
//_.reduce
|
|
@@ -11585,6 +11589,10 @@ declare namespace _ {
|
|
|
11585
11589
|
lower: number,
|
|
11586
11590
|
upper: number
|
|
11587
11591
|
): number;
|
|
11592
|
+
clamp(
|
|
11593
|
+
number: number,
|
|
11594
|
+
upper: number
|
|
11595
|
+
): number;
|
|
11588
11596
|
}
|
|
11589
11597
|
|
|
11590
11598
|
interface LoDashImplicitWrapper<TValue> {
|
|
@@ -11595,6 +11603,9 @@ declare namespace _ {
|
|
|
11595
11603
|
lower: number,
|
|
11596
11604
|
upper: number
|
|
11597
11605
|
): number;
|
|
11606
|
+
clamp(
|
|
11607
|
+
upper: number
|
|
11608
|
+
): number;
|
|
11598
11609
|
}
|
|
11599
11610
|
|
|
11600
11611
|
interface LoDashExplicitWrapper<TValue> {
|
|
@@ -11605,6 +11616,9 @@ declare namespace _ {
|
|
|
11605
11616
|
lower: number,
|
|
11606
11617
|
upper: number
|
|
11607
11618
|
): LoDashExplicitWrapper<number>;
|
|
11619
|
+
clamp(
|
|
11620
|
+
upper: number
|
|
11621
|
+
): LoDashExplicitWrapper<number>;
|
|
11608
11622
|
}
|
|
11609
11623
|
|
|
11610
11624
|
//_.inRange
|
|
@@ -11658,8 +11672,6 @@ declare namespace _ {
|
|
|
11658
11672
|
* @return Returns the random number.
|
|
11659
11673
|
*/
|
|
11660
11674
|
random(
|
|
11661
|
-
min?: number,
|
|
11662
|
-
max?: number,
|
|
11663
11675
|
floating?: boolean
|
|
11664
11676
|
): number;
|
|
11665
11677
|
|
|
@@ -11667,44 +11679,64 @@ declare namespace _ {
|
|
|
11667
11679
|
* @see _.random
|
|
11668
11680
|
*/
|
|
11669
11681
|
random(
|
|
11670
|
-
|
|
11682
|
+
max: number,
|
|
11671
11683
|
floating?: boolean
|
|
11672
11684
|
): number;
|
|
11673
11685
|
|
|
11674
11686
|
/**
|
|
11675
11687
|
* @see _.random
|
|
11676
11688
|
*/
|
|
11677
|
-
random(
|
|
11678
|
-
|
|
11689
|
+
random(
|
|
11690
|
+
min: number,
|
|
11691
|
+
max: number,
|
|
11692
|
+
floating?: boolean
|
|
11693
|
+
): number;
|
|
11679
11694
|
|
|
11680
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
11681
11695
|
/**
|
|
11682
|
-
*
|
|
11696
|
+
* Produces a random number between min and max (inclusive). If only one argument is provided a number between
|
|
11697
|
+
* 0 and the given number is returned. If floating is true, or either min or max are floats, a floating-point
|
|
11698
|
+
* number is returned instead of an integer.
|
|
11699
|
+
*
|
|
11700
|
+
* @param min The minimum possible value.
|
|
11701
|
+
* @param index Not used in this overload.
|
|
11702
|
+
* @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
|
|
11703
|
+
* @return Returns the random number.
|
|
11683
11704
|
*/
|
|
11684
11705
|
random(
|
|
11685
|
-
|
|
11686
|
-
|
|
11706
|
+
min: number,
|
|
11707
|
+
index: string | number,
|
|
11708
|
+
guard: object
|
|
11687
11709
|
): number;
|
|
11710
|
+
}
|
|
11688
11711
|
|
|
11712
|
+
interface LoDashImplicitWrapper<TValue> {
|
|
11689
11713
|
/**
|
|
11690
11714
|
* @see _.random
|
|
11691
11715
|
*/
|
|
11692
11716
|
random(floating?: boolean): number;
|
|
11693
|
-
}
|
|
11694
11717
|
|
|
11695
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
11696
11718
|
/**
|
|
11697
11719
|
* @see _.random
|
|
11698
11720
|
*/
|
|
11699
11721
|
random(
|
|
11700
|
-
max
|
|
11722
|
+
max: number,
|
|
11701
11723
|
floating?: boolean
|
|
11702
|
-
):
|
|
11724
|
+
): number;
|
|
11725
|
+
}
|
|
11703
11726
|
|
|
11727
|
+
interface LoDashExplicitWrapper<TValue> {
|
|
11704
11728
|
/**
|
|
11705
11729
|
* @see _.random
|
|
11706
11730
|
*/
|
|
11707
11731
|
random(floating?: boolean): LoDashExplicitWrapper<number>;
|
|
11732
|
+
|
|
11733
|
+
/**
|
|
11734
|
+
* @see _.random
|
|
11735
|
+
*/
|
|
11736
|
+
random(
|
|
11737
|
+
max: number,
|
|
11738
|
+
floating?: boolean
|
|
11739
|
+
): LoDashExplicitWrapper<number>;
|
|
11708
11740
|
}
|
|
11709
11741
|
|
|
11710
11742
|
/**********
|
|
@@ -14394,7 +14426,7 @@ declare namespace _ {
|
|
|
14394
14426
|
* // => { 'a': 1, 'c': 3 }
|
|
14395
14427
|
*/
|
|
14396
14428
|
pick<T extends object, U extends keyof T>(
|
|
14397
|
-
object: T
|
|
14429
|
+
object: T,
|
|
14398
14430
|
...props: Array<Many<U>>
|
|
14399
14431
|
): Pick<T, U>;
|
|
14400
14432
|
|
|
@@ -14412,7 +14444,7 @@ declare namespace _ {
|
|
|
14412
14444
|
* @see _.pick
|
|
14413
14445
|
*/
|
|
14414
14446
|
pick<T extends object, U extends keyof T>(
|
|
14415
|
-
this: LoDashImplicitWrapper<T
|
|
14447
|
+
this: LoDashImplicitWrapper<T>,
|
|
14416
14448
|
...props: Array<Many<U>>
|
|
14417
14449
|
): LoDashImplicitWrapper<Pick<T, U>>;
|
|
14418
14450
|
|
|
@@ -14430,7 +14462,7 @@ declare namespace _ {
|
|
|
14430
14462
|
* @see _.pick
|
|
14431
14463
|
*/
|
|
14432
14464
|
pick<T extends object, U extends keyof T>(
|
|
14433
|
-
this: LoDashExplicitWrapper<T
|
|
14465
|
+
this: LoDashExplicitWrapper<T>,
|
|
14434
14466
|
...props: Array<Many<U>>
|
|
14435
14467
|
): LoDashExplicitWrapper<Pick<T, U>>;
|
|
14436
14468
|
|
|
@@ -15667,6 +15699,9 @@ declare namespace _ {
|
|
|
15667
15699
|
*
|
|
15668
15700
|
* Note: This method is based on String#split.
|
|
15669
15701
|
*
|
|
15702
|
+
* @param string The string to trim.
|
|
15703
|
+
* @param separator The separator pattern to split by.
|
|
15704
|
+
* @param limit The length to truncate results to.
|
|
15670
15705
|
* @return Returns the new array of string segments.
|
|
15671
15706
|
*/
|
|
15672
15707
|
split(
|
|
@@ -15674,6 +15709,22 @@ declare namespace _ {
|
|
|
15674
15709
|
separator?: RegExp|string,
|
|
15675
15710
|
limit?: number
|
|
15676
15711
|
): string[];
|
|
15712
|
+
|
|
15713
|
+
/**
|
|
15714
|
+
* Splits string by separator.
|
|
15715
|
+
*
|
|
15716
|
+
* Note: This method is based on String#split.
|
|
15717
|
+
*
|
|
15718
|
+
* @param string The string to trim.
|
|
15719
|
+
* @param index Not used in this overload.
|
|
15720
|
+
* @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
|
|
15721
|
+
* @return Returns the new array of string segments.
|
|
15722
|
+
*/
|
|
15723
|
+
split(
|
|
15724
|
+
string: string,
|
|
15725
|
+
index: string | number,
|
|
15726
|
+
guard: object
|
|
15727
|
+
): string[];
|
|
15677
15728
|
}
|
|
15678
15729
|
|
|
15679
15730
|
interface LoDashImplicitWrapper<TValue> {
|
|
@@ -15881,6 +15932,20 @@ declare namespace _ {
|
|
|
15881
15932
|
string?: string,
|
|
15882
15933
|
chars?: string
|
|
15883
15934
|
): string;
|
|
15935
|
+
|
|
15936
|
+
/**
|
|
15937
|
+
* Removes leading and trailing whitespace or specified characters from string.
|
|
15938
|
+
*
|
|
15939
|
+
* @param string The string to trim.
|
|
15940
|
+
* @param index Not used in this overload.
|
|
15941
|
+
* @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
|
|
15942
|
+
* @return Returns the trimmed string.
|
|
15943
|
+
*/
|
|
15944
|
+
trim(
|
|
15945
|
+
string: string,
|
|
15946
|
+
index: string | number,
|
|
15947
|
+
guard: object
|
|
15948
|
+
): string;
|
|
15884
15949
|
}
|
|
15885
15950
|
|
|
15886
15951
|
interface LoDashImplicitWrapper<TValue> {
|
|
@@ -15910,6 +15975,20 @@ declare namespace _ {
|
|
|
15910
15975
|
string?: string,
|
|
15911
15976
|
chars?: string
|
|
15912
15977
|
): string;
|
|
15978
|
+
|
|
15979
|
+
/**
|
|
15980
|
+
* Removes trailing whitespace or specified characters from string.
|
|
15981
|
+
*
|
|
15982
|
+
* @param string The string to trim.
|
|
15983
|
+
* @param index Not used in this overload.
|
|
15984
|
+
* @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
|
|
15985
|
+
* @return Returns the trimmed string.
|
|
15986
|
+
*/
|
|
15987
|
+
trimEnd(
|
|
15988
|
+
string: string,
|
|
15989
|
+
index: string | number,
|
|
15990
|
+
guard: object
|
|
15991
|
+
): string;
|
|
15913
15992
|
}
|
|
15914
15993
|
|
|
15915
15994
|
interface LoDashImplicitWrapper<TValue> {
|
|
@@ -15939,6 +16018,20 @@ declare namespace _ {
|
|
|
15939
16018
|
string?: string,
|
|
15940
16019
|
chars?: string
|
|
15941
16020
|
): string;
|
|
16021
|
+
|
|
16022
|
+
/**
|
|
16023
|
+
* Removes leading whitespace or specified characters from string.
|
|
16024
|
+
*
|
|
16025
|
+
* @param string The string to trim.
|
|
16026
|
+
* @param index Not used in this overload.
|
|
16027
|
+
* @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
|
|
16028
|
+
* @return Returns the trimmed string.
|
|
16029
|
+
*/
|
|
16030
|
+
trimStart(
|
|
16031
|
+
string: string,
|
|
16032
|
+
index: string | number,
|
|
16033
|
+
guard: object
|
|
16034
|
+
): string;
|
|
15942
16035
|
}
|
|
15943
16036
|
|
|
15944
16037
|
interface LoDashImplicitWrapper<TValue> {
|
|
@@ -16086,6 +16179,20 @@ declare namespace _ {
|
|
|
16086
16179
|
string?: string,
|
|
16087
16180
|
pattern?: string|RegExp
|
|
16088
16181
|
): string[];
|
|
16182
|
+
|
|
16183
|
+
/**
|
|
16184
|
+
* Splits `string` into an array of its words.
|
|
16185
|
+
*
|
|
16186
|
+
* @param string The string to inspect.
|
|
16187
|
+
* @param index Not used in this overload.
|
|
16188
|
+
* @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
|
|
16189
|
+
* @return Returns the words of `string`.
|
|
16190
|
+
*/
|
|
16191
|
+
words(
|
|
16192
|
+
string: string,
|
|
16193
|
+
index: string | number,
|
|
16194
|
+
guard: object
|
|
16195
|
+
): string[];
|
|
16089
16196
|
}
|
|
16090
16197
|
|
|
16091
16198
|
interface LoDashImplicitWrapper<TValue> {
|
|
@@ -16746,6 +16853,22 @@ declare namespace _ {
|
|
|
16746
16853
|
end?: number,
|
|
16747
16854
|
step?: number
|
|
16748
16855
|
): number[];
|
|
16856
|
+
|
|
16857
|
+
/**
|
|
16858
|
+
* Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end.
|
|
16859
|
+
* If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length
|
|
16860
|
+
* range is created unless a negative step is specified.
|
|
16861
|
+
*
|
|
16862
|
+
* @param start The start of the range.
|
|
16863
|
+
* @param index Not used in this overload.
|
|
16864
|
+
* @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
|
|
16865
|
+
* @return Returns a new range array.
|
|
16866
|
+
*/
|
|
16867
|
+
range(
|
|
16868
|
+
end: number,
|
|
16869
|
+
index: string | number,
|
|
16870
|
+
guard: object
|
|
16871
|
+
): number[];
|
|
16749
16872
|
}
|
|
16750
16873
|
|
|
16751
16874
|
interface LoDashImplicitWrapper<TValue> {
|
|
@@ -16775,9 +16898,9 @@ declare namespace _ {
|
|
|
16775
16898
|
* descending order.
|
|
16776
16899
|
*
|
|
16777
16900
|
* @category Util
|
|
16778
|
-
* @param
|
|
16901
|
+
* @param start The start of the range.
|
|
16779
16902
|
* @param end The end of the range.
|
|
16780
|
-
* @param
|
|
16903
|
+
* @param step The value to increment or decrement by.
|
|
16781
16904
|
* @returns Returns the new array of numbers.
|
|
16782
16905
|
* @example
|
|
16783
16906
|
*
|
|
@@ -16807,6 +16930,21 @@ declare namespace _ {
|
|
|
16807
16930
|
end?: number,
|
|
16808
16931
|
step?: number
|
|
16809
16932
|
): number[];
|
|
16933
|
+
|
|
16934
|
+
/**
|
|
16935
|
+
* This method is like _.range except that it populates values in
|
|
16936
|
+
* descending order.
|
|
16937
|
+
*
|
|
16938
|
+
* @param start The start of the range.
|
|
16939
|
+
* @param index Not used in this overload.
|
|
16940
|
+
* @param guard Enables use as an iteratee for methods like _.map. You should not pass this parameter directly in your code.
|
|
16941
|
+
* @return Returns a new range array.
|
|
16942
|
+
*/
|
|
16943
|
+
rangeRight(
|
|
16944
|
+
end: number,
|
|
16945
|
+
index: string | number,
|
|
16946
|
+
guard: object
|
|
16947
|
+
): number[];
|
|
16810
16948
|
}
|
|
16811
16949
|
|
|
16812
16950
|
interface LoDashImplicitWrapper<TValue> {
|
|
@@ -17084,13 +17222,13 @@ declare namespace _ {
|
|
|
17084
17222
|
type ArrayIterator<T, TResult> = (value: T, index: number, collection: T[]) => TResult;
|
|
17085
17223
|
type ListIterator<T, TResult> = (value: T, index: number, collection: List<T>) => TResult;
|
|
17086
17224
|
type ListIteratee<T> = ListIterator<T, NotVoid> | string | [string, any] | PartialDeep<T>;
|
|
17087
|
-
type ListIterateeCustom<T, TResult> = ListIterator<T, TResult> | string | [string, any] | PartialDeep<T>;
|
|
17225
|
+
type ListIterateeCustom<T, TResult> = ListIterator<T, TResult> | string | object | [string, any] | PartialDeep<T>;
|
|
17088
17226
|
type ListIteratorTypeGuard<T, S extends T> = (value: T, index: number, collection: List<T>) => value is S;
|
|
17089
17227
|
|
|
17090
17228
|
// Note: key should be string, not keyof T, because the actual object may contain extra properties that were not specified in the type.
|
|
17091
17229
|
type ObjectIterator<TObject, TResult> = (value: TObject[keyof TObject], key: string, collection: TObject) => TResult;
|
|
17092
17230
|
type ObjectIteratee<TObject> = ObjectIterator<TObject, NotVoid> | string | [string, any] | PartialDeep<TObject[keyof TObject]>;
|
|
17093
|
-
type ObjectIterateeCustom<TObject, TResult> = ObjectIterator<TObject, TResult> | string | [string, any] | PartialDeep<TObject[keyof TObject]>;
|
|
17231
|
+
type ObjectIterateeCustom<TObject, TResult> = ObjectIterator<TObject, TResult> | string | object | [string, any] | PartialDeep<TObject[keyof TObject]>;
|
|
17094
17232
|
type ObjectIteratorTypeGuard<TObject, S extends TObject[keyof TObject]> = (value: TObject[keyof TObject], key: string, collection: TObject) => value is S;
|
|
17095
17233
|
|
|
17096
17234
|
type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
|
lodash/indexOf.d.ts
CHANGED
|
File without changes
|
lodash/initial.d.ts
CHANGED
|
File without changes
|