@types/lodash 4.14.108 → 4.14.109
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 +21 -21
- lodash/README.md +2 -2
- lodash/add.d.ts +2 -2
- lodash/after.d.ts +2 -2
- lodash/ary.d.ts +2 -2
- lodash/assign.d.ts +2 -2
- lodash/assignIn.d.ts +2 -2
- lodash/assignInWith.d.ts +2 -2
- lodash/assignWith.d.ts +2 -2
- lodash/at.d.ts +2 -2
- lodash/attempt.d.ts +2 -2
- lodash/before.d.ts +2 -2
- lodash/bind.d.ts +2 -2
- lodash/bindAll.d.ts +2 -2
- lodash/bindKey.d.ts +2 -2
- lodash/camelCase.d.ts +2 -2
- lodash/capitalize.d.ts +2 -2
- lodash/castArray.d.ts +2 -2
- lodash/ceil.d.ts +2 -2
- lodash/chain.d.ts +2 -2
- lodash/chunk.d.ts +2 -2
- lodash/clamp.d.ts +2 -2
- lodash/clone.d.ts +2 -2
- lodash/cloneDeep.d.ts +2 -2
- lodash/cloneDeepWith.d.ts +2 -2
- lodash/cloneWith.d.ts +2 -2
- lodash/common/array.d.ts +3708 -3708
- lodash/common/collection.d.ts +2575 -2575
- lodash/common/common.d.ts +268 -266
- lodash/common/date.d.ts +27 -27
- lodash/common/function.d.ts +1473 -1473
- lodash/common/lang.d.ts +1936 -1936
- lodash/common/math.d.ts +532 -532
- lodash/common/number.d.ts +178 -178
- lodash/common/object.d.ts +3761 -3737
- lodash/common/seq.d.ts +196 -196
- lodash/common/string.d.ts +1059 -1059
- lodash/common/util.d.ts +1463 -1463
- lodash/compact.d.ts +2 -2
- lodash/concat.d.ts +2 -2
- lodash/cond.d.ts +2 -2
- lodash/conformsTo.d.ts +2 -2
- lodash/constant.d.ts +2 -2
- lodash/countBy.d.ts +2 -2
- lodash/create.d.ts +2 -2
- lodash/curry.d.ts +2 -2
- lodash/curryRight.d.ts +2 -2
- lodash/debounce.d.ts +2 -2
- lodash/deburr.d.ts +2 -2
- lodash/defaultTo.d.ts +2 -2
- lodash/defaults.d.ts +2 -2
- lodash/defaultsDeep.d.ts +2 -2
- lodash/defer.d.ts +2 -2
- lodash/delay.d.ts +2 -2
- lodash/difference.d.ts +2 -2
- lodash/differenceBy.d.ts +2 -2
- lodash/differenceWith.d.ts +2 -2
- lodash/divide.d.ts +2 -2
- lodash/drop.d.ts +2 -2
- lodash/dropRight.d.ts +2 -2
- lodash/dropRightWhile.d.ts +2 -2
- lodash/dropWhile.d.ts +2 -2
- lodash/each.d.ts +2 -2
- lodash/eachRight.d.ts +2 -2
- lodash/endsWith.d.ts +2 -2
- lodash/entries.d.ts +2 -2
- lodash/entriesIn.d.ts +2 -2
- lodash/eq.d.ts +2 -2
- lodash/escape.d.ts +2 -2
- lodash/escapeRegExp.d.ts +2 -2
- lodash/every.d.ts +2 -2
- lodash/extend.d.ts +2 -2
- lodash/extendWith.d.ts +2 -2
- lodash/fill.d.ts +2 -2
- lodash/filter.d.ts +2 -2
- lodash/find.d.ts +2 -2
- lodash/findIndex.d.ts +2 -2
- lodash/findKey.d.ts +2 -2
- lodash/findLast.d.ts +2 -2
- lodash/findLastIndex.d.ts +2 -2
- lodash/findLastKey.d.ts +2 -2
- lodash/first.d.ts +2 -2
- lodash/flatMap.d.ts +2 -2
- lodash/flatMapDeep.d.ts +2 -2
- lodash/flatMapDepth.d.ts +2 -2
- lodash/flatten.d.ts +2 -2
- lodash/flattenDeep.d.ts +2 -2
- lodash/flattenDepth.d.ts +2 -2
- lodash/flip.d.ts +2 -2
- lodash/floor.d.ts +2 -2
- lodash/flow.d.ts +2 -2
- lodash/flowRight.d.ts +2 -2
- lodash/forEach.d.ts +2 -2
- lodash/forEachRight.d.ts +2 -2
- lodash/forIn.d.ts +2 -2
- lodash/forInRight.d.ts +2 -2
- lodash/forOwn.d.ts +2 -2
- lodash/forOwnRight.d.ts +2 -2
- lodash/fp/F.d.ts +2 -2
- lodash/fp/T.d.ts +2 -2
- lodash/fp/__.d.ts +3 -3
- lodash/fp/add.d.ts +2 -2
- lodash/fp/after.d.ts +2 -2
- lodash/fp/all.d.ts +2 -2
- lodash/fp/allPass.d.ts +2 -2
- lodash/fp/always.d.ts +2 -2
- lodash/fp/any.d.ts +2 -2
- lodash/fp/anyPass.d.ts +2 -2
- lodash/fp/apply.d.ts +2 -2
- lodash/fp/ary.d.ts +2 -2
- lodash/fp/assign.d.ts +2 -2
- lodash/fp/assignAll.d.ts +2 -2
- lodash/fp/assignAllWith.d.ts +2 -2
- lodash/fp/assignIn.d.ts +2 -2
- lodash/fp/assignInAll.d.ts +2 -2
- lodash/fp/assignInAllWith.d.ts +2 -2
- lodash/fp/assignInWith.d.ts +2 -2
- lodash/fp/assignWith.d.ts +2 -2
- lodash/fp/assoc.d.ts +2 -2
- lodash/fp/assocPath.d.ts +2 -2
- lodash/fp/at.d.ts +2 -2
- lodash/fp/attempt.d.ts +2 -2
- lodash/fp/before.d.ts +2 -2
- lodash/fp/bind.d.ts +2 -2
- lodash/fp/bindAll.d.ts +2 -2
- lodash/fp/bindKey.d.ts +2 -2
- lodash/fp/camelCase.d.ts +2 -2
- lodash/fp/capitalize.d.ts +2 -2
- lodash/fp/castArray.d.ts +2 -2
- lodash/fp/ceil.d.ts +2 -2
- lodash/fp/chunk.d.ts +2 -2
- lodash/fp/clamp.d.ts +2 -2
- lodash/fp/clone.d.ts +2 -2
- lodash/fp/cloneDeep.d.ts +2 -2
- lodash/fp/cloneDeepWith.d.ts +2 -2
- lodash/fp/cloneWith.d.ts +2 -2
- lodash/fp/compact.d.ts +2 -2
- lodash/fp/complement.d.ts +2 -2
- lodash/fp/compose.d.ts +2 -2
- lodash/fp/concat.d.ts +2 -2
- lodash/fp/cond.d.ts +2 -2
- lodash/fp/conforms.d.ts +2 -2
- lodash/fp/conformsTo.d.ts +2 -2
- lodash/fp/constant.d.ts +2 -2
- lodash/fp/contains.d.ts +2 -2
- lodash/fp/convert.d.ts +15 -15
- lodash/fp/countBy.d.ts +2 -2
- lodash/fp/create.d.ts +2 -2
- lodash/fp/curry.d.ts +2 -2
- lodash/fp/curryN.d.ts +2 -2
- lodash/fp/curryRight.d.ts +2 -2
- lodash/fp/curryRightN.d.ts +2 -2
- lodash/fp/debounce.d.ts +2 -2
- lodash/fp/deburr.d.ts +2 -2
- lodash/fp/defaultTo.d.ts +2 -2
- lodash/fp/defaults.d.ts +2 -2
- lodash/fp/defaultsAll.d.ts +2 -2
- lodash/fp/defaultsDeep.d.ts +2 -2
- lodash/fp/defaultsDeepAll.d.ts +2 -2
- lodash/fp/defer.d.ts +2 -2
- lodash/fp/delay.d.ts +2 -2
- lodash/fp/difference.d.ts +2 -2
- lodash/fp/differenceBy.d.ts +2 -2
- lodash/fp/differenceWith.d.ts +2 -2
- lodash/fp/dissoc.d.ts +2 -2
- lodash/fp/dissocPath.d.ts +2 -2
- lodash/fp/divide.d.ts +2 -2
- lodash/fp/drop.d.ts +2 -2
- lodash/fp/dropLast.d.ts +2 -2
- lodash/fp/dropLastWhile.d.ts +2 -2
- lodash/fp/dropRight.d.ts +2 -2
- lodash/fp/dropRightWhile.d.ts +2 -2
- lodash/fp/dropWhile.d.ts +2 -2
- lodash/fp/each.d.ts +2 -2
- lodash/fp/eachRight.d.ts +2 -2
- lodash/fp/endsWith.d.ts +2 -2
- lodash/fp/entries.d.ts +2 -2
- lodash/fp/entriesIn.d.ts +2 -2
- lodash/fp/eq.d.ts +2 -2
- lodash/fp/equals.d.ts +2 -2
- lodash/fp/escape.d.ts +2 -2
- lodash/fp/escapeRegExp.d.ts +2 -2
- lodash/fp/every.d.ts +2 -2
- lodash/fp/extend.d.ts +2 -2
- lodash/fp/extendAll.d.ts +2 -2
- lodash/fp/extendAllWith.d.ts +2 -2
- lodash/fp/extendWith.d.ts +2 -2
- lodash/fp/fill.d.ts +2 -2
- lodash/fp/filter.d.ts +2 -2
- lodash/fp/find.d.ts +2 -2
- lodash/fp/findFrom.d.ts +2 -2
- lodash/fp/findIndex.d.ts +2 -2
- lodash/fp/findIndexFrom.d.ts +2 -2
- lodash/fp/findKey.d.ts +2 -2
- lodash/fp/findLast.d.ts +2 -2
- lodash/fp/findLastFrom.d.ts +2 -2
- lodash/fp/findLastIndex.d.ts +2 -2
- lodash/fp/findLastIndexFrom.d.ts +2 -2
- lodash/fp/findLastKey.d.ts +2 -2
- lodash/fp/first.d.ts +2 -2
- lodash/fp/flatMap.d.ts +2 -2
- lodash/fp/flatMapDeep.d.ts +2 -2
- lodash/fp/flatMapDepth.d.ts +2 -2
- lodash/fp/flatten.d.ts +2 -2
- lodash/fp/flattenDeep.d.ts +2 -2
- lodash/fp/flattenDepth.d.ts +2 -2
- lodash/fp/flip.d.ts +2 -2
- lodash/fp/floor.d.ts +2 -2
- lodash/fp/flow.d.ts +2 -2
- lodash/fp/flowRight.d.ts +2 -2
- lodash/fp/forEach.d.ts +2 -2
- lodash/fp/forEachRight.d.ts +2 -2
- lodash/fp/forIn.d.ts +2 -2
- lodash/fp/forInRight.d.ts +2 -2
- lodash/fp/forOwn.d.ts +2 -2
- lodash/fp/forOwnRight.d.ts +2 -2
- lodash/fp/fromPairs.d.ts +2 -2
- lodash/fp/functions.d.ts +2 -2
- lodash/fp/functionsIn.d.ts +2 -2
- lodash/fp/get.d.ts +2 -2
- lodash/fp/getOr.d.ts +2 -2
- lodash/fp/groupBy.d.ts +2 -2
- lodash/fp/gt.d.ts +2 -2
- lodash/fp/gte.d.ts +2 -2
- lodash/fp/has.d.ts +2 -2
- lodash/fp/hasIn.d.ts +2 -2
- lodash/fp/head.d.ts +2 -2
- lodash/fp/identical.d.ts +2 -2
- lodash/fp/identity.d.ts +2 -2
- lodash/fp/inRange.d.ts +2 -2
- lodash/fp/includes.d.ts +2 -2
- lodash/fp/includesFrom.d.ts +2 -2
- lodash/fp/indexBy.d.ts +2 -2
- lodash/fp/indexOf.d.ts +2 -2
- lodash/fp/indexOfFrom.d.ts +2 -2
- lodash/fp/init.d.ts +2 -2
- lodash/fp/initial.d.ts +2 -2
- lodash/fp/intersection.d.ts +2 -2
- lodash/fp/intersectionBy.d.ts +2 -2
- lodash/fp/intersectionWith.d.ts +2 -2
- lodash/fp/invert.d.ts +2 -2
- lodash/fp/invertBy.d.ts +2 -2
- lodash/fp/invertObj.d.ts +2 -2
- lodash/fp/invoke.d.ts +2 -2
- lodash/fp/invokeArgs.d.ts +2 -2
- lodash/fp/invokeArgsMap.d.ts +2 -2
- lodash/fp/invokeMap.d.ts +2 -2
- lodash/fp/isArguments.d.ts +2 -2
- lodash/fp/isArray.d.ts +2 -2
- lodash/fp/isArrayBuffer.d.ts +2 -2
- lodash/fp/isArrayLike.d.ts +2 -2
- lodash/fp/isArrayLikeObject.d.ts +2 -2
- lodash/fp/isBoolean.d.ts +2 -2
- lodash/fp/isBuffer.d.ts +2 -2
- lodash/fp/isDate.d.ts +2 -2
- lodash/fp/isElement.d.ts +2 -2
- lodash/fp/isEmpty.d.ts +2 -2
- lodash/fp/isEqual.d.ts +2 -2
- lodash/fp/isEqualWith.d.ts +2 -2
- lodash/fp/isError.d.ts +2 -2
- lodash/fp/isFinite.d.ts +2 -2
- lodash/fp/isFunction.d.ts +2 -2
- lodash/fp/isInteger.d.ts +2 -2
- lodash/fp/isLength.d.ts +2 -2
- lodash/fp/isMap.d.ts +2 -2
- lodash/fp/isMatch.d.ts +2 -2
- lodash/fp/isMatchWith.d.ts +2 -2
- lodash/fp/isNaN.d.ts +2 -2
- lodash/fp/isNative.d.ts +2 -2
- lodash/fp/isNil.d.ts +2 -2
- lodash/fp/isNull.d.ts +2 -2
- lodash/fp/isNumber.d.ts +2 -2
- lodash/fp/isObject.d.ts +2 -2
- lodash/fp/isObjectLike.d.ts +2 -2
- lodash/fp/isPlainObject.d.ts +2 -2
- lodash/fp/isRegExp.d.ts +2 -2
- lodash/fp/isSafeInteger.d.ts +2 -2
- lodash/fp/isSet.d.ts +2 -2
- lodash/fp/isString.d.ts +2 -2
- lodash/fp/isSymbol.d.ts +2 -2
- lodash/fp/isTypedArray.d.ts +2 -2
- lodash/fp/isUndefined.d.ts +2 -2
- lodash/fp/isWeakMap.d.ts +2 -2
- lodash/fp/isWeakSet.d.ts +2 -2
- lodash/fp/iteratee.d.ts +2 -2
- lodash/fp/join.d.ts +2 -2
- lodash/fp/juxt.d.ts +2 -2
- lodash/fp/kebabCase.d.ts +2 -2
- lodash/fp/keyBy.d.ts +2 -2
- lodash/fp/keys.d.ts +2 -2
- lodash/fp/keysIn.d.ts +2 -2
- lodash/fp/last.d.ts +2 -2
- lodash/fp/lastIndexOf.d.ts +2 -2
- lodash/fp/lastIndexOfFrom.d.ts +2 -2
- lodash/fp/lowerCase.d.ts +2 -2
- lodash/fp/lowerFirst.d.ts +2 -2
- lodash/fp/lt.d.ts +2 -2
- lodash/fp/lte.d.ts +2 -2
- lodash/fp/map.d.ts +2 -2
- lodash/fp/mapKeys.d.ts +2 -2
- lodash/fp/mapValues.d.ts +2 -2
- lodash/fp/matches.d.ts +2 -2
- lodash/fp/matchesProperty.d.ts +2 -2
- lodash/fp/max.d.ts +2 -2
- lodash/fp/maxBy.d.ts +2 -2
- lodash/fp/mean.d.ts +2 -2
- lodash/fp/meanBy.d.ts +2 -2
- lodash/fp/memoize.d.ts +2 -2
- lodash/fp/merge.d.ts +2 -2
- lodash/fp/mergeAll.d.ts +2 -2
- lodash/fp/mergeAllWith.d.ts +2 -2
- lodash/fp/mergeWith.d.ts +2 -2
- lodash/fp/method.d.ts +2 -2
- lodash/fp/methodOf.d.ts +2 -2
- lodash/fp/min.d.ts +2 -2
- lodash/fp/minBy.d.ts +2 -2
- lodash/fp/multiply.d.ts +2 -2
- lodash/fp/nAry.d.ts +2 -2
- lodash/fp/negate.d.ts +2 -2
- lodash/fp/noConflict.d.ts +2 -2
- lodash/fp/noop.d.ts +2 -2
- lodash/fp/now.d.ts +2 -2
- lodash/fp/nth.d.ts +2 -2
- lodash/fp/nthArg.d.ts +2 -2
- lodash/fp/omit.d.ts +2 -2
- lodash/fp/omitAll.d.ts +2 -2
- lodash/fp/omitBy.d.ts +2 -2
- lodash/fp/once.d.ts +2 -2
- lodash/fp/orderBy.d.ts +2 -2
- lodash/fp/over.d.ts +2 -2
- lodash/fp/overArgs.d.ts +2 -2
- lodash/fp/overEvery.d.ts +2 -2
- lodash/fp/overSome.d.ts +2 -2
- lodash/fp/pad.d.ts +2 -2
- lodash/fp/padChars.d.ts +2 -2
- lodash/fp/padCharsEnd.d.ts +2 -2
- lodash/fp/padCharsStart.d.ts +2 -2
- lodash/fp/padEnd.d.ts +2 -2
- lodash/fp/padStart.d.ts +2 -2
- lodash/fp/parseInt.d.ts +2 -2
- lodash/fp/partial.d.ts +2 -2
- lodash/fp/partialRight.d.ts +2 -2
- lodash/fp/partition.d.ts +2 -2
- lodash/fp/path.d.ts +2 -2
- lodash/fp/pathEq.d.ts +2 -2
- lodash/fp/pathOr.d.ts +2 -2
- lodash/fp/paths.d.ts +2 -2
- lodash/fp/pick.d.ts +2 -2
- lodash/fp/pickAll.d.ts +2 -2
- lodash/fp/pickBy.d.ts +2 -2
- lodash/fp/pipe.d.ts +2 -2
- lodash/fp/placeholder.d.ts +3 -3
- lodash/fp/pluck.d.ts +2 -2
- lodash/fp/prop.d.ts +2 -2
- lodash/fp/propEq.d.ts +2 -2
- lodash/fp/propOr.d.ts +2 -2
- lodash/fp/property.d.ts +2 -2
- lodash/fp/propertyOf.d.ts +2 -2
- lodash/fp/props.d.ts +2 -2
- lodash/fp/pull.d.ts +2 -2
- lodash/fp/pullAll.d.ts +2 -2
- lodash/fp/pullAllBy.d.ts +2 -2
- lodash/fp/pullAllWith.d.ts +2 -2
- lodash/fp/pullAt.d.ts +2 -2
- lodash/fp/random.d.ts +2 -2
- lodash/fp/range.d.ts +2 -2
- lodash/fp/rangeRight.d.ts +2 -2
- lodash/fp/rangeStep.d.ts +2 -2
- lodash/fp/rangeStepRight.d.ts +2 -2
- lodash/fp/rearg.d.ts +2 -2
- lodash/fp/reduce.d.ts +2 -2
- lodash/fp/reduceRight.d.ts +2 -2
- lodash/fp/reject.d.ts +2 -2
- lodash/fp/remove.d.ts +2 -2
- lodash/fp/repeat.d.ts +2 -2
- lodash/fp/replace.d.ts +2 -2
- lodash/fp/rest.d.ts +2 -2
- lodash/fp/restFrom.d.ts +2 -2
- lodash/fp/result.d.ts +2 -2
- lodash/fp/reverse.d.ts +2 -2
- lodash/fp/round.d.ts +2 -2
- lodash/fp/runInContext.d.ts +2 -2
- lodash/fp/sample.d.ts +2 -2
- lodash/fp/sampleSize.d.ts +2 -2
- lodash/fp/set.d.ts +2 -2
- lodash/fp/setWith.d.ts +2 -2
- lodash/fp/shuffle.d.ts +2 -2
- lodash/fp/size.d.ts +2 -2
- lodash/fp/slice.d.ts +2 -2
- lodash/fp/snakeCase.d.ts +2 -2
- lodash/fp/some.d.ts +2 -2
- lodash/fp/sortBy.d.ts +2 -2
- lodash/fp/sortedIndex.d.ts +2 -2
- lodash/fp/sortedIndexBy.d.ts +2 -2
- lodash/fp/sortedIndexOf.d.ts +2 -2
- lodash/fp/sortedLastIndex.d.ts +2 -2
- lodash/fp/sortedLastIndexBy.d.ts +2 -2
- lodash/fp/sortedLastIndexOf.d.ts +2 -2
- lodash/fp/sortedUniq.d.ts +2 -2
- lodash/fp/sortedUniqBy.d.ts +2 -2
- lodash/fp/split.d.ts +2 -2
- lodash/fp/spread.d.ts +2 -2
- lodash/fp/spreadFrom.d.ts +2 -2
- lodash/fp/startCase.d.ts +2 -2
- lodash/fp/startsWith.d.ts +2 -2
- lodash/fp/stubArray.d.ts +2 -2
- lodash/fp/stubFalse.d.ts +2 -2
- lodash/fp/stubObject.d.ts +2 -2
- lodash/fp/stubString.d.ts +2 -2
- lodash/fp/stubTrue.d.ts +2 -2
- lodash/fp/subtract.d.ts +2 -2
- lodash/fp/sum.d.ts +2 -2
- lodash/fp/sumBy.d.ts +2 -2
- lodash/fp/symmetricDifference.d.ts +2 -2
- lodash/fp/symmetricDifferenceBy.d.ts +2 -2
- lodash/fp/symmetricDifferenceWith.d.ts +2 -2
- lodash/fp/tail.d.ts +2 -2
- lodash/fp/take.d.ts +2 -2
- lodash/fp/takeLast.d.ts +2 -2
- lodash/fp/takeLastWhile.d.ts +2 -2
- lodash/fp/takeRight.d.ts +2 -2
- lodash/fp/takeRightWhile.d.ts +2 -2
- lodash/fp/takeWhile.d.ts +2 -2
- lodash/fp/tap.d.ts +2 -2
- lodash/fp/template.d.ts +2 -2
- lodash/fp/throttle.d.ts +2 -2
- lodash/fp/thru.d.ts +2 -2
- lodash/fp/times.d.ts +2 -2
- lodash/fp/toArray.d.ts +2 -2
- lodash/fp/toFinite.d.ts +2 -2
- lodash/fp/toInteger.d.ts +2 -2
- lodash/fp/toLength.d.ts +2 -2
- lodash/fp/toLower.d.ts +2 -2
- lodash/fp/toNumber.d.ts +2 -2
- lodash/fp/toPairs.d.ts +2 -2
- lodash/fp/toPairsIn.d.ts +2 -2
- lodash/fp/toPath.d.ts +2 -2
- lodash/fp/toPlainObject.d.ts +2 -2
- lodash/fp/toSafeInteger.d.ts +2 -2
- lodash/fp/toString.d.ts +2 -2
- lodash/fp/toUpper.d.ts +2 -2
- lodash/fp/transform.d.ts +2 -2
- lodash/fp/trim.d.ts +2 -2
- lodash/fp/trimChars.d.ts +2 -2
- lodash/fp/trimCharsEnd.d.ts +2 -2
- lodash/fp/trimCharsStart.d.ts +2 -2
- lodash/fp/trimEnd.d.ts +2 -2
- lodash/fp/trimStart.d.ts +2 -2
- lodash/fp/truncate.d.ts +2 -2
- lodash/fp/unapply.d.ts +2 -2
- lodash/fp/unary.d.ts +2 -2
- lodash/fp/unescape.d.ts +2 -2
- lodash/fp/union.d.ts +2 -2
- lodash/fp/unionBy.d.ts +2 -2
- lodash/fp/unionWith.d.ts +2 -2
- lodash/fp/uniq.d.ts +2 -2
- lodash/fp/uniqBy.d.ts +2 -2
- lodash/fp/uniqWith.d.ts +2 -2
- lodash/fp/uniqueId.d.ts +2 -2
- lodash/fp/unnest.d.ts +2 -2
- lodash/fp/unset.d.ts +2 -2
- lodash/fp/unzip.d.ts +2 -2
- lodash/fp/unzipWith.d.ts +2 -2
- lodash/fp/update.d.ts +2 -2
- lodash/fp/updateWith.d.ts +2 -2
- lodash/fp/upperCase.d.ts +2 -2
- lodash/fp/upperFirst.d.ts +2 -2
- lodash/fp/useWith.d.ts +2 -2
- lodash/fp/values.d.ts +2 -2
- lodash/fp/valuesIn.d.ts +2 -2
- lodash/fp/where.d.ts +2 -2
- lodash/fp/whereEq.d.ts +2 -2
- lodash/fp/without.d.ts +2 -2
- lodash/fp/words.d.ts +2 -2
- lodash/fp/wrap.d.ts +2 -2
- lodash/fp/xor.d.ts +2 -2
- lodash/fp/xorBy.d.ts +2 -2
- lodash/fp/xorWith.d.ts +2 -2
- lodash/fp/zip.d.ts +2 -2
- lodash/fp/zipAll.d.ts +2 -2
- lodash/fp/zipObj.d.ts +2 -2
- lodash/fp/zipObject.d.ts +2 -2
- lodash/fp/zipObjectDeep.d.ts +2 -2
- lodash/fp/zipWith.d.ts +2 -2
- lodash/fp.d.ts +4765 -4488
- lodash/fromPairs.d.ts +2 -2
- lodash/functions.d.ts +2 -2
- lodash/functionsIn.d.ts +2 -2
- lodash/get.d.ts +2 -2
- lodash/groupBy.d.ts +2 -2
- lodash/gt.d.ts +2 -2
- lodash/gte.d.ts +2 -2
- lodash/has.d.ts +2 -2
- lodash/hasIn.d.ts +2 -2
- lodash/head.d.ts +2 -2
- lodash/identity.d.ts +2 -2
- lodash/inRange.d.ts +2 -2
- lodash/includes.d.ts +2 -2
- lodash/index.d.ts +47 -47
- lodash/indexOf.d.ts +2 -2
- lodash/initial.d.ts +2 -2
- lodash/intersection.d.ts +2 -2
- lodash/intersectionBy.d.ts +2 -2
- lodash/intersectionWith.d.ts +2 -2
- lodash/invert.d.ts +2 -2
- lodash/invertBy.d.ts +2 -2
- lodash/invoke.d.ts +2 -2
- lodash/invokeMap.d.ts +2 -2
- lodash/isArguments.d.ts +2 -2
- lodash/isArray.d.ts +2 -2
- lodash/isArrayBuffer.d.ts +2 -2
- lodash/isArrayLike.d.ts +2 -2
- lodash/isArrayLikeObject.d.ts +2 -2
- lodash/isBoolean.d.ts +2 -2
- lodash/isBuffer.d.ts +2 -2
- lodash/isDate.d.ts +2 -2
- lodash/isElement.d.ts +2 -2
- lodash/isEmpty.d.ts +2 -2
- lodash/isEqual.d.ts +2 -2
- lodash/isEqualWith.d.ts +2 -2
- lodash/isError.d.ts +2 -2
- lodash/isFinite.d.ts +2 -2
- lodash/isFunction.d.ts +2 -2
- lodash/isInteger.d.ts +2 -2
- lodash/isLength.d.ts +2 -2
- lodash/isMap.d.ts +2 -2
- lodash/isMatch.d.ts +2 -2
- lodash/isMatchWith.d.ts +2 -2
- lodash/isNaN.d.ts +2 -2
- lodash/isNative.d.ts +2 -2
- lodash/isNil.d.ts +2 -2
- lodash/isNull.d.ts +2 -2
- lodash/isNumber.d.ts +2 -2
- lodash/isObject.d.ts +2 -2
- lodash/isObjectLike.d.ts +2 -2
- lodash/isPlainObject.d.ts +2 -2
- lodash/isRegExp.d.ts +2 -2
- lodash/isSafeInteger.d.ts +2 -2
- lodash/isSet.d.ts +2 -2
- lodash/isString.d.ts +2 -2
- lodash/isSymbol.d.ts +2 -2
- lodash/isTypedArray.d.ts +2 -2
- lodash/isUndefined.d.ts +2 -2
- lodash/isWeakMap.d.ts +2 -2
- lodash/isWeakSet.d.ts +2 -2
- lodash/iteratee.d.ts +2 -2
- lodash/join.d.ts +2 -2
- lodash/kebabCase.d.ts +2 -2
- lodash/keyBy.d.ts +2 -2
- lodash/keys.d.ts +2 -2
- lodash/keysIn.d.ts +2 -2
- lodash/last.d.ts +2 -2
- lodash/lastIndexOf.d.ts +2 -2
- lodash/lowerCase.d.ts +2 -2
- lodash/lowerFirst.d.ts +2 -2
- lodash/lt.d.ts +2 -2
- lodash/lte.d.ts +2 -2
- lodash/map.d.ts +2 -2
- lodash/mapKeys.d.ts +2 -2
- lodash/mapValues.d.ts +2 -2
- lodash/matches.d.ts +2 -2
- lodash/matchesProperty.d.ts +2 -2
- lodash/max.d.ts +2 -2
- lodash/maxBy.d.ts +2 -2
- lodash/mean.d.ts +2 -2
- lodash/meanBy.d.ts +2 -2
- lodash/memoize.d.ts +2 -2
- lodash/merge.d.ts +2 -2
- lodash/mergeWith.d.ts +2 -2
- lodash/method.d.ts +2 -2
- lodash/methodOf.d.ts +2 -2
- lodash/min.d.ts +2 -2
- lodash/minBy.d.ts +2 -2
- lodash/mixin.d.ts +2 -2
- lodash/negate.d.ts +2 -2
- lodash/noConflict.d.ts +2 -2
- lodash/noop.d.ts +2 -2
- lodash/now.d.ts +2 -2
- lodash/nth.d.ts +2 -2
- lodash/nthArg.d.ts +2 -2
- lodash/omit.d.ts +2 -2
- lodash/omitBy.d.ts +2 -2
- lodash/once.d.ts +2 -2
- lodash/orderBy.d.ts +2 -2
- lodash/over.d.ts +2 -2
- lodash/overArgs.d.ts +2 -2
- lodash/overEvery.d.ts +2 -2
- lodash/overSome.d.ts +2 -2
- lodash/package.json +3 -3
- lodash/pad.d.ts +2 -2
- lodash/padEnd.d.ts +2 -2
- lodash/padStart.d.ts +2 -2
- lodash/parseInt.d.ts +2 -2
- lodash/partial.d.ts +2 -2
- lodash/partialRight.d.ts +2 -2
- lodash/partition.d.ts +2 -2
- lodash/pick.d.ts +2 -2
- lodash/pickBy.d.ts +2 -2
- lodash/property.d.ts +2 -2
- lodash/propertyOf.d.ts +2 -2
- lodash/pull.d.ts +2 -2
- lodash/pullAll.d.ts +2 -2
- lodash/pullAllBy.d.ts +2 -2
- lodash/pullAllWith.d.ts +2 -2
- lodash/pullAt.d.ts +2 -2
- lodash/random.d.ts +2 -2
- lodash/range.d.ts +2 -2
- lodash/rangeRight.d.ts +2 -2
- lodash/rearg.d.ts +2 -2
- lodash/reduce.d.ts +2 -2
- lodash/reduceRight.d.ts +2 -2
- lodash/reject.d.ts +2 -2
- lodash/remove.d.ts +2 -2
- lodash/repeat.d.ts +2 -2
- lodash/replace.d.ts +2 -2
- lodash/rest.d.ts +2 -2
- lodash/result.d.ts +2 -2
- lodash/reverse.d.ts +2 -2
- lodash/round.d.ts +2 -2
- lodash/runInContext.d.ts +2 -2
- lodash/sample.d.ts +2 -2
- lodash/sampleSize.d.ts +2 -2
- lodash/set.d.ts +2 -2
- lodash/setWith.d.ts +2 -2
- lodash/shuffle.d.ts +2 -2
- lodash/size.d.ts +2 -2
- lodash/slice.d.ts +2 -2
- lodash/snakeCase.d.ts +2 -2
- lodash/some.d.ts +2 -2
- lodash/sortBy.d.ts +2 -2
- lodash/sortedIndex.d.ts +2 -2
- lodash/sortedIndexBy.d.ts +2 -2
- lodash/sortedIndexOf.d.ts +2 -2
- lodash/sortedLastIndex.d.ts +2 -2
- lodash/sortedLastIndexBy.d.ts +2 -2
- lodash/sortedLastIndexOf.d.ts +2 -2
- lodash/sortedUniq.d.ts +2 -2
- lodash/sortedUniqBy.d.ts +2 -2
- lodash/split.d.ts +2 -2
- lodash/spread.d.ts +2 -2
- lodash/startCase.d.ts +2 -2
- lodash/startsWith.d.ts +2 -2
- lodash/subtract.d.ts +2 -2
- lodash/sum.d.ts +2 -2
- lodash/sumBy.d.ts +2 -2
- lodash/tail.d.ts +2 -2
- lodash/take.d.ts +2 -2
- lodash/takeRight.d.ts +2 -2
- lodash/takeRightWhile.d.ts +2 -2
- lodash/takeWhile.d.ts +2 -2
- lodash/tap.d.ts +2 -2
- lodash/template.d.ts +2 -2
- lodash/throttle.d.ts +2 -2
- lodash/thru.d.ts +2 -2
- lodash/times.d.ts +2 -2
- lodash/toArray.d.ts +2 -2
- lodash/toFinite.d.ts +2 -2
- lodash/toInteger.d.ts +2 -2
- lodash/toLength.d.ts +2 -2
- lodash/toLower.d.ts +2 -2
- lodash/toNumber.d.ts +2 -2
- lodash/toPairs.d.ts +2 -2
- lodash/toPairsIn.d.ts +2 -2
- lodash/toPath.d.ts +2 -2
- lodash/toPlainObject.d.ts +2 -2
- lodash/toSafeInteger.d.ts +2 -2
- lodash/toString.d.ts +2 -2
- lodash/toUpper.d.ts +2 -2
- lodash/transform.d.ts +2 -2
- lodash/trim.d.ts +2 -2
- lodash/trimEnd.d.ts +2 -2
- lodash/trimStart.d.ts +2 -2
- lodash/truncate.d.ts +2 -2
- lodash/unary.d.ts +2 -2
- lodash/unescape.d.ts +2 -2
- lodash/union.d.ts +2 -2
- lodash/unionBy.d.ts +2 -2
- lodash/unionWith.d.ts +2 -2
- lodash/uniq.d.ts +2 -2
- lodash/uniqBy.d.ts +2 -2
- lodash/uniqWith.d.ts +2 -2
- lodash/uniqueId.d.ts +2 -2
- lodash/unset.d.ts +2 -2
- lodash/unzip.d.ts +2 -2
- lodash/unzipWith.d.ts +2 -2
- lodash/update.d.ts +2 -2
- lodash/updateWith.d.ts +2 -2
- lodash/upperCase.d.ts +2 -2
- lodash/upperFirst.d.ts +2 -2
- lodash/values.d.ts +2 -2
- lodash/valuesIn.d.ts +2 -2
- lodash/without.d.ts +2 -2
- lodash/words.d.ts +2 -2
- lodash/wrap.d.ts +2 -2
- lodash/xor.d.ts +2 -2
- lodash/xorBy.d.ts +2 -2
- lodash/xorWith.d.ts +2 -2
- lodash/zip.d.ts +2 -2
- lodash/zipObject.d.ts +2 -2
- lodash/zipObjectDeep.d.ts +2 -2
- lodash/zipWith.d.ts +2 -2
lodash/common/seq.d.ts
CHANGED
|
@@ -1,196 +1,196 @@
|
|
|
1
|
-
import _ = require("../index");
|
|
2
|
-
declare module "../index" {
|
|
3
|
-
// chain
|
|
4
|
-
|
|
5
|
-
interface LoDashStatic {
|
|
6
|
-
/**
|
|
7
|
-
* Creates a lodash object that wraps value with explicit method chaining enabled.
|
|
8
|
-
*
|
|
9
|
-
* @param value The value to wrap.
|
|
10
|
-
* @return Returns the new lodash wrapper instance.
|
|
11
|
-
*/
|
|
12
|
-
chain<T>(value: T): LoDashExplicitWrapper<T>;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
16
|
-
/**
|
|
17
|
-
* @see _.chain
|
|
18
|
-
*/
|
|
19
|
-
chain(): LoDashExplicitWrapper<TValue>;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
23
|
-
/**
|
|
24
|
-
* @see _.chain
|
|
25
|
-
*/
|
|
26
|
-
chain(): this;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// prototype.chain
|
|
30
|
-
|
|
31
|
-
interface LoDashStatic {
|
|
32
|
-
/**
|
|
33
|
-
* Creates a lodash object that wraps value with explicit method chaining enabled.
|
|
34
|
-
*
|
|
35
|
-
* @param value The value to wrap.
|
|
36
|
-
* @return Returns the new lodash wrapper instance.
|
|
37
|
-
*/
|
|
38
|
-
chain<T>(value: T): LoDashExplicitWrapper<T>;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
42
|
-
/**
|
|
43
|
-
* @see _.chain
|
|
44
|
-
*/
|
|
45
|
-
chain(): LoDashExplicitWrapper<TValue>;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
49
|
-
/**
|
|
50
|
-
* @see _.chain
|
|
51
|
-
*/
|
|
52
|
-
chain(): this;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// prototype.commit
|
|
56
|
-
|
|
57
|
-
interface LoDashWrapper<TValue> {
|
|
58
|
-
/**
|
|
59
|
-
* Executes the chained sequence and returns the wrapped result.
|
|
60
|
-
*
|
|
61
|
-
* @return Returns the new lodash wrapper instance.
|
|
62
|
-
*/
|
|
63
|
-
commit(): this;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// prototype.plant
|
|
67
|
-
|
|
68
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
69
|
-
/**
|
|
70
|
-
* Creates a clone of the chained sequence planting value as the wrapped value.
|
|
71
|
-
* @param value The value to plant as the wrapped value.
|
|
72
|
-
* @return Returns the new lodash wrapper instance.
|
|
73
|
-
*/
|
|
74
|
-
plant<T>(value: T): LoDashImplicitWrapper<T>;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
78
|
-
/**
|
|
79
|
-
* @see _.plant
|
|
80
|
-
*/
|
|
81
|
-
plant<T>(value: T): LoDashExplicitWrapper<T>;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// prototype.reverse
|
|
85
|
-
|
|
86
|
-
interface LoDashWrapper<TValue> {
|
|
87
|
-
/**
|
|
88
|
-
* Reverses the wrapped array so the first element becomes the last, the second element becomes the second to
|
|
89
|
-
* last, and so on.
|
|
90
|
-
*
|
|
91
|
-
* Note: This method mutates the wrapped array.
|
|
92
|
-
*
|
|
93
|
-
* @return Returns the new reversed lodash wrapper instance.
|
|
94
|
-
*/
|
|
95
|
-
reverse(): this;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// prototype.toJSON
|
|
99
|
-
|
|
100
|
-
interface LoDashWrapper<TValue> {
|
|
101
|
-
/**
|
|
102
|
-
* @see _.value
|
|
103
|
-
*/
|
|
104
|
-
toJSON(): TValue;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// prototype.toString
|
|
108
|
-
|
|
109
|
-
interface LoDashWrapper<TValue> {
|
|
110
|
-
/**
|
|
111
|
-
* Produces the result of coercing the unwrapped value to a string.
|
|
112
|
-
*
|
|
113
|
-
* @return Returns the coerced string value.
|
|
114
|
-
*/
|
|
115
|
-
toString(): string;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// prototype.value
|
|
119
|
-
|
|
120
|
-
interface LoDashWrapper<TValue> {
|
|
121
|
-
/**
|
|
122
|
-
* Executes the chained sequence to extract the unwrapped value.
|
|
123
|
-
*
|
|
124
|
-
* @alias _.toJSON, _.valueOf
|
|
125
|
-
*
|
|
126
|
-
* @return Returns the resolved unwrapped value.
|
|
127
|
-
*/
|
|
128
|
-
value(): TValue;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// prototype.valueOf
|
|
132
|
-
|
|
133
|
-
interface LoDashWrapper<TValue> {
|
|
134
|
-
/**
|
|
135
|
-
* @see _.value
|
|
136
|
-
*/
|
|
137
|
-
valueOf(): TValue;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// tap
|
|
141
|
-
|
|
142
|
-
interface LoDashStatic {
|
|
143
|
-
/**
|
|
144
|
-
* This method invokes interceptor and returns value. The interceptor is invoked with one
|
|
145
|
-
* argument; (value). The purpose of this method is to "tap into" a method chain in order to perform operations
|
|
146
|
-
* on intermediate results within the chain.
|
|
147
|
-
*
|
|
148
|
-
* @param value The value to provide to interceptor.
|
|
149
|
-
* @param interceptor The function to invoke.
|
|
150
|
-
* @return Returns value.
|
|
151
|
-
**/
|
|
152
|
-
tap<T>(
|
|
153
|
-
value: T,
|
|
154
|
-
interceptor: (value: T) => void
|
|
155
|
-
): T;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
interface LoDashWrapper<TValue> {
|
|
159
|
-
/**
|
|
160
|
-
* @see _.tap
|
|
161
|
-
*/
|
|
162
|
-
tap(
|
|
163
|
-
interceptor: (value: TValue) => void
|
|
164
|
-
): this;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
// thru
|
|
168
|
-
|
|
169
|
-
interface LoDashStatic {
|
|
170
|
-
/**
|
|
171
|
-
* This method is like _.tap except that it returns the result of interceptor.
|
|
172
|
-
*
|
|
173
|
-
* @param value The value to provide to interceptor.
|
|
174
|
-
* @param interceptor The function to invoke.
|
|
175
|
-
* @return Returns the result of interceptor.
|
|
176
|
-
*/
|
|
177
|
-
thru<T, TResult>(
|
|
178
|
-
value: T,
|
|
179
|
-
interceptor: (value: T) => TResult
|
|
180
|
-
): TResult;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
interface LoDashImplicitWrapper<TValue> {
|
|
184
|
-
/**
|
|
185
|
-
* @see _.thru
|
|
186
|
-
*/
|
|
187
|
-
thru<TResult>(interceptor: (value: TValue) => TResult): LoDashImplicitWrapper<TResult>;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
interface LoDashExplicitWrapper<TValue> {
|
|
191
|
-
/**
|
|
192
|
-
* @see _.thru
|
|
193
|
-
*/
|
|
194
|
-
thru<TResult>(interceptor: (value: TValue) => TResult): LoDashExplicitWrapper<TResult>;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
1
|
+
import _ = require("../index");
|
|
2
|
+
declare module "../index" {
|
|
3
|
+
// chain
|
|
4
|
+
|
|
5
|
+
interface LoDashStatic {
|
|
6
|
+
/**
|
|
7
|
+
* Creates a lodash object that wraps value with explicit method chaining enabled.
|
|
8
|
+
*
|
|
9
|
+
* @param value The value to wrap.
|
|
10
|
+
* @return Returns the new lodash wrapper instance.
|
|
11
|
+
*/
|
|
12
|
+
chain<T>(value: T): LoDashExplicitWrapper<T>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface LoDashImplicitWrapper<TValue> {
|
|
16
|
+
/**
|
|
17
|
+
* @see _.chain
|
|
18
|
+
*/
|
|
19
|
+
chain(): LoDashExplicitWrapper<TValue>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface LoDashExplicitWrapper<TValue> {
|
|
23
|
+
/**
|
|
24
|
+
* @see _.chain
|
|
25
|
+
*/
|
|
26
|
+
chain(): this;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// prototype.chain
|
|
30
|
+
|
|
31
|
+
interface LoDashStatic {
|
|
32
|
+
/**
|
|
33
|
+
* Creates a lodash object that wraps value with explicit method chaining enabled.
|
|
34
|
+
*
|
|
35
|
+
* @param value The value to wrap.
|
|
36
|
+
* @return Returns the new lodash wrapper instance.
|
|
37
|
+
*/
|
|
38
|
+
chain<T>(value: T): LoDashExplicitWrapper<T>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
interface LoDashImplicitWrapper<TValue> {
|
|
42
|
+
/**
|
|
43
|
+
* @see _.chain
|
|
44
|
+
*/
|
|
45
|
+
chain(): LoDashExplicitWrapper<TValue>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
interface LoDashExplicitWrapper<TValue> {
|
|
49
|
+
/**
|
|
50
|
+
* @see _.chain
|
|
51
|
+
*/
|
|
52
|
+
chain(): this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// prototype.commit
|
|
56
|
+
|
|
57
|
+
interface LoDashWrapper<TValue> {
|
|
58
|
+
/**
|
|
59
|
+
* Executes the chained sequence and returns the wrapped result.
|
|
60
|
+
*
|
|
61
|
+
* @return Returns the new lodash wrapper instance.
|
|
62
|
+
*/
|
|
63
|
+
commit(): this;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// prototype.plant
|
|
67
|
+
|
|
68
|
+
interface LoDashImplicitWrapper<TValue> {
|
|
69
|
+
/**
|
|
70
|
+
* Creates a clone of the chained sequence planting value as the wrapped value.
|
|
71
|
+
* @param value The value to plant as the wrapped value.
|
|
72
|
+
* @return Returns the new lodash wrapper instance.
|
|
73
|
+
*/
|
|
74
|
+
plant<T>(value: T): LoDashImplicitWrapper<T>;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
interface LoDashExplicitWrapper<TValue> {
|
|
78
|
+
/**
|
|
79
|
+
* @see _.plant
|
|
80
|
+
*/
|
|
81
|
+
plant<T>(value: T): LoDashExplicitWrapper<T>;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// prototype.reverse
|
|
85
|
+
|
|
86
|
+
interface LoDashWrapper<TValue> {
|
|
87
|
+
/**
|
|
88
|
+
* Reverses the wrapped array so the first element becomes the last, the second element becomes the second to
|
|
89
|
+
* last, and so on.
|
|
90
|
+
*
|
|
91
|
+
* Note: This method mutates the wrapped array.
|
|
92
|
+
*
|
|
93
|
+
* @return Returns the new reversed lodash wrapper instance.
|
|
94
|
+
*/
|
|
95
|
+
reverse(): this;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// prototype.toJSON
|
|
99
|
+
|
|
100
|
+
interface LoDashWrapper<TValue> {
|
|
101
|
+
/**
|
|
102
|
+
* @see _.value
|
|
103
|
+
*/
|
|
104
|
+
toJSON(): TValue;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// prototype.toString
|
|
108
|
+
|
|
109
|
+
interface LoDashWrapper<TValue> {
|
|
110
|
+
/**
|
|
111
|
+
* Produces the result of coercing the unwrapped value to a string.
|
|
112
|
+
*
|
|
113
|
+
* @return Returns the coerced string value.
|
|
114
|
+
*/
|
|
115
|
+
toString(): string;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// prototype.value
|
|
119
|
+
|
|
120
|
+
interface LoDashWrapper<TValue> {
|
|
121
|
+
/**
|
|
122
|
+
* Executes the chained sequence to extract the unwrapped value.
|
|
123
|
+
*
|
|
124
|
+
* @alias _.toJSON, _.valueOf
|
|
125
|
+
*
|
|
126
|
+
* @return Returns the resolved unwrapped value.
|
|
127
|
+
*/
|
|
128
|
+
value(): TValue;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// prototype.valueOf
|
|
132
|
+
|
|
133
|
+
interface LoDashWrapper<TValue> {
|
|
134
|
+
/**
|
|
135
|
+
* @see _.value
|
|
136
|
+
*/
|
|
137
|
+
valueOf(): TValue;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// tap
|
|
141
|
+
|
|
142
|
+
interface LoDashStatic {
|
|
143
|
+
/**
|
|
144
|
+
* This method invokes interceptor and returns value. The interceptor is invoked with one
|
|
145
|
+
* argument; (value). The purpose of this method is to "tap into" a method chain in order to perform operations
|
|
146
|
+
* on intermediate results within the chain.
|
|
147
|
+
*
|
|
148
|
+
* @param value The value to provide to interceptor.
|
|
149
|
+
* @param interceptor The function to invoke.
|
|
150
|
+
* @return Returns value.
|
|
151
|
+
**/
|
|
152
|
+
tap<T>(
|
|
153
|
+
value: T,
|
|
154
|
+
interceptor: (value: T) => void
|
|
155
|
+
): T;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
interface LoDashWrapper<TValue> {
|
|
159
|
+
/**
|
|
160
|
+
* @see _.tap
|
|
161
|
+
*/
|
|
162
|
+
tap(
|
|
163
|
+
interceptor: (value: TValue) => void
|
|
164
|
+
): this;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
// thru
|
|
168
|
+
|
|
169
|
+
interface LoDashStatic {
|
|
170
|
+
/**
|
|
171
|
+
* This method is like _.tap except that it returns the result of interceptor.
|
|
172
|
+
*
|
|
173
|
+
* @param value The value to provide to interceptor.
|
|
174
|
+
* @param interceptor The function to invoke.
|
|
175
|
+
* @return Returns the result of interceptor.
|
|
176
|
+
*/
|
|
177
|
+
thru<T, TResult>(
|
|
178
|
+
value: T,
|
|
179
|
+
interceptor: (value: T) => TResult
|
|
180
|
+
): TResult;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
interface LoDashImplicitWrapper<TValue> {
|
|
184
|
+
/**
|
|
185
|
+
* @see _.thru
|
|
186
|
+
*/
|
|
187
|
+
thru<TResult>(interceptor: (value: TValue) => TResult): LoDashImplicitWrapper<TResult>;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
interface LoDashExplicitWrapper<TValue> {
|
|
191
|
+
/**
|
|
192
|
+
* @see _.thru
|
|
193
|
+
*/
|
|
194
|
+
thru<TResult>(interceptor: (value: TValue) => TResult): LoDashExplicitWrapper<TResult>;
|
|
195
|
+
}
|
|
196
|
+
}
|