From 974898ac4b22e94e02ae31b531690aafc5a6da03 Mon Sep 17 00:00:00 2001 From: Brulijam Date: Sun, 26 Nov 2023 18:32:02 +0100 Subject: [PATCH] Created Basic Structure --- .gitignore | 1 + node_modules/.package-lock.json | 17 + node_modules/@types/lodash/LICENSE | 21 + node_modules/@types/lodash/README.md | 15 + node_modules/@types/lodash/add.d.ts | 2 + node_modules/@types/lodash/after.d.ts | 2 + node_modules/@types/lodash/ary.d.ts | 2 + node_modules/@types/lodash/assign.d.ts | 2 + node_modules/@types/lodash/assignIn.d.ts | 2 + node_modules/@types/lodash/assignInWith.d.ts | 2 + node_modules/@types/lodash/assignWith.d.ts | 2 + node_modules/@types/lodash/at.d.ts | 2 + node_modules/@types/lodash/attempt.d.ts | 2 + node_modules/@types/lodash/before.d.ts | 2 + node_modules/@types/lodash/bind.d.ts | 2 + node_modules/@types/lodash/bindAll.d.ts | 2 + node_modules/@types/lodash/bindKey.d.ts | 2 + node_modules/@types/lodash/camelCase.d.ts | 2 + node_modules/@types/lodash/capitalize.d.ts | 2 + node_modules/@types/lodash/castArray.d.ts | 2 + node_modules/@types/lodash/ceil.d.ts | 2 + node_modules/@types/lodash/chain.d.ts | 2 + node_modules/@types/lodash/chunk.d.ts | 2 + node_modules/@types/lodash/clamp.d.ts | 2 + node_modules/@types/lodash/clone.d.ts | 2 + node_modules/@types/lodash/cloneDeep.d.ts | 2 + node_modules/@types/lodash/cloneDeepWith.d.ts | 2 + node_modules/@types/lodash/cloneWith.d.ts | 2 + node_modules/@types/lodash/common/array.d.ts | 2127 ++++++ .../@types/lodash/common/collection.d.ts | 1934 ++++++ node_modules/@types/lodash/common/common.d.ts | 280 + node_modules/@types/lodash/common/date.d.ts | 23 + .../@types/lodash/common/function.d.ts | 1446 +++++ node_modules/@types/lodash/common/lang.d.ts | 1700 +++++ node_modules/@types/lodash/common/math.d.ts | 405 ++ node_modules/@types/lodash/common/number.d.ts | 131 + node_modules/@types/lodash/common/object.d.ts | 2580 ++++++++ node_modules/@types/lodash/common/seq.d.ts | 210 + node_modules/@types/lodash/common/string.d.ts | 788 +++ node_modules/@types/lodash/common/util.d.ts | 1220 ++++ node_modules/@types/lodash/compact.d.ts | 2 + node_modules/@types/lodash/concat.d.ts | 2 + node_modules/@types/lodash/cond.d.ts | 2 + node_modules/@types/lodash/conformsTo.d.ts | 2 + node_modules/@types/lodash/constant.d.ts | 2 + node_modules/@types/lodash/countBy.d.ts | 2 + node_modules/@types/lodash/create.d.ts | 2 + node_modules/@types/lodash/curry.d.ts | 2 + node_modules/@types/lodash/curryRight.d.ts | 2 + node_modules/@types/lodash/debounce.d.ts | 2 + node_modules/@types/lodash/deburr.d.ts | 2 + node_modules/@types/lodash/defaultTo.d.ts | 2 + node_modules/@types/lodash/defaults.d.ts | 2 + node_modules/@types/lodash/defaultsDeep.d.ts | 2 + node_modules/@types/lodash/defer.d.ts | 2 + node_modules/@types/lodash/delay.d.ts | 2 + node_modules/@types/lodash/difference.d.ts | 2 + node_modules/@types/lodash/differenceBy.d.ts | 2 + .../@types/lodash/differenceWith.d.ts | 2 + node_modules/@types/lodash/divide.d.ts | 2 + node_modules/@types/lodash/drop.d.ts | 2 + node_modules/@types/lodash/dropRight.d.ts | 2 + .../@types/lodash/dropRightWhile.d.ts | 2 + node_modules/@types/lodash/dropWhile.d.ts | 2 + node_modules/@types/lodash/each.d.ts | 2 + node_modules/@types/lodash/eachRight.d.ts | 2 + node_modules/@types/lodash/endsWith.d.ts | 2 + node_modules/@types/lodash/entries.d.ts | 2 + node_modules/@types/lodash/entriesIn.d.ts | 2 + node_modules/@types/lodash/eq.d.ts | 2 + node_modules/@types/lodash/escape.d.ts | 2 + node_modules/@types/lodash/escapeRegExp.d.ts | 2 + node_modules/@types/lodash/every.d.ts | 2 + node_modules/@types/lodash/extend.d.ts | 2 + node_modules/@types/lodash/extendWith.d.ts | 2 + node_modules/@types/lodash/fill.d.ts | 2 + node_modules/@types/lodash/filter.d.ts | 2 + node_modules/@types/lodash/find.d.ts | 2 + node_modules/@types/lodash/findIndex.d.ts | 2 + node_modules/@types/lodash/findKey.d.ts | 2 + node_modules/@types/lodash/findLast.d.ts | 2 + node_modules/@types/lodash/findLastIndex.d.ts | 2 + node_modules/@types/lodash/findLastKey.d.ts | 2 + node_modules/@types/lodash/first.d.ts | 2 + node_modules/@types/lodash/flatMap.d.ts | 2 + node_modules/@types/lodash/flatMapDeep.d.ts | 2 + node_modules/@types/lodash/flatMapDepth.d.ts | 2 + node_modules/@types/lodash/flatten.d.ts | 2 + node_modules/@types/lodash/flattenDeep.d.ts | 2 + node_modules/@types/lodash/flattenDepth.d.ts | 2 + node_modules/@types/lodash/flip.d.ts | 2 + node_modules/@types/lodash/floor.d.ts | 2 + node_modules/@types/lodash/flow.d.ts | 2 + node_modules/@types/lodash/flowRight.d.ts | 2 + node_modules/@types/lodash/forEach.d.ts | 2 + node_modules/@types/lodash/forEachRight.d.ts | 2 + node_modules/@types/lodash/forIn.d.ts | 2 + node_modules/@types/lodash/forInRight.d.ts | 2 + node_modules/@types/lodash/forOwn.d.ts | 2 + node_modules/@types/lodash/forOwnRight.d.ts | 2 + node_modules/@types/lodash/fp.d.ts | 4950 ++++++++++++++ node_modules/@types/lodash/fp/F.d.ts | 2 + node_modules/@types/lodash/fp/T.d.ts | 2 + node_modules/@types/lodash/fp/__.d.ts | 3 + node_modules/@types/lodash/fp/add.d.ts | 2 + node_modules/@types/lodash/fp/after.d.ts | 2 + node_modules/@types/lodash/fp/all.d.ts | 2 + node_modules/@types/lodash/fp/allPass.d.ts | 2 + node_modules/@types/lodash/fp/always.d.ts | 2 + node_modules/@types/lodash/fp/any.d.ts | 2 + node_modules/@types/lodash/fp/anyPass.d.ts | 2 + node_modules/@types/lodash/fp/apply.d.ts | 2 + node_modules/@types/lodash/fp/ary.d.ts | 2 + node_modules/@types/lodash/fp/assign.d.ts | 2 + node_modules/@types/lodash/fp/assignAll.d.ts | 2 + .../@types/lodash/fp/assignAllWith.d.ts | 2 + node_modules/@types/lodash/fp/assignIn.d.ts | 2 + .../@types/lodash/fp/assignInAll.d.ts | 2 + .../@types/lodash/fp/assignInAllWith.d.ts | 2 + .../@types/lodash/fp/assignInWith.d.ts | 2 + node_modules/@types/lodash/fp/assignWith.d.ts | 2 + node_modules/@types/lodash/fp/assoc.d.ts | 2 + node_modules/@types/lodash/fp/assocPath.d.ts | 2 + node_modules/@types/lodash/fp/at.d.ts | 2 + node_modules/@types/lodash/fp/attempt.d.ts | 2 + node_modules/@types/lodash/fp/before.d.ts | 2 + node_modules/@types/lodash/fp/bind.d.ts | 2 + node_modules/@types/lodash/fp/bindAll.d.ts | 2 + node_modules/@types/lodash/fp/bindKey.d.ts | 2 + node_modules/@types/lodash/fp/camelCase.d.ts | 2 + node_modules/@types/lodash/fp/capitalize.d.ts | 2 + node_modules/@types/lodash/fp/castArray.d.ts | 2 + node_modules/@types/lodash/fp/ceil.d.ts | 2 + node_modules/@types/lodash/fp/chunk.d.ts | 2 + node_modules/@types/lodash/fp/clamp.d.ts | 2 + node_modules/@types/lodash/fp/clone.d.ts | 2 + node_modules/@types/lodash/fp/cloneDeep.d.ts | 2 + .../@types/lodash/fp/cloneDeepWith.d.ts | 2 + node_modules/@types/lodash/fp/cloneWith.d.ts | 2 + node_modules/@types/lodash/fp/compact.d.ts | 2 + node_modules/@types/lodash/fp/complement.d.ts | 2 + node_modules/@types/lodash/fp/compose.d.ts | 2 + node_modules/@types/lodash/fp/concat.d.ts | 2 + node_modules/@types/lodash/fp/cond.d.ts | 2 + node_modules/@types/lodash/fp/conforms.d.ts | 2 + node_modules/@types/lodash/fp/conformsTo.d.ts | 2 + node_modules/@types/lodash/fp/constant.d.ts | 2 + node_modules/@types/lodash/fp/contains.d.ts | 2 + node_modules/@types/lodash/fp/convert.d.ts | 15 + node_modules/@types/lodash/fp/countBy.d.ts | 2 + node_modules/@types/lodash/fp/create.d.ts | 2 + node_modules/@types/lodash/fp/curry.d.ts | 2 + node_modules/@types/lodash/fp/curryN.d.ts | 2 + node_modules/@types/lodash/fp/curryRight.d.ts | 2 + .../@types/lodash/fp/curryRightN.d.ts | 2 + node_modules/@types/lodash/fp/debounce.d.ts | 2 + node_modules/@types/lodash/fp/deburr.d.ts | 2 + node_modules/@types/lodash/fp/defaultTo.d.ts | 2 + node_modules/@types/lodash/fp/defaults.d.ts | 2 + .../@types/lodash/fp/defaultsAll.d.ts | 2 + .../@types/lodash/fp/defaultsDeep.d.ts | 2 + .../@types/lodash/fp/defaultsDeepAll.d.ts | 2 + node_modules/@types/lodash/fp/defer.d.ts | 2 + node_modules/@types/lodash/fp/delay.d.ts | 2 + node_modules/@types/lodash/fp/difference.d.ts | 2 + .../@types/lodash/fp/differenceBy.d.ts | 2 + .../@types/lodash/fp/differenceWith.d.ts | 2 + node_modules/@types/lodash/fp/dissoc.d.ts | 2 + node_modules/@types/lodash/fp/dissocPath.d.ts | 2 + node_modules/@types/lodash/fp/divide.d.ts | 2 + node_modules/@types/lodash/fp/drop.d.ts | 2 + node_modules/@types/lodash/fp/dropLast.d.ts | 2 + .../@types/lodash/fp/dropLastWhile.d.ts | 2 + node_modules/@types/lodash/fp/dropRight.d.ts | 2 + .../@types/lodash/fp/dropRightWhile.d.ts | 2 + node_modules/@types/lodash/fp/dropWhile.d.ts | 2 + node_modules/@types/lodash/fp/each.d.ts | 2 + node_modules/@types/lodash/fp/eachRight.d.ts | 2 + node_modules/@types/lodash/fp/endsWith.d.ts | 2 + node_modules/@types/lodash/fp/entries.d.ts | 2 + node_modules/@types/lodash/fp/entriesIn.d.ts | 2 + node_modules/@types/lodash/fp/eq.d.ts | 2 + node_modules/@types/lodash/fp/equals.d.ts | 2 + node_modules/@types/lodash/fp/escape.d.ts | 2 + .../@types/lodash/fp/escapeRegExp.d.ts | 2 + node_modules/@types/lodash/fp/every.d.ts | 2 + node_modules/@types/lodash/fp/extend.d.ts | 2 + node_modules/@types/lodash/fp/extendAll.d.ts | 2 + .../@types/lodash/fp/extendAllWith.d.ts | 2 + node_modules/@types/lodash/fp/extendWith.d.ts | 2 + node_modules/@types/lodash/fp/fill.d.ts | 2 + node_modules/@types/lodash/fp/filter.d.ts | 2 + node_modules/@types/lodash/fp/find.d.ts | 2 + node_modules/@types/lodash/fp/findFrom.d.ts | 2 + node_modules/@types/lodash/fp/findIndex.d.ts | 2 + .../@types/lodash/fp/findIndexFrom.d.ts | 2 + node_modules/@types/lodash/fp/findKey.d.ts | 2 + node_modules/@types/lodash/fp/findLast.d.ts | 2 + .../@types/lodash/fp/findLastFrom.d.ts | 2 + .../@types/lodash/fp/findLastIndex.d.ts | 2 + .../@types/lodash/fp/findLastIndexFrom.d.ts | 2 + .../@types/lodash/fp/findLastKey.d.ts | 2 + node_modules/@types/lodash/fp/first.d.ts | 2 + node_modules/@types/lodash/fp/flatMap.d.ts | 2 + .../@types/lodash/fp/flatMapDeep.d.ts | 2 + .../@types/lodash/fp/flatMapDepth.d.ts | 2 + node_modules/@types/lodash/fp/flatten.d.ts | 2 + .../@types/lodash/fp/flattenDeep.d.ts | 2 + .../@types/lodash/fp/flattenDepth.d.ts | 2 + node_modules/@types/lodash/fp/flip.d.ts | 2 + node_modules/@types/lodash/fp/floor.d.ts | 2 + node_modules/@types/lodash/fp/flow.d.ts | 2 + node_modules/@types/lodash/fp/flowRight.d.ts | 2 + node_modules/@types/lodash/fp/forEach.d.ts | 2 + .../@types/lodash/fp/forEachRight.d.ts | 2 + node_modules/@types/lodash/fp/forIn.d.ts | 2 + node_modules/@types/lodash/fp/forInRight.d.ts | 2 + node_modules/@types/lodash/fp/forOwn.d.ts | 2 + .../@types/lodash/fp/forOwnRight.d.ts | 2 + node_modules/@types/lodash/fp/fromPairs.d.ts | 2 + node_modules/@types/lodash/fp/functions.d.ts | 2 + .../@types/lodash/fp/functionsIn.d.ts | 2 + node_modules/@types/lodash/fp/get.d.ts | 2 + node_modules/@types/lodash/fp/getOr.d.ts | 2 + node_modules/@types/lodash/fp/groupBy.d.ts | 2 + node_modules/@types/lodash/fp/gt.d.ts | 2 + node_modules/@types/lodash/fp/gte.d.ts | 2 + node_modules/@types/lodash/fp/has.d.ts | 2 + node_modules/@types/lodash/fp/hasIn.d.ts | 2 + node_modules/@types/lodash/fp/head.d.ts | 2 + node_modules/@types/lodash/fp/identical.d.ts | 2 + node_modules/@types/lodash/fp/identity.d.ts | 2 + node_modules/@types/lodash/fp/inRange.d.ts | 2 + node_modules/@types/lodash/fp/includes.d.ts | 2 + .../@types/lodash/fp/includesFrom.d.ts | 2 + node_modules/@types/lodash/fp/indexBy.d.ts | 2 + node_modules/@types/lodash/fp/indexOf.d.ts | 2 + .../@types/lodash/fp/indexOfFrom.d.ts | 2 + node_modules/@types/lodash/fp/init.d.ts | 2 + node_modules/@types/lodash/fp/initial.d.ts | 2 + .../@types/lodash/fp/intersection.d.ts | 2 + .../@types/lodash/fp/intersectionBy.d.ts | 2 + .../@types/lodash/fp/intersectionWith.d.ts | 2 + node_modules/@types/lodash/fp/invert.d.ts | 2 + node_modules/@types/lodash/fp/invertBy.d.ts | 2 + node_modules/@types/lodash/fp/invertObj.d.ts | 2 + node_modules/@types/lodash/fp/invoke.d.ts | 2 + node_modules/@types/lodash/fp/invokeArgs.d.ts | 2 + .../@types/lodash/fp/invokeArgsMap.d.ts | 2 + node_modules/@types/lodash/fp/invokeMap.d.ts | 2 + .../@types/lodash/fp/isArguments.d.ts | 2 + node_modules/@types/lodash/fp/isArray.d.ts | 2 + .../@types/lodash/fp/isArrayBuffer.d.ts | 2 + .../@types/lodash/fp/isArrayLike.d.ts | 2 + .../@types/lodash/fp/isArrayLikeObject.d.ts | 2 + node_modules/@types/lodash/fp/isBoolean.d.ts | 2 + node_modules/@types/lodash/fp/isBuffer.d.ts | 2 + node_modules/@types/lodash/fp/isDate.d.ts | 2 + node_modules/@types/lodash/fp/isElement.d.ts | 2 + node_modules/@types/lodash/fp/isEmpty.d.ts | 2 + node_modules/@types/lodash/fp/isEqual.d.ts | 2 + .../@types/lodash/fp/isEqualWith.d.ts | 2 + node_modules/@types/lodash/fp/isError.d.ts | 2 + node_modules/@types/lodash/fp/isFinite.d.ts | 2 + node_modules/@types/lodash/fp/isFunction.d.ts | 2 + node_modules/@types/lodash/fp/isInteger.d.ts | 2 + node_modules/@types/lodash/fp/isLength.d.ts | 2 + node_modules/@types/lodash/fp/isMap.d.ts | 2 + node_modules/@types/lodash/fp/isMatch.d.ts | 2 + .../@types/lodash/fp/isMatchWith.d.ts | 2 + node_modules/@types/lodash/fp/isNaN.d.ts | 2 + node_modules/@types/lodash/fp/isNative.d.ts | 2 + node_modules/@types/lodash/fp/isNil.d.ts | 2 + node_modules/@types/lodash/fp/isNull.d.ts | 2 + node_modules/@types/lodash/fp/isNumber.d.ts | 2 + node_modules/@types/lodash/fp/isObject.d.ts | 2 + .../@types/lodash/fp/isObjectLike.d.ts | 2 + .../@types/lodash/fp/isPlainObject.d.ts | 2 + node_modules/@types/lodash/fp/isRegExp.d.ts | 2 + .../@types/lodash/fp/isSafeInteger.d.ts | 2 + node_modules/@types/lodash/fp/isSet.d.ts | 2 + node_modules/@types/lodash/fp/isString.d.ts | 2 + node_modules/@types/lodash/fp/isSymbol.d.ts | 2 + .../@types/lodash/fp/isTypedArray.d.ts | 2 + .../@types/lodash/fp/isUndefined.d.ts | 2 + node_modules/@types/lodash/fp/isWeakMap.d.ts | 2 + node_modules/@types/lodash/fp/isWeakSet.d.ts | 2 + node_modules/@types/lodash/fp/iteratee.d.ts | 2 + node_modules/@types/lodash/fp/join.d.ts | 2 + node_modules/@types/lodash/fp/juxt.d.ts | 2 + node_modules/@types/lodash/fp/kebabCase.d.ts | 2 + node_modules/@types/lodash/fp/keyBy.d.ts | 2 + node_modules/@types/lodash/fp/keys.d.ts | 2 + node_modules/@types/lodash/fp/keysIn.d.ts | 2 + node_modules/@types/lodash/fp/last.d.ts | 2 + .../@types/lodash/fp/lastIndexOf.d.ts | 2 + .../@types/lodash/fp/lastIndexOfFrom.d.ts | 2 + node_modules/@types/lodash/fp/lowerCase.d.ts | 2 + node_modules/@types/lodash/fp/lowerFirst.d.ts | 2 + node_modules/@types/lodash/fp/lt.d.ts | 2 + node_modules/@types/lodash/fp/lte.d.ts | 2 + node_modules/@types/lodash/fp/map.d.ts | 2 + node_modules/@types/lodash/fp/mapKeys.d.ts | 2 + node_modules/@types/lodash/fp/mapValues.d.ts | 2 + node_modules/@types/lodash/fp/matches.d.ts | 2 + .../@types/lodash/fp/matchesProperty.d.ts | 2 + node_modules/@types/lodash/fp/max.d.ts | 2 + node_modules/@types/lodash/fp/maxBy.d.ts | 2 + node_modules/@types/lodash/fp/mean.d.ts | 2 + node_modules/@types/lodash/fp/meanBy.d.ts | 2 + node_modules/@types/lodash/fp/memoize.d.ts | 2 + node_modules/@types/lodash/fp/merge.d.ts | 2 + node_modules/@types/lodash/fp/mergeAll.d.ts | 2 + .../@types/lodash/fp/mergeAllWith.d.ts | 2 + node_modules/@types/lodash/fp/mergeWith.d.ts | 2 + node_modules/@types/lodash/fp/method.d.ts | 2 + node_modules/@types/lodash/fp/methodOf.d.ts | 2 + node_modules/@types/lodash/fp/min.d.ts | 2 + node_modules/@types/lodash/fp/minBy.d.ts | 2 + node_modules/@types/lodash/fp/multiply.d.ts | 2 + node_modules/@types/lodash/fp/nAry.d.ts | 2 + node_modules/@types/lodash/fp/negate.d.ts | 2 + node_modules/@types/lodash/fp/noConflict.d.ts | 2 + node_modules/@types/lodash/fp/noop.d.ts | 2 + node_modules/@types/lodash/fp/now.d.ts | 2 + node_modules/@types/lodash/fp/nth.d.ts | 2 + node_modules/@types/lodash/fp/nthArg.d.ts | 2 + node_modules/@types/lodash/fp/omit.d.ts | 2 + node_modules/@types/lodash/fp/omitAll.d.ts | 2 + node_modules/@types/lodash/fp/omitBy.d.ts | 2 + node_modules/@types/lodash/fp/once.d.ts | 2 + node_modules/@types/lodash/fp/orderBy.d.ts | 2 + node_modules/@types/lodash/fp/over.d.ts | 2 + node_modules/@types/lodash/fp/overArgs.d.ts | 2 + node_modules/@types/lodash/fp/overEvery.d.ts | 2 + node_modules/@types/lodash/fp/overSome.d.ts | 2 + node_modules/@types/lodash/fp/pad.d.ts | 2 + node_modules/@types/lodash/fp/padChars.d.ts | 2 + .../@types/lodash/fp/padCharsEnd.d.ts | 2 + .../@types/lodash/fp/padCharsStart.d.ts | 2 + node_modules/@types/lodash/fp/padEnd.d.ts | 2 + node_modules/@types/lodash/fp/padStart.d.ts | 2 + node_modules/@types/lodash/fp/parseInt.d.ts | 2 + node_modules/@types/lodash/fp/partial.d.ts | 2 + .../@types/lodash/fp/partialRight.d.ts | 2 + node_modules/@types/lodash/fp/partition.d.ts | 2 + node_modules/@types/lodash/fp/path.d.ts | 2 + node_modules/@types/lodash/fp/pathEq.d.ts | 2 + node_modules/@types/lodash/fp/pathOr.d.ts | 2 + node_modules/@types/lodash/fp/paths.d.ts | 2 + node_modules/@types/lodash/fp/pick.d.ts | 2 + node_modules/@types/lodash/fp/pickAll.d.ts | 2 + node_modules/@types/lodash/fp/pickBy.d.ts | 2 + node_modules/@types/lodash/fp/pipe.d.ts | 2 + .../@types/lodash/fp/placeholder.d.ts | 3 + node_modules/@types/lodash/fp/pluck.d.ts | 2 + node_modules/@types/lodash/fp/prop.d.ts | 2 + node_modules/@types/lodash/fp/propEq.d.ts | 2 + node_modules/@types/lodash/fp/propOr.d.ts | 2 + node_modules/@types/lodash/fp/property.d.ts | 2 + node_modules/@types/lodash/fp/propertyOf.d.ts | 2 + node_modules/@types/lodash/fp/props.d.ts | 2 + node_modules/@types/lodash/fp/pull.d.ts | 2 + node_modules/@types/lodash/fp/pullAll.d.ts | 2 + node_modules/@types/lodash/fp/pullAllBy.d.ts | 2 + .../@types/lodash/fp/pullAllWith.d.ts | 2 + node_modules/@types/lodash/fp/pullAt.d.ts | 2 + node_modules/@types/lodash/fp/random.d.ts | 2 + node_modules/@types/lodash/fp/range.d.ts | 2 + node_modules/@types/lodash/fp/rangeRight.d.ts | 2 + node_modules/@types/lodash/fp/rangeStep.d.ts | 2 + .../@types/lodash/fp/rangeStepRight.d.ts | 2 + node_modules/@types/lodash/fp/rearg.d.ts | 2 + node_modules/@types/lodash/fp/reduce.d.ts | 2 + .../@types/lodash/fp/reduceRight.d.ts | 2 + node_modules/@types/lodash/fp/reject.d.ts | 2 + node_modules/@types/lodash/fp/remove.d.ts | 2 + node_modules/@types/lodash/fp/repeat.d.ts | 2 + node_modules/@types/lodash/fp/replace.d.ts | 2 + node_modules/@types/lodash/fp/rest.d.ts | 2 + node_modules/@types/lodash/fp/restFrom.d.ts | 2 + node_modules/@types/lodash/fp/result.d.ts | 2 + node_modules/@types/lodash/fp/reverse.d.ts | 2 + node_modules/@types/lodash/fp/round.d.ts | 2 + .../@types/lodash/fp/runInContext.d.ts | 2 + node_modules/@types/lodash/fp/sample.d.ts | 2 + node_modules/@types/lodash/fp/sampleSize.d.ts | 2 + node_modules/@types/lodash/fp/set.d.ts | 2 + node_modules/@types/lodash/fp/setWith.d.ts | 2 + node_modules/@types/lodash/fp/shuffle.d.ts | 2 + node_modules/@types/lodash/fp/size.d.ts | 2 + node_modules/@types/lodash/fp/slice.d.ts | 2 + node_modules/@types/lodash/fp/snakeCase.d.ts | 2 + node_modules/@types/lodash/fp/some.d.ts | 2 + node_modules/@types/lodash/fp/sortBy.d.ts | 2 + .../@types/lodash/fp/sortedIndex.d.ts | 2 + .../@types/lodash/fp/sortedIndexBy.d.ts | 2 + .../@types/lodash/fp/sortedIndexOf.d.ts | 2 + .../@types/lodash/fp/sortedLastIndex.d.ts | 2 + .../@types/lodash/fp/sortedLastIndexBy.d.ts | 2 + .../@types/lodash/fp/sortedLastIndexOf.d.ts | 2 + node_modules/@types/lodash/fp/sortedUniq.d.ts | 2 + .../@types/lodash/fp/sortedUniqBy.d.ts | 2 + node_modules/@types/lodash/fp/split.d.ts | 2 + node_modules/@types/lodash/fp/spread.d.ts | 2 + node_modules/@types/lodash/fp/spreadFrom.d.ts | 2 + node_modules/@types/lodash/fp/startCase.d.ts | 2 + node_modules/@types/lodash/fp/startsWith.d.ts | 2 + node_modules/@types/lodash/fp/stubArray.d.ts | 2 + node_modules/@types/lodash/fp/stubFalse.d.ts | 2 + node_modules/@types/lodash/fp/stubObject.d.ts | 2 + node_modules/@types/lodash/fp/stubString.d.ts | 2 + node_modules/@types/lodash/fp/stubTrue.d.ts | 2 + node_modules/@types/lodash/fp/subtract.d.ts | 2 + node_modules/@types/lodash/fp/sum.d.ts | 2 + node_modules/@types/lodash/fp/sumBy.d.ts | 2 + .../@types/lodash/fp/symmetricDifference.d.ts | 2 + .../lodash/fp/symmetricDifferenceBy.d.ts | 2 + .../lodash/fp/symmetricDifferenceWith.d.ts | 2 + node_modules/@types/lodash/fp/tail.d.ts | 2 + node_modules/@types/lodash/fp/take.d.ts | 2 + node_modules/@types/lodash/fp/takeLast.d.ts | 2 + .../@types/lodash/fp/takeLastWhile.d.ts | 2 + node_modules/@types/lodash/fp/takeRight.d.ts | 2 + .../@types/lodash/fp/takeRightWhile.d.ts | 2 + node_modules/@types/lodash/fp/takeWhile.d.ts | 2 + node_modules/@types/lodash/fp/tap.d.ts | 2 + node_modules/@types/lodash/fp/template.d.ts | 2 + node_modules/@types/lodash/fp/throttle.d.ts | 2 + node_modules/@types/lodash/fp/thru.d.ts | 2 + node_modules/@types/lodash/fp/times.d.ts | 2 + node_modules/@types/lodash/fp/toArray.d.ts | 2 + node_modules/@types/lodash/fp/toFinite.d.ts | 2 + node_modules/@types/lodash/fp/toInteger.d.ts | 2 + node_modules/@types/lodash/fp/toLength.d.ts | 2 + node_modules/@types/lodash/fp/toLower.d.ts | 2 + node_modules/@types/lodash/fp/toNumber.d.ts | 2 + node_modules/@types/lodash/fp/toPairs.d.ts | 2 + node_modules/@types/lodash/fp/toPairsIn.d.ts | 2 + node_modules/@types/lodash/fp/toPath.d.ts | 2 + .../@types/lodash/fp/toPlainObject.d.ts | 2 + .../@types/lodash/fp/toSafeInteger.d.ts | 2 + node_modules/@types/lodash/fp/toString.d.ts | 2 + node_modules/@types/lodash/fp/toUpper.d.ts | 2 + node_modules/@types/lodash/fp/transform.d.ts | 2 + node_modules/@types/lodash/fp/trim.d.ts | 2 + node_modules/@types/lodash/fp/trimChars.d.ts | 2 + .../@types/lodash/fp/trimCharsEnd.d.ts | 2 + .../@types/lodash/fp/trimCharsStart.d.ts | 2 + node_modules/@types/lodash/fp/trimEnd.d.ts | 2 + node_modules/@types/lodash/fp/trimStart.d.ts | 2 + node_modules/@types/lodash/fp/truncate.d.ts | 2 + node_modules/@types/lodash/fp/unapply.d.ts | 2 + node_modules/@types/lodash/fp/unary.d.ts | 2 + node_modules/@types/lodash/fp/unescape.d.ts | 2 + node_modules/@types/lodash/fp/union.d.ts | 2 + node_modules/@types/lodash/fp/unionBy.d.ts | 2 + node_modules/@types/lodash/fp/unionWith.d.ts | 2 + node_modules/@types/lodash/fp/uniq.d.ts | 2 + node_modules/@types/lodash/fp/uniqBy.d.ts | 2 + node_modules/@types/lodash/fp/uniqWith.d.ts | 2 + node_modules/@types/lodash/fp/uniqueId.d.ts | 2 + node_modules/@types/lodash/fp/unnest.d.ts | 2 + node_modules/@types/lodash/fp/unset.d.ts | 2 + node_modules/@types/lodash/fp/unzip.d.ts | 2 + node_modules/@types/lodash/fp/unzipWith.d.ts | 2 + node_modules/@types/lodash/fp/update.d.ts | 2 + node_modules/@types/lodash/fp/updateWith.d.ts | 2 + node_modules/@types/lodash/fp/upperCase.d.ts | 2 + node_modules/@types/lodash/fp/upperFirst.d.ts | 2 + node_modules/@types/lodash/fp/useWith.d.ts | 2 + node_modules/@types/lodash/fp/values.d.ts | 2 + node_modules/@types/lodash/fp/valuesIn.d.ts | 2 + node_modules/@types/lodash/fp/where.d.ts | 2 + node_modules/@types/lodash/fp/whereEq.d.ts | 2 + node_modules/@types/lodash/fp/without.d.ts | 2 + node_modules/@types/lodash/fp/words.d.ts | 2 + node_modules/@types/lodash/fp/wrap.d.ts | 2 + node_modules/@types/lodash/fp/xor.d.ts | 2 + node_modules/@types/lodash/fp/xorBy.d.ts | 2 + node_modules/@types/lodash/fp/xorWith.d.ts | 2 + node_modules/@types/lodash/fp/zip.d.ts | 2 + node_modules/@types/lodash/fp/zipAll.d.ts | 2 + node_modules/@types/lodash/fp/zipObj.d.ts | 2 + node_modules/@types/lodash/fp/zipObject.d.ts | 2 + .../@types/lodash/fp/zipObjectDeep.d.ts | 2 + node_modules/@types/lodash/fp/zipWith.d.ts | 2 + node_modules/@types/lodash/fromPairs.d.ts | 2 + node_modules/@types/lodash/functions.d.ts | 2 + node_modules/@types/lodash/functionsIn.d.ts | 2 + node_modules/@types/lodash/get.d.ts | 2 + node_modules/@types/lodash/groupBy.d.ts | 2 + node_modules/@types/lodash/gt.d.ts | 2 + node_modules/@types/lodash/gte.d.ts | 2 + node_modules/@types/lodash/has.d.ts | 2 + node_modules/@types/lodash/hasIn.d.ts | 2 + node_modules/@types/lodash/head.d.ts | 2 + node_modules/@types/lodash/identity.d.ts | 2 + node_modules/@types/lodash/inRange.d.ts | 2 + node_modules/@types/lodash/includes.d.ts | 2 + node_modules/@types/lodash/index.d.ts | 21 + node_modules/@types/lodash/indexOf.d.ts | 2 + node_modules/@types/lodash/initial.d.ts | 2 + node_modules/@types/lodash/intersection.d.ts | 2 + .../@types/lodash/intersectionBy.d.ts | 2 + .../@types/lodash/intersectionWith.d.ts | 2 + node_modules/@types/lodash/invert.d.ts | 2 + node_modules/@types/lodash/invertBy.d.ts | 2 + node_modules/@types/lodash/invoke.d.ts | 2 + node_modules/@types/lodash/invokeMap.d.ts | 2 + node_modules/@types/lodash/isArguments.d.ts | 2 + node_modules/@types/lodash/isArray.d.ts | 2 + node_modules/@types/lodash/isArrayBuffer.d.ts | 2 + node_modules/@types/lodash/isArrayLike.d.ts | 2 + .../@types/lodash/isArrayLikeObject.d.ts | 2 + node_modules/@types/lodash/isBoolean.d.ts | 2 + node_modules/@types/lodash/isBuffer.d.ts | 2 + node_modules/@types/lodash/isDate.d.ts | 2 + node_modules/@types/lodash/isElement.d.ts | 2 + node_modules/@types/lodash/isEmpty.d.ts | 2 + node_modules/@types/lodash/isEqual.d.ts | 2 + node_modules/@types/lodash/isEqualWith.d.ts | 2 + node_modules/@types/lodash/isError.d.ts | 2 + node_modules/@types/lodash/isFinite.d.ts | 2 + node_modules/@types/lodash/isFunction.d.ts | 2 + node_modules/@types/lodash/isInteger.d.ts | 2 + node_modules/@types/lodash/isLength.d.ts | 2 + node_modules/@types/lodash/isMap.d.ts | 2 + node_modules/@types/lodash/isMatch.d.ts | 2 + node_modules/@types/lodash/isMatchWith.d.ts | 2 + node_modules/@types/lodash/isNaN.d.ts | 2 + node_modules/@types/lodash/isNative.d.ts | 2 + node_modules/@types/lodash/isNil.d.ts | 2 + node_modules/@types/lodash/isNull.d.ts | 2 + node_modules/@types/lodash/isNumber.d.ts | 2 + node_modules/@types/lodash/isObject.d.ts | 2 + node_modules/@types/lodash/isObjectLike.d.ts | 2 + node_modules/@types/lodash/isPlainObject.d.ts | 2 + node_modules/@types/lodash/isRegExp.d.ts | 2 + node_modules/@types/lodash/isSafeInteger.d.ts | 2 + node_modules/@types/lodash/isSet.d.ts | 2 + node_modules/@types/lodash/isString.d.ts | 2 + node_modules/@types/lodash/isSymbol.d.ts | 2 + node_modules/@types/lodash/isTypedArray.d.ts | 2 + node_modules/@types/lodash/isUndefined.d.ts | 2 + node_modules/@types/lodash/isWeakMap.d.ts | 2 + node_modules/@types/lodash/isWeakSet.d.ts | 2 + node_modules/@types/lodash/iteratee.d.ts | 2 + node_modules/@types/lodash/join.d.ts | 2 + node_modules/@types/lodash/kebabCase.d.ts | 2 + node_modules/@types/lodash/keyBy.d.ts | 2 + node_modules/@types/lodash/keys.d.ts | 2 + node_modules/@types/lodash/keysIn.d.ts | 2 + node_modules/@types/lodash/last.d.ts | 2 + node_modules/@types/lodash/lastIndexOf.d.ts | 2 + node_modules/@types/lodash/lowerCase.d.ts | 2 + node_modules/@types/lodash/lowerFirst.d.ts | 2 + node_modules/@types/lodash/lt.d.ts | 2 + node_modules/@types/lodash/lte.d.ts | 2 + node_modules/@types/lodash/map.d.ts | 2 + node_modules/@types/lodash/mapKeys.d.ts | 2 + node_modules/@types/lodash/mapValues.d.ts | 2 + node_modules/@types/lodash/matches.d.ts | 2 + .../@types/lodash/matchesProperty.d.ts | 2 + node_modules/@types/lodash/max.d.ts | 2 + node_modules/@types/lodash/maxBy.d.ts | 2 + node_modules/@types/lodash/mean.d.ts | 2 + node_modules/@types/lodash/meanBy.d.ts | 2 + node_modules/@types/lodash/memoize.d.ts | 2 + node_modules/@types/lodash/merge.d.ts | 2 + node_modules/@types/lodash/mergeWith.d.ts | 2 + node_modules/@types/lodash/method.d.ts | 2 + node_modules/@types/lodash/methodOf.d.ts | 2 + node_modules/@types/lodash/min.d.ts | 2 + node_modules/@types/lodash/minBy.d.ts | 2 + node_modules/@types/lodash/mixin.d.ts | 2 + node_modules/@types/lodash/multiply.d.ts | 2 + node_modules/@types/lodash/negate.d.ts | 2 + node_modules/@types/lodash/noConflict.d.ts | 2 + node_modules/@types/lodash/noop.d.ts | 2 + node_modules/@types/lodash/now.d.ts | 2 + node_modules/@types/lodash/nth.d.ts | 2 + node_modules/@types/lodash/nthArg.d.ts | 2 + node_modules/@types/lodash/omit.d.ts | 2 + node_modules/@types/lodash/omitBy.d.ts | 2 + node_modules/@types/lodash/once.d.ts | 2 + node_modules/@types/lodash/orderBy.d.ts | 2 + node_modules/@types/lodash/over.d.ts | 2 + node_modules/@types/lodash/overArgs.d.ts | 2 + node_modules/@types/lodash/overEvery.d.ts | 2 + node_modules/@types/lodash/overSome.d.ts | 2 + node_modules/@types/lodash/package.json | 60 + node_modules/@types/lodash/pad.d.ts | 2 + node_modules/@types/lodash/padEnd.d.ts | 2 + node_modules/@types/lodash/padStart.d.ts | 2 + node_modules/@types/lodash/parseInt.d.ts | 2 + node_modules/@types/lodash/partial.d.ts | 2 + node_modules/@types/lodash/partialRight.d.ts | 2 + node_modules/@types/lodash/partition.d.ts | 2 + node_modules/@types/lodash/pick.d.ts | 2 + node_modules/@types/lodash/pickBy.d.ts | 2 + node_modules/@types/lodash/property.d.ts | 2 + node_modules/@types/lodash/propertyOf.d.ts | 2 + node_modules/@types/lodash/pull.d.ts | 2 + node_modules/@types/lodash/pullAll.d.ts | 2 + node_modules/@types/lodash/pullAllBy.d.ts | 2 + node_modules/@types/lodash/pullAllWith.d.ts | 2 + node_modules/@types/lodash/pullAt.d.ts | 2 + node_modules/@types/lodash/random.d.ts | 2 + node_modules/@types/lodash/range.d.ts | 2 + node_modules/@types/lodash/rangeRight.d.ts | 2 + node_modules/@types/lodash/rearg.d.ts | 2 + node_modules/@types/lodash/reduce.d.ts | 2 + node_modules/@types/lodash/reduceRight.d.ts | 2 + node_modules/@types/lodash/reject.d.ts | 2 + node_modules/@types/lodash/remove.d.ts | 2 + node_modules/@types/lodash/repeat.d.ts | 2 + node_modules/@types/lodash/replace.d.ts | 2 + node_modules/@types/lodash/rest.d.ts | 2 + node_modules/@types/lodash/result.d.ts | 2 + node_modules/@types/lodash/reverse.d.ts | 2 + node_modules/@types/lodash/round.d.ts | 2 + node_modules/@types/lodash/runInContext.d.ts | 2 + node_modules/@types/lodash/sample.d.ts | 2 + node_modules/@types/lodash/sampleSize.d.ts | 2 + node_modules/@types/lodash/set.d.ts | 2 + node_modules/@types/lodash/setWith.d.ts | 2 + node_modules/@types/lodash/shuffle.d.ts | 2 + node_modules/@types/lodash/size.d.ts | 2 + node_modules/@types/lodash/slice.d.ts | 2 + node_modules/@types/lodash/snakeCase.d.ts | 2 + node_modules/@types/lodash/some.d.ts | 2 + node_modules/@types/lodash/sortBy.d.ts | 2 + node_modules/@types/lodash/sortedIndex.d.ts | 2 + node_modules/@types/lodash/sortedIndexBy.d.ts | 2 + node_modules/@types/lodash/sortedIndexOf.d.ts | 2 + .../@types/lodash/sortedLastIndex.d.ts | 2 + .../@types/lodash/sortedLastIndexBy.d.ts | 2 + .../@types/lodash/sortedLastIndexOf.d.ts | 2 + node_modules/@types/lodash/sortedUniq.d.ts | 2 + node_modules/@types/lodash/sortedUniqBy.d.ts | 2 + node_modules/@types/lodash/split.d.ts | 2 + node_modules/@types/lodash/spread.d.ts | 2 + node_modules/@types/lodash/startCase.d.ts | 2 + node_modules/@types/lodash/startsWith.d.ts | 2 + node_modules/@types/lodash/stubFalse.d.ts | 2 + node_modules/@types/lodash/stubTrue.d.ts | 2 + node_modules/@types/lodash/subtract.d.ts | 2 + node_modules/@types/lodash/sum.d.ts | 2 + node_modules/@types/lodash/sumBy.d.ts | 2 + node_modules/@types/lodash/tail.d.ts | 2 + node_modules/@types/lodash/take.d.ts | 2 + node_modules/@types/lodash/takeRight.d.ts | 2 + .../@types/lodash/takeRightWhile.d.ts | 2 + node_modules/@types/lodash/takeWhile.d.ts | 2 + node_modules/@types/lodash/tap.d.ts | 2 + node_modules/@types/lodash/template.d.ts | 2 + node_modules/@types/lodash/throttle.d.ts | 2 + node_modules/@types/lodash/thru.d.ts | 2 + node_modules/@types/lodash/times.d.ts | 2 + node_modules/@types/lodash/toArray.d.ts | 2 + node_modules/@types/lodash/toFinite.d.ts | 2 + node_modules/@types/lodash/toInteger.d.ts | 2 + node_modules/@types/lodash/toLength.d.ts | 2 + node_modules/@types/lodash/toLower.d.ts | 2 + node_modules/@types/lodash/toNumber.d.ts | 2 + node_modules/@types/lodash/toPairs.d.ts | 2 + node_modules/@types/lodash/toPairsIn.d.ts | 2 + node_modules/@types/lodash/toPath.d.ts | 2 + node_modules/@types/lodash/toPlainObject.d.ts | 2 + node_modules/@types/lodash/toSafeInteger.d.ts | 2 + node_modules/@types/lodash/toString.d.ts | 2 + node_modules/@types/lodash/toUpper.d.ts | 2 + node_modules/@types/lodash/transform.d.ts | 2 + node_modules/@types/lodash/trim.d.ts | 2 + node_modules/@types/lodash/trimEnd.d.ts | 2 + node_modules/@types/lodash/trimStart.d.ts | 2 + node_modules/@types/lodash/truncate.d.ts | 2 + node_modules/@types/lodash/unary.d.ts | 2 + node_modules/@types/lodash/unescape.d.ts | 2 + node_modules/@types/lodash/union.d.ts | 2 + node_modules/@types/lodash/unionBy.d.ts | 2 + node_modules/@types/lodash/unionWith.d.ts | 2 + node_modules/@types/lodash/uniq.d.ts | 2 + node_modules/@types/lodash/uniqBy.d.ts | 2 + node_modules/@types/lodash/uniqWith.d.ts | 2 + node_modules/@types/lodash/uniqueId.d.ts | 2 + node_modules/@types/lodash/unset.d.ts | 2 + node_modules/@types/lodash/unzip.d.ts | 2 + node_modules/@types/lodash/unzipWith.d.ts | 2 + node_modules/@types/lodash/update.d.ts | 2 + node_modules/@types/lodash/updateWith.d.ts | 2 + node_modules/@types/lodash/upperCase.d.ts | 2 + node_modules/@types/lodash/upperFirst.d.ts | 2 + node_modules/@types/lodash/values.d.ts | 2 + node_modules/@types/lodash/valuesIn.d.ts | 2 + node_modules/@types/lodash/without.d.ts | 2 + node_modules/@types/lodash/words.d.ts | 2 + node_modules/@types/lodash/wrap.d.ts | 2 + node_modules/@types/lodash/xor.d.ts | 2 + node_modules/@types/lodash/xorBy.d.ts | 2 + node_modules/@types/lodash/xorWith.d.ts | 2 + node_modules/@types/lodash/zip.d.ts | 2 + node_modules/@types/lodash/zipObject.d.ts | 2 + node_modules/@types/lodash/zipObjectDeep.d.ts | 2 + node_modules/@types/lodash/zipWith.d.ts | 2 + node_modules/@types/screeps/LICENSE | 21 + node_modules/@types/screeps/README.md | 15 + node_modules/@types/screeps/index.d.ts | 5780 +++++++++++++++++ node_modules/@types/screeps/package.json | 60 + package-lock.json | 23 + package.json | 6 + screeps.com/default/main.js | 3 + screeps.com/tutorial-1/main.js | 3 + 714 files changed, 25229 insertions(+) create mode 100644 .gitignore create mode 100644 node_modules/.package-lock.json create mode 100644 node_modules/@types/lodash/LICENSE create mode 100644 node_modules/@types/lodash/README.md create mode 100644 node_modules/@types/lodash/add.d.ts create mode 100644 node_modules/@types/lodash/after.d.ts create mode 100644 node_modules/@types/lodash/ary.d.ts create mode 100644 node_modules/@types/lodash/assign.d.ts create mode 100644 node_modules/@types/lodash/assignIn.d.ts create mode 100644 node_modules/@types/lodash/assignInWith.d.ts create mode 100644 node_modules/@types/lodash/assignWith.d.ts create mode 100644 node_modules/@types/lodash/at.d.ts create mode 100644 node_modules/@types/lodash/attempt.d.ts create mode 100644 node_modules/@types/lodash/before.d.ts create mode 100644 node_modules/@types/lodash/bind.d.ts create mode 100644 node_modules/@types/lodash/bindAll.d.ts create mode 100644 node_modules/@types/lodash/bindKey.d.ts create mode 100644 node_modules/@types/lodash/camelCase.d.ts create mode 100644 node_modules/@types/lodash/capitalize.d.ts create mode 100644 node_modules/@types/lodash/castArray.d.ts create mode 100644 node_modules/@types/lodash/ceil.d.ts create mode 100644 node_modules/@types/lodash/chain.d.ts create mode 100644 node_modules/@types/lodash/chunk.d.ts create mode 100644 node_modules/@types/lodash/clamp.d.ts create mode 100644 node_modules/@types/lodash/clone.d.ts create mode 100644 node_modules/@types/lodash/cloneDeep.d.ts create mode 100644 node_modules/@types/lodash/cloneDeepWith.d.ts create mode 100644 node_modules/@types/lodash/cloneWith.d.ts create mode 100644 node_modules/@types/lodash/common/array.d.ts create mode 100644 node_modules/@types/lodash/common/collection.d.ts create mode 100644 node_modules/@types/lodash/common/common.d.ts create mode 100644 node_modules/@types/lodash/common/date.d.ts create mode 100644 node_modules/@types/lodash/common/function.d.ts create mode 100644 node_modules/@types/lodash/common/lang.d.ts create mode 100644 node_modules/@types/lodash/common/math.d.ts create mode 100644 node_modules/@types/lodash/common/number.d.ts create mode 100644 node_modules/@types/lodash/common/object.d.ts create mode 100644 node_modules/@types/lodash/common/seq.d.ts create mode 100644 node_modules/@types/lodash/common/string.d.ts create mode 100644 node_modules/@types/lodash/common/util.d.ts create mode 100644 node_modules/@types/lodash/compact.d.ts create mode 100644 node_modules/@types/lodash/concat.d.ts create mode 100644 node_modules/@types/lodash/cond.d.ts create mode 100644 node_modules/@types/lodash/conformsTo.d.ts create mode 100644 node_modules/@types/lodash/constant.d.ts create mode 100644 node_modules/@types/lodash/countBy.d.ts create mode 100644 node_modules/@types/lodash/create.d.ts create mode 100644 node_modules/@types/lodash/curry.d.ts create mode 100644 node_modules/@types/lodash/curryRight.d.ts create mode 100644 node_modules/@types/lodash/debounce.d.ts create mode 100644 node_modules/@types/lodash/deburr.d.ts create mode 100644 node_modules/@types/lodash/defaultTo.d.ts create mode 100644 node_modules/@types/lodash/defaults.d.ts create mode 100644 node_modules/@types/lodash/defaultsDeep.d.ts create mode 100644 node_modules/@types/lodash/defer.d.ts create mode 100644 node_modules/@types/lodash/delay.d.ts create mode 100644 node_modules/@types/lodash/difference.d.ts create mode 100644 node_modules/@types/lodash/differenceBy.d.ts create mode 100644 node_modules/@types/lodash/differenceWith.d.ts create mode 100644 node_modules/@types/lodash/divide.d.ts create mode 100644 node_modules/@types/lodash/drop.d.ts create mode 100644 node_modules/@types/lodash/dropRight.d.ts create mode 100644 node_modules/@types/lodash/dropRightWhile.d.ts create mode 100644 node_modules/@types/lodash/dropWhile.d.ts create mode 100644 node_modules/@types/lodash/each.d.ts create mode 100644 node_modules/@types/lodash/eachRight.d.ts create mode 100644 node_modules/@types/lodash/endsWith.d.ts create mode 100644 node_modules/@types/lodash/entries.d.ts create mode 100644 node_modules/@types/lodash/entriesIn.d.ts create mode 100644 node_modules/@types/lodash/eq.d.ts create mode 100644 node_modules/@types/lodash/escape.d.ts create mode 100644 node_modules/@types/lodash/escapeRegExp.d.ts create mode 100644 node_modules/@types/lodash/every.d.ts create mode 100644 node_modules/@types/lodash/extend.d.ts create mode 100644 node_modules/@types/lodash/extendWith.d.ts create mode 100644 node_modules/@types/lodash/fill.d.ts create mode 100644 node_modules/@types/lodash/filter.d.ts create mode 100644 node_modules/@types/lodash/find.d.ts create mode 100644 node_modules/@types/lodash/findIndex.d.ts create mode 100644 node_modules/@types/lodash/findKey.d.ts create mode 100644 node_modules/@types/lodash/findLast.d.ts create mode 100644 node_modules/@types/lodash/findLastIndex.d.ts create mode 100644 node_modules/@types/lodash/findLastKey.d.ts create mode 100644 node_modules/@types/lodash/first.d.ts create mode 100644 node_modules/@types/lodash/flatMap.d.ts create mode 100644 node_modules/@types/lodash/flatMapDeep.d.ts create mode 100644 node_modules/@types/lodash/flatMapDepth.d.ts create mode 100644 node_modules/@types/lodash/flatten.d.ts create mode 100644 node_modules/@types/lodash/flattenDeep.d.ts create mode 100644 node_modules/@types/lodash/flattenDepth.d.ts create mode 100644 node_modules/@types/lodash/flip.d.ts create mode 100644 node_modules/@types/lodash/floor.d.ts create mode 100644 node_modules/@types/lodash/flow.d.ts create mode 100644 node_modules/@types/lodash/flowRight.d.ts create mode 100644 node_modules/@types/lodash/forEach.d.ts create mode 100644 node_modules/@types/lodash/forEachRight.d.ts create mode 100644 node_modules/@types/lodash/forIn.d.ts create mode 100644 node_modules/@types/lodash/forInRight.d.ts create mode 100644 node_modules/@types/lodash/forOwn.d.ts create mode 100644 node_modules/@types/lodash/forOwnRight.d.ts create mode 100644 node_modules/@types/lodash/fp.d.ts create mode 100644 node_modules/@types/lodash/fp/F.d.ts create mode 100644 node_modules/@types/lodash/fp/T.d.ts create mode 100644 node_modules/@types/lodash/fp/__.d.ts create mode 100644 node_modules/@types/lodash/fp/add.d.ts create mode 100644 node_modules/@types/lodash/fp/after.d.ts create mode 100644 node_modules/@types/lodash/fp/all.d.ts create mode 100644 node_modules/@types/lodash/fp/allPass.d.ts create mode 100644 node_modules/@types/lodash/fp/always.d.ts create mode 100644 node_modules/@types/lodash/fp/any.d.ts create mode 100644 node_modules/@types/lodash/fp/anyPass.d.ts create mode 100644 node_modules/@types/lodash/fp/apply.d.ts create mode 100644 node_modules/@types/lodash/fp/ary.d.ts create mode 100644 node_modules/@types/lodash/fp/assign.d.ts create mode 100644 node_modules/@types/lodash/fp/assignAll.d.ts create mode 100644 node_modules/@types/lodash/fp/assignAllWith.d.ts create mode 100644 node_modules/@types/lodash/fp/assignIn.d.ts create mode 100644 node_modules/@types/lodash/fp/assignInAll.d.ts create mode 100644 node_modules/@types/lodash/fp/assignInAllWith.d.ts create mode 100644 node_modules/@types/lodash/fp/assignInWith.d.ts create mode 100644 node_modules/@types/lodash/fp/assignWith.d.ts create mode 100644 node_modules/@types/lodash/fp/assoc.d.ts create mode 100644 node_modules/@types/lodash/fp/assocPath.d.ts create mode 100644 node_modules/@types/lodash/fp/at.d.ts create mode 100644 node_modules/@types/lodash/fp/attempt.d.ts create mode 100644 node_modules/@types/lodash/fp/before.d.ts create mode 100644 node_modules/@types/lodash/fp/bind.d.ts create mode 100644 node_modules/@types/lodash/fp/bindAll.d.ts create mode 100644 node_modules/@types/lodash/fp/bindKey.d.ts create mode 100644 node_modules/@types/lodash/fp/camelCase.d.ts create mode 100644 node_modules/@types/lodash/fp/capitalize.d.ts create mode 100644 node_modules/@types/lodash/fp/castArray.d.ts create mode 100644 node_modules/@types/lodash/fp/ceil.d.ts create mode 100644 node_modules/@types/lodash/fp/chunk.d.ts create mode 100644 node_modules/@types/lodash/fp/clamp.d.ts create mode 100644 node_modules/@types/lodash/fp/clone.d.ts create mode 100644 node_modules/@types/lodash/fp/cloneDeep.d.ts create mode 100644 node_modules/@types/lodash/fp/cloneDeepWith.d.ts create mode 100644 node_modules/@types/lodash/fp/cloneWith.d.ts create mode 100644 node_modules/@types/lodash/fp/compact.d.ts create mode 100644 node_modules/@types/lodash/fp/complement.d.ts create mode 100644 node_modules/@types/lodash/fp/compose.d.ts create mode 100644 node_modules/@types/lodash/fp/concat.d.ts create mode 100644 node_modules/@types/lodash/fp/cond.d.ts create mode 100644 node_modules/@types/lodash/fp/conforms.d.ts create mode 100644 node_modules/@types/lodash/fp/conformsTo.d.ts create mode 100644 node_modules/@types/lodash/fp/constant.d.ts create mode 100644 node_modules/@types/lodash/fp/contains.d.ts create mode 100644 node_modules/@types/lodash/fp/convert.d.ts create mode 100644 node_modules/@types/lodash/fp/countBy.d.ts create mode 100644 node_modules/@types/lodash/fp/create.d.ts create mode 100644 node_modules/@types/lodash/fp/curry.d.ts create mode 100644 node_modules/@types/lodash/fp/curryN.d.ts create mode 100644 node_modules/@types/lodash/fp/curryRight.d.ts create mode 100644 node_modules/@types/lodash/fp/curryRightN.d.ts create mode 100644 node_modules/@types/lodash/fp/debounce.d.ts create mode 100644 node_modules/@types/lodash/fp/deburr.d.ts create mode 100644 node_modules/@types/lodash/fp/defaultTo.d.ts create mode 100644 node_modules/@types/lodash/fp/defaults.d.ts create mode 100644 node_modules/@types/lodash/fp/defaultsAll.d.ts create mode 100644 node_modules/@types/lodash/fp/defaultsDeep.d.ts create mode 100644 node_modules/@types/lodash/fp/defaultsDeepAll.d.ts create mode 100644 node_modules/@types/lodash/fp/defer.d.ts create mode 100644 node_modules/@types/lodash/fp/delay.d.ts create mode 100644 node_modules/@types/lodash/fp/difference.d.ts create mode 100644 node_modules/@types/lodash/fp/differenceBy.d.ts create mode 100644 node_modules/@types/lodash/fp/differenceWith.d.ts create mode 100644 node_modules/@types/lodash/fp/dissoc.d.ts create mode 100644 node_modules/@types/lodash/fp/dissocPath.d.ts create mode 100644 node_modules/@types/lodash/fp/divide.d.ts create mode 100644 node_modules/@types/lodash/fp/drop.d.ts create mode 100644 node_modules/@types/lodash/fp/dropLast.d.ts create mode 100644 node_modules/@types/lodash/fp/dropLastWhile.d.ts create mode 100644 node_modules/@types/lodash/fp/dropRight.d.ts create mode 100644 node_modules/@types/lodash/fp/dropRightWhile.d.ts create mode 100644 node_modules/@types/lodash/fp/dropWhile.d.ts create mode 100644 node_modules/@types/lodash/fp/each.d.ts create mode 100644 node_modules/@types/lodash/fp/eachRight.d.ts create mode 100644 node_modules/@types/lodash/fp/endsWith.d.ts create mode 100644 node_modules/@types/lodash/fp/entries.d.ts create mode 100644 node_modules/@types/lodash/fp/entriesIn.d.ts create mode 100644 node_modules/@types/lodash/fp/eq.d.ts create mode 100644 node_modules/@types/lodash/fp/equals.d.ts create mode 100644 node_modules/@types/lodash/fp/escape.d.ts create mode 100644 node_modules/@types/lodash/fp/escapeRegExp.d.ts create mode 100644 node_modules/@types/lodash/fp/every.d.ts create mode 100644 node_modules/@types/lodash/fp/extend.d.ts create mode 100644 node_modules/@types/lodash/fp/extendAll.d.ts create mode 100644 node_modules/@types/lodash/fp/extendAllWith.d.ts create mode 100644 node_modules/@types/lodash/fp/extendWith.d.ts create mode 100644 node_modules/@types/lodash/fp/fill.d.ts create mode 100644 node_modules/@types/lodash/fp/filter.d.ts create mode 100644 node_modules/@types/lodash/fp/find.d.ts create mode 100644 node_modules/@types/lodash/fp/findFrom.d.ts create mode 100644 node_modules/@types/lodash/fp/findIndex.d.ts create mode 100644 node_modules/@types/lodash/fp/findIndexFrom.d.ts create mode 100644 node_modules/@types/lodash/fp/findKey.d.ts create mode 100644 node_modules/@types/lodash/fp/findLast.d.ts create mode 100644 node_modules/@types/lodash/fp/findLastFrom.d.ts create mode 100644 node_modules/@types/lodash/fp/findLastIndex.d.ts create mode 100644 node_modules/@types/lodash/fp/findLastIndexFrom.d.ts create mode 100644 node_modules/@types/lodash/fp/findLastKey.d.ts create mode 100644 node_modules/@types/lodash/fp/first.d.ts create mode 100644 node_modules/@types/lodash/fp/flatMap.d.ts create mode 100644 node_modules/@types/lodash/fp/flatMapDeep.d.ts create mode 100644 node_modules/@types/lodash/fp/flatMapDepth.d.ts create mode 100644 node_modules/@types/lodash/fp/flatten.d.ts create mode 100644 node_modules/@types/lodash/fp/flattenDeep.d.ts create mode 100644 node_modules/@types/lodash/fp/flattenDepth.d.ts create mode 100644 node_modules/@types/lodash/fp/flip.d.ts create mode 100644 node_modules/@types/lodash/fp/floor.d.ts create mode 100644 node_modules/@types/lodash/fp/flow.d.ts create mode 100644 node_modules/@types/lodash/fp/flowRight.d.ts create mode 100644 node_modules/@types/lodash/fp/forEach.d.ts create mode 100644 node_modules/@types/lodash/fp/forEachRight.d.ts create mode 100644 node_modules/@types/lodash/fp/forIn.d.ts create mode 100644 node_modules/@types/lodash/fp/forInRight.d.ts create mode 100644 node_modules/@types/lodash/fp/forOwn.d.ts create mode 100644 node_modules/@types/lodash/fp/forOwnRight.d.ts create mode 100644 node_modules/@types/lodash/fp/fromPairs.d.ts create mode 100644 node_modules/@types/lodash/fp/functions.d.ts create mode 100644 node_modules/@types/lodash/fp/functionsIn.d.ts create mode 100644 node_modules/@types/lodash/fp/get.d.ts create mode 100644 node_modules/@types/lodash/fp/getOr.d.ts create mode 100644 node_modules/@types/lodash/fp/groupBy.d.ts create mode 100644 node_modules/@types/lodash/fp/gt.d.ts create mode 100644 node_modules/@types/lodash/fp/gte.d.ts create mode 100644 node_modules/@types/lodash/fp/has.d.ts create mode 100644 node_modules/@types/lodash/fp/hasIn.d.ts create mode 100644 node_modules/@types/lodash/fp/head.d.ts create mode 100644 node_modules/@types/lodash/fp/identical.d.ts create mode 100644 node_modules/@types/lodash/fp/identity.d.ts create mode 100644 node_modules/@types/lodash/fp/inRange.d.ts create mode 100644 node_modules/@types/lodash/fp/includes.d.ts create mode 100644 node_modules/@types/lodash/fp/includesFrom.d.ts create mode 100644 node_modules/@types/lodash/fp/indexBy.d.ts create mode 100644 node_modules/@types/lodash/fp/indexOf.d.ts create mode 100644 node_modules/@types/lodash/fp/indexOfFrom.d.ts create mode 100644 node_modules/@types/lodash/fp/init.d.ts create mode 100644 node_modules/@types/lodash/fp/initial.d.ts create mode 100644 node_modules/@types/lodash/fp/intersection.d.ts create mode 100644 node_modules/@types/lodash/fp/intersectionBy.d.ts create mode 100644 node_modules/@types/lodash/fp/intersectionWith.d.ts create mode 100644 node_modules/@types/lodash/fp/invert.d.ts create mode 100644 node_modules/@types/lodash/fp/invertBy.d.ts create mode 100644 node_modules/@types/lodash/fp/invertObj.d.ts create mode 100644 node_modules/@types/lodash/fp/invoke.d.ts create mode 100644 node_modules/@types/lodash/fp/invokeArgs.d.ts create mode 100644 node_modules/@types/lodash/fp/invokeArgsMap.d.ts create mode 100644 node_modules/@types/lodash/fp/invokeMap.d.ts create mode 100644 node_modules/@types/lodash/fp/isArguments.d.ts create mode 100644 node_modules/@types/lodash/fp/isArray.d.ts create mode 100644 node_modules/@types/lodash/fp/isArrayBuffer.d.ts create mode 100644 node_modules/@types/lodash/fp/isArrayLike.d.ts create mode 100644 node_modules/@types/lodash/fp/isArrayLikeObject.d.ts create mode 100644 node_modules/@types/lodash/fp/isBoolean.d.ts create mode 100644 node_modules/@types/lodash/fp/isBuffer.d.ts create mode 100644 node_modules/@types/lodash/fp/isDate.d.ts create mode 100644 node_modules/@types/lodash/fp/isElement.d.ts create mode 100644 node_modules/@types/lodash/fp/isEmpty.d.ts create mode 100644 node_modules/@types/lodash/fp/isEqual.d.ts create mode 100644 node_modules/@types/lodash/fp/isEqualWith.d.ts create mode 100644 node_modules/@types/lodash/fp/isError.d.ts create mode 100644 node_modules/@types/lodash/fp/isFinite.d.ts create mode 100644 node_modules/@types/lodash/fp/isFunction.d.ts create mode 100644 node_modules/@types/lodash/fp/isInteger.d.ts create mode 100644 node_modules/@types/lodash/fp/isLength.d.ts create mode 100644 node_modules/@types/lodash/fp/isMap.d.ts create mode 100644 node_modules/@types/lodash/fp/isMatch.d.ts create mode 100644 node_modules/@types/lodash/fp/isMatchWith.d.ts create mode 100644 node_modules/@types/lodash/fp/isNaN.d.ts create mode 100644 node_modules/@types/lodash/fp/isNative.d.ts create mode 100644 node_modules/@types/lodash/fp/isNil.d.ts create mode 100644 node_modules/@types/lodash/fp/isNull.d.ts create mode 100644 node_modules/@types/lodash/fp/isNumber.d.ts create mode 100644 node_modules/@types/lodash/fp/isObject.d.ts create mode 100644 node_modules/@types/lodash/fp/isObjectLike.d.ts create mode 100644 node_modules/@types/lodash/fp/isPlainObject.d.ts create mode 100644 node_modules/@types/lodash/fp/isRegExp.d.ts create mode 100644 node_modules/@types/lodash/fp/isSafeInteger.d.ts create mode 100644 node_modules/@types/lodash/fp/isSet.d.ts create mode 100644 node_modules/@types/lodash/fp/isString.d.ts create mode 100644 node_modules/@types/lodash/fp/isSymbol.d.ts create mode 100644 node_modules/@types/lodash/fp/isTypedArray.d.ts create mode 100644 node_modules/@types/lodash/fp/isUndefined.d.ts create mode 100644 node_modules/@types/lodash/fp/isWeakMap.d.ts create mode 100644 node_modules/@types/lodash/fp/isWeakSet.d.ts create mode 100644 node_modules/@types/lodash/fp/iteratee.d.ts create mode 100644 node_modules/@types/lodash/fp/join.d.ts create mode 100644 node_modules/@types/lodash/fp/juxt.d.ts create mode 100644 node_modules/@types/lodash/fp/kebabCase.d.ts create mode 100644 node_modules/@types/lodash/fp/keyBy.d.ts create mode 100644 node_modules/@types/lodash/fp/keys.d.ts create mode 100644 node_modules/@types/lodash/fp/keysIn.d.ts create mode 100644 node_modules/@types/lodash/fp/last.d.ts create mode 100644 node_modules/@types/lodash/fp/lastIndexOf.d.ts create mode 100644 node_modules/@types/lodash/fp/lastIndexOfFrom.d.ts create mode 100644 node_modules/@types/lodash/fp/lowerCase.d.ts create mode 100644 node_modules/@types/lodash/fp/lowerFirst.d.ts create mode 100644 node_modules/@types/lodash/fp/lt.d.ts create mode 100644 node_modules/@types/lodash/fp/lte.d.ts create mode 100644 node_modules/@types/lodash/fp/map.d.ts create mode 100644 node_modules/@types/lodash/fp/mapKeys.d.ts create mode 100644 node_modules/@types/lodash/fp/mapValues.d.ts create mode 100644 node_modules/@types/lodash/fp/matches.d.ts create mode 100644 node_modules/@types/lodash/fp/matchesProperty.d.ts create mode 100644 node_modules/@types/lodash/fp/max.d.ts create mode 100644 node_modules/@types/lodash/fp/maxBy.d.ts create mode 100644 node_modules/@types/lodash/fp/mean.d.ts create mode 100644 node_modules/@types/lodash/fp/meanBy.d.ts create mode 100644 node_modules/@types/lodash/fp/memoize.d.ts create mode 100644 node_modules/@types/lodash/fp/merge.d.ts create mode 100644 node_modules/@types/lodash/fp/mergeAll.d.ts create mode 100644 node_modules/@types/lodash/fp/mergeAllWith.d.ts create mode 100644 node_modules/@types/lodash/fp/mergeWith.d.ts create mode 100644 node_modules/@types/lodash/fp/method.d.ts create mode 100644 node_modules/@types/lodash/fp/methodOf.d.ts create mode 100644 node_modules/@types/lodash/fp/min.d.ts create mode 100644 node_modules/@types/lodash/fp/minBy.d.ts create mode 100644 node_modules/@types/lodash/fp/multiply.d.ts create mode 100644 node_modules/@types/lodash/fp/nAry.d.ts create mode 100644 node_modules/@types/lodash/fp/negate.d.ts create mode 100644 node_modules/@types/lodash/fp/noConflict.d.ts create mode 100644 node_modules/@types/lodash/fp/noop.d.ts create mode 100644 node_modules/@types/lodash/fp/now.d.ts create mode 100644 node_modules/@types/lodash/fp/nth.d.ts create mode 100644 node_modules/@types/lodash/fp/nthArg.d.ts create mode 100644 node_modules/@types/lodash/fp/omit.d.ts create mode 100644 node_modules/@types/lodash/fp/omitAll.d.ts create mode 100644 node_modules/@types/lodash/fp/omitBy.d.ts create mode 100644 node_modules/@types/lodash/fp/once.d.ts create mode 100644 node_modules/@types/lodash/fp/orderBy.d.ts create mode 100644 node_modules/@types/lodash/fp/over.d.ts create mode 100644 node_modules/@types/lodash/fp/overArgs.d.ts create mode 100644 node_modules/@types/lodash/fp/overEvery.d.ts create mode 100644 node_modules/@types/lodash/fp/overSome.d.ts create mode 100644 node_modules/@types/lodash/fp/pad.d.ts create mode 100644 node_modules/@types/lodash/fp/padChars.d.ts create mode 100644 node_modules/@types/lodash/fp/padCharsEnd.d.ts create mode 100644 node_modules/@types/lodash/fp/padCharsStart.d.ts create mode 100644 node_modules/@types/lodash/fp/padEnd.d.ts create mode 100644 node_modules/@types/lodash/fp/padStart.d.ts create mode 100644 node_modules/@types/lodash/fp/parseInt.d.ts create mode 100644 node_modules/@types/lodash/fp/partial.d.ts create mode 100644 node_modules/@types/lodash/fp/partialRight.d.ts create mode 100644 node_modules/@types/lodash/fp/partition.d.ts create mode 100644 node_modules/@types/lodash/fp/path.d.ts create mode 100644 node_modules/@types/lodash/fp/pathEq.d.ts create mode 100644 node_modules/@types/lodash/fp/pathOr.d.ts create mode 100644 node_modules/@types/lodash/fp/paths.d.ts create mode 100644 node_modules/@types/lodash/fp/pick.d.ts create mode 100644 node_modules/@types/lodash/fp/pickAll.d.ts create mode 100644 node_modules/@types/lodash/fp/pickBy.d.ts create mode 100644 node_modules/@types/lodash/fp/pipe.d.ts create mode 100644 node_modules/@types/lodash/fp/placeholder.d.ts create mode 100644 node_modules/@types/lodash/fp/pluck.d.ts create mode 100644 node_modules/@types/lodash/fp/prop.d.ts create mode 100644 node_modules/@types/lodash/fp/propEq.d.ts create mode 100644 node_modules/@types/lodash/fp/propOr.d.ts create mode 100644 node_modules/@types/lodash/fp/property.d.ts create mode 100644 node_modules/@types/lodash/fp/propertyOf.d.ts create mode 100644 node_modules/@types/lodash/fp/props.d.ts create mode 100644 node_modules/@types/lodash/fp/pull.d.ts create mode 100644 node_modules/@types/lodash/fp/pullAll.d.ts create mode 100644 node_modules/@types/lodash/fp/pullAllBy.d.ts create mode 100644 node_modules/@types/lodash/fp/pullAllWith.d.ts create mode 100644 node_modules/@types/lodash/fp/pullAt.d.ts create mode 100644 node_modules/@types/lodash/fp/random.d.ts create mode 100644 node_modules/@types/lodash/fp/range.d.ts create mode 100644 node_modules/@types/lodash/fp/rangeRight.d.ts create mode 100644 node_modules/@types/lodash/fp/rangeStep.d.ts create mode 100644 node_modules/@types/lodash/fp/rangeStepRight.d.ts create mode 100644 node_modules/@types/lodash/fp/rearg.d.ts create mode 100644 node_modules/@types/lodash/fp/reduce.d.ts create mode 100644 node_modules/@types/lodash/fp/reduceRight.d.ts create mode 100644 node_modules/@types/lodash/fp/reject.d.ts create mode 100644 node_modules/@types/lodash/fp/remove.d.ts create mode 100644 node_modules/@types/lodash/fp/repeat.d.ts create mode 100644 node_modules/@types/lodash/fp/replace.d.ts create mode 100644 node_modules/@types/lodash/fp/rest.d.ts create mode 100644 node_modules/@types/lodash/fp/restFrom.d.ts create mode 100644 node_modules/@types/lodash/fp/result.d.ts create mode 100644 node_modules/@types/lodash/fp/reverse.d.ts create mode 100644 node_modules/@types/lodash/fp/round.d.ts create mode 100644 node_modules/@types/lodash/fp/runInContext.d.ts create mode 100644 node_modules/@types/lodash/fp/sample.d.ts create mode 100644 node_modules/@types/lodash/fp/sampleSize.d.ts create mode 100644 node_modules/@types/lodash/fp/set.d.ts create mode 100644 node_modules/@types/lodash/fp/setWith.d.ts create mode 100644 node_modules/@types/lodash/fp/shuffle.d.ts create mode 100644 node_modules/@types/lodash/fp/size.d.ts create mode 100644 node_modules/@types/lodash/fp/slice.d.ts create mode 100644 node_modules/@types/lodash/fp/snakeCase.d.ts create mode 100644 node_modules/@types/lodash/fp/some.d.ts create mode 100644 node_modules/@types/lodash/fp/sortBy.d.ts create mode 100644 node_modules/@types/lodash/fp/sortedIndex.d.ts create mode 100644 node_modules/@types/lodash/fp/sortedIndexBy.d.ts create mode 100644 node_modules/@types/lodash/fp/sortedIndexOf.d.ts create mode 100644 node_modules/@types/lodash/fp/sortedLastIndex.d.ts create mode 100644 node_modules/@types/lodash/fp/sortedLastIndexBy.d.ts create mode 100644 node_modules/@types/lodash/fp/sortedLastIndexOf.d.ts create mode 100644 node_modules/@types/lodash/fp/sortedUniq.d.ts create mode 100644 node_modules/@types/lodash/fp/sortedUniqBy.d.ts create mode 100644 node_modules/@types/lodash/fp/split.d.ts create mode 100644 node_modules/@types/lodash/fp/spread.d.ts create mode 100644 node_modules/@types/lodash/fp/spreadFrom.d.ts create mode 100644 node_modules/@types/lodash/fp/startCase.d.ts create mode 100644 node_modules/@types/lodash/fp/startsWith.d.ts create mode 100644 node_modules/@types/lodash/fp/stubArray.d.ts create mode 100644 node_modules/@types/lodash/fp/stubFalse.d.ts create mode 100644 node_modules/@types/lodash/fp/stubObject.d.ts create mode 100644 node_modules/@types/lodash/fp/stubString.d.ts create mode 100644 node_modules/@types/lodash/fp/stubTrue.d.ts create mode 100644 node_modules/@types/lodash/fp/subtract.d.ts create mode 100644 node_modules/@types/lodash/fp/sum.d.ts create mode 100644 node_modules/@types/lodash/fp/sumBy.d.ts create mode 100644 node_modules/@types/lodash/fp/symmetricDifference.d.ts create mode 100644 node_modules/@types/lodash/fp/symmetricDifferenceBy.d.ts create mode 100644 node_modules/@types/lodash/fp/symmetricDifferenceWith.d.ts create mode 100644 node_modules/@types/lodash/fp/tail.d.ts create mode 100644 node_modules/@types/lodash/fp/take.d.ts create mode 100644 node_modules/@types/lodash/fp/takeLast.d.ts create mode 100644 node_modules/@types/lodash/fp/takeLastWhile.d.ts create mode 100644 node_modules/@types/lodash/fp/takeRight.d.ts create mode 100644 node_modules/@types/lodash/fp/takeRightWhile.d.ts create mode 100644 node_modules/@types/lodash/fp/takeWhile.d.ts create mode 100644 node_modules/@types/lodash/fp/tap.d.ts create mode 100644 node_modules/@types/lodash/fp/template.d.ts create mode 100644 node_modules/@types/lodash/fp/throttle.d.ts create mode 100644 node_modules/@types/lodash/fp/thru.d.ts create mode 100644 node_modules/@types/lodash/fp/times.d.ts create mode 100644 node_modules/@types/lodash/fp/toArray.d.ts create mode 100644 node_modules/@types/lodash/fp/toFinite.d.ts create mode 100644 node_modules/@types/lodash/fp/toInteger.d.ts create mode 100644 node_modules/@types/lodash/fp/toLength.d.ts create mode 100644 node_modules/@types/lodash/fp/toLower.d.ts create mode 100644 node_modules/@types/lodash/fp/toNumber.d.ts create mode 100644 node_modules/@types/lodash/fp/toPairs.d.ts create mode 100644 node_modules/@types/lodash/fp/toPairsIn.d.ts create mode 100644 node_modules/@types/lodash/fp/toPath.d.ts create mode 100644 node_modules/@types/lodash/fp/toPlainObject.d.ts create mode 100644 node_modules/@types/lodash/fp/toSafeInteger.d.ts create mode 100644 node_modules/@types/lodash/fp/toString.d.ts create mode 100644 node_modules/@types/lodash/fp/toUpper.d.ts create mode 100644 node_modules/@types/lodash/fp/transform.d.ts create mode 100644 node_modules/@types/lodash/fp/trim.d.ts create mode 100644 node_modules/@types/lodash/fp/trimChars.d.ts create mode 100644 node_modules/@types/lodash/fp/trimCharsEnd.d.ts create mode 100644 node_modules/@types/lodash/fp/trimCharsStart.d.ts create mode 100644 node_modules/@types/lodash/fp/trimEnd.d.ts create mode 100644 node_modules/@types/lodash/fp/trimStart.d.ts create mode 100644 node_modules/@types/lodash/fp/truncate.d.ts create mode 100644 node_modules/@types/lodash/fp/unapply.d.ts create mode 100644 node_modules/@types/lodash/fp/unary.d.ts create mode 100644 node_modules/@types/lodash/fp/unescape.d.ts create mode 100644 node_modules/@types/lodash/fp/union.d.ts create mode 100644 node_modules/@types/lodash/fp/unionBy.d.ts create mode 100644 node_modules/@types/lodash/fp/unionWith.d.ts create mode 100644 node_modules/@types/lodash/fp/uniq.d.ts create mode 100644 node_modules/@types/lodash/fp/uniqBy.d.ts create mode 100644 node_modules/@types/lodash/fp/uniqWith.d.ts create mode 100644 node_modules/@types/lodash/fp/uniqueId.d.ts create mode 100644 node_modules/@types/lodash/fp/unnest.d.ts create mode 100644 node_modules/@types/lodash/fp/unset.d.ts create mode 100644 node_modules/@types/lodash/fp/unzip.d.ts create mode 100644 node_modules/@types/lodash/fp/unzipWith.d.ts create mode 100644 node_modules/@types/lodash/fp/update.d.ts create mode 100644 node_modules/@types/lodash/fp/updateWith.d.ts create mode 100644 node_modules/@types/lodash/fp/upperCase.d.ts create mode 100644 node_modules/@types/lodash/fp/upperFirst.d.ts create mode 100644 node_modules/@types/lodash/fp/useWith.d.ts create mode 100644 node_modules/@types/lodash/fp/values.d.ts create mode 100644 node_modules/@types/lodash/fp/valuesIn.d.ts create mode 100644 node_modules/@types/lodash/fp/where.d.ts create mode 100644 node_modules/@types/lodash/fp/whereEq.d.ts create mode 100644 node_modules/@types/lodash/fp/without.d.ts create mode 100644 node_modules/@types/lodash/fp/words.d.ts create mode 100644 node_modules/@types/lodash/fp/wrap.d.ts create mode 100644 node_modules/@types/lodash/fp/xor.d.ts create mode 100644 node_modules/@types/lodash/fp/xorBy.d.ts create mode 100644 node_modules/@types/lodash/fp/xorWith.d.ts create mode 100644 node_modules/@types/lodash/fp/zip.d.ts create mode 100644 node_modules/@types/lodash/fp/zipAll.d.ts create mode 100644 node_modules/@types/lodash/fp/zipObj.d.ts create mode 100644 node_modules/@types/lodash/fp/zipObject.d.ts create mode 100644 node_modules/@types/lodash/fp/zipObjectDeep.d.ts create mode 100644 node_modules/@types/lodash/fp/zipWith.d.ts create mode 100644 node_modules/@types/lodash/fromPairs.d.ts create mode 100644 node_modules/@types/lodash/functions.d.ts create mode 100644 node_modules/@types/lodash/functionsIn.d.ts create mode 100644 node_modules/@types/lodash/get.d.ts create mode 100644 node_modules/@types/lodash/groupBy.d.ts create mode 100644 node_modules/@types/lodash/gt.d.ts create mode 100644 node_modules/@types/lodash/gte.d.ts create mode 100644 node_modules/@types/lodash/has.d.ts create mode 100644 node_modules/@types/lodash/hasIn.d.ts create mode 100644 node_modules/@types/lodash/head.d.ts create mode 100644 node_modules/@types/lodash/identity.d.ts create mode 100644 node_modules/@types/lodash/inRange.d.ts create mode 100644 node_modules/@types/lodash/includes.d.ts create mode 100644 node_modules/@types/lodash/index.d.ts create mode 100644 node_modules/@types/lodash/indexOf.d.ts create mode 100644 node_modules/@types/lodash/initial.d.ts create mode 100644 node_modules/@types/lodash/intersection.d.ts create mode 100644 node_modules/@types/lodash/intersectionBy.d.ts create mode 100644 node_modules/@types/lodash/intersectionWith.d.ts create mode 100644 node_modules/@types/lodash/invert.d.ts create mode 100644 node_modules/@types/lodash/invertBy.d.ts create mode 100644 node_modules/@types/lodash/invoke.d.ts create mode 100644 node_modules/@types/lodash/invokeMap.d.ts create mode 100644 node_modules/@types/lodash/isArguments.d.ts create mode 100644 node_modules/@types/lodash/isArray.d.ts create mode 100644 node_modules/@types/lodash/isArrayBuffer.d.ts create mode 100644 node_modules/@types/lodash/isArrayLike.d.ts create mode 100644 node_modules/@types/lodash/isArrayLikeObject.d.ts create mode 100644 node_modules/@types/lodash/isBoolean.d.ts create mode 100644 node_modules/@types/lodash/isBuffer.d.ts create mode 100644 node_modules/@types/lodash/isDate.d.ts create mode 100644 node_modules/@types/lodash/isElement.d.ts create mode 100644 node_modules/@types/lodash/isEmpty.d.ts create mode 100644 node_modules/@types/lodash/isEqual.d.ts create mode 100644 node_modules/@types/lodash/isEqualWith.d.ts create mode 100644 node_modules/@types/lodash/isError.d.ts create mode 100644 node_modules/@types/lodash/isFinite.d.ts create mode 100644 node_modules/@types/lodash/isFunction.d.ts create mode 100644 node_modules/@types/lodash/isInteger.d.ts create mode 100644 node_modules/@types/lodash/isLength.d.ts create mode 100644 node_modules/@types/lodash/isMap.d.ts create mode 100644 node_modules/@types/lodash/isMatch.d.ts create mode 100644 node_modules/@types/lodash/isMatchWith.d.ts create mode 100644 node_modules/@types/lodash/isNaN.d.ts create mode 100644 node_modules/@types/lodash/isNative.d.ts create mode 100644 node_modules/@types/lodash/isNil.d.ts create mode 100644 node_modules/@types/lodash/isNull.d.ts create mode 100644 node_modules/@types/lodash/isNumber.d.ts create mode 100644 node_modules/@types/lodash/isObject.d.ts create mode 100644 node_modules/@types/lodash/isObjectLike.d.ts create mode 100644 node_modules/@types/lodash/isPlainObject.d.ts create mode 100644 node_modules/@types/lodash/isRegExp.d.ts create mode 100644 node_modules/@types/lodash/isSafeInteger.d.ts create mode 100644 node_modules/@types/lodash/isSet.d.ts create mode 100644 node_modules/@types/lodash/isString.d.ts create mode 100644 node_modules/@types/lodash/isSymbol.d.ts create mode 100644 node_modules/@types/lodash/isTypedArray.d.ts create mode 100644 node_modules/@types/lodash/isUndefined.d.ts create mode 100644 node_modules/@types/lodash/isWeakMap.d.ts create mode 100644 node_modules/@types/lodash/isWeakSet.d.ts create mode 100644 node_modules/@types/lodash/iteratee.d.ts create mode 100644 node_modules/@types/lodash/join.d.ts create mode 100644 node_modules/@types/lodash/kebabCase.d.ts create mode 100644 node_modules/@types/lodash/keyBy.d.ts create mode 100644 node_modules/@types/lodash/keys.d.ts create mode 100644 node_modules/@types/lodash/keysIn.d.ts create mode 100644 node_modules/@types/lodash/last.d.ts create mode 100644 node_modules/@types/lodash/lastIndexOf.d.ts create mode 100644 node_modules/@types/lodash/lowerCase.d.ts create mode 100644 node_modules/@types/lodash/lowerFirst.d.ts create mode 100644 node_modules/@types/lodash/lt.d.ts create mode 100644 node_modules/@types/lodash/lte.d.ts create mode 100644 node_modules/@types/lodash/map.d.ts create mode 100644 node_modules/@types/lodash/mapKeys.d.ts create mode 100644 node_modules/@types/lodash/mapValues.d.ts create mode 100644 node_modules/@types/lodash/matches.d.ts create mode 100644 node_modules/@types/lodash/matchesProperty.d.ts create mode 100644 node_modules/@types/lodash/max.d.ts create mode 100644 node_modules/@types/lodash/maxBy.d.ts create mode 100644 node_modules/@types/lodash/mean.d.ts create mode 100644 node_modules/@types/lodash/meanBy.d.ts create mode 100644 node_modules/@types/lodash/memoize.d.ts create mode 100644 node_modules/@types/lodash/merge.d.ts create mode 100644 node_modules/@types/lodash/mergeWith.d.ts create mode 100644 node_modules/@types/lodash/method.d.ts create mode 100644 node_modules/@types/lodash/methodOf.d.ts create mode 100644 node_modules/@types/lodash/min.d.ts create mode 100644 node_modules/@types/lodash/minBy.d.ts create mode 100644 node_modules/@types/lodash/mixin.d.ts create mode 100644 node_modules/@types/lodash/multiply.d.ts create mode 100644 node_modules/@types/lodash/negate.d.ts create mode 100644 node_modules/@types/lodash/noConflict.d.ts create mode 100644 node_modules/@types/lodash/noop.d.ts create mode 100644 node_modules/@types/lodash/now.d.ts create mode 100644 node_modules/@types/lodash/nth.d.ts create mode 100644 node_modules/@types/lodash/nthArg.d.ts create mode 100644 node_modules/@types/lodash/omit.d.ts create mode 100644 node_modules/@types/lodash/omitBy.d.ts create mode 100644 node_modules/@types/lodash/once.d.ts create mode 100644 node_modules/@types/lodash/orderBy.d.ts create mode 100644 node_modules/@types/lodash/over.d.ts create mode 100644 node_modules/@types/lodash/overArgs.d.ts create mode 100644 node_modules/@types/lodash/overEvery.d.ts create mode 100644 node_modules/@types/lodash/overSome.d.ts create mode 100644 node_modules/@types/lodash/package.json create mode 100644 node_modules/@types/lodash/pad.d.ts create mode 100644 node_modules/@types/lodash/padEnd.d.ts create mode 100644 node_modules/@types/lodash/padStart.d.ts create mode 100644 node_modules/@types/lodash/parseInt.d.ts create mode 100644 node_modules/@types/lodash/partial.d.ts create mode 100644 node_modules/@types/lodash/partialRight.d.ts create mode 100644 node_modules/@types/lodash/partition.d.ts create mode 100644 node_modules/@types/lodash/pick.d.ts create mode 100644 node_modules/@types/lodash/pickBy.d.ts create mode 100644 node_modules/@types/lodash/property.d.ts create mode 100644 node_modules/@types/lodash/propertyOf.d.ts create mode 100644 node_modules/@types/lodash/pull.d.ts create mode 100644 node_modules/@types/lodash/pullAll.d.ts create mode 100644 node_modules/@types/lodash/pullAllBy.d.ts create mode 100644 node_modules/@types/lodash/pullAllWith.d.ts create mode 100644 node_modules/@types/lodash/pullAt.d.ts create mode 100644 node_modules/@types/lodash/random.d.ts create mode 100644 node_modules/@types/lodash/range.d.ts create mode 100644 node_modules/@types/lodash/rangeRight.d.ts create mode 100644 node_modules/@types/lodash/rearg.d.ts create mode 100644 node_modules/@types/lodash/reduce.d.ts create mode 100644 node_modules/@types/lodash/reduceRight.d.ts create mode 100644 node_modules/@types/lodash/reject.d.ts create mode 100644 node_modules/@types/lodash/remove.d.ts create mode 100644 node_modules/@types/lodash/repeat.d.ts create mode 100644 node_modules/@types/lodash/replace.d.ts create mode 100644 node_modules/@types/lodash/rest.d.ts create mode 100644 node_modules/@types/lodash/result.d.ts create mode 100644 node_modules/@types/lodash/reverse.d.ts create mode 100644 node_modules/@types/lodash/round.d.ts create mode 100644 node_modules/@types/lodash/runInContext.d.ts create mode 100644 node_modules/@types/lodash/sample.d.ts create mode 100644 node_modules/@types/lodash/sampleSize.d.ts create mode 100644 node_modules/@types/lodash/set.d.ts create mode 100644 node_modules/@types/lodash/setWith.d.ts create mode 100644 node_modules/@types/lodash/shuffle.d.ts create mode 100644 node_modules/@types/lodash/size.d.ts create mode 100644 node_modules/@types/lodash/slice.d.ts create mode 100644 node_modules/@types/lodash/snakeCase.d.ts create mode 100644 node_modules/@types/lodash/some.d.ts create mode 100644 node_modules/@types/lodash/sortBy.d.ts create mode 100644 node_modules/@types/lodash/sortedIndex.d.ts create mode 100644 node_modules/@types/lodash/sortedIndexBy.d.ts create mode 100644 node_modules/@types/lodash/sortedIndexOf.d.ts create mode 100644 node_modules/@types/lodash/sortedLastIndex.d.ts create mode 100644 node_modules/@types/lodash/sortedLastIndexBy.d.ts create mode 100644 node_modules/@types/lodash/sortedLastIndexOf.d.ts create mode 100644 node_modules/@types/lodash/sortedUniq.d.ts create mode 100644 node_modules/@types/lodash/sortedUniqBy.d.ts create mode 100644 node_modules/@types/lodash/split.d.ts create mode 100644 node_modules/@types/lodash/spread.d.ts create mode 100644 node_modules/@types/lodash/startCase.d.ts create mode 100644 node_modules/@types/lodash/startsWith.d.ts create mode 100644 node_modules/@types/lodash/stubFalse.d.ts create mode 100644 node_modules/@types/lodash/stubTrue.d.ts create mode 100644 node_modules/@types/lodash/subtract.d.ts create mode 100644 node_modules/@types/lodash/sum.d.ts create mode 100644 node_modules/@types/lodash/sumBy.d.ts create mode 100644 node_modules/@types/lodash/tail.d.ts create mode 100644 node_modules/@types/lodash/take.d.ts create mode 100644 node_modules/@types/lodash/takeRight.d.ts create mode 100644 node_modules/@types/lodash/takeRightWhile.d.ts create mode 100644 node_modules/@types/lodash/takeWhile.d.ts create mode 100644 node_modules/@types/lodash/tap.d.ts create mode 100644 node_modules/@types/lodash/template.d.ts create mode 100644 node_modules/@types/lodash/throttle.d.ts create mode 100644 node_modules/@types/lodash/thru.d.ts create mode 100644 node_modules/@types/lodash/times.d.ts create mode 100644 node_modules/@types/lodash/toArray.d.ts create mode 100644 node_modules/@types/lodash/toFinite.d.ts create mode 100644 node_modules/@types/lodash/toInteger.d.ts create mode 100644 node_modules/@types/lodash/toLength.d.ts create mode 100644 node_modules/@types/lodash/toLower.d.ts create mode 100644 node_modules/@types/lodash/toNumber.d.ts create mode 100644 node_modules/@types/lodash/toPairs.d.ts create mode 100644 node_modules/@types/lodash/toPairsIn.d.ts create mode 100644 node_modules/@types/lodash/toPath.d.ts create mode 100644 node_modules/@types/lodash/toPlainObject.d.ts create mode 100644 node_modules/@types/lodash/toSafeInteger.d.ts create mode 100644 node_modules/@types/lodash/toString.d.ts create mode 100644 node_modules/@types/lodash/toUpper.d.ts create mode 100644 node_modules/@types/lodash/transform.d.ts create mode 100644 node_modules/@types/lodash/trim.d.ts create mode 100644 node_modules/@types/lodash/trimEnd.d.ts create mode 100644 node_modules/@types/lodash/trimStart.d.ts create mode 100644 node_modules/@types/lodash/truncate.d.ts create mode 100644 node_modules/@types/lodash/unary.d.ts create mode 100644 node_modules/@types/lodash/unescape.d.ts create mode 100644 node_modules/@types/lodash/union.d.ts create mode 100644 node_modules/@types/lodash/unionBy.d.ts create mode 100644 node_modules/@types/lodash/unionWith.d.ts create mode 100644 node_modules/@types/lodash/uniq.d.ts create mode 100644 node_modules/@types/lodash/uniqBy.d.ts create mode 100644 node_modules/@types/lodash/uniqWith.d.ts create mode 100644 node_modules/@types/lodash/uniqueId.d.ts create mode 100644 node_modules/@types/lodash/unset.d.ts create mode 100644 node_modules/@types/lodash/unzip.d.ts create mode 100644 node_modules/@types/lodash/unzipWith.d.ts create mode 100644 node_modules/@types/lodash/update.d.ts create mode 100644 node_modules/@types/lodash/updateWith.d.ts create mode 100644 node_modules/@types/lodash/upperCase.d.ts create mode 100644 node_modules/@types/lodash/upperFirst.d.ts create mode 100644 node_modules/@types/lodash/values.d.ts create mode 100644 node_modules/@types/lodash/valuesIn.d.ts create mode 100644 node_modules/@types/lodash/without.d.ts create mode 100644 node_modules/@types/lodash/words.d.ts create mode 100644 node_modules/@types/lodash/wrap.d.ts create mode 100644 node_modules/@types/lodash/xor.d.ts create mode 100644 node_modules/@types/lodash/xorBy.d.ts create mode 100644 node_modules/@types/lodash/xorWith.d.ts create mode 100644 node_modules/@types/lodash/zip.d.ts create mode 100644 node_modules/@types/lodash/zipObject.d.ts create mode 100644 node_modules/@types/lodash/zipObjectDeep.d.ts create mode 100644 node_modules/@types/lodash/zipWith.d.ts create mode 100644 node_modules/@types/screeps/LICENSE create mode 100644 node_modules/@types/screeps/README.md create mode 100644 node_modules/@types/screeps/index.d.ts create mode 100644 node_modules/@types/screeps/package.json create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 screeps.com/default/main.js create mode 100644 screeps.com/tutorial-1/main.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2dc3750 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.sync diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json new file mode 100644 index 0000000..501fa00 --- /dev/null +++ b/node_modules/.package-lock.json @@ -0,0 +1,17 @@ +{ + "name": "scripts", + "lockfileVersion": 3, + "requires": true, + "packages": { + "node_modules/@types/lodash": { + "version": "4.14.202", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz", + "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==" + }, + "node_modules/@types/screeps": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/@types/screeps/-/screeps-3.3.7.tgz", + "integrity": "sha512-XS1dh2+MqPQoBvmLNrR8YwxiueSBx8B9RShrH9E+c6gfxBy8VTNaqrbPNtGnqLImHzwCSRNAZiMAF+iUejeZMw==" + } + } +} diff --git a/node_modules/@types/lodash/LICENSE b/node_modules/@types/lodash/LICENSE new file mode 100644 index 0000000..9e841e7 --- /dev/null +++ b/node_modules/@types/lodash/LICENSE @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE diff --git a/node_modules/@types/lodash/README.md b/node_modules/@types/lodash/README.md new file mode 100644 index 0000000..706cd33 --- /dev/null +++ b/node_modules/@types/lodash/README.md @@ -0,0 +1,15 @@ +# Installation +> `npm install --save @types/lodash` + +# Summary +This package contains type definitions for lodash (https://lodash.com). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash. + +### Additional Details + * Last updated: Mon, 20 Nov 2023 23:36:24 GMT + * Dependencies: none + +# Credits +These definitions were written by [Brian Zengel](https://github.com/bczengel), [Ilya Mochalov](https://github.com/chrootsu), [AJ Richardson](https://github.com/aj-r), [e-cloud](https://github.com/e-cloud), [Georgii Dolzhykov](https://github.com/thorn0), [Jack Moore](https://github.com/jtmthf), [Dominique Rau](https://github.com/DomiR), and [William Chelman](https://github.com/WilliamChelman). diff --git a/node_modules/@types/lodash/add.d.ts b/node_modules/@types/lodash/add.d.ts new file mode 100644 index 0000000..4650a89 --- /dev/null +++ b/node_modules/@types/lodash/add.d.ts @@ -0,0 +1,2 @@ +import { add } from "./index"; +export = add; diff --git a/node_modules/@types/lodash/after.d.ts b/node_modules/@types/lodash/after.d.ts new file mode 100644 index 0000000..277ae1e --- /dev/null +++ b/node_modules/@types/lodash/after.d.ts @@ -0,0 +1,2 @@ +import { after } from "./index"; +export = after; diff --git a/node_modules/@types/lodash/ary.d.ts b/node_modules/@types/lodash/ary.d.ts new file mode 100644 index 0000000..ac1c72e --- /dev/null +++ b/node_modules/@types/lodash/ary.d.ts @@ -0,0 +1,2 @@ +import { ary } from "./index"; +export = ary; diff --git a/node_modules/@types/lodash/assign.d.ts b/node_modules/@types/lodash/assign.d.ts new file mode 100644 index 0000000..5ffc1e3 --- /dev/null +++ b/node_modules/@types/lodash/assign.d.ts @@ -0,0 +1,2 @@ +import { assign } from "./index"; +export = assign; diff --git a/node_modules/@types/lodash/assignIn.d.ts b/node_modules/@types/lodash/assignIn.d.ts new file mode 100644 index 0000000..3cc54e8 --- /dev/null +++ b/node_modules/@types/lodash/assignIn.d.ts @@ -0,0 +1,2 @@ +import { assignIn } from "./index"; +export = assignIn; diff --git a/node_modules/@types/lodash/assignInWith.d.ts b/node_modules/@types/lodash/assignInWith.d.ts new file mode 100644 index 0000000..b4c4dfe --- /dev/null +++ b/node_modules/@types/lodash/assignInWith.d.ts @@ -0,0 +1,2 @@ +import { assignInWith } from "./index"; +export = assignInWith; diff --git a/node_modules/@types/lodash/assignWith.d.ts b/node_modules/@types/lodash/assignWith.d.ts new file mode 100644 index 0000000..97da10c --- /dev/null +++ b/node_modules/@types/lodash/assignWith.d.ts @@ -0,0 +1,2 @@ +import { assignWith } from "./index"; +export = assignWith; diff --git a/node_modules/@types/lodash/at.d.ts b/node_modules/@types/lodash/at.d.ts new file mode 100644 index 0000000..49e7147 --- /dev/null +++ b/node_modules/@types/lodash/at.d.ts @@ -0,0 +1,2 @@ +import { at } from "./index"; +export = at; diff --git a/node_modules/@types/lodash/attempt.d.ts b/node_modules/@types/lodash/attempt.d.ts new file mode 100644 index 0000000..d4b6089 --- /dev/null +++ b/node_modules/@types/lodash/attempt.d.ts @@ -0,0 +1,2 @@ +import { attempt } from "./index"; +export = attempt; diff --git a/node_modules/@types/lodash/before.d.ts b/node_modules/@types/lodash/before.d.ts new file mode 100644 index 0000000..03c45c8 --- /dev/null +++ b/node_modules/@types/lodash/before.d.ts @@ -0,0 +1,2 @@ +import { before } from "./index"; +export = before; diff --git a/node_modules/@types/lodash/bind.d.ts b/node_modules/@types/lodash/bind.d.ts new file mode 100644 index 0000000..6367da1 --- /dev/null +++ b/node_modules/@types/lodash/bind.d.ts @@ -0,0 +1,2 @@ +import { bind } from "./index"; +export = bind; diff --git a/node_modules/@types/lodash/bindAll.d.ts b/node_modules/@types/lodash/bindAll.d.ts new file mode 100644 index 0000000..25d47e3 --- /dev/null +++ b/node_modules/@types/lodash/bindAll.d.ts @@ -0,0 +1,2 @@ +import { bindAll } from "./index"; +export = bindAll; diff --git a/node_modules/@types/lodash/bindKey.d.ts b/node_modules/@types/lodash/bindKey.d.ts new file mode 100644 index 0000000..128b065 --- /dev/null +++ b/node_modules/@types/lodash/bindKey.d.ts @@ -0,0 +1,2 @@ +import { bindKey } from "./index"; +export = bindKey; diff --git a/node_modules/@types/lodash/camelCase.d.ts b/node_modules/@types/lodash/camelCase.d.ts new file mode 100644 index 0000000..5c10659 --- /dev/null +++ b/node_modules/@types/lodash/camelCase.d.ts @@ -0,0 +1,2 @@ +import { camelCase } from "./index"; +export = camelCase; diff --git a/node_modules/@types/lodash/capitalize.d.ts b/node_modules/@types/lodash/capitalize.d.ts new file mode 100644 index 0000000..416f5f5 --- /dev/null +++ b/node_modules/@types/lodash/capitalize.d.ts @@ -0,0 +1,2 @@ +import { capitalize } from "./index"; +export = capitalize; diff --git a/node_modules/@types/lodash/castArray.d.ts b/node_modules/@types/lodash/castArray.d.ts new file mode 100644 index 0000000..74ea7bd --- /dev/null +++ b/node_modules/@types/lodash/castArray.d.ts @@ -0,0 +1,2 @@ +import { castArray } from "./index"; +export = castArray; diff --git a/node_modules/@types/lodash/ceil.d.ts b/node_modules/@types/lodash/ceil.d.ts new file mode 100644 index 0000000..0c6f1fd --- /dev/null +++ b/node_modules/@types/lodash/ceil.d.ts @@ -0,0 +1,2 @@ +import { ceil } from "./index"; +export = ceil; diff --git a/node_modules/@types/lodash/chain.d.ts b/node_modules/@types/lodash/chain.d.ts new file mode 100644 index 0000000..d09d2bb --- /dev/null +++ b/node_modules/@types/lodash/chain.d.ts @@ -0,0 +1,2 @@ +import { chain } from "./index"; +export = chain; diff --git a/node_modules/@types/lodash/chunk.d.ts b/node_modules/@types/lodash/chunk.d.ts new file mode 100644 index 0000000..125c98f --- /dev/null +++ b/node_modules/@types/lodash/chunk.d.ts @@ -0,0 +1,2 @@ +import { chunk } from "./index"; +export = chunk; diff --git a/node_modules/@types/lodash/clamp.d.ts b/node_modules/@types/lodash/clamp.d.ts new file mode 100644 index 0000000..df17066 --- /dev/null +++ b/node_modules/@types/lodash/clamp.d.ts @@ -0,0 +1,2 @@ +import { clamp } from "./index"; +export = clamp; diff --git a/node_modules/@types/lodash/clone.d.ts b/node_modules/@types/lodash/clone.d.ts new file mode 100644 index 0000000..c5884d7 --- /dev/null +++ b/node_modules/@types/lodash/clone.d.ts @@ -0,0 +1,2 @@ +import { clone } from "./index"; +export = clone; diff --git a/node_modules/@types/lodash/cloneDeep.d.ts b/node_modules/@types/lodash/cloneDeep.d.ts new file mode 100644 index 0000000..b7bd893 --- /dev/null +++ b/node_modules/@types/lodash/cloneDeep.d.ts @@ -0,0 +1,2 @@ +import { cloneDeep } from "./index"; +export = cloneDeep; diff --git a/node_modules/@types/lodash/cloneDeepWith.d.ts b/node_modules/@types/lodash/cloneDeepWith.d.ts new file mode 100644 index 0000000..3eb368b --- /dev/null +++ b/node_modules/@types/lodash/cloneDeepWith.d.ts @@ -0,0 +1,2 @@ +import { cloneDeepWith } from "./index"; +export = cloneDeepWith; diff --git a/node_modules/@types/lodash/cloneWith.d.ts b/node_modules/@types/lodash/cloneWith.d.ts new file mode 100644 index 0000000..1e6bf7a --- /dev/null +++ b/node_modules/@types/lodash/cloneWith.d.ts @@ -0,0 +1,2 @@ +import { cloneWith } from "./index"; +export = cloneWith; diff --git a/node_modules/@types/lodash/common/array.d.ts b/node_modules/@types/lodash/common/array.d.ts new file mode 100644 index 0000000..ae96d71 --- /dev/null +++ b/node_modules/@types/lodash/common/array.d.ts @@ -0,0 +1,2127 @@ +import _ = require("../index"); +declare module "../index" { + interface LoDashStatic { + /** + * Creates an array of elements split into groups the length of size. If collection can’t be split evenly, the + * final chunk will be the remaining elements. + * + * @param array The array to process. + * @param size The length of each chunk. + * @return Returns the new array containing chunks. + */ + chunk(array: List | null | undefined, size?: number): T[][]; + } + interface Collection { + /** + * @see _.chunk + */ + chunk(size?: number): Collection; + } + interface CollectionChain { + /** + * @see _.chunk + */ + chunk(size?: number): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an array with all falsey values removed. The values false, null, 0, 0n, "", undefined, and NaN are + * falsey. + * + * @param array The array to compact. + * @return Returns the new array of filtered values. + */ + compact(array: List | null | undefined): T[]; + } + + type Falsey = null | undefined | false | "" | 0 | 0n; + type Truthy = T extends Falsey ? never : T; + interface Collection { + /** + * @see _.compact + */ + compact(): Collection>; + } + interface CollectionChain { + /** + * @see _.compact + */ + compact(): CollectionChain>; + } + interface LoDashStatic { + /** + * Creates a new array concatenating `array` with any additional arrays + * and/or values. + * + * @category Array + * @param [values] The array values to concatenate. + * @returns Returns the new concatenated array. + * @example + * + * var array = [1]; + * var other = _.concat(array, 2, [3], [[4]]); + * + * console.log(other); + * // => [1, 2, 3, [4]] + * + * console.log(array); + * // => [1] + */ + concat(...values: Array>): T[]; + } + interface Primitive { + /** + * @see _.concat + */ + concat(...values: Array>): Collection; + } + interface Collection { + /** + * @see _.concat + */ + concat(...values: Array>): Collection; + } + interface Object { + /** + * @see _.concat + */ + concat(...values: Array>): Collection; + } + interface PrimitiveChain { + /** + * @see _.concat + */ + concat(...values: Array>): CollectionChain; + } + interface CollectionChain { + /** + * @see _.concat + */ + concat(...values: Array>): CollectionChain; + } + interface ObjectChain { + /** + * @see _.concat + */ + concat(...values: Array>): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an array of `array` values not included in the other provided arrays using SameValueZero for + * equality comparisons. The order and references of result values are determined by the first array. + * + * @param array The array to inspect. + * @param values The arrays of values to exclude. + * @return Returns the new array of filtered values. + */ + difference(array: List | null | undefined, ...values: Array>): T[]; + } + interface Collection { + /** + * @see _.difference + */ + difference(...values: Array>): Collection; + } + interface CollectionChain { + /** + * @see _.difference + */ + difference(...values: Array>): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like _.difference except that it accepts iteratee which is invoked for each element + * of array and values to generate the criterion by which they're compared. The order and references + * of result values are determined by the first array. The iteratee is invoked with one argument: (value). + * + * @param array The array to inspect. + * @param values The values to exclude. + * @param iteratee The iteratee invoked per element. + * @returns Returns the new array of filtered values. + */ + differenceBy(array: List | null | undefined, values: List, iteratee: ValueIteratee): T1[]; + /** + * @see _.differenceBy + */ + differenceBy(array: List | null | undefined, values1: List, values2: List, iteratee: ValueIteratee): T1[]; + /** + * @see _.differenceBy + */ + differenceBy(array: List | null | undefined, values1: List, values2: List, values3: List, iteratee: ValueIteratee): T1[]; + /** + * @see _.differenceBy + */ + differenceBy(array: List | null | undefined, values1: List, values2: List, values3: List, values4: List, iteratee: ValueIteratee): T1[]; + /** + * @see _.differenceBy + */ + differenceBy(array: List | null | undefined, values1: List, values2: List, values3: List, values4: List, values5: List, iteratee: ValueIteratee): T1[]; + /** + * @see _.differenceBy + */ + differenceBy(array: List | null | undefined, values1: List, values2: List, values3: List, values4: List, values5: List, ...values: Array | ValueIteratee>): T1[]; + /** + * @see _.differenceBy + */ + differenceBy(array: List | null | undefined, ...values: Array>): T[]; + } + interface Collection { + /** + * @see _.differenceBy + */ + differenceBy(values1: List, iteratee?: ValueIteratee): Collection; + /** + * @see _.differenceBy + */ + differenceBy(...values: Array | ValueIteratee>): Collection; + } + interface CollectionChain { + /** + * @see _.differenceBy + */ + differenceBy(values1: List, iteratee?: ValueIteratee): CollectionChain; + /** + * @see _.differenceBy + */ + differenceBy(...values: Array | ValueIteratee>): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like _.difference except that it accepts comparator which is invoked to compare elements + * of array to values. The order and references of result values are determined by the first array. The + * comparator is invoked with two arguments: (arrVal, othVal). + * + * @category Array + * @param [values] The arrays to inspect. + * @param [comparator] The comparator invoked per element. + * @returns Returns the new array of filtered values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + + * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual); + * // => [{ 'x': 2, 'y': 1 }] + */ + differenceWith(array: List | null | undefined, values: List, comparator: Comparator2): T1[]; + /** + * @see _.differenceWith + */ + differenceWith(array: List | null | undefined, values1: List, values2: List, comparator: Comparator2): T1[]; + /** + * @see _.differenceWith + */ + differenceWith(array: List | null | undefined, values1: List, values2: List, ...values: Array | Comparator2>): T1[]; + /** + * @see _.differenceWith + */ + differenceWith(array: List | null | undefined, ...values: Array>): T[]; + } + interface Collection { + /** + * @see _.differenceWith + */ + differenceWith(values: List, comparator: Comparator2): Collection; + /** + * @see _.differenceWith + */ + differenceWith(...values: Array | Comparator2>): Collection; + } + interface CollectionChain { + /** + * @see _.differenceWith + */ + differenceWith< T2>(values: List, comparator: Comparator2): CollectionChain; + /** + * @see _.differenceWith + */ + differenceWith< T2, T3, T4>(...values: Array | Comparator2>): CollectionChain; + } + interface LoDashStatic { + /** + * Creates a slice of array with n elements dropped from the beginning. + * + * @param array The array to query. + * @param n The number of elements to drop. + * @return Returns the slice of array. + */ + drop(array: List | null | undefined, n?: number): T[]; + } + interface Collection { + /** + * @see _.drop + */ + drop(n?: number): Collection; + } + interface CollectionChain { + /** + * @see _.drop + */ + drop(n?: number): CollectionChain; + } + interface LoDashStatic { + /** + * Creates a slice of array with n elements dropped from the end. + * + * @param array The array to query. + * @param n The number of elements to drop. + * @return Returns the slice of array. + */ + dropRight(array: List | null | undefined, n?: number): T[]; + } + interface Collection { + /** + * @see _.dropRight + */ + dropRight(n?: number): Collection; + } + interface CollectionChain { + /** + * @see _.dropRight + */ + dropRight(n?: number): CollectionChain; + } + interface LoDashStatic { + /** + * Creates a slice of array excluding elements dropped from the end. Elements are dropped until predicate + * returns falsey. The predicate is invoked with three arguments: (value, index, array). + * + * @param array The array to query. + * @param predicate The function invoked per iteration. + * @return Returns the slice of array. + */ + dropRightWhile(array: List | null | undefined, predicate?: ListIteratee): T[]; + } + interface Collection { + /** + * @see _.dropRightWhile + */ + dropRightWhile(predicate?: ListIteratee): Collection; + } + interface CollectionChain { + /** + * @see _.dropRightWhile + */ + dropRightWhile(predicate?: ListIteratee): CollectionChain; + } + interface LoDashStatic { + /** + * Creates a slice of array excluding elements dropped from the beginning. Elements are dropped until predicate + * returns falsey. The predicate is invoked with three arguments: (value, index, array). + * + * @param array The array to query. + * @param predicate The function invoked per iteration. + * @return Returns the slice of array. + */ + dropWhile(array: List | null | undefined, predicate?: ListIteratee): T[]; + } + interface Collection { + /** + * @see _.dropWhile + */ + dropWhile(predicate?: ListIteratee): Collection; + } + interface CollectionChain { + /** + * @see _.dropWhile + */ + dropWhile(predicate?: ListIteratee): CollectionChain; + } + interface LoDashStatic { + /** + * Fills elements of array with value from start up to, but not including, end. + * + * Note: This method mutates array. + * + * @param array The array to fill. + * @param value The value to fill array with. + * @param start The start position. + * @param end The end position. + * @return Returns array. + */ + fill(array: any[] | null | undefined, value: T): T[]; + /** + * @see _.fill + */ + fill(array: List | null | undefined, value: T): List; + /** + * @see _.fill + */ + fill(array: U[] | null | undefined, value: T, start?: number, end?: number): Array; + /** + * @see _.fill + */ + fill(array: List | null | undefined, value: T, start?: number, end?: number): List; + } + interface Collection { + /** + * @see _.fill + */ + fill(value: U, start?: number, end?: number): Collection; + } + interface CollectionChain { + /** + * @see _.fill + */ + fill(value: U, start?: number, end?: number): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like _.find except that it returns the index of the first element predicate returns truthy + * for instead of the element itself. + * + * @param array The array to search. + * @param predicate The function invoked per iteration. + * @param fromIndex The index to search from. + * @return Returns the index of the found element, else -1. + */ + findIndex(array: List | null | undefined, predicate?: ListIterateeCustom, fromIndex?: number): number; + } + interface Collection { + /** + * @see _.findIndex + */ + findIndex(predicate?: ListIterateeCustom, fromIndex?: number): number; + } + interface CollectionChain { + /** + * @see _.findIndex + */ + findIndex(predicate?: ListIterateeCustom, fromIndex?: number): PrimitiveChain; + } + interface LoDashStatic { + /** + * This method is like _.findIndex except that it iterates over elements of collection from right to left. + * + * @param array The array to search. + * @param predicate The function invoked per iteration. + * @param fromIndex The index to search from. + * @return Returns the index of the found element, else -1. + */ + findLastIndex(array: List | null | undefined, predicate?: ListIterateeCustom, fromIndex?: number): number; + } + interface Collection { + /** + * @see _.findLastIndex + */ + findLastIndex(predicate?: ListIterateeCustom, fromIndex?: number): number; + } + interface CollectionChain { + /** + * @see _.findLastIndex + */ + findLastIndex(predicate?: ListIterateeCustom, fromIndex?: number): PrimitiveChain; + } + interface LoDashStatic { + /** + * @see _.head + */ + first: LoDashStatic["head"]; + } + interface String { + /** + * @see _.first + */ + first(): string | undefined; + } + interface StringChain { + /** + * @see _.first + */ + first(): StringNullableChain; + } + interface StringNullableChain { + /** + * @see _.first + */ + first(): StringNullableChain; + } + interface Collection { + /** + * @see _.first + */ + first(): T | undefined; + } + interface CollectionChain { + /** + * @see _.first + */ + first(): ExpChain; + } + interface RecursiveArray extends Array> {} + interface ListOfRecursiveArraysOrValues extends List> {} + interface LoDashStatic { + /** + * Flattens `array` a single level deep. + * + * @param array The array to flatten. + * @return Returns the new flattened array. + */ + flatten(array: List> | null | undefined): T[]; + } + interface String { + /** + * @see _.flatten + */ + flatten(): Collection; + } + interface StringChain { + /** + * @see _.flatten + */ + flatten(): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.flatten + */ + flatten(): CollectionChain; + } + interface Collection { + /** + * @see _.flatten + */ + flatten(): T extends Many ? Collection : Collection; + } + interface CollectionChain { + /** + * @see _.flatten + */ + flatten(): T extends Many ? CollectionChain : CollectionChain; + } + + type Flat = T extends string ? T : (T extends List ? never : T); + + interface LoDashStatic { + /** + * Recursively flattens a nested array. + * + * @param array The array to recursively flatten. + * @return Returns the new flattened array. + */ + flattenDeep(array: ListOfRecursiveArraysOrValues | null | undefined): Array>; + } + interface Collection { + /** + * @see _.flattenDeep + */ + flattenDeep(): T extends ListOfRecursiveArraysOrValues ? Collection> : Collection; + } + interface CollectionChain { + /** + * @see _.flattenDeep + */ + flattenDeep(): T extends ListOfRecursiveArraysOrValues ? CollectionChain> : CollectionChain; + } + interface LoDashStatic { + /** + * Recursively flatten array up to depth times. + * + * @param array The array to recursively flatten. + * @param number The maximum recursion depth. + * @return Returns the new flattened array. + */ + flattenDepth(array: ListOfRecursiveArraysOrValues | null | undefined, depth?: number): T[]; + } + interface Collection { + /** + * @see _.flattenDepth + */ + flattenDepth(depth?: number): Collection; + } + interface CollectionChain { + /** + * @see _.flattenDepth + */ + flattenDepth(depth?: number): CollectionChain; + } + interface LoDashStatic { + /** + * The inverse of `_.toPairs`; this method returns an object composed + * from key-value `pairs`. + * + * @category Array + * @param pairs The key-value pairs. + * @returns Returns the new object. + * @example + * + * _.fromPairs([['fred', 30], ['barney', 40]]); + * // => { 'fred': 30, 'barney': 40 } + */ + fromPairs(pairs: List<[PropertyName, T]> | null | undefined): Dictionary; + /** + * @see _.fromPairs + */ + fromPairs(pairs: List | null | undefined): Dictionary; + } + interface Collection { + /** + * @see _.fromPairs + */ + fromPairs(): Object>; + } + interface CollectionChain { + /** + * @see _.fromPairs + */ + fromPairs(): ObjectChain>; + } + interface LoDashStatic { + /** + * Gets the first element of array. + * + * @alias _.first + * + * @param array The array to query. + * @return Returns the first element of array. + */ + head(array: List | null | undefined): T | undefined; + } + interface String { + /** + * @see _.head + */ + head(): string | undefined; + } + interface StringChain { + /** + * @see _.head + */ + head(): StringNullableChain; + } + interface StringNullableChain { + /** + * @see _.head + */ + head(): StringNullableChain; + } + interface Collection { + /** + * @see _.head + */ + head(): T | undefined; + } + interface CollectionChain { + /** + * @see _.head + */ + head(): ExpChain; + } + interface LoDashStatic { + /** + * Gets the index at which the first occurrence of `value` is found in `array` + * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) + * for equality comparisons. If `fromIndex` is negative, it's used as the offset + * from the end of `array`. + * + * @category Array + * @param array The array to search. + * @param value The value to search for. + * @param [fromIndex=0] The index to search from. + * @returns Returns the index of the matched value, else `-1`. + * @example + * + * _.indexOf([1, 2, 1, 2], 2); + * // => 1 + * + * // using `fromIndex` + * _.indexOf([1, 2, 1, 2], 2, 2); + * // => 3 + */ + indexOf(array: List | null | undefined, value: T, fromIndex?: number): number; + } + interface Collection { + /** + * @see _.indexOf + */ + indexOf(value: T, fromIndex?: number): number; + } + interface CollectionChain { + /** + * @see _.indexOf + */ + indexOf(value: T, fromIndex?: number): PrimitiveChain; + } + interface LoDashStatic { + /** + * Gets all but the last element of array. + * + * @param array The array to query. + * @return Returns the slice of array. + */ + initial(array: List | null | undefined): T[]; + } + interface Collection { + /** + * @see _.initial + */ + initial(): Collection; + } + interface CollectionChain { + /** + * @see _.initial + */ + initial(): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an array of unique values that are included in all of the provided arrays using SameValueZero for + * equality comparisons. + * + * @param arrays The arrays to inspect. + * @return Returns the new array of shared values. + */ + intersection(...arrays: Array | null | undefined>): T[]; + } + interface Collection { + /** + * @see _.intersection + */ + intersection(...arrays: Array | null | undefined>): Collection; + } + interface CollectionChain { + /** + * @see _.intersection + */ + intersection(...arrays: Array | null | undefined>): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.intersection` except that it accepts `iteratee` + * which is invoked for each element of each `arrays` to generate the criterion + * by which uniqueness is computed. The iteratee is invoked with one argument: (value). + * + * @category Array + * @param [arrays] The arrays to inspect. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the new array of shared values. + * @example + * + * _.intersectionBy([2.1, 1.2], [4.3, 2.4], Math.floor); + * // => [2.1] + * + * // using the `_.property` iteratee shorthand + * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 1 }] + */ + intersectionBy(array: List | null, values: List, iteratee: ValueIteratee): T1[]; + /** + * @see _.intersectionBy + */ + intersectionBy(array: List | null, values1: List, values2: List, iteratee: ValueIteratee): T1[]; + /** + * @see _.intersectionBy + */ + intersectionBy(array: List | null | undefined, values1: List, values2: List, ...values: Array | ValueIteratee>): T1[]; + /** + * @see _.intersectionBy + */ + intersectionBy(array?: List | null, ...values: Array>): T[]; + /** + * @see _.intersectionBy + */ + intersectionBy(...values: Array | ValueIteratee>): T[]; + } + interface Collection { + /** + * @see _.intersectionBy + */ + intersectionBy(values: List, iteratee: ValueIteratee): Collection; + /** + * @see _.intersectionBy + */ + intersectionBy(...values: Array | ValueIteratee>): Collection; + } + interface CollectionChain { + /** + * @see _.intersectionBy + */ + intersectionBy(values: List, iteratee: ValueIteratee): CollectionChain; + /** + * @see _.intersectionBy + */ + intersectionBy(...values: Array | ValueIteratee>): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an array of unique `array` values not included in the other + * provided arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) + * for equality comparisons. + * + * @category Array + * @param [values] The arrays to inspect. + * @param [comparator] The comparator invoked per element. + * @returns Returns the new array of filtered values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; + + * _.intersectionWith(objects, others, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }] + */ + intersectionWith(array: List | null | undefined, values: List, comparator: Comparator2): T1[]; + /** + * @see _.intersectionWith + */ + intersectionWith(array: List | null | undefined, values1: List, values2: List, comparator: Comparator2): T1[]; + /** + * @see _.intersectionWith + */ + intersectionWith(array: List | null | undefined, values1: List, values2: List, ...values: Array | Comparator2>): T1[]; + /** + * @see _.intersectionWith + */ + intersectionWith(array?: List | null, ...values: Array | Comparator2>): T[]; + } + interface Collection { + /** + * @see _.intersectionWith + */ + intersectionWith(values: List, comparator: Comparator2): Collection; + /** + * @see _.intersectionWith + */ + intersectionWith(...values: Array | Comparator2>): Collection; + } + interface CollectionChain { + /** + * @see _.intersectionWith + */ + intersectionWith(values: List, comparator: Comparator2): CollectionChain; + /** + * @see _.intersectionWith + */ + intersectionWith(...values: Array | Comparator2>): CollectionChain; + } + interface LoDashStatic { + /** + * Converts all elements in `array` into a string separated by `separator`. + * + * @param array The array to convert. + * @param separator The element separator. + * @returns Returns the joined string. + */ + join(array: List | null | undefined, separator?: string): string; + } + interface String { + /** + * @see _.join + */ + join(separator?: string): string; + } + interface StringChain { + /** + * @see _.join + */ + join(separator?: string): StringChain; + } + interface StringNullableChain { + /** + * @see _.join + */ + join(separator?: string): StringChain; + } + interface Collection { + /** + * @see _.join + */ + join(separator?: string): string; + } + interface CollectionChain { + /** + * @see _.join + */ + join(separator?: string): StringChain; + } + interface LoDashStatic { + /** + * Gets the last element of array. + * + * @param array The array to query. + * @return Returns the last element of array. + */ + last(array: List | null | undefined): T | undefined; + } + interface Collection { + /** + * @see _.last + */ + last(): T | undefined; + } + interface CollectionChain { + /** + * @see _.last + */ + last(): ExpChain; + } + interface String { + /** + * @see _.last + */ + last(): string | undefined; + } + interface StringChain { + /** + * @see _.last + */ + last(): StringNullableChain; + } + interface StringNullableChain { + /** + * @see _.last + */ + last(): StringNullableChain; + } + interface LoDashStatic { + /** + * This method is like _.indexOf except that it iterates over elements of array from right to left. + * + * @param array The array to search. + * @param value The value to search for. + * @param fromIndex The index to search from or true to perform a binary search on a sorted array. + * @return Returns the index of the matched value, else -1. + */ + lastIndexOf(array: List | null | undefined, value: T, fromIndex?: true|number): number; + } + interface Collection { + /** + * @see _.lastIndexOf + */ + lastIndexOf(value: T, fromIndex?: true|number): number; + } + interface CollectionChain { + /** + * @see _.lastIndexOf + */ + lastIndexOf(value: T, fromIndex?: true|number): PrimitiveChain; + } + interface LoDashStatic { + /** + * Gets the element at index `n` of `array`. If `n` is negative, the nth element from the end is returned. + * + * @param array array The array to query. + * @param value The index of the element to return. + * @return Returns the nth element of `array`. + */ + nth(array: List | null | undefined, n?: number): T | undefined; + } + interface Collection { + /** + * @see _.nth + */ + nth(n?: number): T | undefined; + } + interface CollectionChain { + /** + * @see _.nth + */ + nth(n?: number): ExpChain; + } + interface LoDashStatic { + /** + * Removes all provided values from array using SameValueZero for equality comparisons. + * + * Note: Unlike _.without, this method mutates array. + * + * @param array The array to modify. + * @param values The values to remove. + * @return Returns array. + */ + pull(array: T[], ...values: T[]): T[]; + /** + * @see _.pull + */ + pull(array: List, ...values: T[]): List; + } + interface Collection { + /** + * @see _.pull + */ + pull(...values: T[]): Collection; + } + interface CollectionChain { + /** + * @see _.pull + */ + pull(...values: T[]): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.pull` except that it accepts an array of values to remove. + * + * **Note:** Unlike `_.difference`, this method mutates `array`. + * + * @category Array + * @param array The array to modify. + * @param values The values to remove. + * @returns Returns `array`. + * @example + * + * var array = [1, 2, 3, 1, 2, 3]; + * + * _.pull(array, [2, 3]); + * console.log(array); + * // => [1, 1] + */ + pullAll(array: T[], values?: List): T[]; + /** + * @see _.pullAll + */ + pullAll(array: List, values?: List): List; + } + interface Collection { + /** + * @see _.pullAll + */ + pullAll(values?: List): Collection; + } + interface CollectionChain { + /** + * @see _.pullAll + */ + pullAll(values?: List): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.pullAll` except that it accepts `iteratee` which is + * invoked for each element of `array` and `values` to to generate the criterion + * by which uniqueness is computed. The iteratee is invoked with one argument: (value). + * + * **Note:** Unlike `_.differenceBy`, this method mutates `array`. + * + * @category Array + * @param array The array to modify. + * @param values The values to remove. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns `array`. + * @example + * + * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }]; + * + * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x'); + * console.log(array); + * // => [{ 'x': 2 }] + */ + pullAllBy(array: T[], values?: List, iteratee?: ValueIteratee): T[]; + /** + * @see _.pullAllBy + */ + pullAllBy(array: List, values?: List, iteratee?: ValueIteratee): List; + /** + * @see _.pullAllBy + */ + pullAllBy(array: T1[], values: List, iteratee: ValueIteratee): T1[]; + /** + * @see _.pullAllBy + */ + pullAllBy(array: List, values: List, iteratee: ValueIteratee): List; + } + interface Collection { + /** + * @see _.pullAllBy + */ + pullAllBy(values?: List, iteratee?: ValueIteratee): Collection; + } + interface CollectionChain { + /** + * @see _.pullAllBy + */ + pullAllBy(values?: List, iteratee?: ValueIteratee): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.pullAll` except that it accepts `comparator` which is + * invoked to compare elements of array to values. The comparator is invoked with + * two arguments: (arrVal, othVal). + * + * **Note:** Unlike `_.differenceWith`, this method mutates `array`. + * + * @category Array + * @param array The array to modify. + * @param values The values to remove. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns `array`. + * @example + * + * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }]; + * + * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual); + * console.log(array); + * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }] + */ + pullAllWith(array: T[], values?: List, comparator?: Comparator): T[]; + /** + * @see _.pullAllWith + */ + pullAllWith(array: List, values?: List, comparator?: Comparator): List; + /** + * @see _.pullAllWith + */ + pullAllWith(array: T1[], values: List, comparator: Comparator2): T1[]; + /** + * @see _.pullAllWith + */ + pullAllWith(array: List, values: List, comparator: Comparator2): List; + } + interface Collection { + /** + * @see _.pullAllWith + */ + pullAllWith(values?: List, comparator?: Comparator2): Collection; + } + interface CollectionChain { + /** + * @see _.pullAllWith + */ + pullAllWith(values?: List, comparator?: Comparator2): CollectionChain; + } + interface LoDashStatic { + /** + * Removes elements from array corresponding to the given indexes and returns an array of the removed elements. + * Indexes may be specified as an array of indexes or as individual arguments. + * + * Note: Unlike _.at, this method mutates array. + * + * @param array The array to modify. + * @param indexes The indexes of elements to remove, specified as individual indexes or arrays of indexes. + * @return Returns the new array of removed elements. + */ + pullAt(array: T[], ...indexes: Array>): T[]; + /** + * @see _.pullAt + */ + pullAt(array: List, ...indexes: Array>): List; + } + interface Collection { + /** + * @see _.pullAt + */ + pullAt(...indexes: Array>): Collection; + } + interface CollectionChain { + /** + * @see _.pullAt + */ + pullAt(...indexes: Array>): CollectionChain; + } + interface LoDashStatic { + /** + * Removes all elements from array that predicate returns truthy for and returns an array of the removed + * elements. The predicate is invoked with three arguments: (value, index, array). + * + * Note: Unlike _.filter, this method mutates array. + * + * @param array The array to modify. + * @param predicate The function invoked per iteration. + * @return Returns the new array of removed elements. + */ + remove(array: List, predicate?: ListIteratee): T[]; + } + interface Collection { + /** + * @see _.remove + */ + remove(predicate?: ListIteratee): Collection; + } + interface CollectionChain { + /** + * @see _.remove + */ + remove(predicate?: ListIteratee): CollectionChain; + } + interface LoDashStatic { + /** + * Reverses `array` so that the first element becomes the last, the second + * element becomes the second to last, and so on. + * + * **Note:** This method mutates `array` and is based on + * [`Array#reverse`](https://mdn.io/Array/reverse). + * + * @category Array + * @returns Returns `array`. + * @example + * + * var array = [1, 2, 3]; + * + * _.reverse(array); + * // => [3, 2, 1] + * + * console.log(array); + * // => [3, 2, 1] + */ + reverse>(array: TList): TList; + } + interface LoDashStatic { + /** + * Creates a slice of array from start up to, but not including, end. + * + * @param array The array to slice. + * @param start The start position. + * @param end The end position. + * @return Returns the slice of array. + */ + slice(array: List | null | undefined, start?: number, end?: number): T[]; + } + interface Collection { + /** + * @see _.slice + */ + slice(start?: number, end?: number): Collection; + } + interface CollectionChain { + /** + * @see _.slice + */ + slice(start?: number, end?: number): CollectionChain; + } + interface LoDashStatic { + /** + * Uses a binary search to determine the lowest index at which `value` should + * be inserted into `array` in order to maintain its sort order. + * + * @category Array + * @param array The sorted array to inspect. + * @param value The value to evaluate. + * @returns Returns the index at which `value` should be inserted into `array`. + * @example + * + * _.sortedIndex([30, 50], 40); + * // => 1 + * + * _.sortedIndex([4, 5], 4); + * // => 0 + */ + sortedIndex(array: List | null | undefined, value: T): number; + } + interface Collection { + /** + * @see _.sortedIndex + */ + sortedIndex(value: T): number; + } + interface CollectionChain { + /** + * @see _.sortedIndex + */ + sortedIndex(value: T): PrimitiveChain; + } + interface LoDashStatic { + /** + * Uses a binary search to determine the lowest index at which `value` should + * be inserted into `array` in order to maintain its sort order. + * + * @category Array + * @param array The sorted array to inspect. + * @param value The value to evaluate. + * @returns Returns the index at which `value` should be inserted into `array`. + * @example + * + * _.sortedIndex([30, 50], 40); + * // => 1 + * + * _.sortedIndex([4, 5], 4); + * // => 0 + */ + sortedIndex(array: List | null | undefined, value: T): number; + } + interface Collection { + /** + * @see _.sortedIndex + */ + sortedIndex(value: T): number; + } + interface CollectionChain { + /** + * @see _.sortedIndex + */ + sortedIndex(value: T): PrimitiveChain; + } + interface LoDashStatic { + /** + * This method is like `_.sortedIndex` except that it accepts `iteratee` + * which is invoked for `value` and each element of `array` to compute their + * sort ranking. The iteratee is invoked with one argument: (value). + * + * @category Array + * @param array The sorted array to inspect. + * @param value The value to evaluate. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the index at which `value` should be inserted into `array`. + * @example + * + * var dict = { 'thirty': 30, 'forty': 40, 'fifty': 50 }; + * + * _.sortedIndexBy(['thirty', 'fifty'], 'forty', _.propertyOf(dict)); + * // => 1 + * + * // using the `_.property` iteratee shorthand + * _.sortedIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x'); + * // => 0 + */ + sortedIndexBy(array: List | null | undefined, value: T, iteratee?: ValueIteratee): number; + } + interface Collection { + /** + * @see _.sortedIndexBy + */ + sortedIndexBy(value: T, iteratee?: ValueIteratee): number; + } + interface CollectionChain { + /** + * @see _.sortedIndexBy + */ + sortedIndexBy(value: T, iteratee?: ValueIteratee): PrimitiveChain; + } + interface LoDashStatic { + /** + * This method is like `_.indexOf` except that it performs a binary + * search on a sorted `array`. + * + * @category Array + * @param array The array to search. + * @param value The value to search for. + * @returns Returns the index of the matched value, else `-1`. + * @example + * + * _.sortedIndexOf([1, 1, 2, 2], 2); + * // => 2 + */ + sortedIndexOf(array: List | null | undefined, value: T): number; + } + interface Collection { + /** + * @see _.sortedIndexOf + */ + sortedIndexOf(value: T): number; + } + interface CollectionChain { + /** + * @see _.sortedIndexOf + */ + sortedIndexOf(value: T): PrimitiveChain; + } + interface LoDashStatic { + /** + * This method is like `_.sortedIndex` except that it returns the highest + * index at which `value` should be inserted into `array` in order to + * maintain its sort order. + * + * @category Array + * @param array The sorted array to inspect. + * @param value The value to evaluate. + * @returns Returns the index at which `value` should be inserted into `array`. + * @example + * + * _.sortedLastIndex([4, 5], 4); + * // => 1 + */ + sortedLastIndex(array: List | null | undefined, value: T): number; + } + interface Collection { + /** + * @see _.sortedLastIndex + */ + sortedLastIndex(value: T): number; + } + interface CollectionChain { + /** + * @see _.sortedLastIndex + */ + sortedLastIndex(value: T): PrimitiveChain; + } + interface LoDashStatic { + /** + * This method is like `_.sortedLastIndex` except that it accepts `iteratee` + * which is invoked for `value` and each element of `array` to compute their + * sort ranking. The iteratee is invoked with one argument: (value). + * + * @category Array + * @param array The sorted array to inspect. + * @param value The value to evaluate. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the index at which `value` should be inserted into `array`. + * @example + * + * // using the `_.property` iteratee shorthand + * _.sortedLastIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x'); + * // => 1 + */ + sortedLastIndexBy(array: List | null | undefined, value: T, iteratee: ValueIteratee): number; + } + interface Collection { + /** + * @see _.sortedLastIndexBy + */ + sortedLastIndexBy(value: T, iteratee: ValueIteratee): number; + } + interface CollectionChain { + /** + * @see _.sortedLastIndexBy + */ + sortedLastIndexBy(value: T, iteratee: ValueIteratee): PrimitiveChain; + } + interface LoDashStatic { + /** + * This method is like `_.lastIndexOf` except that it performs a binary + * search on a sorted `array`. + * + * @category Array + * @param array The array to search. + * @param value The value to search for. + * @returns Returns the index of the matched value, else `-1`. + * @example + * + * _.sortedLastIndexOf([1, 1, 2, 2], 2); + * // => 3 + */ + sortedLastIndexOf(array: List | null | undefined, value: T): number; + } + interface Collection { + /** + * @see _.sortedLastIndexOf + */ + sortedLastIndexOf(value: T): number; + } + interface CollectionChain { + /** + * @see _.sortedLastIndexOf + */ + sortedLastIndexOf(value: T): PrimitiveChain; + } + interface LoDashStatic { + /** + * This method is like `_.uniq` except that it's designed and optimized + * for sorted arrays. + * + * @category Array + * @param array The array to inspect. + * @returns Returns the new duplicate free array. + * @example + * + * _.sortedUniq([1, 1, 2]); + * // => [1, 2] + */ + sortedUniq(array: List | null | undefined): T[]; + } + interface Collection { + /** + * @see _.sortedUniq + */ + sortedUniq(): Collection; + } + interface CollectionChain { + /** + * @see _.sortedUniq + */ + sortedUniq(): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.uniqBy` except that it's designed and optimized + * for sorted arrays. + * + * @category Array + * @param array The array to inspect. + * @param [iteratee] The iteratee invoked per element. + * @returns Returns the new duplicate free array. + * @example + * + * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); + * // => [1.1, 2.3] + */ + sortedUniqBy(array: List | null | undefined, iteratee: ValueIteratee): T[]; + } + interface Collection { + /** + * @see _.sortedUniqBy + */ + sortedUniqBy(iteratee: ValueIteratee): Collection; + } + interface CollectionChain { + /** + * @see _.sortedUniqBy + */ + sortedUniqBy(iteratee: ValueIteratee): CollectionChain; + } + interface LoDashStatic { + /** + * Gets all but the first element of array. + * + * @param array The array to query. + * @return Returns the slice of array. + */ + tail(array: List | null | undefined): T[]; + } + interface Collection { + /** + * @see _.tail + */ + tail(): Collection; + } + interface CollectionChain { + /** + * @see _.tail + */ + tail(): CollectionChain; + } + interface LoDashStatic { + /** + * Creates a slice of array with n elements taken from the beginning. + * + * @param array The array to query. + * @param n The number of elements to take. + * @return Returns the slice of array. + */ + take(array: List | null | undefined, n?: number): T[]; + } + interface Collection { + /** + * @see _.take + */ + take(n?: number): Collection; + } + interface CollectionChain { + /** + * @see _.take + */ + take(n?: number): CollectionChain; + } + interface LoDashStatic { + /** + * Creates a slice of array with n elements taken from the end. + * + * @param array The array to query. + * @param n The number of elements to take. + * @return Returns the slice of array. + */ + takeRight(array: List | null | undefined, n?: number): T[]; + } + interface Collection { + /** + * @see _.takeRight + */ + takeRight(n?: number): Collection; + } + interface CollectionChain { + /** + * @see _.takeRight + */ + takeRight(n?: number): CollectionChain; + } + interface LoDashStatic { + /** + * Creates a slice of array with elements taken from the end. Elements are taken until predicate returns + * falsey. The predicate is invoked with three arguments: (value, index, array). + * + * @param array The array to query. + * @param predicate The function invoked per iteration. + * @return Returns the slice of array. + */ + takeRightWhile(array: List | null | undefined, predicate?: ListIteratee): T[]; + } + interface Collection { + /** + * @see _.takeRightWhile + */ + takeRightWhile(predicate?: ListIteratee): Collection; + } + interface CollectionChain { + /** + * @see _.takeRightWhile + */ + takeRightWhile(predicate?: ListIteratee): CollectionChain; + } + interface LoDashStatic { + /** + * Creates a slice of array with elements taken from the beginning. Elements are taken until predicate returns + * falsey. The predicate is invoked with three arguments: (value, index, array). + * + * @param array The array to query. + * @param predicate The function invoked per iteration. + * @return Returns the slice of array. + */ + takeWhile(array: List | null | undefined, predicate?: ListIteratee): T[]; + } + interface Collection { + /** + * @see _.takeWhile + */ + takeWhile(predicate?: ListIteratee): Collection; + } + interface CollectionChain { + /** + * @see _.takeWhile + */ + takeWhile(predicate?: ListIteratee): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an array of unique values, in order, from all of the provided arrays using SameValueZero for + * equality comparisons. + * + * @param arrays The arrays to inspect. + * @return Returns the new array of combined values. + */ + union(...arrays: Array | null | undefined>): T[]; + } + interface Collection { + /** + * @see _.union + */ + union(...arrays: Array | null | undefined>): Collection; + } + interface CollectionChain { + /** + * @see _.union + */ + union(...arrays: Array | null | undefined>): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.union` except that it accepts `iteratee` which is + * invoked for each element of each `arrays` to generate the criterion by which + * uniqueness is computed. The iteratee is invoked with one argument: (value). + * + * @param arrays The arrays to inspect. + * @param iteratee The iteratee invoked per element. + * @return Returns the new array of combined values. + */ + unionBy(arrays: List | null | undefined, iteratee?: ValueIteratee): T[]; + /** + * @see _.unionBy + */ + unionBy(arrays1: List | null | undefined, arrays2: List | null | undefined, iteratee?: ValueIteratee): T[]; + /** + * @see _.unionBy + */ + unionBy(arrays1: List | null | undefined, arrays2: List | null | undefined, arrays3: List | null | undefined, iteratee?: ValueIteratee): T[]; + /** + * @see _.unionBy + */ + unionBy(arrays1: List | null | undefined, arrays2: List | null | undefined, arrays3: List | null | undefined, arrays4: List | null | undefined, iteratee?: ValueIteratee): T[]; + /** + * @see _.unionBy + */ + unionBy(arrays1: List | null | undefined, arrays2: List | null | undefined, arrays3: List | null | undefined, arrays4: List | null | undefined, arrays5: List | null | undefined, ...iteratee: Array | List | null | undefined>): T[]; + } + interface Collection { + /** + * @see _.unionBy + */ + unionBy(arrays2: List | null | undefined, iteratee?: ValueIteratee): Collection; + /** + * @see _.unionBy + */ + unionBy(...iteratee: Array | List | null | undefined>): Collection; + } + interface CollectionChain { + /** + * @see _.unionBy + */ + unionBy(arrays2: List | null | undefined, iteratee?: ValueIteratee): CollectionChain; + /** + * @see _.unionBy + */ + unionBy(...iteratee: Array | List | null | undefined>): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.union` except that it accepts `comparator` which + * is invoked to compare elements of `arrays`. The comparator is invoked + * with two arguments: (arrVal, othVal). + * + * @category Array + * @param [arrays] The arrays to inspect. + * @param [comparator] The comparator invoked per element. + * @returns Returns the new array of combined values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; + * + * _.unionWith(objects, others, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] + */ + unionWith(arrays: List | null | undefined, comparator?: Comparator): T[]; + /** + * @see _.unionWith + */ + unionWith(arrays: List | null | undefined, arrays2: List | null | undefined, comparator?: Comparator): T[]; + /** + * @see _.unionWith + */ + unionWith(arrays: List | null | undefined, arrays2: List | null | undefined, arrays3: List | null | undefined, ...comparator: Array | List | null | undefined>): T[]; + } + interface Collection { + /** + * @see _.unionWith + */ + unionWith(arrays2: List | null | undefined, comparator?: Comparator): Collection; + /** + * @see _.unionWith + */ + unionWith(...comparator: Array | List | null | undefined>): Collection; + } + interface CollectionChain { + /** + * @see _.unionWith + */ + unionWith(arrays2: List | null | undefined, comparator?: Comparator): CollectionChain; + /** + * @see _.unionWith + */ + unionWith(...comparator: Array | List | null | undefined>): CollectionChain; + } + interface LoDashStatic { + /** + * Creates a duplicate-free version of an array, using + * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) + * for equality comparisons, in which only the first occurrence of each element + * is kept. + * + * @category Array + * @param array The array to inspect. + * @returns Returns the new duplicate free array. + * @example + * + * _.uniq([2, 1, 2]); + * // => [2, 1] + */ + uniq(array: List | null | undefined): T[]; + } + interface Collection { + /** + * @see _.uniq + */ + uniq(): Collection; + } + interface CollectionChain { + /** + * @see _.uniq + */ + uniq(): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.uniq` except that it accepts `iteratee` which is + * invoked for each element in `array` to generate the criterion by which + * uniqueness is computed. The iteratee is invoked with one argument: (value). + * + * @category Array + * @param array The array to inspect. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the new duplicate free array. + * @example + * + * _.uniqBy([2.1, 1.2, 2.3], Math.floor); + * // => [2.1, 1.2] + * + * // using the `_.property` iteratee shorthand + * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 1 }, { 'x': 2 }] + */ + uniqBy(array: List | null | undefined, iteratee: ValueIteratee): T[]; + } + interface Collection { + /** + * @see _.uniqBy + */ + uniqBy(iteratee: ValueIteratee): Collection; + } + interface CollectionChain { + /** + * @see _.uniqBy + */ + uniqBy(iteratee: ValueIteratee): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.uniq` except that it accepts `comparator` which + * is invoked to compare elements of `array`. The comparator is invoked with + * two arguments: (arrVal, othVal). + * + * @category Array + * @param array The array to inspect. + * @param [comparator] The comparator invoked per element. + * @returns Returns the new duplicate free array. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }]; + * + * _.uniqWith(objects, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }] + */ + uniqWith(array: List | null | undefined, comparator?: Comparator): T[]; + } + interface Collection { + /** + * @see _.uniqWith + */ + uniqWith(comparator?: Comparator): Collection; + } + interface CollectionChain { + /** + * @see _.uniqWith + */ + uniqWith(comparator?: Comparator): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like _.zip except that it accepts an array of grouped elements and creates an array + * regrouping the elements to their pre-zip configuration. + * + * @param array The array of grouped elements to process. + * @return Returns the new array of regrouped elements. + */ + unzip(array: T[][] | List> | null | undefined): T[][]; + } + interface Collection { + /** + * @see _.unzip + */ + unzip(): T extends List ? Collection : unknown; + } + interface CollectionChain { + /** + * @see _.unzip + */ + unzip(): T extends List ? CollectionChain : unknown; + } + interface LoDashStatic { + /** + * This method is like _.unzip except that it accepts an iteratee to specify how regrouped values should be + * combined. The iteratee is invoked with four arguments: (accumulator, value, index, group). + * + * @param array The array of grouped elements to process. + * @param iteratee The function to combine regrouped values. + * @return Returns the new array of regrouped elements. + */ + unzipWith(array: List> | null | undefined, iteratee: (...values: T[]) => TResult): TResult[]; + /** + * @see _.unzipWith + */ + unzipWith(array: List> | null | undefined): T[][]; + } + interface Collection { + /** + * @see _.unzipWith + */ + unzipWith(iteratee: (...values: Array ? U : unknown>) => TResult): Collection; + /** + * @see _.unzipWith + */ + unzipWith(): T extends List ? Collection : unknown; + } + interface CollectionChain { + /** + * @see _.unzipWith + */ + unzipWith(iteratee: (...values: Array ? U : unknown>) => TResult): CollectionChain; + /** + * @see _.unzipWith + */ + unzipWith(): T extends List ? CollectionChain : unknown; + } + interface LoDashStatic { + /** + * Creates an array excluding all provided values using SameValueZero for equality comparisons. + * + * @param array The array to filter. + * @param values The values to exclude. + * @return Returns the new array of filtered values. + */ + without(array: List | null | undefined, ...values: T[]): T[]; + } + interface Collection { + /** + * @see _.without + */ + without(...values: T[]): Collection; + } + interface CollectionChain { + /** + * @see _.without + */ + without(...values: T[]): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an array of unique values that is the symmetric difference of the provided arrays. + * + * @param arrays The arrays to inspect. + * @return Returns the new array of values. + */ + xor(...arrays: Array | null | undefined>): T[]; + } + interface Collection { + /** + * @see _.xor + */ + xor(...arrays: Array | null | undefined>): Collection; + } + interface CollectionChain { + /** + * @see _.xor + */ + xor(...arrays: Array | null | undefined>): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.xor` except that it accepts `iteratee` which is + * invoked for each element of each `arrays` to generate the criterion by which + * uniqueness is computed. The iteratee is invoked with one argument: (value). + * + * @category Array + * @param [arrays] The arrays to inspect. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the new array of values. + * @example + * + * _.xorBy([2.1, 1.2], [4.3, 2.4], Math.floor); + * // => [1.2, 4.3] + * + * // using the `_.property` iteratee shorthand + * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 2 }] + */ + xorBy(arrays: List | null | undefined, iteratee?: ValueIteratee): T[]; + /** + * @see _.xorBy + */ + xorBy(arrays: List | null | undefined, arrays2: List | null | undefined, iteratee?: ValueIteratee): T[]; + /** + * @see _.xorBy + */ + xorBy(arrays: List | null | undefined, arrays2: List | null | undefined, arrays3: List | null | undefined, ...iteratee: Array | List | null | undefined>): T[]; + } + interface Collection { + /** + * @see _.xorBy + */ + xorBy(arrays2: List | null | undefined, iteratee?: ValueIteratee): Collection; + /** + * @see _.xorBy + */ + xorBy(...iteratee: Array | List | null | undefined>): Collection; + } + interface CollectionChain { + /** + * @see _.xorBy + */ + xorBy(arrays2: List | null | undefined, iteratee?: ValueIteratee): CollectionChain; + /** + * @see _.xorBy + */ + xorBy(...iteratee: Array | List | null | undefined>): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.xor` except that it accepts `comparator` which is + * invoked to compare elements of `arrays`. The comparator is invoked with + * two arguments: (arrVal, othVal). + * + * @category Array + * @param [arrays] The arrays to inspect. + * @param [comparator] The comparator invoked per element. + * @returns Returns the new array of values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; + * + * _.xorWith(objects, others, _.isEqual); + * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] + */ + xorWith(arrays: List | null | undefined, comparator?: Comparator): T[]; + /** + * @see _.xorWith + */ + xorWith(arrays: List | null | undefined, arrays2: List | null | undefined, comparator?: Comparator): T[]; + /** + * @see _.xorWith + */ + xorWith(arrays: List | null | undefined, arrays2: List | null | undefined, arrays3: List | null | undefined, ...comparator: Array | List | null | undefined>): T[]; + } + interface Collection { + /** + * @see _.xorWith + */ + xorWith(arrays2: List | null | undefined, comparator?: Comparator): Collection; + /** + * @see _.xorWith + */ + xorWith(...comparator: Array | List | null | undefined>): Collection; + } + interface CollectionChain { + /** + * @see _.xorWith + */ + xorWith(arrays2: List | null | undefined, comparator?: Comparator): CollectionChain; + /** + * @see _.xorWith + */ + xorWith(...comparator: Array | List | null | undefined>): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an array of grouped elements, the first of which contains the first elements of the given arrays, + * the second of which contains the second elements of the given arrays, and so on. + * + * @param arrays The arrays to process. + * @return Returns the new array of grouped elements. + */ + zip(arrays1: List, arrays2: List): Array<[T1 | undefined, T2 | undefined]>; + /** + * @see _.zip + */ + zip(arrays1: List, arrays2: List, arrays3: List): Array<[T1 | undefined, T2 | undefined, T3 | undefined]>; + /** + * @see _.zip + */ + zip(arrays1: List, arrays2: List, arrays3: List, arrays4: List): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined]>; + /** + * @see _.zip + */ + zip(arrays1: List, arrays2: List, arrays3: List, arrays4: List, arrays5: List): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined, T5 | undefined]>; + /** + * @see _.zip + */ + zip(...arrays: Array | null | undefined>): Array>; + } + interface Collection { + /** + * @see _.zip + */ + zip(arrays2: List): Collection<[T | undefined, T2 | undefined]>; + /** + * @see _.zip + */ + zip(...arrays: Array | null | undefined>): Collection>; + } + interface CollectionChain { + /** + * @see _.zip + */ + zip(arrays2: List): CollectionChain<[T | undefined, T2 | undefined]>; + /** + * @see _.zip + */ + zip(...arrays: Array | null | undefined>): CollectionChain>; + } + interface LoDashStatic { + /** + * This method is like _.fromPairs except that it accepts two arrays, one of property + * identifiers and one of corresponding values. + * + * @param props The property names. + * @param values The property values. + * @return Returns the new object. + */ + zipObject(props: List, values: List): Dictionary; + /** + * @see _.zipObject + */ + zipObject(props?: List): Dictionary; + } + interface Collection { + /** + * @see _.zipObject + */ + zipObject(values: List): Object>; + /** + * @see _.zipObject + */ + zipObject(): Object>; + } + interface CollectionChain { + /** + * @see _.zipObject + */ + zipObject(values: List): ObjectChain>; + /** + * @see _.zipObject + */ + zipObject(): ObjectChain>; + } + interface LoDashStatic { + /** + * This method is like _.zipObject except that it supports property paths. + * + * @param paths The property names. + * @param values The property values. + * @return Returns the new object. + */ + zipObjectDeep(paths?: List, values?: List): object; + } + interface Collection { + /** + * @see _.zipObjectDeep + */ + zipObjectDeep(values?: List): Object; + } + interface CollectionChain { + /** + * @see _.zipObjectDeep + */ + zipObjectDeep(values?: List): ObjectChain; + } + interface LoDashStatic { + /** + * This method is like _.zip except that it accepts an iteratee to specify how grouped values should be + * combined. The iteratee is invoked with four arguments: (accumulator, value, index, + * group). + * @param arrays The arrays to process. + * @param iteratee The function to combine grouped values. + * @return Returns the new array of grouped elements. + */ + zipWith(arrays: List, iteratee: (value1: T) => TResult): TResult[]; + /** + * @see _.zipWith + */ + zipWith(arrays1: List, arrays2: List, iteratee: (value1: T1, value2: T2) => TResult): TResult[]; + /** + * @see _.zipWith + */ + zipWith(arrays1: List, arrays2: List, arrays3: List, iteratee: (value1: T1, value2: T2, value3: T3) => TResult): TResult[]; + /** + * @see _.zipWith + */ + zipWith(arrays1: List, arrays2: List, arrays3: List, arrays4: List, iteratee: (value1: T1, value2: T2, value3: T3, value4: T4) => TResult): TResult[]; + /** + * @see _.zipWith + */ + zipWith(arrays1: List, arrays2: List, arrays3: List, arrays4: List, arrays5: List, iteratee: (value1: T1, value2: T2, value3: T3, value4: T4, value5: T5) => TResult): TResult[]; + /** + * @see _.zipWith + */ + zipWith(...iteratee: Array<((...group: T[]) => TResult) | List | null | undefined>): TResult[]; + } + interface Collection { + /** + * @see _.zipWith + */ + zipWith(arrays2: List, iteratee: (value1: T, value2: T2) => TResult): Collection; + /** + * @see _.zipWith + */ + zipWith(arrays2: List, arrays3: List, iteratee: (value1: T, value2: T2, value3: T3) => TResult): Collection; + /** + * @see _.zipWith + */ + zipWith(...iteratee: Array<((...group: T[]) => TResult) | List | null | undefined>): Collection; + } + interface CollectionChain { + /** + * @see _.zipWith + */ + zipWith(arrays2: List, iteratee: (value1: T, value2: T2) => TResult): CollectionChain; + /** + * @see _.zipWith + */ + zipWith(arrays2: List, arrays3: List, iteratee: (value1: T, value2: T2, value3: T3) => TResult): CollectionChain; + /** + * @see _.zipWith + */ + zipWith(...iteratee: Array<((...group: T[]) => TResult) | List | null | undefined>): CollectionChain; + } +} diff --git a/node_modules/@types/lodash/common/collection.d.ts b/node_modules/@types/lodash/common/collection.d.ts new file mode 100644 index 0000000..1a2ab5c --- /dev/null +++ b/node_modules/@types/lodash/common/collection.d.ts @@ -0,0 +1,1934 @@ +import _ = require("../index"); +declare module "../index" { + interface LoDashStatic { + /** + * Creates an object composed of keys generated from the results of running each element of collection through + * iteratee. The corresponding value of each key is the number of times the key was returned by iteratee. The + * iteratee is invoked with one argument: (value). + * + * @param collection The collection to iterate over. + * @param iteratee The function invoked per iteration. + * @return Returns the composed aggregate object. + */ + countBy(collection: List | null | undefined, iteratee?: ValueIteratee): Dictionary; + /** + * @see _.countBy + */ + countBy(collection: T | null | undefined, iteratee?: ValueIteratee): Dictionary; + } + interface Object { + /** + * @see _.countBy + */ + countBy(iteratee?: ValueIteratee): Object>; + } + interface String { + /** + * @see _.countBy + */ + countBy(iteratee?: ValueIteratee): Object>; + } + interface Collection { + /** + * @see _.countBy + */ + countBy(iteratee?: ValueIteratee): Object>; + } + interface ObjectChain { + /** + * @see _.countBy + */ + countBy(iteratee?: ValueIteratee): ObjectChain>; + } + interface StringChain { + /** + * @see _.countBy + */ + countBy(iteratee?: ValueIteratee): ObjectChain>; + } + interface StringNullableChain { + /** + * @see _.countBy + */ + countBy(iteratee?: ValueIteratee): ObjectChain>; + } + interface CollectionChain { + /** + * @see _.countBy + */ + countBy(iteratee?: ValueIteratee): ObjectChain>; + } + interface LoDashStatic { + /** + * @see _.forEach + */ + each: LoDashStatic['forEach']; + } + interface String { + /** + * @see _.each + */ + each: String['forEach']; + } + interface Collection { + /** + * @see _.each + */ + each: Collection['forEach']; + } + interface Object { + /** + * @see _.each + */ + each: Object['forEach']; + } + interface StringChain { + /** + * @see _.each + */ + each: StringChain['forEach']; + } + interface StringNullableChain { + /** + * @see _.each + */ + each: StringNullableChain['forEach']; + } + interface CollectionChain { + /** + * @see _.each + */ + each: CollectionChain['forEach']; + } + interface ObjectChain { + /** + * @see _.each + */ + each: ObjectChain['forEach']; + } + interface LoDashStatic { + /** + * @see _.forEachRight + */ + eachRight: LoDashStatic["forEachRight"]; + } + interface String { + /** + * @see _.eachRight + */ + eachRight: String['forEachRight']; + } + interface Collection { + /** + * @see _.eachRight + */ + eachRight: Collection['forEachRight']; + } + interface Object { + /** + * @see _.eachRight + */ + eachRight: Object['forEachRight']; + } + interface StringChain { + /** + * @see _.eachRight + */ + eachRight: StringChain['forEachRight']; + } + interface StringNullableChain { + /** + * @see _.eachRight + */ + eachRight: StringNullableChain['forEachRight']; + } + interface CollectionChain { + /** + * @see _.eachRight + */ + eachRight: CollectionChain['forEachRight']; + } + interface ObjectChain { + /** + * @see _.eachRight + */ + eachRight: ObjectChain['forEachRight']; + } + interface LoDashStatic { + /** + * Checks if predicate returns truthy for all elements of collection. Iteration is stopped once predicate + * returns falsey. The predicate is invoked with three arguments: (value, index|key, collection). + * + * @param collection The collection to iterate over. + * @param predicate The function invoked per iteration. + * @return Returns true if all elements pass the predicate check, else false. + */ + every(collection: List | null | undefined, predicate?: ListIterateeCustom): boolean; + /** + * @see _.every + */ + every(collection: T | null | undefined, predicate?: ObjectIterateeCustom): boolean; + } + interface Collection { + /** + * @see _.every + */ + every(predicate?: ListIterateeCustom): boolean; + } + interface Object { + /** + * @see _.every + */ + every(predicate?: ObjectIterateeCustom): boolean; + } + interface CollectionChain { + /** + * @see _.every + */ + every(predicate?: ListIterateeCustom): PrimitiveChain; + } + interface ObjectChain { + /** + * @see _.every + */ + every(predicate?: ObjectIterateeCustom): PrimitiveChain; + } + interface LoDashStatic { + /** + * Iterates over elements of collection, returning an array of all elements predicate returns truthy for. The + * predicate is invoked with three arguments: (value, index|key, collection). + * + * @param collection The collection to iterate over. + * @param predicate The function invoked per iteration. + * @return Returns the new filtered array. + */ + filter(collection: string | null | undefined, predicate?: StringIterator): string[]; + /** + * @see _.filter + */ + filter(collection: List | null | undefined, predicate: ListIteratorTypeGuard): S[]; + /** + * @see _.filter + */ + filter(collection: List | null | undefined, predicate?: ListIterateeCustom): T[]; + /** + * @see _.filter + */ + filter(collection: T | null | undefined, predicate: ObjectIteratorTypeGuard): S[]; + /** + * @see _.filter + */ + filter(collection: T | null | undefined, predicate?: ObjectIterateeCustom): Array; + } + interface String { + /** + * @see _.filter + */ + filter(predicate?: StringIterator): Collection; + } + interface Collection { + /** + * @see _.filter + */ + filter(predicate: ListIteratorTypeGuard): Collection; + /** + * @see _.filter + */ + filter(predicate?: ListIterateeCustom): Collection; + } + interface Object { + /** + * @see _.filter + */ + filter(predicate: ObjectIteratorTypeGuard): Collection; + /** + * @see _.filter + */ + filter(predicate?: ObjectIterateeCustom): Collection; + } + interface StringChain { + /** + * @see _.filter + */ + filter(predicate?: StringIterator): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.filter + */ + filter(predicate?: StringIterator): CollectionChain; + } + interface CollectionChain { + /** + * @see _.filter + */ + filter(predicate: ListIteratorTypeGuard): CollectionChain; + /** + * @see _.filter + */ + filter(predicate?: ListIterateeCustom): CollectionChain; + } + interface ObjectChain { + /** + * @see _.filter + */ + filter(predicate: ObjectIteratorTypeGuard): CollectionChain; + /** + * @see _.filter + */ + filter(predicate?: ObjectIterateeCustom): CollectionChain; + } + interface LoDashStatic { + /** + * Iterates over elements of collection, returning the first element predicate returns truthy for. + * The predicate is invoked with three arguments: (value, index|key, collection). + * + * @param collection The collection to search. + * @param predicate The function invoked per iteration. + * @param fromIndex The index to search from. + * @return Returns the matched element, else undefined. + */ + find(collection: List | null | undefined, predicate: ListIteratorTypeGuard, fromIndex?: number): S|undefined; + /** + * @see _.find + */ + find(collection: List | null | undefined, predicate?: ListIterateeCustom, fromIndex?: number): T|undefined; + /** + * @see _.find + */ + find(collection: T | null | undefined, predicate: ObjectIteratorTypeGuard, fromIndex?: number): S|undefined; + /** + * @see _.find + */ + find(collection: T | null | undefined, predicate?: ObjectIterateeCustom, fromIndex?: number): T[keyof T]|undefined; + } + interface Collection { + /** + * @see _.find + */ + find(predicate: ListIteratorTypeGuard, fromIndex?: number): S|undefined; + /** + * @see _.find + */ + find(predicate?: ListIterateeCustom, fromIndex?: number): T|undefined; + } + interface Object { + /** + * @see _.find + */ + find< S extends T[keyof T]>(predicate: ObjectIteratorTypeGuard, fromIndex?: number): S|undefined; + /** + * @see _.find + */ + find(predicate?: ObjectIterateeCustom, fromIndex?: number): T[keyof T]|undefined; + } + interface CollectionChain { + /** + * @see _.find + */ + find< S extends T>(predicate: ListIteratorTypeGuard, fromIndex?: number): ExpChain; + /** + * @see _.find + */ + find(predicate?: ListIterateeCustom, fromIndex?: number): ExpChain; + } + interface ObjectChain { + /** + * @see _.find + */ + find< S extends T[keyof T]>(predicate: ObjectIteratorTypeGuard, fromIndex?: number): ExpChain; + /** + * @see _.find + */ + find(predicate?: ObjectIterateeCustom, fromIndex?: number): ExpChain; + } + interface LoDashStatic { + /** + * This method is like _.find except that it iterates over elements of a collection from + * right to left. + * @param collection Searches for a value in this list. + * @param predicate The function called per iteration. + * @param fromIndex The index to search from. + * @return The found element, else undefined. + */ + findLast(collection: List | null | undefined, predicate: ListIteratorTypeGuard, fromIndex?: number): S|undefined; + /** + * @see _.findLast + */ + findLast(collection: List | null | undefined, predicate?: ListIterateeCustom, fromIndex?: number): T|undefined; + /** + * @see _.findLast + */ + findLast(collection: T | null | undefined, predicate: ObjectIteratorTypeGuard, fromIndex?: number): S|undefined; + /** + * @see _.findLast + */ + findLast(collection: T | null | undefined, predicate?: ObjectIterateeCustom, fromIndex?: number): T[keyof T]|undefined; + } + interface Collection { + /** + * @see _.findLast + */ + findLast(predicate: ListIteratorTypeGuard, fromIndex?: number): S|undefined; + /** + * @see _.findLast + */ + findLast(predicate?: ListIterateeCustom, fromIndex?: number): T|undefined; + } + interface Object { + /** + * @see _.findLast + */ + findLast< S extends T[keyof T]>(predicate: ObjectIteratorTypeGuard, fromIndex?: number): S|undefined; + /** + * @see _.findLast + */ + findLast(predicate?: ObjectIterateeCustom, fromIndex?: number): T[keyof T]|undefined; + } + interface CollectionChain { + /** + * @see _.findLast + */ + findLast< S extends T>(predicate: ListIteratorTypeGuard, fromIndex?: number): ExpChain; + /** + * @see _.findLast + */ + findLast(predicate?: ListIterateeCustom, fromIndex?: number): ExpChain; + } + interface ObjectChain { + /** + * @see _.findLast + */ + findLast< S extends T[keyof T]>(predicate: ObjectIteratorTypeGuard, fromIndex?: number): ExpChain; + /** + * @see _.findLast + */ + findLast(predicate?: ObjectIterateeCustom, fromIndex?: number): ExpChain; + } + interface LoDashStatic { + /** + * Creates an array of flattened values by running each element in collection through iteratee + * and concating its result to the other mapped values. The iteratee is invoked with three arguments: + * (value, index|key, collection). + * + * @param collection The collection to iterate over. + * @param iteratee The function invoked per iteration. + * @return Returns the new flattened array. + */ + flatMap(collection: Dictionary> | NumericDictionary> | null | undefined): T[]; + /** + * @see _.flatMap + */ + flatMap(collection: object | null | undefined): any[]; + /** + * @see _.flatMap + */ + flatMap(collection: List | null | undefined, iteratee: ListIterator>): TResult[]; + /** + * @see _.flatMap + */ + flatMap(collection: T | null | undefined, iteratee: ObjectIterator>): TResult[]; + /** + * @see _.flatMap + */ + flatMap(collection: object | null | undefined, iteratee: string): any[]; + /** + * @see _.flatMap + */ + flatMap(collection: object | null | undefined, iteratee: object): boolean[]; + } + interface String { + /** + * @see _.flatMap + */ + flatMap(iteratee: StringIterator>): Collection; + /** + * @see _.flatMap + */ + flatMap(): Collection; + } + interface Collection { + /** + * @see _.flatMap + */ + flatMap(iteratee: ListIterator> | PropertyName): Collection; + /** + * @see _.flatMap + */ + flatMap(iteratee: [PropertyName, any] | object): Collection; + /** + * @see _.flatMap + */ + flatMap(): T extends Many ? Collection : Collection; + } + interface Object { + /** + * @see _.flatMap + */ + flatMap(iteratee: ObjectIterator> | PropertyName): Collection; + /** + * @see _.flatMap + */ + flatMap(iteratee: [PropertyName, any] | object): Collection; + /** + * @see _.flatMap + */ + flatMap(): Collection; + } + interface StringChain { + /** + * @see _.flatMap + */ + flatMap(iteratee: StringIterator>): CollectionChain; + /** + * @see _.flatMap + */ + flatMap(): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.flatMap + */ + flatMap(iteratee: StringIterator>): CollectionChain; + /** + * @see _.flatMap + */ + flatMap(): CollectionChain; + } + interface CollectionChain { + /** + * @see _.flatMap + */ + flatMap(iteratee: ListIterator> | PropertyName): CollectionChain; + /** + * @see _.flatMap + */ + flatMap(iteratee: [PropertyName, any] | object): CollectionChain; + /** + * @see _.flatMap + */ + flatMap(): T extends Many ? CollectionChain : CollectionChain; + } + interface ObjectChain { + /** + * @see _.flatMap + */ + flatMap(iteratee: ObjectIterator> | PropertyName): CollectionChain; + /** + * @see _.flatMap + */ + flatMap(iteratee: [PropertyName, any] | object): CollectionChain; + /** + * @see _.flatMap + */ + flatMap(): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.flatMap` except that it recursively flattens the + * mapped results. + * + * @since 4.7.0 + * @category Collection + * @param collection The collection to iterate over. + * @param [iteratee=_.identity] The function invoked per iteration. + * @returns Returns the new flattened array. + * @example + * + * function duplicate(n) { + * return [[[n, n]]]; + * } + * + * _.flatMapDeep([1, 2], duplicate); + * // => [1, 1, 2, 2] + */ + flatMapDeep(collection: Dictionary | T> | NumericDictionary | T> | null | undefined): T[]; + /** + * @see _.flatMapDeep + */ + flatMapDeep(collection: List | null | undefined, iteratee: ListIterator | TResult>): TResult[]; + /** + * @see _.flatMapDeep + */ + flatMapDeep(collection: T | null | undefined, iteratee: ObjectIterator | TResult>): TResult[]; + /** + * @see _.flatMapDeep + */ + flatMapDeep(collection: object | null | undefined, iteratee: string): any[]; + /** + * @see _.flatMapDeep + */ + flatMapDeep(collection: object | null | undefined, iteratee: object): boolean[]; + } + interface String { + /** + * @see _.flatMapDeep + */ + flatMapDeep(iteratee: StringIterator | TResult>): Collection; + /** + * @see _.flatMapDeep + */ + flatMapDeep(): Collection; + } + interface Collection { + /** + * @see _.flatMapDeep + */ + flatMapDeep(iteratee: ListIterator | TResult> | PropertyName): Collection; + /** + * @see _.flatMapDeep + */ + flatMapDeep(iteratee: [PropertyName, any] | object): Collection; + /** + * @see _.flatMapDeep + */ + flatMapDeep(): Collection; + } + interface Object { + /** + * @see _.flatMapDeep + */ + flatMapDeep(iteratee: ObjectIterator | TResult> | PropertyName): Collection; + /** + * @see _.flatMapDeep + */ + flatMapDeep(iteratee: [PropertyName, any] | object): Collection; + /** + * @see _.flatMapDeep + */ + flatMapDeep(): Collection; + } + interface StringChain { + /** + * @see _.flatMapDeep + */ + flatMapDeep(iteratee: StringIterator | TResult>): CollectionChain; + /** + * @see _.flatMapDeep + */ + flatMapDeep(): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.flatMapDeep + */ + flatMapDeep(iteratee: StringIterator | TResult>): CollectionChain; + /** + * @see _.flatMapDeep + */ + flatMapDeep(): CollectionChain; + } + interface CollectionChain { + /** + * @see _.flatMapDeep + */ + flatMapDeep(iteratee: ListIterator | TResult> | PropertyName): CollectionChain; + /** + * @see _.flatMapDeep + */ + flatMapDeep(iteratee: [PropertyName, any] | object): CollectionChain; + /** + * @see _.flatMapDeep + */ + flatMapDeep(): CollectionChain; + } + interface ObjectChain { + /** + * @see _.flatMapDeep + */ + flatMapDeep(iteratee: ObjectIterator | TResult> | PropertyName): CollectionChain; + /** + * @see _.flatMapDeep + */ + flatMapDeep(iteratee: [PropertyName, any] | object): CollectionChain; + /** + * @see _.flatMapDeep + */ + flatMapDeep(): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.flatMap` except that it recursively flattens the + * mapped results up to `depth` times. + * + * @since 4.7.0 + * @category Collection + * @param collection The collection to iterate over. + * @param [iteratee=_.identity] The function invoked per iteration. + * @param [depth=1] The maximum recursion depth. + * @returns Returns the new flattened array. + * @example + * + * function duplicate(n) { + * return [[[n, n]]]; + * } + * + * _.flatMapDepth([1, 2], duplicate, 2); + * // => [[1, 1], [2, 2]] + */ + flatMapDepth(collection: Dictionary | T> | NumericDictionary | T> | null | undefined): T[]; + /** + * @see _.flatMapDepth + */ + flatMapDepth(collection: List | null | undefined, iteratee: ListIterator | TResult>, depth?: number): TResult[]; + /** + * @see _.flatMapDepth + */ + flatMapDepth(collection: T | null | undefined, iteratee: ObjectIterator | TResult>, depth?: number): TResult[]; + /** + * @see _.flatMapDepth + */ + flatMapDepth(collection: object | null | undefined, iteratee: string, depth?: number): any[]; + /** + * @see _.flatMapDepth + */ + flatMapDepth(collection: object | null | undefined, iteratee: object, depth?: number): boolean[]; + } + interface String { + /** + * @see _.flatMapDepth + */ + flatMapDepth(iteratee: StringIterator | TResult>, depth?: number): Collection; + /** + * @see _.flatMapDepth + */ + flatMapDepth(depth?: number): Collection; + } + interface Collection { + /** + * @see _.flatMapDepth + */ + flatMapDepth(iteratee: ListIterator | TResult> | PropertyName, depth?: number): Collection; + /** + * @see _.flatMapDepth + */ + flatMapDepth(iteratee: [PropertyName, any] | object, depth?: number): Collection; + /** + * @see _.flatMapDepth + */ + flatMapDepth(depth?: number): Collection; + } + interface Object { + /** + * @see _.flatMapDepth + */ + flatMapDepth(iteratee: ObjectIterator | TResult> | PropertyName, depth?: number): Collection; + /** + * @see _.flatMapDepth + */ + flatMapDepth(iteratee: [PropertyName, any] | object, depth?: number): Collection; + /** + * @see _.flatMapDepth + */ + flatMapDepth(depth?: number): Collection; + } + interface StringChain { + /** + * @see _.flatMapDepth + */ + flatMapDepth(iteratee: StringIterator | TResult>, depth?: number): CollectionChain; + /** + * @see _.flatMapDepth + */ + flatMapDepth(depth?: number): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.flatMapDepth + */ + flatMapDepth(iteratee: StringIterator | TResult>, depth?: number): CollectionChain; + /** + * @see _.flatMapDepth + */ + flatMapDepth(depth?: number): CollectionChain; + } + interface CollectionChain { + /** + * @see _.flatMapDepth + */ + flatMapDepth(iteratee: ListIterator | TResult> | PropertyName, depth?: number): CollectionChain; + /** + * @see _.flatMapDepth + */ + flatMapDepth(iteratee: [PropertyName, any] | object, depth?: number): CollectionChain; + /** + * @see _.flatMapDepth + */ + flatMapDepth(depth?: number): CollectionChain; + } + interface ObjectChain { + /** + * @see _.flatMapDepth + */ + flatMapDepth(iteratee: ObjectIterator | TResult> | PropertyName, depth?: number): CollectionChain; + /** + * @see _.flatMapDepth + */ + flatMapDepth(iteratee: [PropertyName, any] | object, depth?: number): CollectionChain; + /** + * @see _.flatMapDepth + */ + flatMapDepth(depth?: number): CollectionChain; + } + interface LoDashStatic { + /** + * Iterates over elements of collection invoking iteratee for each element. The iteratee is invoked with three arguments: + * (value, index|key, collection). Iteratee functions may exit iteration early by explicitly returning false. + * + * Note: As with other "Collections" methods, objects with a "length" property are iterated like arrays. To + * avoid this behavior _.forIn or _.forOwn may be used for object iteration. + * + * @alias _.each + * + * @param collection The collection to iterate over. + * @param iteratee The function invoked per iteration. + */ + forEach(collection: T[], iteratee?: ArrayIterator): T[]; + /** + * @see _.forEach + */ + forEach(collection: string, iteratee?: StringIterator): string; + /** + * @see _.forEach + */ + forEach(collection: List, iteratee?: ListIterator): List; + /** + * @see _.forEach + */ + forEach(collection: T, iteratee?: ObjectIterator): T; + /** + * @see _.forEach + */ + forEach(collection: TArray & (T[] | null | undefined), iteratee?: ArrayIterator): TArray; + /** + * @see _.forEach + */ + forEach(collection: TString, iteratee?: StringIterator): TString; + /** + * @see _.forEach + */ + forEach | null | undefined>(collection: TList & (List | null | undefined), iteratee?: ListIterator): TList; + /** + * @see _.forEach + */ + forEach(collection: T | null | undefined, iteratee?: ObjectIterator): T | null | undefined; + } + interface String { + /** + * @see _.forEach + */ + forEach(iteratee?: StringIterator): String; + } + interface Object { + /** + * @see _.forEach + */ + forEach(iteratee?: ObjectIterator): Object; + } + interface Collection { + /** + * @see _.forEach + */ + forEach(iteratee?: ListIterator): Collection; + } + interface StringChain { + /** + * @see _.forEach + */ + forEach(iteratee?: StringIterator): StringChain; + } + interface StringNullableChain { + /** + * @see _.forEach + */ + forEach(iteratee?: StringIterator): StringNullableChain; + } + interface ObjectChain { + /** + * @see _.forEach + */ + forEach(iteratee?: ObjectIterator): ObjectChain; + } + interface CollectionChain { + /** + * @see _.forEach + */ + forEach(iteratee?: ListIterator): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like _.forEach except that it iterates over elements of collection from right to left. + * + * @alias _.eachRight + * + * @param collection The collection to iterate over. + * @param iteratee The function called per iteration. + */ + forEachRight(collection: T[], iteratee?: ArrayIterator): T[]; + /** + * @see _.forEachRight + */ + forEachRight(collection: string, iteratee?: StringIterator): string; + /** + * @see _.forEachRight + */ + forEachRight(collection: List, iteratee?: ListIterator): List; + /** + * @see _.forEachRight + */ + forEachRight(collection: T, iteratee?: ObjectIterator): T; + /** + * @see _.forEachRight + */ + forEachRight(collection: TArray & (T[] | null | undefined), iteratee?: ArrayIterator): TArray; + /** + * @see _.forEachRight + */ + forEachRight(collection: TString, iteratee?: StringIterator): TString; + /** + * @see _.forEachRight + */ + forEachRight | null | undefined>(collection: TList & (List | null | undefined), iteratee?: ListIterator): TList; + /** + * @see _.forEachRight + */ + forEachRight(collection: T | null | undefined, iteratee?: ObjectIterator): T | null | undefined; + } + interface String { + /** + * @see _.forEachRight + */ + forEachRight(iteratee?: StringIterator): String; + } + interface Object { + /** + * @see _.forEachRight + */ + forEachRight(iteratee?: ObjectIterator): Object; + } + interface Collection { + /** + * @see _.forEachRight + */ + forEachRight(iteratee?: ListIterator): Collection; + } + interface StringChain { + /** + * @see _.forEachRight + */ + forEachRight(iteratee?: StringIterator): StringChain; + } + interface StringNullableChain { + /** + * @see _.forEachRight + */ + forEachRight(iteratee?: StringIterator): StringNullableChain; + } + interface ObjectChain { + /** + * @see _.forEachRight + */ + forEachRight(iteratee?: ObjectIterator): ObjectChain; + } + interface CollectionChain { + /** + * @see _.forEachRight + */ + forEachRight(iteratee?: ListIterator): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an object composed of keys generated from the results of running each element of collection through + * iteratee. The corresponding value of each key is an array of the elements responsible for generating the + * key. The iteratee is invoked with one argument: (value). + * + * @param collection The collection to iterate over. + * @param iteratee The function invoked per iteration. + * @return Returns the composed aggregate object. + */ + groupBy(collection: List | null | undefined, iteratee?: ValueIteratee): Dictionary; + /** + * @see _.groupBy + */ + groupBy(collection: T | null | undefined, iteratee?: ValueIteratee): Dictionary>; + } + interface String { + /** + * @see _.groupBy + */ + groupBy(iteratee?: ValueIteratee): Object>; + } + interface Collection { + /** + * @see _.groupBy + */ + groupBy(iteratee?: ValueIteratee): Object>; + } + interface Object { + /** + * @see _.groupBy + */ + groupBy(iteratee?: ValueIteratee): Object>>; + } + interface StringChain { + /** + * @see _.groupBy + */ + groupBy(iteratee?: ValueIteratee): ObjectChain>; + } + interface StringNullableChain { + /** + * @see _.groupBy + */ + groupBy(iteratee?: ValueIteratee): ObjectChain>; + } + interface CollectionChain { + /** + * @see _.groupBy + */ + groupBy(iteratee?: ValueIteratee): ObjectChain>; + } + interface ObjectChain { + /** + * @see _.groupBy + */ + groupBy(iteratee?: ValueIteratee): ObjectChain>>; + } + interface LoDashStatic { + /** + * Checks if target is in collection using SameValueZero for equality comparisons. If fromIndex is negative, + * it’s used as the offset from the end of collection. + * + * @param collection The collection to search. + * @param target The value to search for. + * @param fromIndex The index to search from. + * @return True if the target element is found, else false. + */ + includes(collection: Dictionary | NumericDictionary | null | undefined, target: T, fromIndex?: number): boolean; + } + interface Object { + /** + * @see _.includes + */ + includes(target: T[keyof T], fromIndex?: number): boolean; + } + interface Collection { + /** + * @see _.includes + */ + includes(target: T, fromIndex?: number): boolean; + } + interface String { + /** + * @see _.includes + */ + includes(target: string, fromIndex?: number): boolean; + } + interface ObjectChain { + /** + * @see _.includes + */ + includes(target: T[keyof T], fromIndex?: number): PrimitiveChain; + } + interface CollectionChain { + /** + * @see _.includes + */ + includes(target: T, fromIndex?: number): PrimitiveChain; + } + interface StringChain { + /** + * @see _.includes + */ + includes(target: string, fromIndex?: number): PrimitiveChain; + } + interface LoDashStatic { + /** + * Invokes the method named by methodName on each element in the collection returning + * an array of the results of each invoked method. Additional arguments will be provided + * to each invoked method. If methodName is a function it will be invoked for, and this + * bound to, each element in the collection. + * @param collection The collection to iterate over. + * @param methodName The name of the method to invoke. + * @param args Arguments to invoke the method with. + */ + invokeMap(collection: object | null | undefined, methodName: string, ...args: any[]): any[]; + /** + * @see _.invokeMap + */ + invokeMap(collection: object | null | undefined, method: (...args: any[]) => TResult, ...args: any[]): TResult[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.invokeMap + */ + invokeMap(methodName: string, ...args: any[]): Collection; + /** + * @see _.invokeMap + */ + invokeMap(method: (...args: any[]) => TResult, ...args: any[]): Collection; + } + interface LoDashExplicitWrapper { + /** + * @see _.invokeMap + */ + invokeMap(methodName: string, ...args: any[]): CollectionChain; + /** + * @see _.invokeMap + */ + invokeMap(method: (...args: any[]) => TResult, ...args: any[]): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an object composed of keys generated from the results of running each element of collection through + * iteratee. The corresponding value of each key is the last element responsible for generating the key. The + * iteratee function is invoked with one argument: (value). + * + * @param collection The collection to iterate over. + * @param iteratee The function invoked per iteration. + * @return Returns the composed aggregate object. + */ + keyBy(collection: List | null | undefined, iteratee?: ValueIterateeCustom): Dictionary; + /** + * @see _.keyBy + */ + keyBy(collection: T | null | undefined, iteratee?: ValueIterateeCustom): Dictionary; + } + interface String { + /** + * @see _.keyBy + */ + keyBy(iteratee?: ValueIterateeCustom): Object>; + } + interface Collection { + /** + * @see _.keyBy + */ + keyBy(iteratee?: ValueIterateeCustom): Object>; + } + interface Object { + /** + * @see _.keyBy + */ + keyBy(iteratee?: ValueIterateeCustom): Object>; + } + interface StringChain { + /** + * @see _.keyBy + */ + keyBy(iteratee?: ValueIterateeCustom): ObjectChain>; + } + interface StringNullableChain { + /** + * @see _.keyBy + */ + keyBy(iteratee?: ValueIterateeCustom): ObjectChain>; + } + interface CollectionChain { + /** + * @see _.keyBy + */ + keyBy(iteratee?: ValueIterateeCustom): ObjectChain>; + } + interface ObjectChain { + /** + * @see _.keyBy + */ + keyBy(iteratee?: ValueIterateeCustom): ObjectChain>; + } + interface LoDashStatic { + /** + * Creates an array of values by running each element in collection through iteratee. The iteratee is + * invoked with three arguments: (value, index|key, collection). + * + * Many lodash methods are guarded to work as iteratees for methods like _.every, _.filter, _.map, _.mapValues, + * _.reject, and _.some. + * + * The guarded methods are: + * ary, callback, chunk, clone, create, curry, curryRight, drop, dropRight, every, fill, flatten, invert, max, + * min, parseInt, slice, sortBy, take, takeRight, template, trim, trimLeft, trimRight, trunc, random, range, + * sample, some, sum, uniq, and words + * + * @param collection The collection to iterate over. + * @param iteratee The function invoked per iteration. + * @return Returns the new mapped array. + */ + map(collection: T[] | null | undefined, iteratee: ArrayIterator): TResult[]; + /** + * @see _.map + */ + map(collection: List | null | undefined, iteratee: ListIterator): TResult[]; + /** + * @see _.map + */ + map(collection: Dictionary | NumericDictionary | null | undefined): T[]; + /** + * @see _.map + */ + map(collection: T | null | undefined, iteratee: ObjectIterator): TResult[]; + /** + * @see _.map + */ + map(collection: Dictionary | NumericDictionary | null | undefined, iteratee: K): Array; + /** + * @see _.map + */ + map(collection: Dictionary | NumericDictionary | null | undefined, iteratee?: string): any[]; + /** + * @see _.map + */ + map(collection: Dictionary | NumericDictionary | null | undefined, iteratee?: object): boolean[]; + } + + interface String { + /** + * @see _.map + */ + map(iteratee: StringIterator): Collection; + /** + * @see _.map + */ + map(): Collection; + } + interface Collection { + /** + * @see _.map + */ + map(key: K): Collection; + /** + * @see _.map + */ + map(iteratee: ListIterator): Collection; + /** + * @see _.map + */ + map(iteratee: PropertyName): Collection; + /** + * @see _.map + */ + map(iteratee: [PropertyName, any] | object): Collection; + /** + * @see _.map + */ + map(): Collection; + } + interface Object { + /** + * @see _.map + */ + map(key: K): Collection; + /** + * @see _.map + */ + map(iteratee: ObjectIterator): Collection; + /** + * @see _.map + */ + map(iteratee: PropertyName): Collection; + /** + * @see _.map + */ + map(iteratee: [PropertyName, any] | object): Collection; + /** + * @see _.map + */ + map(): Collection; + } + interface StringChain { + /** + * @see _.map + */ + map(iteratee: StringIterator): CollectionChain; + /** + * @see _.map + */ + map(): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.map + */ + map(iteratee: StringIterator): CollectionChain; + /** + * @see _.map + */ + map(): CollectionChain; + } + interface CollectionChain { + /** + * @see _.map + */ + map(key: K): CollectionChain; + /** + * @see _.map + */ + map(iteratee: ListIterator): CollectionChain; + /** + * @see _.map + */ + map(iteratee: PropertyName): CollectionChain; + /** + * @see _.map + */ + map(iteratee: [PropertyName, any] | object): CollectionChain; + /** + * @see _.map + */ + map(): CollectionChain; + } + interface ObjectChain { + /** + * @see _.map + */ + map(key: K): CollectionChain; + /** + * @see _.map + */ + map(iteratee: ObjectIterator): CollectionChain; + /** + * @see _.map + */ + map(iteratee: PropertyName): CollectionChain; + /** + * @see _.map + */ + map(iteratee: [PropertyName, any] | object): CollectionChain; + /** + * @see _.map + */ + map(): CollectionChain; + } + interface LoDashStatic { + /** + * This method is like `_.sortBy` except that it allows specifying the sort + * orders of the iteratees to sort by. If `orders` is unspecified, all values + * are sorted in ascending order. Otherwise, specify an order of "desc" for + * descending or "asc" for ascending sort order of corresponding values. + * + * @category Collection + * @param collection The collection to iterate over. + * @param [iteratees=[_.identity]] The iteratees to sort by. + * @param [orders] The sort orders of `iteratees`. + * @param [guard] Enables use as an iteratee for functions like `_.reduce`. + * @returns Returns the new sorted array. + * @example + * + * var users = [ + * { 'user': 'fred', 'age': 48 }, + * { 'user': 'barney', 'age': 34 }, + * { 'user': 'fred', 'age': 42 }, + * { 'user': 'barney', 'age': 36 } + * ]; + * + * // sort by `user` in ascending order and by `age` in descending order + * _.orderBy(users, ['user', 'age'], ['asc', 'desc']); + * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] + */ + orderBy(collection: List | null | undefined, iteratees?: Many>, orders?: Many): T[]; + /** + * @see _.orderBy + */ + orderBy(collection: List | null | undefined, iteratees?: Many>, orders?: Many): T[]; + /** + * @see _.orderBy + */ + orderBy(collection: T | null | undefined, iteratees?: Many>, orders?: Many): Array; + /** + * @see _.orderBy + */ + orderBy(collection: T | null | undefined, iteratees?: Many>, orders?: Many): Array; + } + interface Collection { + /** + * @see _.orderBy + */ + orderBy(iteratees?: Many | PropertyName | PartialShallow>, orders?: Many): Collection; + } + interface Object { + /** + * @see _.orderBy + */ + orderBy(iteratees?: Many>, orders?: Many): Collection; + } + interface CollectionChain { + /** + * @see _.orderBy + */ + orderBy(iteratees?: Many | PropertyName | PartialShallow>, orders?: Many): CollectionChain; + } + interface ObjectChain { + /** + * @see _.orderBy + */ + orderBy(iteratees?: Many>, orders?: Many): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for, + * while the second of which contains elements predicate returns falsey for. + * The predicate is invoked with three arguments: (value, index|key, collection). + * + * @param collection The collection to iterate over. + * @param callback The function called per iteration. + * @return Returns the array of grouped elements. + */ + partition(collection: List | null | undefined, callback: ValueIteratorTypeGuard): [U[], Array>]; + /** + * @see _.partition + */ + partition(collection: List | null | undefined, callback: ValueIteratee): [T[], T[]]; + /** + * @see _.partition + */ + partition(collection: T | null | undefined, callback: ValueIteratee): [Array, Array]; + } + interface String { + /** + * @see _.partition + */ + partition(callback: StringIterator): LoDashImplicitWrapper<[string[], string[]]>; + } + interface Collection { + /** + * @see _.partition + */ + partition(callback: ValueIteratorTypeGuard): LoDashImplicitWrapper<[U[], Array>]>; + /** + * @see _.partition + */ + partition(callback: ValueIteratee): LoDashImplicitWrapper<[T[], T[]]>; + } + interface Object { + /** + * @see _.partition + */ + partition(callback: ValueIteratee): LoDashImplicitWrapper<[Array, Array]>; + } + interface StringChain { + /** + * @see _.partition + */ + partition(callback: StringIterator): LoDashExplicitWrapper<[string[], string[]]>; + } + interface StringNullableChain { + /** + * @see _.partition + */ + partition(callback: StringIterator): LoDashExplicitWrapper<[string[], string[]]>; + } + interface CollectionChain { + /** + * @see _.partition + */ + partition(callback: ValueIteratorTypeGuard): LoDashExplicitWrapper<[U[], Array>]>; + /** + * @see _.partition + */ + partition(callback: ValueIteratee): LoDashExplicitWrapper<[T[], T[]]>; + } + interface ObjectChain { + /** + * @see _.partition + */ + partition(callback: ValueIteratee): LoDashExplicitWrapper<[Array, Array]>; + } + interface LoDashStatic { + /** + * Reduces a collection to a value which is the accumulated result of running each + * element in the collection through the callback, where each successive callback execution + * consumes the return value of the previous execution. If accumulator is not provided the + * first element of the collection will be used as the initial accumulator value. The callback + * is invoked with four arguments: (accumulator, value, index|key, collection). + * @param collection The collection to iterate over. + * @param callback The function called per iteration. + * @param accumulator Initial value of the accumulator. + * @return Returns the accumulated value. + */ + reduce(collection: T[] | null | undefined, callback: MemoListIterator, accumulator: TResult): TResult; + /** + * @see _.reduce + */ + reduce(collection: List | null | undefined, callback: MemoListIterator>, accumulator: TResult): TResult; + /** + * @see _.reduce + */ + reduce(collection: T | null | undefined, callback: MemoObjectIterator, accumulator: TResult): TResult; + /** + * @see _.reduce + */ + reduce(collection: T[] | null | undefined, callback: MemoListIterator): T | undefined; + /** + * @see _.reduce + */ + reduce(collection: List | null | undefined, callback: MemoListIterator>): T | undefined; + /** + * @see _.reduce + */ + reduce(collection: T | null | undefined, callback: MemoObjectIterator): T[keyof T] | undefined; + } + interface Collection { + /** + * @see _.reduce + */ + reduce(callback: MemoListIterator>, accumulator: TResult): TResult; + /** + * @see _.reduce + */ + reduce(callback: MemoListIterator>): T | undefined; + } + interface Object { + /** + * @see _.reduce + */ + reduce(callback: MemoObjectIterator, accumulator: TResult): TResult; + /** + * @see _.reduce + */ + reduce(callback: MemoObjectIterator): T[keyof T] | undefined; + } + interface CollectionChain { + /** + * @see _.reduce + */ + reduce(callback: MemoListIterator>, accumulator: TResult): ExpChain; + /** + * @see _.reduce + */ + reduce(callback: MemoListIterator>): ExpChain; + } + interface ObjectChain { + /** + * @see _.reduce + */ + reduce(callback: MemoObjectIterator, accumulator: TResult): ExpChain; + /** + * @see _.reduce + */ + reduce(callback: MemoObjectIterator): ExpChain; + } + interface LoDashStatic { + /** + * This method is like _.reduce except that it iterates over elements of a collection from + * right to left. + * @param collection The collection to iterate over. + * @param callback The function called per iteration. + * @param accumulator Initial value of the accumulator. + * @return The accumulated value. + */ + reduceRight(collection: T[] | null | undefined, callback: MemoListIterator, accumulator: TResult): TResult; + /** + * @see _.reduceRight + */ + reduceRight(collection: List | null | undefined, callback: MemoListIterator>, accumulator: TResult): TResult; + /** + * @see _.reduceRight + */ + reduceRight(collection: T | null | undefined, callback: MemoObjectIterator, accumulator: TResult): TResult; + /** + * @see _.reduceRight + */ + reduceRight(collection: T[] | null | undefined, callback: MemoListIterator): T | undefined; + /** + * @see _.reduceRight + */ + reduceRight(collection: List | null | undefined, callback: MemoListIterator>): T | undefined; + /** + * @see _.reduceRight + */ + reduceRight(collection: T | null | undefined, callback: MemoObjectIterator): T[keyof T] | undefined; + } + interface Collection { + /** + * @see _.reduceRight + */ + reduceRight(callback: MemoListIterator>, accumulator: TResult): TResult; + /** + * @see _.reduceRight + */ + reduceRight(callback: MemoListIterator>): T | undefined; + } + interface Object { + /** + * @see _.reduceRight + */ + reduceRight(callback: MemoObjectIterator, accumulator: TResult): TResult; + /** + * @see _.reduceRight + */ + reduceRight(callback: MemoObjectIterator): T[keyof T] | undefined; + } + interface CollectionChain { + /** + * @see _.reduceRight + */ + reduceRight(callback: MemoListIterator>, accumulator: TResult): ExpChain; + /** + * @see _.reduceRight + */ + reduceRight(callback: MemoListIterator>): ExpChain; + } + interface ObjectChain { + /** + * @see _.reduceRight + */ + reduceRight(callback: MemoObjectIterator, accumulator: TResult): ExpChain; + /** + * @see _.reduceRight + */ + reduceRight(callback: MemoObjectIterator): ExpChain; + } + interface LoDashStatic { + /** + * The opposite of _.filter; this method returns the elements of collection that predicate does not return + * truthy for. + * + * @param collection The collection to iterate over. + * @param predicate The function invoked per iteration. + * @return Returns the new filtered array. + */ + reject(collection: string | null | undefined, predicate?: StringIterator): string[]; + /** + * @see _.reject + */ + reject(collection: List | null | undefined, predicate?: ListIterateeCustom): T[]; + /** + * @see _.reject + */ + reject(collection: T | null | undefined, predicate?: ObjectIterateeCustom): Array; + } + interface String { + /** + * @see _.reject + */ + reject(predicate?: StringIterator): Collection; + } + interface Collection { + /** + * @see _.reject + */ + reject(predicate?: ListIterateeCustom): Collection; + } + interface Object { + /** + * @see _.reject + */ + reject(predicate?: ObjectIterateeCustom): Collection; + } + interface StringChain { + /** + * @see _.reject + */ + reject(predicate?: StringIterator): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.reject + */ + reject(predicate?: StringIterator): CollectionChain; + } + interface CollectionChain { + /** + * @see _.reject + */ + reject(predicate?: ListIterateeCustom): CollectionChain; + } + interface ObjectChain { + /** + * @see _.reject + */ + reject(predicate?: ObjectIterateeCustom): CollectionChain; + } + interface LoDashStatic { + /** + * Gets a random element from collection. + * + * @param collection The collection to sample. + * @return Returns the random element. + */ + sample(collection: readonly [T, ...T[]]): T; + /** + * @see _.sample + */ + sample(collection: Dictionary | NumericDictionary | null | undefined): T | undefined; + /** + * @see _.sample + */ + sample(collection: T | null | undefined): T[keyof T] | undefined; + } + interface String { + /** + * @see _.sample + */ + sample(): string | undefined; + } + interface Collection { + /** + * @see _.sample + */ + sample(): T | undefined; + } + interface Object { + /** + * @see _.sample + */ + sample(): T[keyof T] | undefined; + } + interface StringChain { + /** + * @see _.sample + */ + sample(): StringNullableChain; + } + interface StringNullableChain { + /** + * @see _.sample + */ + sample(): StringNullableChain; + } + interface CollectionChain { + /** + * @see _.sample + */ + sample(): ExpChain; + } + interface ObjectChain { + /** + * @see _.sample + */ + sample(): ExpChain; + } + interface LoDashStatic { + /** + * Gets n random elements at unique keys from collection up to the size of collection. + * + * @param collection The collection to sample. + * @param n The number of elements to sample. + * @return Returns the random elements. + */ + sampleSize(collection: Dictionary | NumericDictionary | null | undefined, n?: number): T[]; + /** + * @see _.sampleSize + */ + sampleSize(collection: T | null | undefined, n?: number): Array; + } + interface String { + /** + * @see _.sampleSize + */ + sampleSize(n?: number): Collection; + } + interface Collection { + /** + * @see _.sampleSize + */ + sampleSize(n?: number): Collection; + } + interface Object { + /** + * @see _.sampleSize + */ + sampleSize(n?: number): Collection; + } + interface StringChain { + /** + * @see _.sampleSize + */ + sampleSize(n?: number): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.sampleSize + */ + sampleSize(n?: number): CollectionChain; + } + interface CollectionChain { + /** + * @see _.sampleSize + */ + sampleSize(n?: number): CollectionChain; + } + interface ObjectChain { + /** + * @see _.sampleSize + */ + sampleSize(n?: number): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an array of shuffled values, using a version of the Fisher-Yates shuffle. + * + * @param collection The collection to shuffle. + * @return Returns the new shuffled array. + */ + shuffle(collection: List | null | undefined): T[]; + /** + * @see _.shuffle + */ + shuffle(collection: T | null | undefined): Array; + } + interface String { + /** + * @see _.shuffle + */ + shuffle(): Collection; + } + interface Collection { + /** + * @see _.shuffle + */ + shuffle(): Collection; + } + interface Object { + /** + * @see _.shuffle + */ + shuffle(): Collection; + } + interface StringChain { + /** + * @see _.shuffle + */ + shuffle(): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.shuffle + */ + shuffle(): CollectionChain; + } + interface CollectionChain { + /** + * @see _.shuffle + */ + shuffle(): CollectionChain; + } + interface ObjectChain { + /** + * @see _.shuffle + */ + shuffle(): CollectionChain; + } + interface LoDashStatic { + /** + * Gets the size of collection by returning its length for array-like values or the number of own enumerable + * properties for objects. + * + * @param collection The collection to inspect. + * @return Returns the size of collection. + */ + size(collection: object | string | null | undefined): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.size + */ + size(): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.size + */ + size(): PrimitiveChain; + } + interface LoDashStatic { + /** + * Checks if predicate returns truthy for any element of collection. Iteration is stopped once predicate + * returns truthy. The predicate is invoked with three arguments: (value, index|key, collection). + * + * @param collection The collection to iterate over. + * @param predicate The function invoked per iteration. + * @return Returns true if any element passes the predicate check, else false. + */ + some(collection: List | null | undefined, predicate?: ListIterateeCustom): boolean; + /** + * @see _.some + */ + some(collection: T | null | undefined, predicate?: ObjectIterateeCustom): boolean; + } + interface Collection { + /** + * @see _.some + */ + some(predicate?: ListIterateeCustom): boolean; + } + interface Object { + /** + * @see _.some + */ + some(predicate?: ObjectIterateeCustom): boolean; + } + interface CollectionChain { + /** + * @see _.some + */ + some(predicate?: ListIterateeCustom): PrimitiveChain; + } + interface ObjectChain { + /** + * @see _.some + */ + some(predicate?: ObjectIterateeCustom): PrimitiveChain; + } + interface LoDashStatic { + /** + * Creates an array of elements, sorted in ascending order by the results of + * running each element in a collection through each iteratee. This method + * performs a stable sort, that is, it preserves the original sort order of + * equal elements. The iteratees are invoked with one argument: (value). + * + * @category Collection + * @param collection The collection to iterate over. + * @param [iteratees=[_.identity]] + * The iteratees to sort by, specified individually or in arrays. + * @returns Returns the new sorted array. + * @example + * + * var users = [ + * { 'user': 'fred', 'age': 48 }, + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 42 }, + * { 'user': 'barney', 'age': 34 } + * ]; + * + * _.sortBy(users, function(o) { return o.user; }); + * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] + * + * _.sortBy(users, ['user', 'age']); + * // => objects for [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]] + * + * _.sortBy(users, 'user', function(o) { + * return Math.floor(o.age / 10); + * }); + * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] + */ + sortBy(collection: List | null | undefined, ...iteratees: Array>>): T[]; + /** + * @see _.sortBy + */ + sortBy(collection: T | null | undefined, ...iteratees: Array>>): Array; + } + interface Collection { + /** + * @see _.sortBy + */ + sortBy(...iteratees: Array>>): Collection; + } + interface Object { + /** + * @see _.sortBy + */ + sortBy(...iteratees: Array>>): Collection; + } + interface CollectionChain { + /** + * @see _.sortBy + */ + sortBy(...iteratees: Array>>): CollectionChain; + } + interface ObjectChain { + /** + * @see _.sortBy + */ + sortBy(...iteratees: Array>>): CollectionChain; + } +} diff --git a/node_modules/@types/lodash/common/common.d.ts b/node_modules/@types/lodash/common/common.d.ts new file mode 100644 index 0000000..8c1e9ef --- /dev/null +++ b/node_modules/@types/lodash/common/common.d.ts @@ -0,0 +1,280 @@ +import _ = require("../index"); +// eslint-disable-next-line @definitelytyped/strict-export-declare-modifiers +type GlobalPartial = Partial; +declare module "../index" { + type Omit = Pick>; + type PartialObject = GlobalPartial; + type Many = T | readonly T[]; + type ImpChain = + T extends { __trapAny: any } ? Collection & Function & Object & Primitive & String : + T extends null | undefined ? never : + T extends string | null | undefined ? String : + T extends (...args: any) => any ? Function : + T extends List | null | undefined ? Collection : + T extends object | null | undefined ? Object : + Primitive; + type ExpChain = + T extends { __trapAny: any } ? CollectionChain & FunctionChain & ObjectChain & PrimitiveChain & StringChain : + T extends null | undefined ? never : + T extends string ? StringChain : + T extends string | null | undefined ? StringNullableChain : + T extends (...args: any) => any ? FunctionChain : + T extends List | null | undefined ? CollectionChain : + T extends object | null | undefined ? ObjectChain : + PrimitiveChain; + interface LoDashStatic { + /** + * Creates a lodash object which wraps value to enable implicit method chain sequences. + * Methods that operate on and return arrays, collections, and functions can be chained together. + * Methods that retrieve a single value or may return a primitive value will automatically end the + * chain sequence and return the unwrapped value. Otherwise, the value must be unwrapped with value(). + * + * Explicit chain sequences, which must be unwrapped with value(), may be enabled using _.chain. + * + * The execution of chained methods is lazy, that is, it's deferred until value() is + * implicitly or explicitly called. + * + * Lazy evaluation allows several methods to support shortcut fusion. Shortcut fusion + * is an optimization to merge iteratee calls; this avoids the creation of intermediate + * arrays and can greatly reduce the number of iteratee executions. Sections of a chain + * sequence qualify for shortcut fusion if the section is applied to an array and iteratees + * accept only one argument. The heuristic for whether a section qualifies for shortcut + * fusion is subject to change. + * + * Chaining is supported in custom builds as long as the value() method is directly or + * indirectly included in the build. + * + * In addition to lodash methods, wrappers have Array and String methods. + * The wrapper Array methods are: + * concat, join, pop, push, shift, sort, splice, and unshift. + * The wrapper String methods are: + * replace and split. + * + * The wrapper methods that support shortcut fusion are: + * at, compact, drop, dropRight, dropWhile, filter, find, findLast, head, initial, last, + * map, reject, reverse, slice, tail, take, takeRight, takeRightWhile, takeWhile, and toArray + * + * The chainable wrapper methods are: + * after, ary, assign, assignIn, assignInWith, assignWith, at, before, bind, bindAll, bindKey, + * castArray, chain, chunk, commit, compact, concat, conforms, constant, countBy, create, + * curry, debounce, defaults, defaultsDeep, defer, delay, difference, differenceBy, differenceWith, + * drop, dropRight, dropRightWhile, dropWhile, extend, extendWith, fill, filter, flatMap, + * flatMapDeep, flatMapDepth, flatten, flattenDeep, flattenDepth, flip, flow, flowRight, + * fromPairs, functions, functionsIn, groupBy, initial, intersection, intersectionBy, intersectionWith, + * invert, invertBy, invokeMap, iteratee, keyBy, keys, keysIn, map, mapKeys, mapValues, + * matches, matchesProperty, memoize, merge, mergeWith, method, methodOf, mixin, negate, + * nthArg, omit, omitBy, once, orderBy, over, overArgs, overEvery, overSome, partial, partialRight, + * partition, pick, pickBy, plant, property, propertyOf, pull, pullAll, pullAllBy, pullAllWith, pullAt, + * push, range, rangeRight, rearg, reject, remove, rest, reverse, sampleSize, set, setWith, + * shuffle, slice, sort, sortBy, sortedUniq, sortedUniqBy, splice, spread, tail, take, + * takeRight, takeRightWhile, takeWhile, tap, throttle, thru, toArray, toPairs, toPairsIn, + * toPath, toPlainObject, transform, unary, union, unionBy, unionWith, uniq, uniqBy, uniqWith, + * unset, unshift, unzip, unzipWith, update, updateWith, values, valuesIn, without, wrap, + * xor, xorBy, xorWith, zip, zipObject, zipObjectDeep, and zipWith. + * + * The wrapper methods that are not chainable by default are: + * add, attempt, camelCase, capitalize, ceil, clamp, clone, cloneDeep, cloneDeepWith, cloneWith, + * conformsTo, deburr, defaultTo, divide, each, eachRight, endsWith, eq, escape, escapeRegExp, + * every, find, findIndex, findKey, findLast, findLastIndex, findLastKey, first, floor, forEach, + * forEachRight, forIn, forInRight, forOwn, forOwnRight, get, gt, gte, has, hasIn, head, + * identity, includes, indexOf, inRange, invoke, isArguments, isArray, isArrayBuffer, + * isArrayLike, isArrayLikeObject, isBoolean, isBuffer, isDate, isElement, isEmpty, isEqual, isEqualWith, + * isError, isFinite, isFunction, isInteger, isLength, isMap, isMatch, isMatchWith, isNaN, + * isNative, isNil, isNull, isNumber, isObject, isObjectLike, isPlainObject, isRegExp, + * isSafeInteger, isSet, isString, isUndefined, isTypedArray, isWeakMap, isWeakSet, join, + * kebabCase, last, lastIndexOf, lowerCase, lowerFirst, lt, lte, max, maxBy, mean, meanBy, + * min, minBy, multiply, noConflict, noop, now, nth, pad, padEnd, padStart, parseInt, pop, + * random, reduce, reduceRight, repeat, result, round, runInContext, sample, shift, size, + * snakeCase, some, sortedIndex, sortedIndexBy, sortedLastIndex, sortedLastIndexBy, startCase, + * startsWith, stubArray, stubFalse, stubObject, stubString, stubTrue, subtract, sum, sumBy, + * template, times, toFinite, toInteger, toJSON, toLength, toLower, toNumber, toSafeInteger, + * toString, toUpper, trim, trimEnd, trimStart, truncate, unescape, uniqueId, upperCase, + * upperFirst, value, and words. + **/ + (value: TrapAny): Collection & Function & Object & Primitive & String; + (value: T): Primitive; + (value: string | null | undefined): String; + any>(value: T): Function; + (value: List | null | undefined): Collection; + (value: T | null | undefined): Object; + (value: T): Primitive; + /** + * The semantic version number. + **/ + VERSION: string; + /** + * By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby + * (ERB). Change the following template settings to use alternative delimiters. + **/ + templateSettings: TemplateSettings; + } + /** + * By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby + * (ERB). Change the following template settings to use alternative delimiters. + **/ + interface TemplateSettings { + /** + * The "escape" delimiter. + **/ + escape?: RegExp | undefined; + /** + * The "evaluate" delimiter. + **/ + evaluate?: RegExp | undefined; + /** + * An object to import into the template as local variables. + */ + imports?: Dictionary | undefined; + /** + * The "interpolate" delimiter. + */ + interpolate?: RegExp | undefined; + /** + * Used to reference the data object in the template text. + */ + variable?: string | undefined; + } + /** + * Creates a cache object to store key/value pairs. + */ + interface MapCache { + /** + * Removes `key` and its value from the cache. + * @param key The key of the value to remove. + * @return Returns `true` if the entry was removed successfully, else `false`. + */ + delete(key: any): boolean; + /** + * Gets the cached value for `key`. + * @param key The key of the value to get. + * @return Returns the cached value. + */ + get(key: any): any; + /** + * Checks if a cached value for `key` exists. + * @param key The key of the entry to check. + * @return Returns `true` if an entry for `key` exists, else `false`. + */ + has(key: any): boolean; + /** + * Sets `value` to `key` of the cache. + * @param key The key of the value to cache. + * @param value The value to cache. + * @return Returns the cache object. + */ + set(key: any, value: any): this; + /** + * Removes all key-value entries from the map. + */ + clear?: (() => void) | undefined; + } + interface MapCacheConstructor { + new (): MapCache; + } + interface Collection { + pop(): T | undefined; + push(...items: T[]): this; + shift(): T | undefined; + sort(compareFn?: (a: T, b: T) => number): this; + splice(start: number, deleteCount?: number, ...items: T[]): this; + unshift(...items: T[]): this; + } + interface CollectionChain { + pop(): ExpChain; + push(...items: T[]): this; + shift(): ExpChain; + sort(compareFn?: (a: T, b: T) => number): this; + splice(start: number, deleteCount?: number, ...items: T[]): this; + unshift(...items: T[]): this; + } + interface Function any> extends LoDashImplicitWrapper { + } + interface String extends LoDashImplicitWrapper { + } + interface Object extends LoDashImplicitWrapper { + } + interface Collection extends LoDashImplicitWrapper { + } + interface Primitive extends LoDashImplicitWrapper { + } + interface FunctionChain any> extends LoDashExplicitWrapper { + } + interface StringChain extends LoDashExplicitWrapper { + } + interface StringNullableChain extends LoDashExplicitWrapper { + } + interface ObjectChain extends LoDashExplicitWrapper { + } + interface CollectionChain extends LoDashExplicitWrapper { + } + interface PrimitiveChain extends LoDashExplicitWrapper { + } + type NotVoid = unknown; + type IterateeShorthand = PropertyName | [PropertyName, any] | PartialShallow; + type ArrayIterator = (value: T, index: number, collection: T[]) => TResult; + type ListIterator = (value: T, index: number, collection: List) => TResult; + type ListIteratee = ListIterator | IterateeShorthand; + type ListIterateeCustom = ListIterator | IterateeShorthand; + type ListIteratorTypeGuard = (value: T, index: number, collection: List) => value is S; + // Note: key should be string, not keyof T, because the actual object may contain extra properties that were not specified in the type. + type ObjectIterator = (value: TObject[keyof TObject], key: string, collection: TObject) => TResult; + type ObjectIteratee = ObjectIterator | IterateeShorthand; + type ObjectIterateeCustom = ObjectIterator | IterateeShorthand; + type ObjectIteratorTypeGuard = (value: TObject[keyof TObject], key: string, collection: TObject) => value is S; + type StringIterator = (char: string, index: number, string: string) => TResult; + /** @deprecated Use MemoVoidArrayIterator or MemoVoidDictionaryIterator instead. */ + type MemoVoidIterator = (prev: TResult, curr: T, indexOrKey: any, list: T[]) => void; + /** @deprecated Use MemoListIterator or MemoObjectIterator instead. */ + type MemoIterator = (prev: TResult, curr: T, indexOrKey: any, list: T[]) => TResult; + type MemoListIterator = (prev: TResult, curr: T, index: number, list: TList) => TResult; + type MemoObjectIterator = (prev: TResult, curr: T, key: string, list: TList) => TResult; + type MemoIteratorCapped = (prev: TResult, curr: T) => TResult; + type MemoIteratorCappedRight = (curr: T, prev: TResult) => TResult; + type MemoVoidArrayIterator = (acc: TResult, curr: T, index: number, arr: T[]) => void; + type MemoVoidDictionaryIterator = (acc: TResult, curr: T, key: K, dict: Record) => void; + type MemoVoidIteratorCapped = (acc: TResult, curr: T) => void; + type ValueIteratee = ((value: T) => NotVoid) | IterateeShorthand; + type ValueIterateeCustom = ((value: T) => TResult) | IterateeShorthand; + type ValueIteratorTypeGuard = (value: T) => value is S; + type ValueKeyIteratee = ((value: T, key: string) => NotVoid) | IterateeShorthand; + type ValueKeyIterateeTypeGuard = (value: T, key: string) => value is S; + type Comparator = (a: T, b: T) => boolean; + type Comparator2 = (a: T1, b: T2) => boolean; + type PropertyName = string | number | symbol; + type PropertyPath = Many; + /** Common interface between Arrays and jQuery objects */ + type List = ArrayLike; + interface Dictionary { + [index: string]: T; + } + interface NumericDictionary { + [index: number]: T; + } + // Crazy typedef needed get _.omit to work properly with Dictionary and NumericDictionary + type AnyKindOfDictionary = + | Dictionary + | NumericDictionary; + type PartialShallow = { + [P in keyof T]?: T[P] extends object ? object : T[P] + }; + // For backwards compatibility + type LoDashImplicitArrayWrapper = LoDashImplicitWrapper; + type LoDashImplicitNillableArrayWrapper = LoDashImplicitWrapper; + type LoDashImplicitObjectWrapper = LoDashImplicitWrapper; + type LoDashImplicitNillableObjectWrapper = LoDashImplicitWrapper; + type LoDashImplicitNumberArrayWrapper = LoDashImplicitWrapper; + type LoDashImplicitStringWrapper = LoDashImplicitWrapper; + type LoDashExplicitArrayWrapper = LoDashExplicitWrapper; + type LoDashExplicitNillableArrayWrapper = LoDashExplicitWrapper; + type LoDashExplicitObjectWrapper = LoDashExplicitWrapper; + type LoDashExplicitNillableObjectWrapper = LoDashExplicitWrapper; + type LoDashExplicitNumberArrayWrapper = LoDashExplicitWrapper; + type LoDashExplicitStringWrapper = LoDashExplicitWrapper; + type DictionaryIterator = ObjectIterator, TResult>; + type DictionaryIteratee = ObjectIteratee>; + type DictionaryIteratorTypeGuard = ObjectIteratorTypeGuard, S>; + // NOTE: keys of objects at run time are always strings, even when a NumericDictionary is being iterated. + type NumericDictionaryIterator = (value: T, key: string, collection: NumericDictionary) => TResult; + type NumericDictionaryIteratee = NumericDictionaryIterator | IterateeShorthand; + type NumericDictionaryIterateeCustom = NumericDictionaryIterator | IterateeShorthand; +} diff --git a/node_modules/@types/lodash/common/date.d.ts b/node_modules/@types/lodash/common/date.d.ts new file mode 100644 index 0000000..cc652ae --- /dev/null +++ b/node_modules/@types/lodash/common/date.d.ts @@ -0,0 +1,23 @@ +import _ = require("../index"); +declare module "../index" { + interface LoDashStatic { + /* + * Gets the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC). + * + * @return The number of milliseconds. + */ + now(): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.now + */ + now(): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.now + */ + now(): PrimitiveChain; + } +} diff --git a/node_modules/@types/lodash/common/function.d.ts b/node_modules/@types/lodash/common/function.d.ts new file mode 100644 index 0000000..7628278 --- /dev/null +++ b/node_modules/@types/lodash/common/function.d.ts @@ -0,0 +1,1446 @@ +import _ = require("../index"); +declare module "../index" { + interface LoDashStatic { + /** + * The opposite of _.before; this method creates a function that invokes func once it’s called n or more times. + * + * @param n The number of calls before func is invoked. + * @param func The function to restrict. + * @return Returns the new restricted function. + */ + after any>(n: number, func: TFunc): TFunc; + } + interface Primitive { + /** + * @see _.after + */ + after any>(func: TFunc): Function; + } + interface PrimitiveChain { + /** + * @see _.after + */ + after any>(func: TFunc): FunctionChain; + } + interface LoDashStatic { + /** + * Creates a function that accepts up to n arguments ignoring any additional arguments. + * + * @param func The function to cap arguments for. + * @param n The arity cap. + * @returns Returns the new function. + */ + ary(func: (...args: any[]) => any, n?: number): (...args: any[]) => any; + } + interface Function any> { + /** + * @see _.ary + */ + ary(n?: number): Function<(...args: any[]) => any>; + } + interface FunctionChain any> { + /** + * @see _.ary + */ + ary(n?: number): FunctionChain<(...args: any[]) => any>; + } + interface LoDashStatic { + /** + * Creates a function that invokes func, with the this binding and arguments of the created function, while + * it’s called less than n times. Subsequent calls to the created function return the result of the last func + * invocation. + * + * @param n The number of calls at which func is no longer invoked. + * @param func The function to restrict. + * @return Returns the new restricted function. + */ + before any>(n: number, func: TFunc): TFunc; + } + interface Primitive { + /** + * @see _.before + */ + before any>(func: TFunc): Function; + } + interface PrimitiveChain { + /** + * @see _.before + */ + before any>(func: TFunc): FunctionChain; + } + interface FunctionBind { + /** + * @see _.placeholder + */ + placeholder: __; + (func: (...args: any[]) => any, thisArg: any, ...partials: any[]): (...args: any[]) => any; + } + interface LoDashStatic { + /** + * Creates a function that invokes func with the this binding of thisArg and prepends any additional _.bind + * arguments to those provided to the bound function. + * + * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for + * partially applied arguments. + * + * Note: Unlike native Function#bind this method does not set the "length" property of bound functions. + * + * @param func The function to bind. + * @param thisArg The this binding of func. + * @param partials The arguments to be partially applied. + * @return Returns the new bound function. + */ + bind: FunctionBind; + } + interface LoDashImplicitWrapper { + /** + * @see _.bind + */ + bind(thisArg: any, ...partials: any[]): Function<(...args: any[]) => any>; + } + interface LoDashExplicitWrapper { + /** + * @see _.bind + */ + bind(thisArg: any, ...partials: any[]): FunctionChain<(...args: any[]) => any>; + } + interface FunctionBindKey { + placeholder: __; + (object: object, key: string, ...partials: any[]): (...args: any[]) => any; + } + interface LoDashStatic { + /** + * Creates a function that invokes the method at object[key] and prepends any additional _.bindKey arguments + * to those provided to the bound function. + * + * This method differs from _.bind by allowing bound functions to reference methods that may be redefined + * or don’t yet exist. See Peter Michaux’s article for more details. + * + * The _.bindKey.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder + * for partially applied arguments. + * + * @param object The object the method belongs to. + * @param key The key of the method. + * @param partials The arguments to be partially applied. + * @return Returns the new bound function. + */ + bindKey: FunctionBindKey; + } + interface LoDashImplicitWrapper { + /** + * @see _.bindKey + */ + bindKey(key: string, ...partials: any[]): Function<(...args: any[]) => any>; + } + interface LoDashExplicitWrapper { + /** + * @see _.bindKey + */ + bindKey(key: string, ...partials: any[]): FunctionChain<(...args: any[]) => any>; + } + interface Curry { + (func: (t1: T1) => R, arity?: number): CurriedFunction1; + (func: (t1: T1, t2: T2) => R, arity?: number): CurriedFunction2; + (func: (t1: T1, t2: T2, t3: T3) => R, arity?: number): CurriedFunction3; + (func: (t1: T1, t2: T2, t3: T3, t4: T4) => R, arity?: number): CurriedFunction4; + (func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R, arity?: number): CurriedFunction5; + (func: (...args: any[]) => any, arity?: number): (...args: any[]) => any; + placeholder: __; + } + interface LoDashStatic { + curry: Curry; + } + interface CurriedFunction1 { + (): CurriedFunction1; + (t1: T1): R; + } + interface CurriedFunction2 { + (): CurriedFunction2; + (t1: T1): CurriedFunction1; + (t1: __, t2: T2): CurriedFunction1; + (t1: T1, t2: T2): R; + } + interface CurriedFunction3 { + (): CurriedFunction3; + (t1: T1): CurriedFunction2; + (t1: __, t2: T2): CurriedFunction2; + (t1: T1, t2: T2): CurriedFunction1; + (t1: __, t2: __, t3: T3): CurriedFunction2; + (t1: T1, t2: __, t3: T3): CurriedFunction1; + (t1: __, t2: T2, t3: T3): CurriedFunction1; + (t1: T1, t2: T2, t3: T3): R; + } + interface CurriedFunction4 { + (): CurriedFunction4; + (t1: T1): CurriedFunction3; + (t1: __, t2: T2): CurriedFunction3; + (t1: T1, t2: T2): CurriedFunction2; + (t1: __, t2: __, t3: T3): CurriedFunction3; + (t1: __, t2: __, t3: T3): CurriedFunction2; + (t1: __, t2: T2, t3: T3): CurriedFunction2; + (t1: T1, t2: T2, t3: T3): CurriedFunction1; + (t1: __, t2: __, t3: __, t4: T4): CurriedFunction3; + (t1: T1, t2: __, t3: __, t4: T4): CurriedFunction2; + (t1: __, t2: T2, t3: __, t4: T4): CurriedFunction2; + (t1: __, t2: __, t3: T3, t4: T4): CurriedFunction2; + (t1: T1, t2: T2, t3: __, t4: T4): CurriedFunction1; + (t1: T1, t2: __, t3: T3, t4: T4): CurriedFunction1; + (t1: __, t2: T2, t3: T3, t4: T4): CurriedFunction1; + (t1: T1, t2: T2, t3: T3, t4: T4): R; + } + interface CurriedFunction5 { + (): CurriedFunction5; + (t1: T1): CurriedFunction4; + (t1: __, t2: T2): CurriedFunction4; + (t1: T1, t2: T2): CurriedFunction3; + (t1: __, t2: __, t3: T3): CurriedFunction4; + (t1: T1, t2: __, t3: T3): CurriedFunction3; + (t1: __, t2: T2, t3: T3): CurriedFunction3; + (t1: T1, t2: T2, t3: T3): CurriedFunction2; + (t1: __, t2: __, t3: __, t4: T4): CurriedFunction4; + (t1: T1, t2: __, t3: __, t4: T4): CurriedFunction3; + (t1: __, t2: T2, t3: __, t4: T4): CurriedFunction3; + (t1: __, t2: __, t3: T3, t4: T4): CurriedFunction3; + (t1: T1, t2: T2, t3: __, t4: T4): CurriedFunction2; + (t1: T1, t2: __, t3: T3, t4: T4): CurriedFunction2; + (t1: __, t2: T2, t3: T3, t4: T4): CurriedFunction2; + (t1: T1, t2: T2, t3: T3, t4: T4): CurriedFunction1; + (t1: __, t2: __, t3: __, t4: __, t5: T5): CurriedFunction4; + (t1: T1, t2: __, t3: __, t4: __, t5: T5): CurriedFunction3; + (t1: __, t2: T2, t3: __, t4: __, t5: T5): CurriedFunction3; + (t1: __, t2: __, t3: T3, t4: __, t5: T5): CurriedFunction3; + (t1: __, t2: __, t3: __, t4: T4, t5: T5): CurriedFunction3; + (t1: T1, t2: T2, t3: __, t4: __, t5: T5): CurriedFunction2; + (t1: T1, t2: __, t3: T3, t4: __, t5: T5): CurriedFunction2; + (t1: T1, t2: __, t3: __, t4: T4, t5: T5): CurriedFunction2; + (t1: __, t2: T2, t3: T3, t4: __, t5: T5): CurriedFunction2; + (t1: __, t2: T2, t3: __, t4: T4, t5: T5): CurriedFunction2; + (t1: __, t2: __, t3: T3, t4: T4, t5: T5): CurriedFunction2; + (t1: T1, t2: T2, t3: T3, t4: __, t5: T5): CurriedFunction1; + (t1: T1, t2: T2, t3: __, t4: T4, t5: T5): CurriedFunction1; + (t1: T1, t2: __, t3: T3, t4: T4, t5: T5): CurriedFunction1; + (t1: __, t2: T2, t3: T3, t4: T4, t5: T5): CurriedFunction1; + (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): R; + } + interface RightCurriedFunction1 { + (): RightCurriedFunction1; + (t1: T1): R; + } + interface RightCurriedFunction2 { + (): RightCurriedFunction2; + (t2: T2): RightCurriedFunction1; + (t1: T1, t2: __): RightCurriedFunction1; + (t1: T1, t2: T2): R; + } + interface RightCurriedFunction3 { + (): RightCurriedFunction3; + (t3: T3): RightCurriedFunction2; + (t2: T2, t3: __): RightCurriedFunction2; + (t2: T2, t3: T3): RightCurriedFunction1; + (t1: T1, t2: __, t3: __): RightCurriedFunction2; + (t1: T1, t2: T2, t3: __): RightCurriedFunction1; + (t1: T1, t2: __, t3: T3): RightCurriedFunction1; + (t1: T1, t2: T2, t3: T3): R; + } + interface RightCurriedFunction4 { + (): RightCurriedFunction4; + (t4: T4): RightCurriedFunction3; + (t3: T3, t4: __): RightCurriedFunction3; + (t3: T3, t4: T4): RightCurriedFunction2; + (t2: T2, t3: __, t4: __): RightCurriedFunction3; + (t2: T2, t3: T3, t4: __): RightCurriedFunction2; + (t2: T2, t3: __, t4: T4): RightCurriedFunction2; + (t2: T2, t3: T3, t4: T4): RightCurriedFunction1; + (t1: T1, t2: __, t3: __, t4: __): RightCurriedFunction3; + (t1: T1, t2: T2, t3: __, t4: __): RightCurriedFunction2; + (t1: T1, t2: __, t3: T3, t4: __): RightCurriedFunction2; + (t1: T1, t2: __, t3: __, t4: T4): RightCurriedFunction2; + (t1: T1, t2: T2, t3: T3, t4: __): RightCurriedFunction1; + (t1: T1, t2: T2, t3: __, t4: T4): RightCurriedFunction1; + (t1: T1, t2: __, t3: T3, t4: T4): RightCurriedFunction1; + (t1: T1, t2: T2, t3: T3, t4: T4): R; + } + interface RightCurriedFunction5 { + (): RightCurriedFunction5; + (t5: T5): RightCurriedFunction4; + (t4: T4, t5: __): RightCurriedFunction4; + (t4: T4, t5: T5): RightCurriedFunction3; + (t3: T3, t4: __, t5: __): RightCurriedFunction4; + (t3: T3, t4: T4, t5: __): RightCurriedFunction3; + (t3: T3, t4: __, t5: T5): RightCurriedFunction3; + (t3: T3, t4: T4, t5: T5): RightCurriedFunction2; + (t2: T2, t3: __, t4: __, t5: __): RightCurriedFunction4; + (t2: T2, t3: T3, t4: __, t5: __): RightCurriedFunction3; + (t2: T2, t3: __, t4: T4, t5: __): RightCurriedFunction3; + (t2: T2, t3: __, t4: __, t5: T5): RightCurriedFunction3; + (t2: T2, t3: T3, t4: T4, t5: __): RightCurriedFunction2; + (t2: T2, t3: T3, t4: __, t5: T5): RightCurriedFunction2; + (t2: T2, t3: __, t4: T4, t5: T5): RightCurriedFunction2; + (t2: T2, t3: T3, t4: T4, t5: T5): RightCurriedFunction1; + (t1: T1, t2: __, t3: __, t4: __, t5: __): RightCurriedFunction4; + (t1: T1, t2: T2, t3: __, t4: __, t5: __): RightCurriedFunction3; + (t1: T1, t2: __, t3: T3, t4: __, t5: __): RightCurriedFunction3; + (t1: T1, t2: __, t3: __, t4: T4, t5: __): RightCurriedFunction3; + (t1: T1, t2: __, t3: __, t4: __, t5: T5): RightCurriedFunction3; + (t1: T1, t2: T2, t3: T3, t4: __, t5: __): RightCurriedFunction2; + (t1: T1, t2: T2, t3: __, t4: T4, t5: __): RightCurriedFunction2; + (t1: T1, t2: T2, t3: __, t4: __, t5: T5): RightCurriedFunction2; + (t1: T1, t2: __, t3: T3, t4: T4, t5: __): RightCurriedFunction2; + (t1: T1, t2: __, t3: T3, t4: __, t5: T5): RightCurriedFunction2; + (t1: T1, t2: __, t3: __, t4: T4, t5: T5): RightCurriedFunction2; + (t1: T1, t2: T2, t3: T3, t4: T4, t5: __): RightCurriedFunction1; + (t1: T1, t2: T2, t3: T3, t4: __, t5: T5): RightCurriedFunction1; + (t1: T1, t2: T2, t3: __, t4: T4, t5: T5): RightCurriedFunction1; + (t1: T1, t2: __, t3: T3, t4: T4, t5: T5): RightCurriedFunction1; + (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): R; + } + interface Function any> { + /** + * @see _.curry + */ + curry(arity?: number): + T extends (arg1: infer T1) => infer R ? Function> : + T extends (arg1: infer T1, arg2: infer T2) => infer R ? Function> : + T extends (arg1: infer T1, arg2: infer T2, arg3: infer T3) => infer R ? Function> : + T extends (arg1: infer T1, arg2: infer T2, arg3: infer T3, arg4: infer T4) => infer R ? Function> : + T extends (arg1: infer T1, arg2: infer T2, arg3: infer T3, arg4: infer T4, arg5: infer T5) => infer R ? Function> : + Function<(...args: any[]) => any>; + } + interface FunctionChain any> { + /** + * @see _.curry + */ + curry(arity?: number): + T extends (arg1: infer T1) => infer R ? FunctionChain> : + T extends (arg1: infer T1, arg2: infer T2) => infer R ? FunctionChain> : + T extends (arg1: infer T1, arg2: infer T2, arg3: infer T3) => infer R ? FunctionChain> : + T extends (arg1: infer T1, arg2: infer T2, arg3: infer T3, arg4: infer T4) => infer R ? FunctionChain> : + T extends (arg1: infer T1, arg2: infer T2, arg3: infer T3, arg4: infer T4, arg5: infer T5) => infer R ? FunctionChain> : + FunctionChain<(...args: any[]) => any>; + } + interface CurryRight { + (func: (t1: T1) => R, arity?: number): RightCurriedFunction1; + (func: (t1: T1, t2: T2) => R, arity?: number): RightCurriedFunction2; + (func: (t1: T1, t2: T2, t3: T3) => R, arity?: number): RightCurriedFunction3; + (func: (t1: T1, t2: T2, t3: T3, t4: T4) => R, arity?: number): RightCurriedFunction4; + (func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R, arity?: number): RightCurriedFunction5; + (func: (...args: any[]) => any, arity?: number): (...args: any[]) => any; + placeholder: __; + } + interface LoDashStatic { + curryRight: CurryRight; + } + interface Function any> { + /** + * @see _.curryRight + */ + curryRight(arity?: number): + T extends (arg1: infer T1) => infer R ? Function> : + T extends (arg1: infer T1, arg2: infer T2) => infer R ? Function> : + T extends (arg1: infer T1, arg2: infer T2, arg3: infer T3) => infer R ? Function> : + T extends (arg1: infer T1, arg2: infer T2, arg3: infer T3, arg4: infer T4) => infer R ? Function> : + T extends (arg1: infer T1, arg2: infer T2, arg3: infer T3, arg4: infer T4, arg5: infer T5) => infer R ? Function> : + Function<(...args: any[]) => any>; + } + interface FunctionChain any> { + /** + * @see _.curryRight + */ + curryRight(arity?: number): + T extends (arg1: infer T1) => infer R ? FunctionChain> : + T extends (arg1: infer T1, arg2: infer T2) => infer R ? FunctionChain> : + T extends (arg1: infer T1, arg2: infer T2, arg3: infer T3) => infer R ? FunctionChain> : + T extends (arg1: infer T1, arg2: infer T2, arg3: infer T3, arg4: infer T4) => infer R ? FunctionChain> : + T extends (arg1: infer T1, arg2: infer T2, arg3: infer T3, arg4: infer T4, arg5: infer T5) => infer R ? FunctionChain> : + FunctionChain<(...args: any[]) => any>; + } + interface DebounceSettings { + /** + * @see _.leading + */ + leading?: boolean | undefined; + /** + * @see _.maxWait + */ + maxWait?: number | undefined; + /** + * @see _.trailing + */ + trailing?: boolean | undefined; + } + interface DebounceSettingsLeading extends DebounceSettings { + leading: true; + } + interface DebouncedFunc any> { + /** + * Call the original function, but applying the debounce rules. + * + * If the debounced function can be run immediately, this calls it and returns its return + * value. + * + * Otherwise, it returns the return value of the last invocation, or undefined if the debounced + * function was not invoked yet. + */ + (...args: Parameters): ReturnType | undefined; + + /** + * Throw away any pending invocation of the debounced function. + */ + cancel(): void; + + /** + * If there is a pending invocation of the debounced function, invoke it immediately and return + * its return value. + * + * Otherwise, return the value from the last invocation, or undefined if the debounced function + * was never invoked. + */ + flush(): ReturnType | undefined; + } + interface DebouncedFuncLeading any> extends DebouncedFunc { + (...args: Parameters): ReturnType; + flush(): ReturnType; + } + interface LoDashStatic { + /** + * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since + * the last time the debounced function was invoked. The debounced function comes with a cancel method to + * cancel delayed invocations and a flush method to immediately invoke them. Provide an options object to + * indicate that func should be invoked on the leading and/or trailing edge of the wait timeout. Subsequent + * calls to the debounced function return the result of the last func invocation. + * + * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only + * if the the debounced function is invoked more than once during the wait timeout. + * + * See David Corbacho’s article for details over the differences between _.debounce and _.throttle. + * + * @param func The function to debounce. + * @param wait The number of milliseconds to delay. + * @param options The options object. + * @param options.leading Specify invoking on the leading edge of the timeout. + * @param options.maxWait The maximum time func is allowed to be delayed before it’s invoked. + * @param options.trailing Specify invoking on the trailing edge of the timeout. + * @return Returns the new debounced function. + */ + debounce any>(func: T, wait: number | undefined, options: DebounceSettingsLeading): DebouncedFuncLeading; + debounce any>(func: T, wait?: number, options?: DebounceSettings): DebouncedFunc; + } + interface Function any> { + /** + * @see _.debounce + */ + debounce( + wait: number | undefined, + options: DebounceSettingsLeading + ): T extends (...args: any[]) => any ? Function> : never; + debounce( + wait?: number, + options?: DebounceSettings + ): T extends (...args: any[]) => any ? Function> : never; + } + interface FunctionChain any> { + /** + * @see _.debounce + */ + debounce( + wait: number | undefined, + options: DebounceSettingsLeading + ): T extends (...args: any[]) => any ? FunctionChain> : never; + debounce( + wait?: number, + options?: DebounceSettings + ): T extends (...args: any[]) => any ? FunctionChain> : never; + } + interface LoDashStatic { + /** + * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to + * func when it’s invoked. + * + * @param func The function to defer. + * @param args The arguments to invoke the function with. + * @return Returns the timer id. + */ + defer(func: (...args: any[]) => any, ...args: any[]): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.defer + */ + defer(...args: any[]): Primitive; + } + interface LoDashExplicitWrapper { + /** + * @see _.defer + */ + defer(...args: any[]): PrimitiveChain; + } + interface LoDashStatic { + /** + * Invokes func after wait milliseconds. Any additional arguments are provided to func when it’s invoked. + * + * @param func The function to delay. + * @param wait The number of milliseconds to delay invocation. + * @param args The arguments to invoke the function with. + * @return Returns the timer id. + */ + delay(func: (...args: any[]) => any, wait: number, ...args: any[]): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.delay + */ + delay(wait: number, ...args: any[]): Primitive; + } + interface LoDashExplicitWrapper { + /** + * @see _.delay + */ + delay(wait: number, ...args: any[]): PrimitiveChain; + } + interface LoDashStatic { + /** + * Creates a function that invokes `func` with arguments reversed. + * + * @category Function + * @param func The function to flip arguments for. + * @returns Returns the new function. + * @example + * + * var flipped = _.flip(function() { + * return _.toArray(arguments); + * }); + * + * flipped('a', 'b', 'c', 'd'); + * // => ['d', 'c', 'b', 'a'] + */ + flip any>(func: T): T; + } + interface Function any> { + /** + * @see _.flip + */ + flip(): this; + } + interface FunctionChain any> { + /** + * @see _.flip + */ + flip(): this; + } + interface MemoizedFunction { + /** + * @see _.cache + */ + cache: MapCache; + } + interface LoDashStatic { + /** + * Creates a function that memoizes the result of func. If resolver is provided it determines the cache key for + * storing the result based on the arguments provided to the memoized function. By default, the first argument + * provided to the memoized function is coerced to a string and used as the cache key. The func is invoked with + * the this binding of the memoized function. + * + * @param func The function to have its output memoized. + * @param resolver The function to resolve the cache key. + * @return Returns the new memoizing function. + */ + memoize: { + any>(func: T, resolver?: (...args: Parameters) => any): T & MemoizedFunction; + Cache: MapCacheConstructor; + }; + } + interface Function any> { + /** + * @see _.memoize + */ + memoize(resolver?: (...args: any[]) => any): Function; + } + interface FunctionChain any> { + /** + * @see _.memoize + */ + memoize(resolver?: (...args: any[]) => any): FunctionChain; + } + interface LoDashStatic { + /** + * Creates a function that negates the result of the predicate func. The func predicate is invoked with + * the this binding and arguments of the created function. + * + * @param predicate The predicate to negate. + * @return Returns the new function. + */ + negate(predicate: (...args: T) => boolean): (...args: T) => boolean; + } + interface Function any> { + /** + * @see _.negate + */ + negate(): Function<(...args: Parameters) => boolean>; + } + interface FunctionChain any> { + /** + * @see _.negate + */ + negate(): FunctionChain<(...args: Parameters) => boolean>; + } + interface LoDashStatic { + /** + * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value + * of the first call. The func is invoked with the this binding and arguments of the created function. + * + * @param func The function to restrict. + * @return Returns the new restricted function. + */ + once any>(func: T): T; + } + interface Function any> { + /** + * @see _.once + */ + once(): Function; + } + interface FunctionChain any> { + /** + * @see _.once + */ + once(): FunctionChain; + } + interface LoDashStatic { + /** + * Creates a function that runs each argument through a corresponding transform function. + * + * @param func The function to wrap. + * @param transforms The functions to transform arguments, specified as individual functions or arrays + * of functions. + * @return Returns the new function. + */ + overArgs(func: (...args: any[]) => any, ...transforms: Array any>>): (...args: any[]) => any; + } + interface Function any> { + /** + * @see _.overArgs + */ + overArgs(...transforms: Array any>>): Function<(...args: any[]) => any>; + } + interface FunctionChain any> { + /** + * @see _.overArgs + */ + overArgs(...transforms: Array any>>): FunctionChain<(...args: any[]) => any>; + } + interface LoDashStatic { + /** + * Creates a function that, when called, invokes func with any additional partial arguments + * prepended to those provided to the new function. This method is similar to _.bind except + * it does not alter the this binding. + * @param func The function to partially apply arguments to. + * @param args Arguments to be partially applied. + * @return The new partially applied function. + */ + partial: Partial; + } + type __ = LoDashStatic; + type Function0 = () => R; + type Function1 = (t1: T1) => R; + type Function2 = (t1: T1, t2: T2) => R; + type Function3 = (t1: T1, t2: T2, t3: T3) => R; + type Function4 = (t1: T1, t2: T2, t3: T3, t4: T4) => R; + interface Partial { + (func: Function2, plc1: __, arg2: T2): Function1; + (func: Function3, plc1: __, arg2: T2): Function2; + (func: Function3, plc1: __, plc2: __, arg3: T3): Function2; + (func: Function3, arg1: T1, plc2: __, arg3: T3): Function1; + (func: Function3, plc1: __, arg2: T2, arg3: T3): Function1; + (func: Function4, plc1: __, arg2: T2): Function3; + (func: Function4, plc1: __, plc2: __, arg3: T3): Function3; + (func: Function4, arg1: T1, plc2: __, arg3: T3): Function2; + (func: Function4, plc1: __, arg2: T2, arg3: T3): Function2; + (func: Function4, arg1: T1, arg2: T2, arg3: T3): Function1; + (func: Function4, plc1: __, plc2: __, plc3: __, arg4: T4): Function3; + (func: Function4, arg1: T1, plc2: __, plc3: __, arg4: T4): Function2; + (func: Function4, plc1: __, arg2: T2, plc3: __, arg4: T4): Function2; + (func: Function4, arg1: T1, arg2: T2, plc3: __, arg4: T4): Function1; + (func: Function4, plc1: __, plc2: __, arg3: T3, arg4: T4): Function2; + (func: Function4, arg1: T1, plc2: __, arg3: T3, arg4: T4): Function1; + (func: Function4, plc1: __, arg2: T2, arg3: T3, arg4: T4): Function1; + (func: (...ts: TS) => R): (...ts: TS) => R; + (func: (t1: T1, ...ts: TS) => R, arg1: T1): (...ts: TS) => R; + (func: (t1: T1, t2: T2, ...ts: TS) => R, t1: T1, t2: T2): (...ts: TS) => R; + (func: (t1: T1, t2: T2, t3: T3, ...ts: TS) => R, t1: T1, t2: T2, t3: T3): (...ts: TS) => R; + (func: (t1: T1, t2: T2, t3: T3, t4: T4, ...ts: TS) => R, t1: T1, t2: T2, t3: T3, t4: T4): (...ts: TS) => R; + placeholder: __; + } + interface Function any> { + /** + * @see _.partial + */ + partial(plc1: __, arg2: T2): Function< + T extends Function2 ? Function1 : + T extends Function3 ? Function2 : + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partial + */ + partial(plc1: __, plc2: __, arg3: T3): Function< + T extends Function3 ? Function2 : + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, plc2: __, arg3: T3): Function< + T extends Function3 ? Function1 : + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partial + */ + partial(plc1: __, arg2: T2, arg3: T3): Function< + T extends Function3 ? Function1 : + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partial + */ + partial(plc1: __, plc2: __, arg3: T3): Function< + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, plc2: __, plc3: __, arg4: T4): Function< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partial + */ + partial(plc1: __, arg2: T2, plc3: __, arg4: T4): Function< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, arg2: T2, plc3: __, arg4: T4): Function< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partial + */ + partial(plc1: __, plc2: __, arg3: T3, arg4: T4): Function< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, plc2: __, arg3: T3, arg4: T4): Function< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partial + */ + partial(plc1: __, arg2: T2, arg3: T3, arg4: T4): Function< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, arg2: T2, arg3: T3, arg4: T4): Function< + T extends (t1: T1, t2: T2, t3: T3, t4: T4, ...ts: infer TS) => infer R ? (...ts: TS) => R : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, arg2: T2, arg3: T3): Function< + T extends (t1: T1, t2: T2, t3: T3, ...ts: infer TS) => infer R ? (...ts: TS) => R : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, arg2: T2): Function< + T extends (t1: T1, t2: T2, ...ts: infer TS) => infer R ? (...ts: TS) => R : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1): Function< + T extends (t1: T1, ...ts: infer TS) => infer R ? (...ts: TS) => R : + any + >; + /** + * @see _.partial + */ + partial(): Function any ? T : any>; + } + interface FunctionChain any> { + /** + * @see _.partial + */ + partial(plc1: __, arg2: T2): FunctionChain< + T extends Function2 ? Function1 : + T extends Function3 ? Function2 : + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partial + */ + partial(plc1: __, plc2: __, arg3: T3): FunctionChain< + T extends Function3 ? Function2 : + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, plc2: __, arg3: T3): FunctionChain< + T extends Function3 ? Function1 : + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partial + */ + partial(plc1: __, arg2: T2, arg3: T3): FunctionChain< + T extends Function3 ? Function1 : + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partial + */ + partial(plc1: __, plc2: __, arg3: T3): FunctionChain< + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, plc2: __, plc3: __, arg4: T4): FunctionChain< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partial + */ + partial(plc1: __, arg2: T2, plc3: __, arg4: T4): FunctionChain< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, arg2: T2, plc3: __, arg4: T4): FunctionChain< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partial + */ + partial(plc1: __, plc2: __, arg3: T3, arg4: T4): FunctionChain< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, plc2: __, arg3: T3, arg4: T4): FunctionChain< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partial + */ + partial(plc1: __, arg2: T2, arg3: T3, arg4: T4): FunctionChain< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, arg2: T2, arg3: T3, arg4: T4): FunctionChain< + T extends (t1: T1, t2: T2, t3: T3, t4: T4, ...ts: infer TS) => infer R ? (...ts: TS) => R : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, arg2: T2, arg3: T3): FunctionChain< + T extends (t1: T1, t2: T2, t3: T3, ...ts: infer TS) => infer R ? (...ts: TS) => R : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1, arg2: T2): FunctionChain< + T extends (t1: T1, t2: T2, ...ts: infer TS) => infer R ? (...ts: TS) => R : + any + >; + /** + * @see _.partial + */ + partial(arg1: T1): FunctionChain< + T extends (t1: T1, ...ts: infer TS) => infer R ? (...ts: TS) => R : + any + >; + /** + * @see _.partial + */ + partial(): FunctionChain any ? T : any>; + } + interface LoDashStatic { + /** + * This method is like _.partial except that partial arguments are appended to those provided + * to the new function. + * @param func The function to partially apply arguments to. + * @param args Arguments to be partially applied. + * @return The new partially applied function. + */ + partialRight: PartialRight; + } + interface PartialRight { + (func: Function0): Function0; + (func: Function1): Function1; + (func: Function1, arg1: T1): Function0; + (func: Function2): Function2; + (func: Function2, arg1: T1, plc2: __): Function1; + (func: Function2, arg2: T2): Function1; + (func: Function2, arg1: T1, arg2: T2): Function0; + (func: Function3): Function3; + (func: Function3, arg1: T1, plc2: __, plc3: __): Function2; + (func: Function3, arg2: T2, plc3: __): Function2; + (func: Function3, arg1: T1, arg2: T2, plc3: __): Function1; + (func: Function3, arg3: T3): Function2; + (func: Function3, arg1: T1, plc2: __, arg3: T3): Function1; + (func: Function3, arg2: T2, arg3: T3): Function1; + (func: Function3, arg1: T1, arg2: T2, arg3: T3): Function0; + (func: Function4): Function4; + (func: Function4, arg1: T1, plc2: __, plc3: __, plc4: __): Function3; + (func: Function4, arg2: T2, plc3: __, plc4: __): Function3; + (func: Function4, arg1: T1, arg2: T2, plc3: __, plc4: __): Function2; + (func: Function4, arg3: T3, plc4: __): Function3; + (func: Function4, arg1: T1, plc2: __, arg3: T3, plc4: __): Function2; + (func: Function4, arg2: T2, arg3: T3, plc4: __): Function2; + (func: Function4, arg1: T1, arg2: T2, arg3: T3, plc4: __): Function1; + (func: Function4, arg4: T4): Function3; + (func: Function4, arg1: T1, plc2: __, plc3: __, arg4: T4): Function2; + (func: Function4, arg2: T2, plc3: __, arg4: T4): Function2; + (func: Function4, arg1: T1, arg2: T2, plc3: __, arg4: T4): Function1; + (func: Function4, arg3: T3, arg4: T4): Function2; + (func: Function4, arg1: T1, plc2: __, arg3: T3, arg4: T4): Function1; + (func: Function4, arg2: T2, arg3: T3, arg4: T4): Function1; + (func: Function4, arg1: T1, arg2: T2, arg3: T3, arg4: T4): Function0; + (func: (...args: any[]) => any, ...args: any[]): (...args: any[]) => any; + placeholder: __; + } + interface Function any> { + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __): Function< + T extends Function2 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2): Function< + T extends Function2 ? Function1 : any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __, plc3: __): Function< + T extends Function3 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2, plc3: __): Function< + T extends Function3 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, arg2: T2, plc3: __): Function< + T extends Function3 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg3: T3): Function< + T extends Function3 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __, arg3: T3): Function< + T extends Function3 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2, arg3: T3): Function< + T extends Function3 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __, plc3: __, plc4: __): Function< + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2, plc3: __, plc4: __): Function< + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, arg2: T2, plc3: __, plc4: __): Function< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg3: T3, plc4: __): Function< + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __, arg3: T3, plc4: __): Function< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2, arg3: T3, plc4: __): Function< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, arg2: T2, arg3: T3, plc4: __): Function< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg4: T4): Function< + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __, plc3: __, arg4: T4): Function< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2, plc3: __, arg4: T4): Function< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, arg2: T2, plc3: __, arg4: T4): Function< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg3: T3, arg4: T4): Function< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __, arg3: T3, arg4: T4): Function< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2, arg3: T3, arg4: T4): Function< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(...ts: TS): Function infer R ? () => R : any>; + /** + * @see _.partialRight + */ + partialRight(): Function any ? T : any>; + } + interface FunctionChain any> { + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __): FunctionChain< + T extends Function2 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2): FunctionChain< + T extends Function2 ? Function1 : any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __, plc3: __): FunctionChain< + T extends Function3 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2, plc3: __): FunctionChain< + T extends Function3 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, arg2: T2, plc3: __): FunctionChain< + T extends Function3 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg3: T3): FunctionChain< + T extends Function3 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __, arg3: T3): FunctionChain< + T extends Function3 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2, arg3: T3): FunctionChain< + T extends Function3 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __, plc3: __, plc4: __): FunctionChain< + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2, plc3: __, plc4: __): FunctionChain< + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, arg2: T2, plc3: __, plc4: __): FunctionChain< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg3: T3, plc4: __): FunctionChain< + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __, arg3: T3, plc4: __): FunctionChain< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2, arg3: T3, plc4: __): FunctionChain< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, arg2: T2, arg3: T3, plc4: __): FunctionChain< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg4: T4): FunctionChain< + T extends Function4 ? Function3 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __, plc3: __, arg4: T4): FunctionChain< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2, plc3: __, arg4: T4): FunctionChain< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, arg2: T2, plc3: __, arg4: T4): FunctionChain< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg3: T3, arg4: T4): FunctionChain< + T extends Function4 ? Function2 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg1: T1, plc2: __, arg3: T3, arg4: T4): FunctionChain< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(arg2: T2, arg3: T3, arg4: T4): FunctionChain< + T extends Function4 ? Function1 : + any + >; + /** + * @see _.partialRight + */ + partialRight(...ts: TS): FunctionChain infer R ? () => R : any>; + /** + * @see _.partialRight + */ + partialRight(): FunctionChain any ? T : any>; + } + interface LoDashStatic { + /** + * Creates a function that invokes func with arguments arranged according to the specified indexes where the + * argument value at the first index is provided as the first argument, the argument value at the second index + * is provided as the second argument, and so on. + * @param func The function to rearrange arguments for. + * @param indexes The arranged argument indexes, specified as individual indexes or arrays of indexes. + * @return Returns the new function. + */ + rearg(func: (...args: any[]) => any, ...indexes: Array>): (...args: any[]) => any; + } + interface Function any> { + /** + * @see _.rearg + */ + rearg(...indexes: Array>): Function<(...args: any[]) => any>; + } + interface FunctionChain any> { + /** + * @see _.rearg + */ + rearg(...indexes: Array>): FunctionChain<(...args: any[]) => any>; + } + interface LoDashStatic { + /** + * Creates a function that invokes func with the this binding of the created function and arguments from start + * and beyond provided as an array. + * + * Note: This method is based on the rest parameter. + * + * @param func The function to apply a rest parameter to. + * @param start The start position of the rest parameter. + * @return Returns the new function. + */ + rest(func: (...args: any[]) => any, start?: number): (...args: any[]) => any; + } + interface Function any> { + /** + * @see _.rest + */ + rest(start?: number): Function<(...args: any[]) => any>; + } + interface FunctionChain any> { + /** + * @see _.rest + */ + rest(start?: number): FunctionChain<(...args: any[]) => any>; + } + interface LoDashStatic { + /** + * Creates a function that invokes func with the this binding of the created function and an array of arguments + * much like Function#apply. + * + * Note: This method is based on the spread operator. + * + * @param func The function to spread arguments over. + * @return Returns the new function. + */ + spread(func: (...args: any[]) => TResult, start?: number): (...args: any[]) => TResult; + } + interface Function any> { + /** + * @see _.spread + */ + spread(start?: number): Function<(...args: any[]) => ReturnType>; + } + interface FunctionChain any> { + /** + * @see _.spread + */ + spread(start?: number): FunctionChain<(...args: any[]) => ReturnType>; + } + interface ThrottleSettings { + /** + * @see _.leading + */ + leading?: boolean | undefined; + /** + * @see _.trailing + */ + trailing?: boolean | undefined; + } + interface LoDashStatic { + /** + * Creates a throttled function that only invokes func at most once per every wait milliseconds. The throttled + * function comes with a cancel method to cancel delayed invocations and a flush method to immediately invoke + * them. Provide an options object to indicate that func should be invoked on the leading and/or trailing edge + * of the wait timeout. Subsequent calls to the throttled function return the result of the last func call. + * + * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if + * the the throttled function is invoked more than once during the wait timeout. + * + * @param func The function to throttle. + * @param wait The number of milliseconds to throttle invocations to. + * @param options The options object. + * @param options.leading Specify invoking on the leading edge of the timeout. + * @param options.trailing Specify invoking on the trailing edge of the timeout. + * @return Returns the new throttled function. + */ + throttle any>(func: T, wait?: number, options?: ThrottleSettings): DebouncedFunc; + } + interface Function any> { + /** + * @see _.throttle + */ + throttle( + wait?: number, + options?: ThrottleSettings + ): T extends (...args: any[]) => any ? Function> : never; + } + interface FunctionChain any> { + /** + * @see _.throttle + */ + throttle( + wait?: number, + options?: ThrottleSettings + ): T extends (...args: any[]) => any ? FunctionChain> : never; + } + interface LoDashStatic { + /** + * Creates a function that accepts up to one argument, ignoring any + * additional arguments. + * + * @category Function + * @param func The function to cap arguments for. + * @returns Returns the new function. + * @example + * + * _.map(['6', '8', '10'], _.unary(parseInt)); + * // => [6, 8, 10] + */ + unary(func: (arg1: T, ...args: any[]) => TResult): (arg1: T) => TResult; + } + interface Function any> { + /** + * @see _.unary + */ + unary(): Function<(arg1: Parameters['0']) => ReturnType>; + } + interface FunctionChain any> { + /** + * @see _.unary + */ + unary(): FunctionChain<(arg1: Parameters['0']) => ReturnType>; + } + interface LoDashStatic { + /** + * Creates a function that provides value to the wrapper function as its first argument. Any additional + * arguments provided to the function are appended to those provided to the wrapper function. The wrapper is + * invoked with the this binding of the created function. + * + * @param value The value to wrap. + * @param wrapper The wrapper function. + * @return Returns the new function. + */ + wrap(value: T, wrapper: (value: T, ...args: TArgs[]) => TResult): (...args: TArgs[]) => TResult; + } + interface LoDashImplicitWrapper { + /** + * @see _.wrap + */ + wrap(wrapper: (value: TValue, ...args: TArgs[]) => TResult): Function<(...args: TArgs[]) => TResult>; + } + interface LoDashExplicitWrapper { + /** + * @see _.wrap + */ + wrap(wrapper: (value: TValue, ...args: TArgs[]) => TResult): FunctionChain<(...args: TArgs[]) => TResult>; + } +} diff --git a/node_modules/@types/lodash/common/lang.d.ts b/node_modules/@types/lodash/common/lang.d.ts new file mode 100644 index 0000000..21e7232 --- /dev/null +++ b/node_modules/@types/lodash/common/lang.d.ts @@ -0,0 +1,1700 @@ +import _ = require("../index"); +// eslint-disable-next-line @definitelytyped/strict-export-declare-modifiers +type GlobalFunction = Function; +declare module "../index" { + type FunctionBase = GlobalFunction; + interface LoDashStatic { + /** + * Casts value as an array if it’s not one. + * + * @param value The value to inspect. + * @return Returns the cast array. + */ + castArray(value?: Many): T[]; + } + interface Collection { + /** + * @see _.castArray + */ + castArray(): Collection; + } + interface String { + /** + * @see _.castArray + */ + castArray(): Collection; + } + interface Object { + /** + * @see _.castArray + */ + castArray(): Collection; + } + interface Function any> { + /** + * @see _.castArray + */ + castArray(): Collection; + } + interface Primitive { + /** + * @see _.castArray + */ + castArray(): Collection; + } + interface CollectionChain { + /** + * @see _.castArray + */ + castArray(): CollectionChain; + } + interface StringChain { + /** + * @see _.castArray + */ + castArray(): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.castArray + */ + castArray(): CollectionChain; + } + interface ObjectChain { + /** + * @see _.castArray + */ + castArray(): CollectionChain; + } + interface FunctionChain any> { + /** + * @see _.castArray + */ + castArray(): CollectionChain; + } + interface PrimitiveChain { + /** + * @see _.castArray + */ + castArray(): CollectionChain; + } + + interface LoDashStatic { + /** + * Creates a shallow clone of value. + * + * Note: This method is loosely based on the structured clone algorithm and supports cloning arrays, + * array buffers, booleans, date objects, maps, numbers, Object objects, regexes, sets, strings, symbols, + * and typed arrays. The own enumerable properties of arguments objects are cloned as plain objects. An empty + * object is returned for uncloneable values such as error objects, functions, DOM nodes, and WeakMaps. + * + * @param value The value to clone. + * @return Returns the cloned value. + */ + clone(value: T): T; + } + + interface LoDashImplicitWrapper { + /** + * @see _.clone + */ + clone(): TValue; + /** + * @see _.cloneDeep + */ + cloneDeep(): TValue; + /** + * @see _.cloneDeepWith + */ + cloneDeepWith(customizer: CloneDeepWithCustomizer): any; + /** + * @see _.cloneDeepWith + */ + cloneDeepWith(): TValue; + /** + * @see _.cloneWith + */ + cloneWith(customizer: CloneWithCustomizer): TResult; + /** + * @see _.cloneWith + */ + cloneWith(customizer: CloneWithCustomizer): TResult | TValue; + /** + * @see _.cloneWith + */ + cloneWith(): TValue; + } + interface LoDashExplicitWrapper { + /** + * @see _.clone + */ + clone(): this; + /** + * @see _.cloneDeep + */ + cloneDeep(): this; + /** + * @see _.cloneDeepWith + */ + cloneDeepWith(customizer: CloneDeepWithCustomizer): LoDashExplicitWrapper; + /** + * @see _.cloneDeepWith + */ + cloneDeepWith(): this; + /** + * @see _.cloneWith + */ + cloneWith(customizer: CloneWithCustomizer): ExpChain; + /** + * @see _.cloneWith + */ + cloneWith(customizer: CloneWithCustomizer): ExpChain; + /** + * @see _.cloneWith + */ + cloneWith(): this; + } + + interface LoDashStatic { + /** + * This method is like _.clone except that it recursively clones value. + * + * @param value The value to recursively clone. + * @return Returns the deep cloned value. + */ + cloneDeep(value: T): T; + } + type CloneDeepWithCustomizer = (value: any, key: number | string | undefined, object: TObject | undefined, stack: any) => any; + interface LoDashStatic { + /** + * This method is like _.cloneWith except that it recursively clones value. + * + * @param value The value to recursively clone. + * @param customizer The function to customize cloning. + * @return Returns the deep cloned value. + */ + cloneDeepWith(value: T, customizer: CloneDeepWithCustomizer): any; + /** + * @see _.cloneDeepWith + */ + cloneDeepWith(value: T): T; + } + type CloneWithCustomizer = (value: TValue, key: number | string | undefined, object: any, stack: any) => TResult; + interface LoDashStatic { + /** + * This method is like _.clone except that it accepts customizer which is invoked to produce the cloned value. + * If customizer returns undefined cloning is handled by the method instead. + * + * @param value The value to clone. + * @param customizer The function to customize cloning. + * @return Returns the cloned value. + */ + cloneWith(value: T, customizer: CloneWithCustomizer): TResult; + /** + * @see _.cloneWith + */ + cloneWith(value: T, customizer: CloneWithCustomizer): TResult | T; + /** + * @see _.cloneWith + */ + cloneWith(value: T): T; + } + interface LoDashStatic { + /** + * Checks if object conforms to source by invoking the predicate properties of source with the + * corresponding property values of object. + * + * Note: This method is equivalent to _.conforms when source is partially applied. + */ + conformsTo(object: T, source: ConformsPredicateObject): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.conformsTo + */ + conformsTo(source: ConformsPredicateObject): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.conformsTo + */ + conformsTo(source: ConformsPredicateObject): PrimitiveChain; + } + type CondPairNullary = [() => boolean, () => R]; + type CondPairUnary = [(val: T) => boolean, (val: T) => R]; + interface LoDashStatic { + /** + * Performs a [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) + * comparison between two values to determine if they are equivalent. + * + * @category Lang + * @param value The value to compare. + * @param other The other value to compare. + * @returns Returns `true` if the values are equivalent, else `false`. + * @example + * + * var object = { 'user': 'fred' }; + * var other = { 'user': 'fred' }; + * + * _.eq(object, object); + * // => true + * + * _.eq(object, other); + * // => false + * + * _.eq('a', 'a'); + * // => true + * + * _.eq('a', Object('a')); + * // => false + * + * _.eq(NaN, NaN); + * // => true + */ + eq(value: any, other: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.eq + */ + eq(other: any): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.eq + */ + eq(other: any): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is greater than other. + * + * @param value The value to compare. + * @param other The other value to compare. + * @return Returns true if value is greater than other, else false. + */ + gt(value: any, other: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.gt + */ + gt(other: any): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.gt + */ + gt(other: any): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is greater than or equal to other. + * + * @param value The value to compare. + * @param other The other value to compare. + * @return Returns true if value is greater than or equal to other, else false. + */ + gte(value: any, other: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.gte + */ + gte(other: any): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.gte + */ + gte(other: any): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as an arguments object. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isArguments(value?: any): value is IArguments; + } + interface LoDashImplicitWrapper { + /** + * @see _.isArguments + */ + isArguments(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isArguments + */ + isArguments(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as an Array object. + * @param value The value to check. + * + * @return Returns true if value is correctly classified, else false. + */ + isArray(value?: any): value is any[]; + /** + * @see _.isArray + */ + isArray(value?: any): value is any[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.isArray + */ + isArray(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isArray + */ + isArray(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as an ArrayBuffer object. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isArrayBuffer(value?: any): value is ArrayBuffer; + } + interface LoDashImplicitWrapper { + /** + * @see _.isArrayBuffer + */ + isArrayBuffer(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isArrayBuffer + */ + isArrayBuffer(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if `value` is array-like. A value is considered array-like if it's + * not a function and has a `value.length` that's an integer greater than or + * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is array-like, else `false`. + * @example + * + * _.isArrayLike([1, 2, 3]); + * // => true + * + * _.isArrayLike(document.body.children); + * // => true + * + * _.isArrayLike('abc'); + * // => true + * + * _.isArrayLike(_.noop); + * // => false + */ + isArrayLike(t: T): boolean; + /** + * @see _.isArrayLike + */ + isArrayLike(value: ((...args: any[]) => any) | null | undefined): value is never; + /** + * @see _.isArrayLike + */ + isArrayLike(value: any): value is { length: number }; + } + interface LoDashImplicitWrapper { + /** + * @see _.isArrayLike + */ + isArrayLike(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isArrayLike + */ + isArrayLike(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * This method is like `_.isArrayLike` except that it also checks if `value` + * is an object. + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is an array-like object, else `false`. + * @example + * + * _.isArrayLikeObject([1, 2, 3]); + * // => true + * + * _.isArrayLikeObject(document.body.children); + * // => true + * + * _.isArrayLikeObject('abc'); + * // => false + * + * _.isArrayLikeObject(_.noop); + * // => false + */ + isArrayLikeObject(value: T): boolean; + /** + * @see _.isArrayLikeObject + */ + isArrayLikeObject(value: ((...args: any[]) => any) | FunctionBase | string | boolean | number | null | undefined): value is never; + /** + * @see _.isArrayLikeObject + */ + isArrayLikeObject(value: any): value is object & { length: number }; + } + interface LoDashImplicitWrapper { + /** + * @see _.isArrayLikeObject + */ + isArrayLikeObject(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isArrayLikeObject + */ + isArrayLikeObject(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as a boolean primitive or object. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isBoolean(value?: any): value is boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isBoolean + */ + isBoolean(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isBoolean + */ + isBoolean(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is a buffer. + * + * @param value The value to check. + * @return Returns true if value is a buffer, else false. + */ + isBuffer(value?: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isBuffer + */ + isBuffer(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isBuffer + */ + isBuffer(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as a Date object. + * @param value The value to check. + * + * @return Returns true if value is correctly classified, else false. + */ + isDate(value?: any): value is Date; + } + interface LoDashImplicitWrapper { + /** + * @see _.isDate + */ + isDate(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isDate + */ + isDate(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is a DOM element. + * + * @param value The value to check. + * @return Returns true if value is a DOM element, else false. + */ + isElement(value?: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isElement + */ + isElement(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isElement + */ + isElement(): PrimitiveChain; + } + + type EmptyObject = { [K in keyof T]?: never }; + type EmptyObjectOf = EmptyObject extends T ? EmptyObject : never; + interface LoDashStatic { + /** + * Checks if value is empty. A value is considered empty unless it’s an arguments object, array, string, or + * jQuery-like collection with a length greater than 0 or an object with own enumerable properties. + * + * @param value The value to inspect. + * @return Returns true if value is empty, else false. + */ + isEmpty(value?: T): boolean; + isEmpty(value: string): value is ''; + isEmpty(value: Map | Set | List | null | undefined): boolean; + isEmpty(value: object): boolean; + isEmpty(value: T | null | undefined): value is EmptyObjectOf | null | undefined; + isEmpty(value?: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isEmpty + */ + isEmpty(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isEmpty + */ + isEmpty(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Performs a deep comparison between two values to determine if they are + * equivalent. + * + * **Note:** This method supports comparing arrays, array buffers, booleans, + * date objects, error objects, maps, numbers, `Object` objects, regexes, + * sets, strings, symbols, and typed arrays. `Object` objects are compared + * by their own, not inherited, enumerable properties. Functions and DOM + * nodes are **not** supported. + * + * @category Lang + * @param value The value to compare. + * @param other The other value to compare. + * @returns Returns `true` if the values are equivalent, else `false`. + * @example + * + * var object = { 'user': 'fred' }; + * var other = { 'user': 'fred' }; + * + * _.isEqual(object, other); + * // => true + * + * object === other; + * // => false + */ + isEqual(value: any, other: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isEqual + */ + isEqual(other: any): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isEqual + */ + isEqual(other: any): PrimitiveChain; + } + + type IsEqualCustomizer = (value: any, other: any, indexOrKey: PropertyName | undefined, parent: any, otherParent: any, stack: any) => boolean | undefined; + interface LoDashStatic { + /** + * This method is like `_.isEqual` except that it accepts `customizer` which is + * invoked to compare values. If `customizer` returns `undefined` comparisons are + * handled by the method instead. The `customizer` is invoked with up to seven arguments: + * (objValue, othValue [, index|key, object, other, stack]). + * + * @category Lang + * @param value The value to compare. + * @param other The other value to compare. + * @param [customizer] The function to customize comparisons. + * @returns Returns `true` if the values are equivalent, else `false`. + * @example + * + * function isGreeting(value) { + * return /^h(?:i|ello)$/.test(value); + * } + * + * function customizer(objValue, othValue) { + * if (isGreeting(objValue) && isGreeting(othValue)) { + * return true; + * } + * } + * + * var array = ['hello', 'goodbye']; + * var other = ['hi', 'goodbye']; + * + * _.isEqualWith(array, other, customizer); + * // => true + */ + isEqualWith(value: any, other: any, customizer?: IsEqualCustomizer): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isEqualWith + */ + isEqualWith(other: any, customizer?: IsEqualCustomizer): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isEqualWith + */ + isEqualWith(other: any, customizer?: IsEqualCustomizer): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is an Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, or URIError + * object. + * + * @param value The value to check. + * @return Returns true if value is an error object, else false. + */ + isError(value: any): value is Error; + } + interface LoDashImplicitWrapper { + /** + * @see _.isError + */ + isError(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isError + */ + isError(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is a finite primitive number. + * + * Note: This method is based on Number.isFinite. + * + * @param value The value to check. + * @return Returns true if value is a finite number, else false. + */ + isFinite(value?: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isFinite + */ + isFinite(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isFinite + */ + isFinite(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is a callable function. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isFunction(value: any): value is (...args: any[]) => any; + } + interface LoDashImplicitWrapper { + /** + * @see _.isFunction + */ + isFunction(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isFunction + */ + isFunction(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if `value` is an integer. + * + * **Note:** This method is based on [`Number.isInteger`](https://mdn.io/Number/isInteger). + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is an integer, else `false`. + * @example + * + * _.isInteger(3); + * // => true + * + * _.isInteger(Number.MIN_VALUE); + * // => false + * + * _.isInteger(Infinity); + * // => false + * + * _.isInteger('3'); + * // => false + */ + isInteger(value?: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isInteger + */ + isInteger(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isInteger + */ + isInteger(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if `value` is a valid array-like length. + * + * **Note:** This function is loosely based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is a valid length, else `false`. + * @example + * + * _.isLength(3); + * // => true + * + * _.isLength(Number.MIN_VALUE); + * // => false + * + * _.isLength(Infinity); + * // => false + * + * _.isLength('3'); + * // => false + */ + isLength(value?: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isLength + */ + isLength(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isLength + */ + isLength(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as a Map object. + * + * @param value The value to check. + * @returns Returns true if value is correctly classified, else false. + */ + isMap(value?: any): value is Map; + } + interface LoDashImplicitWrapper { + /** + * @see _.isMap + */ + isMap(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isMap + */ + isMap(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Performs a deep comparison between `object` and `source` to determine if + * `object` contains equivalent property values. + * + * **Note:** This method supports comparing the same values as `_.isEqual`. + * + * @category Lang + * @param object The object to inspect. + * @param source The object of property values to match. + * @returns Returns `true` if `object` is a match, else `false`. + * @example + * + * var object = { 'user': 'fred', 'age': 40 }; + * + * _.isMatch(object, { 'age': 40 }); + * // => true + * + * _.isMatch(object, { 'age': 36 }); + * // => false + */ + isMatch(object: object, source: object): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isMatch + */ + isMatch(source: object): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isMatch + */ + isMatch(source: object): PrimitiveChain; + } + + type isMatchWithCustomizer = (value: any, other: any, indexOrKey: PropertyName, object: object, source: object) => boolean | undefined; + interface LoDashStatic { + /** + * This method is like `_.isMatch` except that it accepts `customizer` which + * is invoked to compare values. If `customizer` returns `undefined` comparisons + * are handled by the method instead. The `customizer` is invoked with three + * arguments: (objValue, srcValue, index|key, object, source). + * + * @category Lang + * @param object The object to inspect. + * @param source The object of property values to match. + * @param [customizer] The function to customize comparisons. + * @returns Returns `true` if `object` is a match, else `false`. + * @example + * + * function isGreeting(value) { + * return /^h(?:i|ello)$/.test(value); + * } + * + * function customizer(objValue, srcValue) { + * if (isGreeting(objValue) && isGreeting(srcValue)) { + * return true; + * } + * } + * + * var object = { 'greeting': 'hello' }; + * var source = { 'greeting': 'hi' }; + * + * _.isMatchWith(object, source, customizer); + * // => true + */ + isMatchWith(object: object, source: object, customizer: isMatchWithCustomizer): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isMatchWith + */ + isMatchWith(source: object, customizer: isMatchWithCustomizer): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isMatchWith + */ + isMatchWith(source: object, customizer: isMatchWithCustomizer): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is NaN. + * + * Note: This method is not the same as isNaN which returns true for undefined and other non-numeric values. + * + * @param value The value to check. + * @return Returns true if value is NaN, else false. + */ + isNaN(value?: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isNaN + */ + isNaN(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isNaN + */ + isNaN(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is a native function. + * @param value The value to check. + * + * @return Returns true if value is a native function, else false. + */ + isNative(value: any): value is (...args: any[]) => any; + } + interface LoDashImplicitWrapper { + /** + * @see _.isNative + */ + isNative(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isNative + */ + isNative(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if `value` is `null` or `undefined`. + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is nullish, else `false`. + * @example + * + * _.isNil(null); + * // => true + * + * _.isNil(void 0); + * // => true + * + * _.isNil(NaN); + * // => false + */ + isNil(value: any): value is null | undefined; + } + interface LoDashImplicitWrapper { + /** + * @see _.isNil + */ + isNil(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isNil + */ + isNil(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is null. + * + * @param value The value to check. + * @return Returns true if value is null, else false. + */ + isNull(value: any): value is null; + } + interface LoDashImplicitWrapper { + /** + * @see _.isNull + */ + isNull(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isNull + */ + isNull(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as a Number primitive or object. + * + * Note: To exclude Infinity, -Infinity, and NaN, which are classified as numbers, use the _.isFinite method. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isNumber(value?: any): value is number; + } + interface LoDashImplicitWrapper { + /** + * @see _.isNumber + */ + isNumber(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isNumber + */ + isNumber(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is the language type of Object. (e.g. arrays, functions, objects, regexes, new Number(0), + * and new String('')) + * + * @param value The value to check. + * @return Returns true if value is an object, else false. + */ + isObject(value?: any): value is object; + } + interface LoDashImplicitWrapper { + /** + * @see _.isObject + */ + isObject(): this is LoDashImplicitWrapper; + } + interface LoDashExplicitWrapper { + /** + * @see _.isObject + */ + isObject(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ + isObjectLike(value?: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isObjectLike + */ + isObjectLike(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isObjectLike + */ + isObjectLike(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is a plain object, that is, an object created by the Object constructor or one with a + * [[Prototype]] of null. + * + * Note: This method assumes objects created by the Object constructor have no inherited enumerable properties. + * + * @param value The value to check. + * @return Returns true if value is a plain object, else false. + */ + isPlainObject(value?: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isPlainObject + */ + isPlainObject(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isPlainObject + */ + isPlainObject(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as a RegExp object. + * @param value The value to check. + * + * @return Returns true if value is correctly classified, else false. + */ + isRegExp(value?: any): value is RegExp; + } + interface LoDashImplicitWrapper { + /** + * @see _.isRegExp + */ + isRegExp(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isRegExp + */ + isRegExp(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754 + * double precision number which isn't the result of a rounded unsafe integer. + * + * **Note:** This method is based on [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger). + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is a safe integer, else `false`. + * @example + * + * _.isSafeInteger(3); + * // => true + * + * _.isSafeInteger(Number.MIN_VALUE); + * // => false + * + * _.isSafeInteger(Infinity); + * // => false + * + * _.isSafeInteger('3'); + * // => false + */ + isSafeInteger(value: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isSafeInteger + */ + isSafeInteger(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isSafeInteger + */ + isSafeInteger(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as a Set object. + * + * @param value The value to check. + * @returns Returns true if value is correctly classified, else false. + */ + isSet(value?: any): value is Set; + } + interface LoDashImplicitWrapper { + /** + * @see _.isSet + */ + isSet(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isSet + */ + isSet(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as a String primitive or object. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isString(value?: any): value is string; + } + interface LoDashImplicitWrapper { + /** + * @see _.isString + */ + isString(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isString + */ + isString(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if `value` is classified as a `Symbol` primitive or object. + * + * @category Lang + * @param value The value to check. + * @returns Returns `true` if `value` is correctly classified, else `false`. + * @example + * + * _.isSymbol(Symbol.iterator); + * // => true + * + * _.isSymbol('abc'); + * // => false + */ + isSymbol(value: any): value is symbol; + } + interface LoDashImplicitWrapper { + /** + * @see _.isSymbol + */ + isSymbol(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isSymbol + */ + isSymbol(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as a typed array. + * + * @param value The value to check. + * @return Returns true if value is correctly classified, else false. + */ + isTypedArray(value: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.isTypedArray + */ + isTypedArray(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isTypedArray + */ + isTypedArray(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is undefined. + * + * @param value The value to check. + * @return Returns true if value is undefined, else false. + */ + isUndefined(value: any): value is undefined; + } + interface LoDashImplicitWrapper { + /** + * @see _.isUndefined + */ + isUndefined(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isUndefined + */ + isUndefined(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as a WeakMap object. + * + * @param value The value to check. + * @returns Returns true if value is correctly classified, else false. + */ + isWeakMap(value?: any): value is WeakMap; + } + interface LoDashImplicitWrapper { + /** + * @see _.isWeakMap + */ + isWeakMap(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isWeakMap + */ + isWeakMap(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is classified as a WeakSet object. + * + * @param value The value to check. + * @returns Returns true if value is correctly classified, else false. + */ + isWeakSet(value?: any): value is WeakSet; + } + interface LoDashImplicitWrapper { + /** + * @see _.isWeakSet + */ + isWeakSet(): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.isWeakSet + */ + isWeakSet(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is less than other. + * + * @param value The value to compare. + * @param other The other value to compare. + * @return Returns true if value is less than other, else false. + */ + lt(value: any, other: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.lt + */ + lt(other: any): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.lt + */ + lt(other: any): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Checks if value is less than or equal to other. + * + * @param value The value to compare. + * @param other The other value to compare. + * @return Returns true if value is less than or equal to other, else false. + */ + lte(value: any, other: any): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.lte + */ + lte(other: any): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.lte + */ + lte(other: any): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Converts value to an array. + * + * @param value The value to convert. + * @return Returns the converted array. + */ + toArray(value: Dictionary | NumericDictionary | null | undefined): T[]; + /** + * @see _.toArray + */ + toArray(value: T): Array; + /** + * @see _.toArray + */ + toArray(): any[]; + } + interface String { + /** + * @see _.toArray + */ + toArray(): Collection; + } + interface Collection { + /** + * @see _.toArray + */ + toArray(): Collection; + } + interface Object { + /** + * @see _.toArray + */ + toArray(): Collection; + } + interface StringChain { + /** + * @see _.toArray + */ + toArray(): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.toArray + */ + toArray(): CollectionChain; + } + interface CollectionChain { + /** + * @see _.toArray + */ + toArray(): CollectionChain; + } + interface ObjectChain { + /** + * @see _.toArray + */ + toArray(): CollectionChain; + } + + interface LoDashStatic { + /** + * Converts `value` to a finite number. + * + * @since 4.12.0 + * @category Lang + * @param value The value to convert. + * @returns Returns the converted number. + * @example + * + * _.toFinite(3.2); + * // => 3.2 + * + * _.toFinite(Number.MIN_VALUE); + * // => 5e-324 + * + * _.toFinite(Infinity); + * // => 1.7976931348623157e+308 + * + * _.toFinite('3.2'); + * // => 3.2 + */ + toFinite(value: any): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.toFinite + */ + toFinite(): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.toFinite + */ + toFinite(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Converts `value` to an integer. + * + * **Note:** This function is loosely based on [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger). + * + * @category Lang + * @param value The value to convert. + * @returns Returns the converted integer. + * @example + * + * _.toInteger(3); + * // => 3 + * + * _.toInteger(Number.MIN_VALUE); + * // => 0 + * + * _.toInteger(Infinity); + * // => 1.7976931348623157e+308 + * + * _.toInteger('3'); + * // => 3 + */ + toInteger(value: any): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.toInteger + */ + toInteger(): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.toInteger + */ + toInteger(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Converts `value` to an integer suitable for use as the length of an + * array-like object. + * + * **Note:** This method is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). + * + * @category Lang + * @param value The value to convert. + * @return Returns the converted integer. + * @example + * + * _.toLength(3); + * // => 3 + * + * _.toLength(Number.MIN_VALUE); + * // => 0 + * + * _.toLength(Infinity); + * // => 4294967295 + * + * _.toLength('3'); + * // => 3 + */ + toLength(value: any): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.toLength + */ + toLength(): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.toLength + */ + toLength(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Converts `value` to a number. + * + * @category Lang + * @param value The value to process. + * @returns Returns the number. + * @example + * + * _.toNumber(3); + * // => 3 + * + * _.toNumber(Number.MIN_VALUE); + * // => 5e-324 + * + * _.toNumber(Infinity); + * // => Infinity + * + * _.toNumber('3'); + * // => 3 + */ + toNumber(value: any): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.toNumber + */ + toNumber(): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.toNumber + */ + toNumber(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Converts value to a plain object flattening inherited enumerable properties of value to own properties + * of the plain object. + * + * @param value The value to convert. + * @return Returns the converted plain object. + */ + toPlainObject(value?: any): any; + } + interface LoDashImplicitWrapper { + /** + * @see _.toPlainObject + */ + toPlainObject(): Object; + } + interface LoDashExplicitWrapper { + /** + * @see _.toPlainObject + */ + toPlainObject(): ObjectChain; + } + + interface LoDashStatic { + /** + * Converts `value` to a safe integer. A safe integer can be compared and + * represented correctly. + * + * @category Lang + * @param value The value to convert. + * @returns Returns the converted integer. + * @example + * + * _.toSafeInteger(3); + * // => 3 + * + * _.toSafeInteger(Number.MIN_VALUE); + * // => 0 + * + * _.toSafeInteger(Infinity); + * // => 9007199254740991 + * + * _.toSafeInteger('3'); + * // => 3 + */ + toSafeInteger(value: any): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.toSafeInteger + */ + toSafeInteger(): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.toSafeInteger + */ + toSafeInteger(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Converts `value` to a string if it's not one. An empty string is returned + * for `null` and `undefined` values. The sign of `-0` is preserved. + * + * @category Lang + * @param value The value to process. + * @returns Returns the string. + * @example + * + * _.toString(null); + * // => '' + * + * _.toString(-0); + * // => '-0' + * + * _.toString([1, 2, 3]); + * // => '1,2,3' + */ + toString(value: any): string; + } +} diff --git a/node_modules/@types/lodash/common/math.d.ts b/node_modules/@types/lodash/common/math.d.ts new file mode 100644 index 0000000..656cd97 --- /dev/null +++ b/node_modules/@types/lodash/common/math.d.ts @@ -0,0 +1,405 @@ +import _ = require("../index"); +declare module "../index" { + interface LoDashStatic { + /** + * Adds two numbers. + * + * @param augend The first number to add. + * @param addend The second number to add. + * @return Returns the sum. + */ + add(augend: number, addend: number): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.add + */ + add(addend: number): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.add + */ + add(addend: number): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Calculates n rounded up to precision. + * + * @param n The number to round up. + * @param precision The precision to round up to. + * @return Returns the rounded up number. + */ + ceil(n: number, precision?: number): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.ceil + */ + ceil(precision?: number): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.ceil + */ + ceil(precision?: number): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Divide two numbers. + * + * @param dividend The first number in a division. + * @param divisor The second number in a division. + * @returns Returns the quotient. + */ + divide(dividend: number, divisor: number): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.divide + */ + divide(divisor: number): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.divide + */ + divide(divisor: number): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Calculates n rounded down to precision. + * + * @param n The number to round down. + * @param precision The precision to round down to. + * @return Returns the rounded down number. + */ + floor(n: number, precision?: number): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.floor + */ + floor(precision?: number): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.floor + */ + floor(precision?: number): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Computes the maximum value of `array`. If `array` is empty or falsey + * `undefined` is returned. + * + * @category Math + * @param array The array to iterate over. + * @returns Returns the maximum value. + */ + max(collection: List | null | undefined): T | undefined; + } + interface Collection { + /** + * @see _.max + */ + max(): T | undefined; + } + interface CollectionChain { + /** + * @see _.max + */ + max(): ExpChain; + } + + interface LoDashStatic { + /** + * This method is like `_.max` except that it accepts `iteratee` which is + * invoked for each element in `array` to generate the criterion by which + * the value is ranked. The iteratee is invoked with one argument: (value). + * + * @category Math + * @param array The array to iterate over. + * @param iteratee The iteratee invoked per element. + * @returns Returns the maximum value. + * @example + * + * var objects = [{ 'n': 1 }, { 'n': 2 }]; + * + * _.maxBy(objects, function(o) { return o.n; }); + * // => { 'n': 2 } + * + * // using the `_.property` iteratee shorthand + * _.maxBy(objects, 'n'); + * // => { 'n': 2 } + */ + maxBy(collection: List | null | undefined, iteratee?: ValueIteratee): T | undefined; + } + interface Collection { + /** + * @see _.maxBy + */ + maxBy(iteratee?: ValueIteratee): T | undefined; + } + interface CollectionChain { + /** + * @see _.maxBy + */ + maxBy(iteratee?: ValueIteratee): ExpChain; + } + + interface LoDashStatic { + /** + * Computes the mean of the values in `array`. + * + * @category Math + * @param array The array to iterate over. + * @returns Returns the mean. + * @example + * + * _.mean([4, 2, 8, 6]); + * // => 5 + */ + mean(collection: List | null | undefined): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.mean + */ + mean(): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.mean + */ + mean(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Computes the mean of the provided properties of the objects in the `array` + * + * @category Math + * @param array The array to iterate over. + * @param iteratee The iteratee invoked per element. + * @returns Returns the mean. + * @example + * + * _.mean([{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }], 'n'); + * // => 5 + */ + meanBy(collection: List | null | undefined, iteratee?: ValueIteratee): number; + } + interface Collection { + /** + * @see _.meanBy + */ + meanBy(iteratee?: ValueIteratee): number; + } + interface CollectionChain { + /** + * @see _.meanBy + */ + meanBy(iteratee?: ValueIteratee): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Computes the minimum value of `array`. If `array` is empty or falsey + * `undefined` is returned. + * + * @category Math + * @param array The array to iterate over. + * @returns Returns the minimum value. + */ + min(collection: List | null | undefined): T | undefined; + } + interface Collection { + /** + * @see _.min + */ + min(): T | undefined; + } + interface CollectionChain { + /** + * @see _.min + */ + min(): ExpChain; + } + + interface LoDashStatic { + /** + * This method is like `_.min` except that it accepts `iteratee` which is + * invoked for each element in `array` to generate the criterion by which + * the value is ranked. The iteratee is invoked with one argument: (value). + * + * @category Math + * @param array The array to iterate over. + * @param iteratee The iteratee invoked per element. + * @returns Returns the minimum value. + * @example + * + * var objects = [{ 'n': 1 }, { 'n': 2 }]; + * + * _.minBy(objects, function(o) { return o.a; }); + * // => { 'n': 1 } + * + * // using the `_.property` iteratee shorthand + * _.minBy(objects, 'n'); + * // => { 'n': 1 } + */ + minBy(collection: List | null | undefined, iteratee?: ValueIteratee): T | undefined; + } + interface Collection { + /** + * @see _.minBy + */ + minBy(iteratee?: ValueIteratee): T | undefined; + } + interface CollectionChain { + /** + * @see _.minBy + */ + minBy(iteratee?: ValueIteratee): ExpChain; + } + + interface LoDashStatic { + /** + * Multiply two numbers. + * @param multiplier The first number in a multiplication. + * @param multiplicand The second number in a multiplication. + * @returns Returns the product. + */ + multiply(multiplier: number, multiplicand: number): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.multiply + */ + multiply(multiplicand: number): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.multiply + */ + multiply(multiplicand: number): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Calculates n rounded to precision. + * + * @param n The number to round. + * @param precision The precision to round to. + * @return Returns the rounded number. + */ + round(n: number, precision?: number): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.round + */ + round(precision?: number): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.round + */ + round(precision?: number): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Subtract two numbers. + * + * @category Math + * @param minuend The first number in a subtraction. + * @param subtrahend The second number in a subtraction. + * @returns Returns the difference. + * @example + * + * _.subtract(6, 4); + * // => 2 + */ + subtract(minuend: number, subtrahend: number): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.subtract + */ + subtract(subtrahend: number): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.subtract + */ + subtract(subtrahend: number): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Computes the sum of the values in `array`. + * + * @category Math + * @param array The array to iterate over. + * @returns Returns the sum. + * @example + * + * _.sum([4, 2, 8, 6]); + * // => 20 + */ + sum(collection: List | null | undefined): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.sum + */ + sum(): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.sum + */ + sum(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * This method is like `_.sum` except that it accepts `iteratee` which is + * invoked for each element in `array` to generate the value to be summed. + * The iteratee is invoked with one argument: (value). + * + * @category Math + * @param array The array to iterate over. + * @param [iteratee=_.identity] The iteratee invoked per element. + * @returns Returns the sum. + * @example + * + * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }]; + * + * _.sumBy(objects, function(o) { return o.n; }); + * // => 20 + * + * // using the `_.property` iteratee shorthand + * _.sumBy(objects, 'n'); + * // => 20 + */ + sumBy(collection: List | null | undefined, iteratee?: ((value: T) => number) | string): number; + } + interface Collection { + /** + * @see _.sumBy + */ + sumBy(iteratee?: ((value: T) => number) | string): number; + } + interface CollectionChain { + /** + * @see _.sumBy + */ + sumBy(iteratee?: ((value: T) => number) | string): PrimitiveChain; + } +} diff --git a/node_modules/@types/lodash/common/number.d.ts b/node_modules/@types/lodash/common/number.d.ts new file mode 100644 index 0000000..ad9ce72 --- /dev/null +++ b/node_modules/@types/lodash/common/number.d.ts @@ -0,0 +1,131 @@ +import _ = require("../index"); +declare module "../index" { + // clamp + interface LoDashStatic { + /** + * Clamps `number` within the inclusive `lower` and `upper` bounds. + * + * @category Number + * @param number The number to clamp. + * @param [lower] The lower bound. + * @param upper The upper bound. + * @returns Returns the clamped number. + * @example + * + * _.clamp(-10, -5, 5); + * // => -5 + * + * _.clamp(10, -5, 5); + * // => 5 + * Clamps `number` within the inclusive `lower` and `upper` bounds. + * + * @category Number + * @param number The number to clamp. + * @param [lower] The lower bound. + * @param upper The upper bound. + * @returns Returns the clamped number. + * @example + * + * _.clamp(-10, -5, 5); + * // => -5 + * + * _.clamp(10, -5, 5); + */ + clamp(number: number, lower: number, upper: number): number; + /** + * @see _.clamp + */ + clamp(number: number, upper: number): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.clamp + */ + clamp(lower: number, upper: number): number; + /** + * @see _.clamp + */ + clamp(upper: number): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.clamp + */ + clamp(lower: number, upper: number): PrimitiveChain; + /** + * @see _.clamp + */ + clamp(upper: number): PrimitiveChain; + } + // inRange + interface LoDashStatic { + /** + * Checks if n is between start and up to but not including, end. If end is not specified it’s set to start + * with start then set to 0. + * + * @param n The number to check. + * @param start The start of the range. + * @param end The end of the range. + * @return Returns true if n is in the range, else false. + */ + inRange(n: number, start: number, end?: number): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.inRange + */ + inRange(start: number, end?: number): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.inRange + */ + inRange(start: number, end?: number): PrimitiveChain; + } + // random + interface LoDashStatic { + /** + * Produces a random number between min and max (inclusive). If only one argument is provided a number between + * 0 and the given number is returned. If floating is true, or either min or max are floats, a floating-point + * number is returned instead of an integer. + * + * @param min The minimum possible value. + * @param max The maximum possible value. + * @param floating Specify returning a floating-point number. + * @return Returns the random number. + */ + random(floating?: boolean): number; + /** + * @see _.random + */ + random(max: number, floating?: boolean): number; + /** + * @see _.random + */ + random(min: number, max: number, floating?: boolean): number; + /** + * @see _.random + */ + random(min: number, index: string | number, guard: object): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.random + */ + random(floating?: boolean): number; + /** + * @see _.random + */ + random(max: number, floating?: boolean): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.random + */ + random(floating?: boolean): PrimitiveChain; + /** + * @see _.random + */ + random(max: number, floating?: boolean): PrimitiveChain; + } +} diff --git a/node_modules/@types/lodash/common/object.d.ts b/node_modules/@types/lodash/common/object.d.ts new file mode 100644 index 0000000..8d6ebd2 --- /dev/null +++ b/node_modules/@types/lodash/common/object.d.ts @@ -0,0 +1,2580 @@ +import _ = require("../index"); +declare module "../index" { + interface LoDashStatic { + /** + * Assigns own enumerable properties of source objects to the destination + * object. Source objects are applied from left to right. Subsequent sources + * overwrite property assignments of previous sources. + * + * **Note:** This method mutates `object` and is loosely based on + * [`Object.assign`](https://mdn.io/Object/assign). + * + * @category Object + * @param object The destination object. + * @param [sources] The source objects. + * @returns Returns `object`. + * @example + * + * function Foo() { + * this.c = 3; + * } + * + * function Bar() { + * this.e = 5; + * } + * + * Foo.prototype.d = 4; + * Bar.prototype.f = 6; + * + * _.assign({ 'a': 1 }, new Foo, new Bar); + * // => { 'a': 1, 'c': 3, 'e': 5 } + */ + assign(object: TObject, source: TSource): TObject & TSource; + /** + * @see _.assign + */ + assign(object: TObject, source1: TSource1, source2: TSource2): TObject & TSource1 & TSource2; + /** + * @see _.assign + */ + assign(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3): TObject & TSource1 & TSource2 & TSource3; + /** + * @see _.assign + */ + assign(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): TObject & TSource1 & TSource2 & TSource3 & TSource4; + /** + * @see _.assign + */ + assign(object: TObject): TObject; + /** + * @see _.assign + */ + assign(object: any, ...otherArgs: any[]): any; + } + interface Object { + /** + * @see _.assign + */ + assign(source: TSource): Object; + /** + * @see _.assign + */ + assign(source1: TSource1, source2: TSource2): Object; + /** + * @see _.assign + */ + assign(source1: TSource1, source2: TSource2, source3: TSource3): Object; + /** + * @see _.assign + */ + assign(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): Object; + /** + * @see _.assign + */ + assign(): Object; + /** + * @see _.assign + */ + assign(...otherArgs: any[]): Object; + } + interface ObjectChain { + /** + * @see _.assign + */ + assign(source: TSource): ObjectChain; + /** + * @see _.assign + */ + assign(source1: TSource1, source2: TSource2): ObjectChain; + /** + * @see _.assign + */ + assign(source1: TSource1, source2: TSource2, source3: TSource3): ObjectChain; + /** + * @see _.assign + */ + assign(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): ObjectChain; + /** + * @see _.assign + */ + assign(): ObjectChain; + /** + * @see _.assign + */ + assign(...otherArgs: any[]): ObjectChain; + } + interface LoDashStatic { + /** + * This method is like `_.assign` except that it iterates over own and + * inherited source properties. + * + * **Note:** This method mutates `object`. + * + * @alias extend + * @category Object + * @param object The destination object. + * @param [sources] The source objects. + * @returns Returns `object`. + * @example + * + * function Foo() { + * this.b = 2; + * } + * + * function Bar() { + * this.d = 4; + * } + * + * Foo.prototype.c = 3; + * Bar.prototype.e = 5; + * + * _.assignIn({ 'a': 1 }, new Foo, new Bar); + * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5 } + */ + assignIn(object: TObject, source: TSource): TObject & TSource; + /** + * @see _.assignIn + */ + assignIn(object: TObject, source1: TSource1, source2: TSource2): TObject & TSource1 & TSource2; + /** + * @see _.assignIn + */ + assignIn(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3): TObject & TSource1 & TSource2 & TSource3; + /** + * @see _.assignIn + */ + assignIn(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): TObject & TSource1 & TSource2 & TSource3 & TSource4; + /** + * @see _.assignIn + */ + assignIn(object: TObject): TObject; + /** + * @see _.assignIn + */ + assignIn(object: any, ...otherArgs: any[]): TResult; + } + interface Object { + /** + * @see _.assignIn + */ + assignIn(source: TSource): Object; + /** + * @see _.assignIn + */ + assignIn(source1: TSource1, source2: TSource2): Object; + /** + * @see _.assignIn + */ + assignIn(source1: TSource1, source2: TSource2, source3: TSource3): Object; + /** + * @see _.assignIn + */ + assignIn(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): Object; + /** + * @see _.assignIn + */ + assignIn(): Object; + /** + * @see _.assignIn + */ + assignIn(...otherArgs: any[]): Object; + } + interface ObjectChain { + /** + * @see _.assignIn + */ + assignIn(source: TSource): ObjectChain; + /** + * @see _.assignIn + */ + assignIn(source1: TSource1, source2: TSource2): ObjectChain; + /** + * @see _.assignIn + */ + assignIn(source1: TSource1, source2: TSource2, source3: TSource3): ObjectChain; + /** + * @see _.assignIn + */ + assignIn(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): ObjectChain; + /** + * @see _.assignIn + */ + assignIn(): ObjectChain; + /** + * @see _.assignIn + */ + assignIn(...otherArgs: any[]): ObjectChain; + } + type AssignCustomizer = (objectValue: any, sourceValue: any, key?: string, object?: {}, source?: {}) => any; + interface LoDashStatic { + /** + * This method is like `_.assignIn` except that it accepts `customizer` which + * is invoked to produce the assigned values. If `customizer` returns `undefined` + * assignment is handled by the method instead. The `customizer` is invoked + * with five arguments: (objValue, srcValue, key, object, source). + * + * **Note:** This method mutates `object`. + * + * @alias extendWith + * @category Object + * @param object The destination object. + * @param sources The source objects. + * @param [customizer] The function to customize assigned values. + * @returns Returns `object`. + * @example + * + * function customizer(objValue, srcValue) { + * return _.isUndefined(objValue) ? srcValue : objValue; + * } + * + * var defaults = _.partialRight(_.assignInWith, customizer); + * + * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ + assignInWith(object: TObject, source: TSource, customizer: AssignCustomizer): TObject & TSource; + /** + * @see _.assignInWith + */ + assignInWith(object: TObject, source1: TSource1, source2: TSource2, customizer: AssignCustomizer): TObject & TSource1 & TSource2; + /** + * @see _.assignInWith + */ + assignInWith(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer): TObject & TSource1 & TSource2 & TSource3; + /** + * @see _.assignInWith + */ + assignInWith(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer): TObject & TSource1 & TSource2 & TSource3 & TSource4; + /** + * @see _.assignInWith + */ + assignInWith(object: TObject): TObject; + /** + * @see _.assignInWith + */ + assignInWith(object: any, ...otherArgs: any[]): TResult; + } + interface Object { + /** + * @see _.assignInWith + */ + assignInWith(source: TSource, customizer: AssignCustomizer): Object; + /** + * @see _.assignInWith + */ + assignInWith(source1: TSource1, source2: TSource2, customizer: AssignCustomizer): Object; + /** + * @see _.assignInWith + */ + assignInWith(source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer): Object; + /** + * @see _.assignInWith + */ + assignInWith(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer): Object; + /** + * @see _.assignInWith + */ + assignInWith(): Object; + /** + * @see _.assignInWith + */ + assignInWith(...otherArgs: any[]): Object; + } + interface ObjectChain { + /** + * @see _.assignInWith + */ + assignInWith(source: TSource, customizer: AssignCustomizer): ObjectChain; + /** + * @see _.assignInWith + */ + assignInWith(source1: TSource1, source2: TSource2, customizer: AssignCustomizer): ObjectChain; + /** + * @see _.assignInWith + */ + assignInWith(source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer): ObjectChain; + /** + * @see _.assignInWith + */ + assignInWith(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer): ObjectChain; + /** + * @see _.assignInWith + */ + assignInWith(): ObjectChain; + /** + * @see _.assignInWith + */ + assignInWith(...otherArgs: any[]): ObjectChain; + } + interface LoDashStatic { + /** + * This method is like `_.assign` except that it accepts `customizer` which + * is invoked to produce the assigned values. If `customizer` returns `undefined` + * assignment is handled by the method instead. The `customizer` is invoked + * with five arguments: (objValue, srcValue, key, object, source). + * + * **Note:** This method mutates `object`. + * + * @category Object + * @param object The destination object. + * @param sources The source objects. + * @param [customizer] The function to customize assigned values. + * @returns Returns `object`. + * @example + * + * function customizer(objValue, srcValue) { + * return _.isUndefined(objValue) ? srcValue : objValue; + * } + * + * var defaults = _.partialRight(_.assignWith, customizer); + * + * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ + assignWith(object: TObject, source: TSource, customizer: AssignCustomizer): TObject & TSource; + /** + * @see _.assignWith + */ + assignWith(object: TObject, source1: TSource1, source2: TSource2, customizer: AssignCustomizer): TObject & TSource1 & TSource2; + /** + * @see _.assignWith + */ + assignWith(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer): TObject & TSource1 & TSource2 & TSource3; + /** + * @see _.assignWith + */ + assignWith(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer): TObject & TSource1 & TSource2 & TSource3 & TSource4; + /** + * @see _.assignWith + */ + assignWith(object: TObject): TObject; + /** + * @see _.assignWith + */ + assignWith(object: any, ...otherArgs: any[]): TResult; + } + interface Object { + /** + * @see _.assignWith + */ + assignWith(source: TSource, customizer: AssignCustomizer): Object; + /** + * @see _.assignWith + */ + assignWith(source1: TSource1, source2: TSource2, customizer: AssignCustomizer): Object; + /** + * @see _.assignWith + */ + assignWith(source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer): Object; + /** + * @see _.assignWith + */ + assignWith(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer): Object; + /** + * @see _.assignWith + */ + assignWith(): Object; + /** + * @see _.assignWith + */ + assignWith(...otherArgs: any[]): Object; + } + interface ObjectChain { + /** + * @see _.assignWith + */ + assignWith(source: TSource, customizer: AssignCustomizer): ObjectChain; + /** + * @see _.assignWith + */ + assignWith(source1: TSource1, source2: TSource2, customizer: AssignCustomizer): ObjectChain; + /** + * @see _.assignWith + */ + assignWith(source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer): ObjectChain; + /** + * @see _.assignWith + */ + assignWith(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer): ObjectChain; + /** + * @see _.assignWith + */ + assignWith(): ObjectChain; + /** + * @see _.assignWith + */ + assignWith(...otherArgs: any[]): ObjectChain; + } + interface LoDashStatic { + /** + * Creates an array of elements corresponding to the given keys, or indexes, of collection. Keys may be + * specified as individual arguments or as arrays of keys. + * + * @param object The object to iterate over. + * @param props The property names or indexes of elements to pick, specified individually or in arrays. + * @return Returns the new array of picked elements. + */ + at(object: Dictionary | NumericDictionary | null | undefined, ...props: PropertyPath[]): T[]; + /** + * @see _.at + */ + at(object: T | null | undefined, ...props: Array>): Array; + } + interface Object { + /** + * @see _.at + */ + at(...props: Array>): Collection; + } + interface Collection { + /** + * @see _.at + */ + at(...props: PropertyPath[]): Collection; + } + interface ObjectChain { + /** + * @see _.at + */ + at(...props: Array>): CollectionChain; + } + interface CollectionChain { + /** + * @see _.at + */ + at(...props: PropertyPath[]): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an object that inherits from the given prototype object. If a properties object is provided its own + * enumerable properties are assigned to the created object. + * + * @param prototype The object to inherit from. + * @param properties The properties to assign to the object. + * @return Returns the new object. + */ + create(prototype: T, properties?: U): T & U; + } + interface Object { + /** + * @see _.create + */ + create(properties?: U): Object; + } + interface ObjectChain { + /** + * @see _.create + */ + create(properties?: U): ObjectChain; + } + interface LoDashStatic { + /** + * Assigns own enumerable properties of source object(s) to the destination object for all destination + * properties that resolve to undefined. Once a property is set, additional values of the same property are + * ignored. + * + * Note: This method mutates object. + * + * @param object The destination object. + * @param sources The source objects. + * @return The destination object. + */ + defaults(object: TObject, source: TSource): NonNullable; + /** + * @see _.defaults + */ + defaults(object: TObject, source1: TSource1, source2: TSource2): NonNullable; + /** + * @see _.defaults + */ + defaults(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3): NonNullable; + /** + * @see _.defaults + */ + defaults(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): NonNullable; + /** + * @see _.defaults + */ + defaults(object: TObject): NonNullable; + /** + * @see _.defaults + */ + defaults(object: any, ...sources: any[]): any; + } + interface Object { + /** + * @see _.defaults + */ + defaults(source: TSource): Object>; + /** + * @see _.defaults + */ + defaults(source1: TSource1, source2: TSource2): Object>; + /** + * @see _.defaults + */ + defaults(source1: TSource1, source2: TSource2, source3: TSource3): Object>; + /** + * @see _.defaults + */ + defaults(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): Object>; + /** + * @see _.defaults + */ + defaults(): Object>; + /** + * @see _.defaults + */ + defaults(...sources: any[]): Object; + } + interface ObjectChain { + /** + * @see _.defaults + */ + defaults(source: TSource): ObjectChain>; + /** + * @see _.defaults + */ + defaults(source1: TSource1, source2: TSource2): ObjectChain>; + /** + * @see _.defaults + */ + defaults(source1: TSource1, source2: TSource2, source3: TSource3): ObjectChain>; + /** + * @see _.defaults + */ + defaults(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): ObjectChain>; + /** + * @see _.defaults + */ + defaults(): ObjectChain>; + /** + * @see _.defaults + */ + defaults(...sources: any[]): ObjectChain; + } + interface LoDashStatic { + /** + * This method is like _.defaults except that it recursively assigns default properties. + * @param object The destination object. + * @param sources The source objects. + * @return Returns object. + */ + defaultsDeep(object: any, ...sources: any[]): any; + } + interface Object { + /** + * @see _.defaultsDeep + */ + defaultsDeep(...sources: any[]): Object; + } + interface ObjectChain { + /** + * @see _.defaultsDeep + */ + defaultsDeep(...sources: any[]): ObjectChain; + } + interface LoDashStatic { + /** + * @see _.toPairs + */ + entries(object?: Dictionary | NumericDictionary): Array<[string, T]>; + /** + * @see _.entries + */ + entries(object?: object): Array<[string, any]>; + } + interface Object { + /** + * @see _.entries + */ + entries(): Collection<[string, T[keyof T]]>; + } + interface LoDashImplicitWrapper { + /** + * @see _.entries + */ + entries(): Collection<[string, any]>; + } + interface ObjectChain { + /** + * @see _.entries + */ + entries(): CollectionChain<[string, T[keyof T]]>; + } + interface LoDashExplicitWrapper { + /** + * @see _.entries + */ + entries(): CollectionChain<[string, any]>; + } + interface LoDashStatic { + /** + * @see _.entriesIn + */ + entriesIn(object?: Dictionary | NumericDictionary): Array<[string, T]>; + /** + * @see _.entriesIn + */ + entriesIn(object?: object): Array<[string, any]>; + } + interface Object { + /** + * @see _.entriesIn + */ + entriesIn(): Collection<[string, T[keyof T]]>; + } + interface LoDashImplicitWrapper { + /** + * @see _.entriesIn + */ + entriesIn(): Collection<[string, any]>; + } + interface ObjectChain { + /** + * @see _.entriesIn + */ + entriesIn(): CollectionChain<[string, T[keyof T]]>; + } + interface LoDashExplicitWrapper { + /** + * @see _.entriesIn + */ + entriesIn(): CollectionChain<[string, any]>; + } + interface LoDashStatic { + /** + * @see _.extend + */ + extend(object: TObject, source: TSource): TObject & TSource; + /** + * @see _.extend + */ + extend(object: TObject, source1: TSource1, source2: TSource2): TObject & TSource1 & TSource2; + /** + * @see _.extend + */ + extend(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3): TObject & TSource1 & TSource2 & TSource3; + /** + * @see _.extend + */ + extend(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): TObject & TSource1 & TSource2 & TSource3 & TSource4; + /** + * @see _.extend + */ + extend(object: TObject): TObject; + /** + * @see _.extend + */ + extend(object: any, ...otherArgs: any[]): TResult; + } + interface Object { + /** + * @see _.extend + */ + extend(source: TSource): Object; + /** + * @see _.extend + */ + extend(source1: TSource1, source2: TSource2): Object; + /** + * @see _.extend + */ + extend(source1: TSource1, source2: TSource2, source3: TSource3): Object; + /** + * @see _.extend + */ + extend(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): Object; + /** + * @see _.extend + */ + extend(): Object; + /** + * @see _.extend + */ + extend(...otherArgs: any[]): Object; + } + interface ObjectChain { + /** + * @see _.extend + */ + extend(source: TSource): ObjectChain; + /** + * @see _.extend + */ + extend(source1: TSource1, source2: TSource2): ObjectChain; + /** + * @see _.extend + */ + extend(source1: TSource1, source2: TSource2, source3: TSource3): ObjectChain; + /** + * @see _.extend + */ + extend(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): ObjectChain; + /** + * @see _.extend + */ + extend(): ObjectChain; + /** + * @see _.extend + */ + extend(...otherArgs: any[]): ObjectChain; + } + interface LoDashStatic { + /** + * @see _.extendWith + */ + extendWith(object: TObject, source: TSource, customizer: AssignCustomizer): TObject & TSource; + /** + * @see _.extendWith + */ + extendWith(object: TObject, source1: TSource1, source2: TSource2, customizer: AssignCustomizer): TObject & TSource1 & TSource2; + /** + * @see _.extendWith + */ + extendWith(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer): TObject & TSource1 & TSource2 & TSource3; + /** + * @see _.extendWith + */ + extendWith(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer): TObject & TSource1 & TSource2 & TSource3 & TSource4; + /** + * @see _.extendWith + */ + extendWith(object: TObject): TObject; + /** + * @see _.extendWith + */ + extendWith(object: any, ...otherArgs: any[]): TResult; + } + interface Object { + /** + * @see _.extendWith + */ + extendWith(source: TSource, customizer: AssignCustomizer): Object; + /** + * @see _.extendWith + */ + extendWith(source1: TSource1, source2: TSource2, customizer: AssignCustomizer): Object; + /** + * @see _.extendWith + */ + extendWith(source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer): Object; + /** + * @see _.extendWith + */ + extendWith(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer): Object; + /** + * @see _.extendWith + */ + extendWith(): Object; + /** + * @see _.extendWith + */ + extendWith(...otherArgs: any[]): Object; + } + interface ObjectChain { + /** + * @see _.extendWith + */ + extendWith(source: TSource, customizer: AssignCustomizer): ObjectChain; + /** + * @see _.extendWith + */ + extendWith(source1: TSource1, source2: TSource2, customizer: AssignCustomizer): ObjectChain; + /** + * @see _.extendWith + */ + extendWith(source1: TSource1, source2: TSource2, source3: TSource3, customizer: AssignCustomizer): ObjectChain; + /** + * @see _.extendWith + */ + extendWith(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: AssignCustomizer): ObjectChain; + /** + * @see _.extendWith + */ + extendWith(): ObjectChain; + /** + * @see _.extendWith + */ + extendWith(...otherArgs: any[]): ObjectChain; + } + interface LoDashStatic { + /** + * This method is like _.find except that it returns the key of the first element predicate returns truthy for + * instead of the element itself. + * + * @param object The object to search. + * @param predicate The function invoked per iteration. + * @return Returns the key of the matched element, else undefined. + */ + findKey(object: T | null | undefined, predicate?: ObjectIteratee): string | undefined; + } + interface LoDashImplicitWrapper { + /** + * @see _.findKey + */ + findKey(predicate?: ObjectIteratee): string | undefined; + } + interface LoDashExplicitWrapper { + /** + * @see _.findKey + */ + findKey(predicate?: ObjectIteratee): StringNullableChain; + } + interface LoDashStatic { + /** + * This method is like _.findKey except that it iterates over elements of a collection in the opposite order. + * + * @param object The object to search. + * @param predicate The function invoked per iteration. + * @return Returns the key of the matched element, else undefined. + */ + findLastKey(object: T | null | undefined, predicate?: ObjectIteratee): string | undefined; + } + interface LoDashImplicitWrapper { + /** + * @see _.findLastKey + */ + findLastKey(predicate?: ObjectIteratee): string | undefined; + } + interface LoDashExplicitWrapper { + /** + * @see _.findLastKey + */ + findLastKey(predicate?: ObjectIteratee): StringNullableChain; + } + interface LoDashStatic { + /** + * Iterates over own and inherited enumerable properties of an object invoking iteratee for each property. The + * iteratee is invoked with three arguments: (value, key, object). Iteratee functions may + * exit iteration early by explicitly returning false. + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @return Returns object. + */ + forIn(object: T, iteratee?: ObjectIterator): T; + /** + * @see _.forIn + */ + forIn(object: T | null | undefined, iteratee?: ObjectIterator): T | null | undefined; + } + interface LoDashImplicitWrapper { + /** + * @see _.forIn + */ + forIn(iteratee?: ObjectIterator): this; + } + interface LoDashExplicitWrapper { + /** + * @see _.forIn + */ + forIn(iteratee?: ObjectIterator): this; + } + interface LoDashStatic { + /** + * This method is like _.forIn except that it iterates over properties of object in the opposite order. + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @return Returns object. + */ + forInRight(object: T, iteratee?: ObjectIterator): T; + /** + * @see _.forInRight + */ + forInRight(object: T | null | undefined, iteratee?: ObjectIterator): T | null | undefined; + } + interface LoDashImplicitWrapper { + /** + * @see _.forInRight + */ + forInRight(iteratee?: ObjectIterator): this; + } + interface LoDashExplicitWrapper { + /** + * @see _.forInRight + */ + forInRight(iteratee?: ObjectIterator): this; + } + interface LoDashStatic { + /** + * Iterates over own enumerable properties of an object invoking iteratee for each property. The iteratee is + * invoked with three arguments: (value, key, object). Iteratee functions may exit + * iteration early by explicitly returning false. + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @return Returns object. + */ + forOwn(object: T, iteratee?: ObjectIterator): T; + /** + * @see _.forOwn + */ + forOwn(object: T | null | undefined, iteratee?: ObjectIterator): T | null | undefined; + } + interface LoDashImplicitWrapper { + /** + * @see _.forOwn + */ + forOwn(iteratee?: ObjectIterator): this; + } + interface LoDashExplicitWrapper { + /** + * @see _.forOwn + */ + forOwn(iteratee?: ObjectIterator): this; + } + interface LoDashStatic { + /** + * This method is like _.forOwn except that it iterates over properties of object in the opposite order. + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @return Returns object. + */ + forOwnRight(object: T, iteratee?: ObjectIterator): T; + /** + * @see _.forOwnRight + */ + forOwnRight(object: T | null | undefined, iteratee?: ObjectIterator): T | null | undefined; + } + interface LoDashImplicitWrapper { + /** + * @see _.forOwnRight + */ + forOwnRight(iteratee?: ObjectIterator): this; + } + interface LoDashExplicitWrapper { + /** + * @see _.forOwnRight + */ + forOwnRight(iteratee?: ObjectIterator): this; + } + interface LoDashStatic { + /** + * Creates an array of function property names from own enumerable properties + * of `object`. + * + * @category Object + * @param object The object to inspect. + * @returns Returns the new array of property names. + * @example + * + * function Foo() { + * this.a = _.constant('a'); + * this.b = _.constant('b'); + * } + * + * Foo.prototype.c = _.constant('c'); + * + * _.functions(new Foo); + * // => ['a', 'b'] + */ + functions(object: any): string[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.functions + */ + functions(): Collection; + } + interface LoDashExplicitWrapper { + /** + * @see _.functions + */ + functions(): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an array of function property names from own and inherited + * enumerable properties of `object`. + * + * @category Object + * @param object The object to inspect. + * @returns Returns the new array of property names. + * @example + * + * function Foo() { + * this.a = _.constant('a'); + * this.b = _.constant('b'); + * } + * + * Foo.prototype.c = _.constant('c'); + * + * _.functionsIn(new Foo); + * // => ['a', 'b', 'c'] + */ + functionsIn(object: any): string[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.functionsIn + */ + functionsIn(): Collection; + } + interface LoDashExplicitWrapper { + /** + * @see _.functionsIn + */ + functionsIn(): CollectionChain; + } + + type GetIndexedField = K extends keyof T + ? T[K] + : K extends `${number}` + ? 'length' extends keyof T + ? number extends T['length'] + ? number extends keyof T + ? T[number] + : undefined + : undefined + : undefined + : undefined; + + type FieldWithPossiblyUndefined = + | GetFieldType, Key> + | Extract; + + type IndexedFieldWithPossiblyUndefined = + | GetIndexedField, Key> + | Extract; + + type GetFieldType = P extends `${infer Left}.${infer Right}` + ? Left extends keyof Exclude + ? FieldWithPossiblyUndefined[Left], Right> | Extract + : Left extends `${infer FieldKey}[${infer IndexKey}]` + ? FieldKey extends keyof T + ? FieldWithPossiblyUndefined, Right> + : undefined + : undefined + : P extends keyof T + ? T[P] + : P extends `${infer FieldKey}[${infer IndexKey}]` + ? FieldKey extends keyof T + ? IndexedFieldWithPossiblyUndefined + : undefined + : IndexedFieldWithPossiblyUndefined; + + interface LoDashStatic { + /** + * Gets the property value at path of object. If the resolved value is undefined the defaultValue is used + * in its place. + * + * @param object The object to query. + * @param path The path of the property to get. + * @param defaultValue The value returned if the resolved value is undefined. + * @return Returns the resolved value. + */ + get(object: TObject, path: TKey | [TKey]): TObject[TKey]; + /** + * @see _.get + */ + get(object: TObject | null | undefined, path: TKey | [TKey]): TObject[TKey] | undefined; + /** + * @see _.get + */ + get(object: TObject | null | undefined, path: TKey | [TKey], defaultValue: TDefault): Exclude | TDefault; + /** + * @see _.get + */ + get(object: TObject, path: [TKey1, TKey2]): TObject[TKey1][TKey2]; + /** + * @see _.get + */ + get(object: TObject | null | undefined, path: [TKey1, TKey2]): TObject[TKey1][TKey2] | undefined; + /** + * @see _.get + */ + get(object: TObject | null | undefined, path: [TKey1, TKey2], defaultValue: TDefault): Exclude | TDefault; + /** + * @see _.get + */ + get(object: TObject, path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3]; + /** + * @see _.get + */ + get(object: TObject | null | undefined, path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3] | undefined; + /** + * @see _.get + */ + get(object: TObject | null | undefined, path: [TKey1, TKey2, TKey3], defaultValue: TDefault): Exclude | TDefault; + /** + * @see _.get + */ + get(object: TObject, path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4]; + /** + * @see _.get + */ + get(object: TObject | null | undefined, path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + /** + * @see _.get + */ + get(object: TObject | null | undefined, path: [TKey1, TKey2, TKey3, TKey4], defaultValue: TDefault): Exclude | TDefault; + /** + * @see _.get + */ + get(object: NumericDictionary, path: number): T; + /** + * @see _.get + */ + get(object: NumericDictionary | null | undefined, path: number): T | undefined; + /** + * @see _.get + */ + get(object: NumericDictionary | null | undefined, path: number, defaultValue: TDefault): T | TDefault; + /** + * @see _.get + */ + get(object: null | undefined, path: PropertyPath, defaultValue: TDefault): TDefault; + /** + * @see _.get + */ + get(object: null | undefined, path: PropertyPath): undefined; + /** + * @see _.get + */ + get(data: TObject, path: TPath): string extends TPath ? any : GetFieldType; + /** + * @see _.get + */ + get>(data: TObject, path: TPath, defaultValue: TDefault): Exclude, null | undefined> | TDefault; + /** + * @see _.get + */ + get(object: any, path: PropertyPath, defaultValue?: any): any; + } + interface String { + /** + * @see _.get + */ + get(path: number | number[]): string; + /** + * @see _.get + */ + get(path: number | number[], defaultValue: string): string; + } + interface Object { + /** + * @see _.get + */ + get(path: TKey | [TKey]): T[TKey]; + /** + * @see _.get + */ + get(path: TKey | [TKey], defaultValue: TDefault): Exclude | TDefault; + /** + * @see _.get + */ + get(path: [TKey1, TKey2]): T[TKey1][TKey2]; + /** + * @see _.get + */ + get(path: [TKey1, TKey2], defaultValue: TDefault): Exclude | TDefault; + /** + * @see _.get + */ + get(path: [TKey1, TKey2, TKey3]): T[TKey1][TKey2][TKey3]; + /** + * @see _.get + */ + get(path: [TKey1, TKey2, TKey3], defaultValue: TDefault): Exclude | TDefault; + /** + * @see _.get + */ + get(path: [TKey1, TKey2, TKey3, TKey4]): T[TKey1][TKey2][TKey3][TKey4]; + /** + * @see _.get + */ + get(path: [TKey1, TKey2, TKey3, TKey4], defaultValue: TDefault): Exclude | TDefault; + /** + * @see _.get + */ + get(path: TPath): string extends TPath ? any : GetFieldType; + /** + * @see _.get + */ + get>(path: TPath, defaultValue: TDefault): Exclude, null | undefined> | TDefault; + /** + * @see _.get + */ + get(path: PropertyPath, defaultValue?: any): any; + } + interface Collection { + /** + * @see _.get + */ + get(path: number): T; + /** + * @see _.get + */ + get(path: number, defaultValue: TDefault): T | TDefault; + } + interface StringChain { + /** + * @see _.get + */ + get(path: number | number[]): StringChain; + /** + * @see _.get + */ + get(path: number | number[], defaultValue: string): StringChain; + } + interface StringNullableChain { + /** + * @see _.get + */ + get(path: number | number[]): StringNullableChain; + /** + * @see _.get + */ + get(path: number | number[], defaultValue: string): StringChain; + } + interface ObjectChain { + /** + * @see _.get + */ + get(path: TKey | [TKey]): ExpChain; + /** + * @see _.get + */ + get(path: TKey | [TKey], defaultValue: never[]): T[TKey] extends any[] ? ExpChain> : ExpChain | never[]>; + /** + * @see _.get + */ + get(path: TKey | [TKey], defaultValue: TDefault): ExpChain | TDefault>; + /** + * @see _.get + */ + get(path: [TKey1, TKey2]): ExpChain; + /** + * @see _.get + */ + get(path: [TKey1, TKey2], defaultValue: never[]): T[TKey1][TKey2] extends any[] ? ExpChain> : ExpChain | never[]>; + /** + * @see _.get + */ + get(path: [TKey1, TKey2], defaultValue: TDefault): ExpChain | TDefault>; + /** + * @see _.get + */ + get(path: [TKey1, TKey2, TKey3]): ExpChain; + /** + * @see _.get + */ + get(path: [TKey1, TKey2, TKey3], defaultValue: never[]): T[TKey1][TKey2][TKey3] extends any[] ? ExpChain> : ExpChain | never[]>; + /** + * @see _.get + */ + get(path: [TKey1, TKey2, TKey3], defaultValue: TDefault): ExpChain | TDefault>; + /** + * @see _.get + */ + get(path: [TKey1, TKey2, TKey3, TKey4]): ExpChain; + /** + * @see _.get + */ + get(path: [TKey1, TKey2, TKey3, TKey4], defaultValue: never[]): T[TKey1][TKey2][TKey3][TKey4] extends any[] ? ExpChain> : ExpChain | never[]>; + /** + * @see _.get + */ + get(path: [TKey1, TKey2, TKey3, TKey4], defaultValue: TDefault): ExpChain | TDefault>; + /** + * @see _.get + */ + get(path: TPath): string extends TPath ? LoDashExplicitWrapper : ExpChain>; + /** + * @see _.get + */ + get>(path: TPath, defaultValue: TDefault): ExpChain, null | undefined> | TDefault>; + /** + * @see _.get + */ + get(path: PropertyPath, defaultValue?: any): LoDashExplicitWrapper; + } + interface CollectionChain { + /** + * @see _.get + */ + get(path: number): ExpChain; + /** + * @see _.get + */ + get(path: number, defaultValue: TDefault): ExpChain; + } + interface LoDashStatic { + /** + * Checks if `path` is a direct property of `object`. + * + * @category Object + * @param object The object to query. + * @param path The path to check. + * @returns Returns `true` if `path` exists, else `false`. + * @example + * + * var object = { 'a': { 'b': { 'c': 3 } } }; + * var other = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) }); + * + * _.has(object, 'a'); + * // => true + * + * _.has(object, 'a.b.c'); + * // => true + * + * _.has(object, ['a', 'b', 'c']); + * // => true + * + * _.has(other, 'a'); + * // => false + */ + has(object: T, path: PropertyPath): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.has + */ + has(path: PropertyPath): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.has + */ + has(path: PropertyPath): PrimitiveChain; + } + interface LoDashStatic { + /** + * Checks if `path` is a direct or inherited property of `object`. + * + * @category Object + * @param object The object to query. + * @param path The path to check. + * @returns Returns `true` if `path` exists, else `false`. + * @example + * + * var object = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) }); + * + * _.hasIn(object, 'a'); + * // => true + * + * _.hasIn(object, 'a.b.c'); + * // => true + * + * _.hasIn(object, ['a', 'b', 'c']); + * // => true + * + * _.hasIn(object, 'b'); + * // => false + */ + hasIn(object: T, path: PropertyPath): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.hasIn + */ + hasIn(path: PropertyPath): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.hasIn + */ + hasIn(path: PropertyPath): PrimitiveChain; + } + interface LoDashStatic { + /** + * Creates an object composed of the inverted keys and values of object. If object contains duplicate values, + * subsequent values overwrite property assignments of previous values unless multiValue is true. + * + * @param object The object to invert. + * @param multiValue Allow multiple values per key. + * @return Returns the new inverted object. + */ + invert(object: object): Dictionary; + } + interface LoDashImplicitWrapper { + /** + * @see _.invert + */ + invert(): Object>; + } + interface LoDashExplicitWrapper { + /** + * @see _.invert + */ + invert(): ObjectChain>; + } + interface LoDashStatic { + /** + * This method is like _.invert except that the inverted object is generated from the results of running each + * element of object through iteratee. The corresponding inverted value of each inverted key is an array of + * keys responsible for generating the inverted value. The iteratee is invoked with one argument: (value). + * + * @param object The object to invert. + * @param interatee The iteratee invoked per element. + * @return Returns the new inverted object. + */ + invertBy(object: Dictionary | NumericDictionary | null | undefined, interatee?: ValueIteratee): Dictionary; + /** + * @see _.invertBy + */ + invertBy(object: T | null | undefined, interatee?: ValueIteratee): Dictionary; + } + interface String { + /** + * @see _.invertBy + */ + invertBy(iteratee?: ValueIteratee): Object>; + } + interface Collection { + /** + * @see _.invertBy + */ + invertBy(iteratee?: ValueIteratee): Object>; + } + interface Object { + /** + * @see _.invertBy + */ + invertBy(iteratee?: ValueIteratee): Object>; + } + interface StringChain { + /** + * @see _.invertBy + */ + invertBy(iteratee?: ValueIteratee): ObjectChain>; + } + interface StringNullableChain { + /** + * @see _.invertBy + */ + invertBy(iteratee?: ValueIteratee): ObjectChain>; + } + interface CollectionChain { + /** + * @see _.invertBy + */ + invertBy(iteratee?: ValueIteratee): ObjectChain>; + } + interface ObjectChain { + /** + * @see _.invertBy + */ + invertBy(iteratee?: ValueIteratee): ObjectChain>; + } + interface LoDashStatic { + /** + * Invokes the method at path of object. + * @param object The object to query. + * @param path The path of the method to invoke. + * @param args The arguments to invoke the method with. + */ + invoke(object: any, path: PropertyPath, ...args: any[]): any; + } + interface LoDashImplicitWrapper { + /** + * @see _.invoke + */ + invoke(path: PropertyPath, ...args: any[]): any; + } + interface LoDashExplicitWrapper { + /** + * @see _.invoke + */ + invoke(path: PropertyPath, ...args: any[]): LoDashExplicitWrapper; + } + interface LoDashStatic { + /** + * Creates an array of the own enumerable property names of object. + * + * Note: Non-object values are coerced to objects. See the ES spec for more details. + * + * @param object The object to query. + * @return Returns the array of property names. + */ + keys(object?: any): string[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.keys + */ + keys(): Collection; + } + interface LoDashExplicitWrapper { + /** + * @see _.keys + */ + keys(): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an array of the own and inherited enumerable property names of object. + * + * Note: Non-object values are coerced to objects. + * + * @param object The object to query. + * @return An array of property names. + */ + keysIn(object?: any): string[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.keysIn + */ + keysIn(): Collection; + } + interface LoDashExplicitWrapper { + /** + * @see _.keysIn + */ + keysIn(): CollectionChain; + } + interface LoDashStatic { + /** + * The opposite of _.mapValues; this method creates an object with the same values as object and keys generated + * by running each own enumerable property of object through iteratee. + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @return Returns the new mapped object. + */ + mapKeys(object: List | null | undefined, iteratee?: ListIteratee): Dictionary; + /** + * @see _.mapKeys + */ + mapKeys(object: T | null | undefined, iteratee?: ObjectIteratee): Dictionary; + } + interface Collection { + /** + * @see _.mapKeys + */ + mapKeys(iteratee?: ListIteratee): Object>; + } + interface Object { + /** + * @see _.mapKeys + */ + mapKeys(iteratee?: ObjectIteratee): Object>; + } + interface CollectionChain { + /** + * @see _.mapKeys + */ + mapKeys(iteratee?: ListIteratee): ObjectChain>; + } + interface ObjectChain { + /** + * @see _.mapKeys + */ + mapKeys(iteratee?: ObjectIteratee): ObjectChain>; + } + interface LoDashStatic { + /** + * Creates an object with the same keys as object and values generated by running each own + * enumerable property of object through iteratee. The iteratee function is + * invoked with three arguments: (value, key, object). + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @return Returns the new mapped object. + */ + mapValues(obj: string | null | undefined, callback: StringIterator): NumericDictionary; + /** + * @see _.mapValues + */ + mapValues(obj: T | null | undefined, callback: ObjectIterator): { [P in keyof T]: TResult }; + /** + * @see _.mapValues + */ + mapValues(obj: Dictionary | NumericDictionary | null | undefined, iteratee: object): Dictionary; + /** + * @see _.mapValues + */ + mapValues(obj: T | null | undefined, iteratee: object): { [P in keyof T]: boolean }; + /** + * @see _.mapValues + */ + mapValues(obj: Dictionary | NumericDictionary | null | undefined, iteratee: TKey): Dictionary; + /** + * @see _.mapValues + */ + mapValues(obj: Dictionary | NumericDictionary | null | undefined, iteratee: string): Dictionary; + /** + * @see _.mapValues + */ + mapValues(obj: T | null | undefined, iteratee: string): { [P in keyof T]: any }; + /** + * @see _.mapValues + */ + mapValues(obj: string | null | undefined): NumericDictionary; + /** + * @see _.mapValues + */ + mapValues(obj: Dictionary | NumericDictionary | null | undefined): Dictionary; + /** + * @see _.mapValues + */ + mapValues(obj: T): T; + /** + * @see _.mapValues + */ + mapValues(obj: T | null | undefined): PartialObject; + } + interface String { + /** + * @see _.mapValues + */ + mapValues(callback: StringIterator): Object>; + /** + * @see _.mapValues + */ + mapValues(): Object>; + } + interface Collection { + /** + * @see _.mapValues + */ + mapValues(callback: DictionaryIterator): Object>; + /** + * @see _.mapValues + */ + mapValues(iteratee: TKey): Object>; + /** + * @see _.mapValues + */ + mapValues(iteratee: object): Object>; + /** + * @see _.mapValues + */ + mapValues(iteratee: string): Object>; + /** + * @see _.mapValues + */ + mapValues(): Object>; + } + interface Object { + /** + * @see _.mapValues + */ + mapValues(callback: ObjectIterator): Object<{ [P in keyof T]: TResult }>; + /** + * @see _.mapValues + */ + mapValues(callback: DictionaryIterator): Object>; + /** + * @see _.mapValues + */ + mapValues(iteratee: object): Object<{ [P in keyof T]: boolean }>; + /** + * @see _.mapValues + */ + mapValues(iteratee: TKey): Object>; + /** + * @see _.mapValues + */ + mapValues(iteratee: string): Object<{ [P in keyof T]: any }>; + /** + * @see _.mapValues + */ + mapValues(): Object; + } + interface StringChain { + /** + * @see _.mapValues + */ + mapValues(callback: StringIterator): ObjectChain>; + /** + * @see _.mapValues + */ + mapValues(): ObjectChain>; + } + interface StringNullableChain { + /** + * @see _.mapValues + */ + mapValues(callback: StringIterator): ObjectChain>; + /** + * @see _.mapValues + */ + mapValues(): ObjectChain>; + } + interface CollectionChain { + /** + * @see _.mapValues + */ + mapValues(callback: DictionaryIterator): ObjectChain>; + /** + * @see _.mapValues + */ + mapValues(iteratee: TKey): ObjectChain>; + /** + * @see _.mapValues + */ + mapValues(iteratee: object): ObjectChain>; + /** + * @see _.mapValues + */ + mapValues(iteratee: string): ObjectChain>; + /** + * @see _.mapValues + */ + mapValues(): ObjectChain>; + } + interface ObjectChain { + /** + * @see _.mapValues + */ + mapValues(callback: ObjectIterator): ObjectChain<{ [P in keyof T]: TResult }>; + /** + * @see _.mapValues + */ + mapValues(callback: DictionaryIterator): ObjectChain>; + /** + * @see _.mapValues + */ + mapValues(iteratee: object): ObjectChain<{ [P in keyof T]: boolean }>; + /** + * @see _.mapValues + */ + mapValues(iteratee: TKey): ObjectChain>; + /** + * @see _.mapValues + */ + mapValues(iteratee: string): ObjectChain<{ [P in keyof T]: any }>; + /** + * @see _.mapValues + */ + mapValues(): ObjectChain; + } + interface LoDashStatic { + /** + * Recursively merges own and inherited enumerable properties of source + * objects into the destination object, skipping source properties that resolve + * to `undefined`. Array and plain object properties are merged recursively. + * Other objects and value types are overridden by assignment. Source objects + * are applied from left to right. Subsequent sources overwrite property + * assignments of previous sources. + * + * **Note:** This method mutates `object`. + * + * @category Object + * @param object The destination object. + * @param [sources] The source objects. + * @returns Returns `object`. + * @example + * + * var users = { + * 'data': [{ 'user': 'barney' }, { 'user': 'fred' }] + * }; + * + * var ages = { + * 'data': [{ 'age': 36 }, { 'age': 40 }] + * }; + * + * _.merge(users, ages); + * // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] } + */ + merge(object: TObject, source: TSource): TObject & TSource; + /** + * @see _.merge + */ + merge(object: TObject, source1: TSource1, source2: TSource2): TObject & TSource1 & TSource2; + /** + * @see _.merge + */ + merge(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3): TObject & TSource1 & TSource2 & TSource3; + /** + * @see _.merge + */ + merge(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): TObject & TSource1 & TSource2 & TSource3 & TSource4; + /** + * @see _.merge + */ + merge(object: any, ...otherArgs: any[]): any; + } + interface Object { + /** + * @see _.merge + */ + merge(source: TSource): Object; + /** + * @see _.merge + */ + merge(source1: TSource1, source2: TSource2): Object; + /** + * @see _.merge + */ + merge(source1: TSource1, source2: TSource2, source3: TSource3): Object; + /** + * @see _.merge + */ + merge(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): Object; + /** + * @see _.merge + */ + merge(...otherArgs: any[]): Object; + } + interface ObjectChain { + /** + * @see _.merge + */ + merge(source: TSource): ObjectChain; + /** + * @see _.merge + */ + merge(source1: TSource1, source2: TSource2): ObjectChain; + /** + * @see _.merge + */ + merge(source1: TSource1, source2: TSource2, source3: TSource3): ObjectChain; + /** + * @see _.merge + */ + merge(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): ObjectChain; + /** + * @see _.merge + */ + merge(...otherArgs: any[]): ObjectChain; + } + type MergeWithCustomizer = { bivariantHack(value: any, srcValue: any, key: string, object: any, source: any): any; }["bivariantHack"]; + // TODO: Probably should just put all these methods on Object and forget about it. + // oh, except for Collection I GUESS + interface LoDashStatic { + /** + * This method is like `_.merge` except that it accepts `customizer` which + * is invoked to produce the merged values of the destination and source + * properties. If `customizer` returns `undefined` merging is handled by the + * method instead. The `customizer` is invoked with seven arguments: + * (objValue, srcValue, key, object, source, stack). + * + * @category Object + * @param object The destination object. + * @param sources The source objects. + * @param customizer The function to customize assigned values. + * @returns Returns `object`. + * @example + * + * function customizer(objValue, srcValue) { + * if (_.isArray(objValue)) { + * return objValue.concat(srcValue); + * } + * } + * + * var object = { + * 'fruits': ['apple'], + * 'vegetables': ['beet'] + * }; + * + * var other = { + * 'fruits': ['banana'], + * 'vegetables': ['carrot'] + * }; + * + * _.mergeWith(object, other, customizer); + * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] } + */ + mergeWith(object: TObject, source: TSource, customizer: MergeWithCustomizer): TObject & TSource; + /** + * @see _.mergeWith + */ + mergeWith(object: TObject, source1: TSource1, source2: TSource2, customizer: MergeWithCustomizer): TObject & TSource1 & TSource2; + /** + * @see _.mergeWith + */ + mergeWith(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, customizer: MergeWithCustomizer): TObject & TSource1 & TSource2 & TSource3; + /** + * @see _.mergeWith + */ + mergeWith(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: MergeWithCustomizer): TObject & TSource1 & TSource2 & TSource3 & TSource4; + /** + * @see _.mergeWith + */ + mergeWith(object: any, ...otherArgs: any[]): any; + } + interface Object { + /** + * @see _.mergeWith + */ + mergeWith(source: TSource, customizer: MergeWithCustomizer): Object; + /** + * @see _.mergeWith + */ + mergeWith(source1: TSource1, source2: TSource2, customizer: MergeWithCustomizer): Object; + /** + * @see _.mergeWith + */ + mergeWith(source1: TSource1, source2: TSource2, source3: TSource3, customizer: MergeWithCustomizer): Object; + /** + * @see _.mergeWith + */ + mergeWith(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: MergeWithCustomizer): Object; + /** + * @see _.mergeWith + */ + mergeWith(...otherArgs: any[]): Object; + } + interface ObjectChain { + /** + * @see _.mergeWith + */ + mergeWith(source: TSource, customizer: MergeWithCustomizer): ObjectChain; + /** + * @see _.mergeWith + */ + mergeWith(source1: TSource1, source2: TSource2, customizer: MergeWithCustomizer): ObjectChain; + /** + * @see _.mergeWith + */ + mergeWith(source1: TSource1, source2: TSource2, source3: TSource3, customizer: MergeWithCustomizer): ObjectChain; + /** + * @see _.mergeWith + */ + mergeWith(source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: MergeWithCustomizer): ObjectChain; + /** + * @see _.mergeWith + */ + mergeWith(...otherArgs: any[]): ObjectChain; + } + interface LoDashStatic { + /** + * The opposite of `_.pick`; this method creates an object composed of the + * own and inherited enumerable properties of `object` that are not omitted. + * + * @category Object + * @param object The source object. + * @param [paths] The property names to omit, specified + * individually or in arrays.. + * @returns Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.omit(object, ['a', 'c']); + * // => { 'b': '2' } + */ + omit( + object: T | null | undefined, + ...paths: K + ): Pick>; + /** + * @see _.omit + */ + omit(object: T | null | undefined, ...paths: Array>): Omit; + /** + * @see _.omit + */ + omit(object: T | null | undefined, ...paths: Array>): PartialObject; + } + interface Collection { + /** + * @see _.omit + */ + omit(...paths: Array>): Collection; + } + interface Object { + /** + * @see _.omit + */ + omit(...paths: Array>): Object>; + /** + * @see _.omit + */ + omit(...paths: Array>>): Object>; + } + interface CollectionChain { + /** + * @see _.omit + */ + omit(...paths: Array>): CollectionChain; + } + interface ObjectChain { + /** + * @see _.omit + */ + omit(...paths: Array>): ObjectChain>; + /** + * @see _.omit + */ + omit(...paths: Array>): ObjectChain>; + } + interface LoDashStatic { + /** + * The opposite of `_.pickBy`; this method creates an object composed of the + * own and inherited enumerable properties of `object` that `predicate` + * doesn't return truthy for. + * + * @category Object + * @param object The source object. + * @param [predicate=_.identity] The function invoked per property. + * @returns Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.omitBy(object, _.isNumber); + * // => { 'b': '2' } + */ + omitBy(object: Dictionary | null | undefined, predicate?: ValueKeyIteratee): Dictionary; + /** + * @see _.omitBy + */ + omitBy(object: NumericDictionary | null | undefined, predicate?: ValueKeyIteratee): NumericDictionary; + /** + * @see _.omitBy + */ + omitBy(object: T | null | undefined, predicate: ValueKeyIteratee): PartialObject; + } + interface Collection { + /** + * @see _.omitBy + */ + omitBy(predicate?: ValueKeyIteratee): Object>; + } + interface Object { + /** + * @see _.omitBy + */ + omitBy(predicate: ValueKeyIteratee): Object>; + } + interface CollectionChain { + /** + * @see _.omitBy + */ + omitBy(predicate?: ValueKeyIteratee): ObjectChain>; + } + interface ObjectChain { + /** + * @see _.omitBy + */ + omitBy(predicate: ValueKeyIteratee): ObjectChain>; + } + interface LoDashStatic { + /** + * Creates an object composed of the picked `object` properties. + * + * @category Object + * @param object The source object. + * @param [props] The property names to pick, specified + * individually or in arrays. + * @returns Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.pick(object, ['a', 'c']); + * // => { 'a': 1, 'c': 3 } + */ + pick(object: T, ...props: Array>): Pick; + /** + * @see _.pick + */ + pick(object: T | null | undefined, ...props: Array>): PartialObject; + } + interface Object { + /** + * @see _.pick + */ + pick(...props: Array>): Object>; + /** + * @see _.pick + */ + pick(...props: Array>): Object>; + } + interface ObjectChain { + /** + * @see _.pick + */ + pick(...props: Array>): ObjectChain>; + /** + * @see _.pick + */ + pick(...props: Array>): ObjectChain>; + } + interface LoDashStatic { + /** + * Creates an object composed of the `object` properties `predicate` returns + * truthy for. The predicate is invoked with two arguments: (value, key). + * + * @category Object + * @param object The source object. + * @param [predicate=_.identity] The function invoked per property. + * @returns Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.pickBy(object, _.isNumber); + * // => { 'a': 1, 'c': 3 } + */ + pickBy(object: Dictionary | null | undefined, predicate: ValueKeyIterateeTypeGuard): Dictionary; + /** + * @see _.pickBy + */ + pickBy(object: NumericDictionary | null | undefined, predicate: ValueKeyIterateeTypeGuard): NumericDictionary; + /** + * @see _.pickBy + */ + pickBy(object: Dictionary | null | undefined, predicate?: ValueKeyIteratee): Dictionary; + /** + * @see _.pickBy + */ + pickBy(object: NumericDictionary | null | undefined, predicate?: ValueKeyIteratee): NumericDictionary; + /** + * @see _.pickBy + */ + pickBy(object: T | null | undefined, predicate?: ValueKeyIteratee): PartialObject; + } + interface Collection { + /** + * @see _.pickBy + */ + pickBy(predicate: ValueKeyIterateeTypeGuard): Object>; + /** + * @see _.pickBy + */ + pickBy(predicate?: ValueKeyIteratee): Object>; + } + interface Object { + /** + * @see _.pickBy + */ + pickBy(predicate: ValueKeyIterateeTypeGuard): Object extends T ? NumericDictionary : Dictionary>; + /** + * @see _.pickBy + */ + pickBy(predicate?: ValueKeyIteratee): Object ? Dictionary : T extends NumericDictionary ? NumericDictionary : PartialObject>; + } + interface CollectionChain { + /** + * @see _.pickBy + */ + pickBy(predicate: ValueKeyIterateeTypeGuard): ObjectChain>; + /** + * @see _.pickBy + */ + pickBy(predicate?: ValueKeyIteratee): ObjectChain>; + } + interface ObjectChain { + /** + * @see _.pickBy + */ + pickBy(predicate: ValueKeyIterateeTypeGuard): ObjectChain extends T ? NumericDictionary : Dictionary>; + /** + * @see _.pickBy + */ + pickBy(predicate?: ValueKeyIteratee): ObjectChain ? Dictionary : T extends NumericDictionary ? NumericDictionary : PartialObject>; + } + interface LoDashStatic { + /** + * This method is like _.get except that if the resolved value is a function it’s invoked with the this binding + * of its parent object and its result is returned. + * + * @param object The object to query. + * @param path The path of the property to resolve. + * @param defaultValue The value returned if the resolved value is undefined. + * @return Returns the resolved value. + */ + result(object: any, path: PropertyPath, defaultValue?: TResult | ((...args: any[]) => TResult)): TResult; + } + interface LoDashImplicitWrapper { + /** + * @see _.result + */ + result(path: PropertyPath, defaultValue?: TResult | ((...args: any[]) => TResult)): TResult; + } + interface LoDashExplicitWrapper { + /** + * @see _.result + */ + result(path: PropertyPath, defaultValue?: TResult | ((...args: any[]) => TResult)): ExpChain; + } + interface LoDashStatic { + /** + * Sets the value at path of object. If a portion of path doesn’t exist it’s created. Arrays are created for + * missing index properties while objects are created for all other missing properties. Use _.setWith to + * customize path creation. + * + * @param object The object to modify. + * @param path The path of the property to set. + * @param value The value to set. + * @return Returns object. + */ + set(object: T, path: PropertyPath, value: any): T; + /** + * @see _.set + */ + set(object: object, path: PropertyPath, value: any): TResult; + } + interface LoDashImplicitWrapper { + /** + * @see _.set + */ + set(path: PropertyPath, value: any): this; + /** + * @see _.set + */ + set(path: PropertyPath, value: any): ImpChain; + } + interface LoDashExplicitWrapper { + /** + * @see _.set + */ + set(path: PropertyPath, value: any): this; + /** + * @see _.set + */ + set(path: PropertyPath, value: any): ExpChain; + } + type SetWithCustomizer = (nsValue: any, key: string, nsObject: T) => any; + interface LoDashStatic { + /** + * This method is like _.set except that it accepts customizer which is invoked to produce the objects of + * path. If customizer returns undefined path creation is handled by the method instead. The customizer is + * invoked with three arguments: (nsValue, key, nsObject). + * + * @param object The object to modify. + * @param path The path of the property to set. + * @param value The value to set. + * @param customizer The function to customize assigned values. + * @return Returns object. + */ + setWith(object: T, path: PropertyPath, value: any, customizer?: SetWithCustomizer): T; + /** + * @see _.setWith + */ + setWith(object: T, path: PropertyPath, value: any, customizer?: SetWithCustomizer): TResult; + } + interface LoDashImplicitWrapper { + /** + * @see _.setWith + */ + setWith(path: PropertyPath, value: any, customizer?: SetWithCustomizer): this; + /** + * @see _.setWith + */ + setWith(path: PropertyPath, value: any, customizer?: SetWithCustomizer): ImpChain; + } + interface LoDashExplicitWrapper { + /** + * @see _.setWith + */ + setWith(path: PropertyPath, value: any, customizer?: SetWithCustomizer): this; + /** + * @see _.setWith + */ + setWith(path: PropertyPath, value: any, customizer?: SetWithCustomizer): ExpChain; + } + interface LoDashStatic { + /** + * Creates an array of own enumerable key-value pairs for object. + * + * @param object The object to query. + * @return Returns the new array of key-value pairs. + */ + toPairs(object?: Dictionary | NumericDictionary): Array<[string, T]>; + /** + * @see _.toPairs + */ + toPairs(object?: object): Array<[string, any]>; + } + interface LoDashImplicitWrapper { + /** + * @see _.toPairs + */ + toPairs(): Collection<[string, TValue extends Dictionary ? U : TValue extends NumericDictionary ? V : any]>; + } + interface LoDashExplicitWrapper { + /** + * @see _.toPairs + */ + toPairs(): CollectionChain<[string, TValue extends Dictionary ? U : TValue extends NumericDictionary ? V : any]>; + } + interface LoDashStatic { + /** + * Creates an array of own and inherited enumerable key-value pairs for object. + * + * @param object The object to query. + * @return Returns the new array of key-value pairs. + */ + toPairsIn(object?: Dictionary | NumericDictionary): Array<[string, T]>; + /** + * @see _.toPairsIn + */ + toPairsIn(object?: object): Array<[string, any]>; + } + interface LoDashImplicitWrapper { + /** + * @see _.toPairsIn + */ + toPairsIn(): Collection<[string, TValue extends Dictionary ? U : TValue extends NumericDictionary ? V : any]>; + } + interface LoDashExplicitWrapper { + /** + * @see _.toPairsIn + */ + toPairsIn(): CollectionChain<[string, TValue extends Dictionary ? U : TValue extends NumericDictionary ? V : any]>; + } + interface LoDashStatic { + /** + * An alternative to _.reduce; this method transforms object to a new accumulator object which is the result of + * running each of its own enumerable properties through iteratee, with each invocation potentially mutating + * the accumulator object. The iteratee is invoked with four arguments: (accumulator, + * value, key, object). Iteratee functions may exit iteration early by explicitly returning false. + * + * @param object The object to iterate over. + * @param iteratee The function invoked per iteration. + * @param accumulator The custom accumulator value. + * @return Returns the accumulated value. + */ + transform(object: readonly T[], iteratee: MemoVoidArrayIterator, accumulator?: TResult): TResult; + /** + * @see _.transform + */ + transform(object: Dictionary, iteratee: MemoVoidDictionaryIterator, accumulator?: TResult): TResult; + /** + * @see _.transform + */ + transform(object: T, iteratee: MemoVoidDictionaryIterator, accumulator?: TResult): TResult; + /** + * @see _.transform + */ + transform(object: any[]): any[]; + /** + * @see _.transform + */ + transform(object: object): Dictionary; + } + interface Collection { + /** + * @see _.transform + */ + transform(iteratee: MemoVoidArrayIterator, accumulator?: TResult): ImpChain; + /** + * @see _.transform + */ + transform(): Collection; + } + interface Object { + /** + * @see _.transform + */ + transform(iteratee: MemoVoidDictionaryIterator, accumulator?: TResult): ImpChain; + /** + * @see _.transform + */ + transform(iteratee: MemoVoidDictionaryIterator, accumulator?: TResult): ImpChain; + /** + * @see _.transform + */ + transform(): ImpChain ? Dictionary : T>; + } + interface CollectionChain { + /** + * @see _.transform + */ + transform(iteratee: MemoVoidArrayIterator, accumulator?: TResult): ExpChain; + /** + * @see _.transform + */ + transform(): CollectionChain; + } + interface ObjectChain { + /** + * @see _.transform + */ + transform(iteratee: MemoVoidDictionaryIterator, accumulator?: TResult): ExpChain; + /** + * @see _.transform + */ + transform(iteratee: MemoVoidDictionaryIterator, accumulator?: TResult): ExpChain; + /** + * @see _.transform + */ + transform(): ExpChain ? Dictionary : T>; + } + interface LoDashStatic { + /** + * Removes the property at path of object. + * + * Note: This method mutates object. + * + * @param object The object to modify. + * @param path The path of the property to unset. + * @return Returns true if the property is deleted, else false. + */ + unset(object: any, path: PropertyPath): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.unset + */ + unset(path: PropertyPath): Primitive; + } + interface LoDashExplicitWrapper { + /** + * @see _.unset + */ + unset(path: PropertyPath): PrimitiveChain; + } + interface LoDashStatic { + /** + * This method is like _.set except that accepts updater to produce the value to set. Use _.updateWith to + * customize path creation. The updater is invoked with one argument: (value). + * + * @param object The object to modify. + * @param path The path of the property to set. + * @param updater The function to produce the updated value. + * @return Returns object. + */ + update(object: object, path: PropertyPath, updater: (value: any) => any): any; + } + interface LoDashImplicitWrapper { + /** + * @see _.update + */ + update(path: PropertyPath, updater: (value: any) => any): Object; + } + interface LoDashExplicitWrapper { + /** + * @see _.update + */ + update(path: PropertyPath, updater: (value: any) => any): ObjectChain; + } + interface LoDashStatic { + /** + * This method is like `_.update` except that it accepts `customizer` which is + * invoked to produce the objects of `path`. If `customizer` returns `undefined` + * path creation is handled by the method instead. The `customizer` is invoked + * with three arguments: (nsValue, key, nsObject). + * + * **Note:** This method mutates `object`. + * + * @since 4.6.0 + * @category Object + * @param object The object to modify. + * @param path The path of the property to set. + * @param updater The function to produce the updated value. + * @param [customizer] The function to customize assigned values. + * @returns Returns `object`. + * @example + * + * var object = {}; + * + * _.updateWith(object, '[0][1]', _.constant('a'), Object); + * // => { '0': { '1': 'a' } } + */ + updateWith(object: T, path: PropertyPath, updater: (oldValue: any) => any, customizer?: SetWithCustomizer): T; + /** + * @see _.updateWith + */ + updateWith(object: T, path: PropertyPath, updater: (oldValue: any) => any, customizer?: SetWithCustomizer): TResult; + } + interface Object { + /** + * @see _.updateWith + */ + updateWith(path: PropertyPath, updater: (oldValue: any) => any, customizer?: SetWithCustomizer): this; + /** + * @see _.updateWith + */ + updateWith(path: PropertyPath, updater: (oldValue: any) => any, customizer?: SetWithCustomizer): Object; + } + interface ObjectChain { + /** + * @see _.updateWith + */ + updateWith(path: PropertyPath, updater: (oldValue: any) => any, customizer?: SetWithCustomizer): this; + /** + * @see _.updateWith + */ + updateWith(path: PropertyPath, updater: (oldValue: any) => any, customizer?: SetWithCustomizer): ObjectChain; + } + interface LoDashStatic { + /** + * Creates an array of the own enumerable property values of object. + * + * @param object The object to query. + * @return Returns an array of property values. + */ + values(object: Dictionary | NumericDictionary | List | null | undefined): T[]; + /** + * @see _.values + */ + values(object: T | null | undefined): Array; + /** + * @see _.values + */ + values(object: any): any[]; + } + interface String { + /** + * @see _.values + */ + values(): Collection; + } + interface Object { + /** + * @see _.values + */ + values(): Collection; + } + interface ObjectChain { + /** + * @see _.values + */ + values(): CollectionChain; + } + interface StringChain { + /** + * @see _.values + */ + values(): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.values + */ + values(): CollectionChain; + } + interface LoDashStatic { + /** + * Creates an array of the own and inherited enumerable property values of object. + * + * @param object The object to query. + * @return Returns the array of property values. + */ + valuesIn(object: Dictionary | NumericDictionary | List | null | undefined): T[]; + /** + * @see _.valuesIn + */ + valuesIn(object: T | null | undefined): Array; + } + interface String { + /** + * @see _.valuesIn + */ + valuesIn(): Collection; + } + interface Object { + /** + * @see _.valuesIn + */ + valuesIn(): Collection; + } + interface StringChain { + /** + * @see _.valuesIn + */ + valuesIn(): CollectionChain; + } + interface StringNullableChain { + /** + * @see _.valuesIn + */ + valuesIn(): CollectionChain; + } + interface ObjectChain { + /** + * @see _.valuesIn + */ + valuesIn(): CollectionChain; + } +} diff --git a/node_modules/@types/lodash/common/seq.d.ts b/node_modules/@types/lodash/common/seq.d.ts new file mode 100644 index 0000000..8a0ef1c --- /dev/null +++ b/node_modules/@types/lodash/common/seq.d.ts @@ -0,0 +1,210 @@ +import _ = require("../index"); +declare module "../index" { + // chain + interface LoDashStatic { + /** + * Creates a lodash object that wraps value with explicit method chaining enabled. + * + * @param value The value to wrap. + * @return Returns the new lodash wrapper instance. + */ + chain(value: TrapAny): CollectionChain & FunctionChain & ObjectChain & PrimitiveChain & StringChain; + /** + * @see _.chain + */ + chain(value: T): PrimitiveChain; + /** + * @see _.chain + */ + chain(value: string): StringChain; + /** + * @see _.chain + */ + chain(value: string | null | undefined): StringNullableChain; + /** + * @see _.chain + */ + chain any>(value: T): FunctionChain; + /** + * @see _.chain + */ + chain(value: List | null | undefined): CollectionChain; + /** + * @see _.chain + */ + chain(value: T | null | undefined): ObjectChain; + /** + * @see _.chain + */ + chain(value: T): PrimitiveChain; + } + interface Collection { + /** + * @see _.chain + */ + chain(): CollectionChain; + } + interface String { + /** + * @see _.chain + */ + chain(): StringChain; + } + interface Object { + /** + * @see _.chain + */ + chain(): ObjectChain; + } + interface Primitive { + /** + * @see _.chain + */ + chain(): PrimitiveChain; + } + interface Function any> { + /** + * @see _.chain + */ + chain(): FunctionChain; + } + interface LoDashExplicitWrapper { + /** + * @see _.chain + */ + chain(): this; + } + // prototype.commit + interface LoDashImplicitWrapper { + /** + * @see _.commit + */ + commit(): this; + } + interface LoDashExplicitWrapper { + /** + * @see _.commit + */ + commit(): this; + } + // prototype.plant + interface LoDashImplicitWrapper { + /** + * @see _.plant + */ + plant(value: unknown): this; + } + interface LoDashExplicitWrapper { + /** + * @see _.plant + */ + plant(value: unknown): this; + } + // prototype.reverse + interface LoDashImplicitWrapper { + /** + * @see _.reverse + */ + reverse(): this; + } + interface LoDashExplicitWrapper { + /** + * @see _.reverse + */ + reverse(): this; + } + // prototype.toJSON + interface LoDashImplicitWrapper { + /** + * @see _.toJSON + */ + toJSON(): TValue; + } + interface LoDashExplicitWrapper { + /** + * @see _.toJSON + */ + toJSON(): TValue; + } + // prototype.toString + interface LoDashWrapper { + /** + * @see _.toString + */ + toString(): string; + } + // prototype.value + interface LoDashImplicitWrapper { + /** + * @see _.value + */ + value(): TValue; + } + interface LoDashExplicitWrapper { + /** + * @see _.value + */ + value(): TValue; + } + // prototype.valueOf + interface LoDashImplicitWrapper { + /** + * @see _.valueOf + */ + valueOf(): TValue; + } + interface LoDashExplicitWrapper { + /** + * @see _.valueOf + */ + valueOf(): TValue; + } + // tap + interface LoDashStatic { + /** + * This method invokes interceptor and returns value. The interceptor is invoked with one + * argument; (value). The purpose of this method is to "tap into" a method chain in order to perform operations + * on intermediate results within the chain. + * + * @param value The value to provide to interceptor. + * @param interceptor The function to invoke. + * @return Returns value. + */ + tap(value: T, interceptor: (value: T) => void): T; + } + interface LoDashImplicitWrapper { + /** + * @see _.tap + */ + tap(interceptor: (value: TValue) => void): this; + } + interface LoDashExplicitWrapper { + /** + * @see _.tap + */ + tap(interceptor: (value: TValue) => void): this; + } + // thru + interface LoDashStatic { + /** + * This method is like _.tap except that it returns the result of interceptor. + * + * @param value The value to provide to interceptor. + * @param interceptor The function to invoke. + * @return Returns the result of interceptor. + */ + thru(value: T, interceptor: (value: T) => TResult): TResult; + } + interface LoDashImplicitWrapper { + /** + * @see _.thru + */ + thru(interceptor: (value: TValue) => TResult): ImpChain; + } + interface LoDashExplicitWrapper { + /** + * @see _.thru + */ + thru(interceptor: (value: TValue) => TResult): ExpChain; + } +} diff --git a/node_modules/@types/lodash/common/string.d.ts b/node_modules/@types/lodash/common/string.d.ts new file mode 100644 index 0000000..6a32968 --- /dev/null +++ b/node_modules/@types/lodash/common/string.d.ts @@ -0,0 +1,788 @@ +import _ = require("../index"); +declare module "../index" { + interface LoDashStatic { + /** + * Converts string to camel case. + * + * @param string The string to convert. + * @return Returns the camel cased string. + */ + camelCase(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.camelCase + */ + camelCase(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.camelCase + */ + camelCase(): StringChain; + } + + interface LoDashStatic { + /** + * Converts the first character of string to upper case and the remaining to lower case. + * + * @param string The string to capitalize. + * @return Returns the capitalized string. + */ + capitalize(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.capitalize + */ + capitalize(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.capitalize + */ + capitalize(): StringChain; + } + + interface LoDashStatic { + /** + * Deburrs string by converting latin-1 supplementary letters to basic latin letters and removing combining + * diacritical marks. + * + * @param string The string to deburr. + * @return Returns the deburred string. + */ + deburr(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.deburr + */ + deburr(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.deburr + */ + deburr(): StringChain; + } + + interface LoDashStatic { + /** + * Checks if string ends with the given target string. + * + * @param string The string to search. + * @param target The string to search for. + * @param position The position to search from. + * @return Returns true if string ends with target, else false. + */ + endsWith(string?: string, target?: string, position?: number): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.endsWith + */ + endsWith(target?: string, position?: number): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.endsWith + */ + endsWith(target?: string, position?: number): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Converts the characters "&", "<", ">", '"', "'", and "`" in string to their corresponding HTML entities. + * + * Note: No other characters are escaped. To escape additional characters use a third-party library like he. + * + * Though the ">" character is escaped for symmetry, characters like ">" and "/" don’t need escaping in HTML + * and have no special meaning unless they're part of a tag or unquoted attribute value. See Mathias Bynens’s + * article (under "semi-related fun fact") for more details. + * + * Backticks are escaped because in IE < 9, they can break out of attribute values or HTML comments. See #59, + * #102, #108, and #133 of the HTML5 Security Cheatsheet for more details. + * + * When working with HTML you should always quote attribute values to reduce XSS vectors. + * + * @param string The string to escape. + * @return Returns the escaped string. + */ + escape(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.escape + */ + escape(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.escape + */ + escape(): StringChain; + } + + interface LoDashStatic { + /** + * Escapes the RegExp special characters "^", "$", "\", ".", "*", "+", "?", "(", ")", "[", "]", + * "{", "}", and "|" in string. + * + * @param string The string to escape. + * @return Returns the escaped string. + */ + escapeRegExp(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.escapeRegExp + */ + escapeRegExp(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.escapeRegExp + */ + escapeRegExp(): StringChain; + } + + interface LoDashStatic { + /** + * Converts string to kebab case. + * + * @param string The string to convert. + * @return Returns the kebab cased string. + */ + kebabCase(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.kebabCase + */ + kebabCase(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.kebabCase + */ + kebabCase(): StringChain; + } + + interface LoDashStatic { + /** + * Converts `string`, as space separated words, to lower case. + * + * @param string The string to convert. + * @return Returns the lower cased string. + */ + lowerCase(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.lowerCase + */ + lowerCase(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.lowerCase + */ + lowerCase(): StringChain; + } + + interface LoDashStatic { + /** + * Converts the first character of `string` to lower case. + * + * @param string The string to convert. + * @return Returns the converted string. + */ + lowerFirst(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.lowerFirst + */ + lowerFirst(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.lowerFirst + */ + lowerFirst(): StringChain; + } + + interface LoDashStatic { + /** + * Pads string on the left and right sides if it’s shorter than length. Padding characters are truncated if + * they can’t be evenly divided by length. + * + * @param string The string to pad. + * @param length The padding length. + * @param chars The string used as padding. + * @return Returns the padded string. + */ + pad(string?: string, length?: number, chars?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.pad + */ + pad(length?: number, chars?: string): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.pad + */ + pad(length?: number, chars?: string): StringChain; + } + + interface LoDashStatic { + /** + * Pads string on the right side if it’s shorter than length. Padding characters are truncated if they exceed + * length. + * + * @param string The string to pad. + * @param length The padding length. + * @param chars The string used as padding. + * @return Returns the padded string. + */ + padEnd(string?: string, length?: number, chars?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.padEnd + */ + padEnd(length?: number, chars?: string): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.padEnd + */ + padEnd(length?: number, chars?: string): StringChain; + } + + interface LoDashStatic { + /** + * Pads string on the left side if it’s shorter than length. Padding characters are truncated if they exceed + * length. + * + * @param string The string to pad. + * @param length The padding length. + * @param chars The string used as padding. + * @return Returns the padded string. + */ + padStart(string?: string, length?: number, chars?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.padStart + */ + padStart(length?: number, chars?: string): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.padStart + */ + padStart(length?: number, chars?: string): StringChain; + } + + interface LoDashStatic { + /** + * Converts string to an integer of the specified radix. If radix is undefined or 0, a radix of 10 is used + * unless value is a hexadecimal, in which case a radix of 16 is used. + * + * Note: This method aligns with the ES5 implementation of parseInt. + * + * @param string The string to convert. + * @param radix The radix to interpret value by. + * @return Returns the converted integer. + */ + parseInt(string: string, radix?: number): number; + } + interface LoDashImplicitWrapper { + /** + * @see _.parseInt + */ + parseInt(radix?: number): number; + } + interface LoDashExplicitWrapper { + /** + * @see _.parseInt + */ + parseInt(radix?: number): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Repeats the given string n times. + * + * @param string The string to repeat. + * @param n The number of times to repeat the string. + * @return Returns the repeated string. + */ + repeat(string?: string, n?: number): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.repeat + */ + repeat(n?: number): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.repeat + */ + repeat(n?: number): StringChain; + } + type ReplaceFunction = (match: string, ...args: any[]) => string; + + interface LoDashStatic { + /** + * Replaces matches for pattern in string with replacement. + * + * Note: This method is based on String#replace. + * + * @return Returns the modified string. + */ + replace(string: string, pattern: RegExp | string, replacement: ReplaceFunction | string): string; + /** + * @see _.replace + */ + replace(pattern: RegExp | string, replacement: ReplaceFunction | string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.replace + */ + replace(pattern: RegExp | string, replacement: ReplaceFunction | string): string; + /** + * @see _.replace + */ + replace(replacement: ReplaceFunction | string): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.replace + */ + replace(pattern: RegExp | string, replacement: ReplaceFunction | string): StringChain; + /** + * @see _.replace + */ + replace(replacement: ReplaceFunction | string): StringChain; + } + + interface LoDashStatic { + /** + * Converts string to snake case. + * + * @param string The string to convert. + * @return Returns the snake cased string. + */ + snakeCase(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.snakeCase + */ + snakeCase(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.snakeCase + */ + snakeCase(): StringChain; + } + + interface LoDashStatic { + /** + * Splits string by separator. + * + * Note: This method is based on String#split. + * + * @param string The string to split. + * @param separator The separator pattern to split by. + * @param limit The length to truncate results to. + * @return Returns the new array of string segments. + */ + split(string: string | null | undefined, separator?: RegExp | string, limit?: number): string[]; + /** + * @see _.split + */ + split(string: string | null | undefined, index: string | number, guard: object): string[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.split + */ + split(separator?: RegExp | string, limit?: number): Collection; + } + interface LoDashExplicitWrapper { + /** + * @see _.split + */ + split(separator?: RegExp | string, limit?: number): CollectionChain; + } + + interface LoDashStatic { + /** + * Converts string to start case. + * + * @param string The string to convert. + * @return Returns the start cased string. + */ + startCase(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.startCase + */ + startCase(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.startCase + */ + startCase(): StringChain; + } + + interface LoDashStatic { + /** + * Checks if string starts with the given target string. + * + * @param string The string to search. + * @param target The string to search for. + * @param position The position to search from. + * @return Returns true if string starts with target, else false. + */ + startsWith(string?: string, target?: string, position?: number): boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.startsWith + */ + startsWith(target?: string, position?: number): boolean; + } + interface LoDashExplicitWrapper { + /** + * @see _.startsWith + */ + startsWith(target?: string, position?: number): PrimitiveChain; + } + + interface TemplateOptions extends TemplateSettings { + /** + * @see _.sourceURL + */ + sourceURL?: string | undefined; + } + interface TemplateExecutor { + (data?: object): string; + /** + * @see _.source + */ + source: string; + } + interface LoDashStatic { + /** + * Creates a compiled template function that can interpolate data properties in "interpolate" delimiters, + * HTML-escape interpolated data properties in "escape" delimiters, and execute JavaScript in "evaluate" + * delimiters. Data properties may be accessed as free variables in the template. If a setting object is + * provided it takes precedence over _.templateSettings values. + * + * Note: In the development build _.template utilizes + * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) for easier + * debugging. + * + * For more information on precompiling templates see + * [lodash's custom builds documentation](https://lodash.com/custom-builds). + * + * For more information on Chrome extension sandboxes see + * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval). + * + * @param string The template string. + * @param options The options object. + * @param options.escape The HTML "escape" delimiter. + * @param options.evaluate The "evaluate" delimiter. + * @param options.imports An object to import into the template as free variables. + * @param options.interpolate The "interpolate" delimiter. + * @param options.sourceURL The sourceURL of the template's compiled source. + * @param options.variable The data object variable name. + * @return Returns the compiled template function. + */ + template(string?: string, options?: TemplateOptions): TemplateExecutor; + } + interface LoDashImplicitWrapper { + /** + * @see _.template + */ + template(options?: TemplateOptions): TemplateExecutor; + } + interface LoDashExplicitWrapper { + /** + * @see _.template + */ + template(options?: TemplateOptions): FunctionChain; + } + + interface LoDashStatic { + /** + * Converts `string`, as a whole, to lower case. + * + * @param string The string to convert. + * @return Returns the lower cased string. + */ + toLower(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.toLower + */ + toLower(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.toLower + */ + toLower(): StringChain; + } + + interface LoDashStatic { + /** + * Converts `string`, as a whole, to upper case. + * + * @param string The string to convert. + * @return Returns the upper cased string. + */ + toUpper(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.toUpper + */ + toUpper(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.toUpper + */ + toUpper(): StringChain; + } + + interface LoDashStatic { + /** + * Removes leading and trailing whitespace or specified characters from string. + * + * @param string The string to trim. + * @param chars The characters to trim. + * @return Returns the trimmed string. + */ + trim(string?: string, chars?: string): string; + /** + * @see _.trim + */ + trim(string: string, index: string | number, guard: object): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.trim + */ + trim(chars?: string): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.trim + */ + trim(chars?: string): StringChain; + } + + interface LoDashStatic { + /** + * Removes trailing whitespace or specified characters from string. + * + * @param string The string to trim. + * @param chars The characters to trim. + * @return Returns the trimmed string. + */ + trimEnd(string?: string, chars?: string): string; + /** + * @see _.trimEnd + */ + trimEnd(string: string, index: string | number, guard: object): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.trimEnd + */ + trimEnd(chars?: string): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.trimEnd + */ + trimEnd(chars?: string): StringChain; + } + + interface LoDashStatic { + /** + * Removes leading whitespace or specified characters from string. + * + * @param string The string to trim. + * @param chars The characters to trim. + * @return Returns the trimmed string. + */ + trimStart(string?: string, chars?: string): string; + /** + * @see _.trimStart + */ + trimStart(string: string, index: string | number, guard: object): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.trimStart + */ + trimStart(chars?: string): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.trimStart + */ + trimStart(chars?: string): StringChain; + } + + interface TruncateOptions { + /** + * @see _.length + */ + length?: number | undefined; + /** + * @see _.omission + */ + omission?: string | undefined; + /** + * @see _.separator + */ + separator?: string | RegExp | undefined; + } + interface LoDashStatic { + /** + * Truncates string if it’s longer than the given maximum string length. The last characters of the truncated + * string are replaced with the omission string which defaults to "…". + * + * @param string The string to truncate. + * @param options The options object or maximum string length. + * @return Returns the truncated string. + */ + truncate(string?: string, options?: TruncateOptions): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.truncate + */ + truncate(options?: TruncateOptions): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.truncate + */ + truncate(options?: TruncateOptions): StringChain; + } + + interface LoDashStatic { + /** + * The inverse of _.escape; this method converts the HTML entities &, <, >, ", ', and ` + * in string to their corresponding characters. + * + * Note: No other HTML entities are unescaped. To unescape additional HTML entities use a third-party library + * like he. + * + * @param string The string to unescape. + * @return Returns the unescaped string. + */ + unescape(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.unescape + */ + unescape(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.unescape + */ + unescape(): StringChain; + } + + interface LoDashStatic { + /** + * Converts `string`, as space separated words, to upper case. + * + * @param string The string to convert. + * @return Returns the upper cased string. + */ + upperCase(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.upperCase + */ + upperCase(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.upperCase + */ + upperCase(): StringChain; + } + + interface LoDashStatic { + /** + * Converts the first character of `string` to upper case. + * + * @param string The string to convert. + * @return Returns the converted string. + */ + upperFirst(string?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.upperFirst + */ + upperFirst(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.upperFirst + */ + upperFirst(): StringChain; + } + + interface LoDashStatic { + /** + * Splits `string` into an array of its words. + * + * @param string The string to inspect. + * @param pattern The pattern to match words. + * @return Returns the words of `string`. + */ + words(string?: string, pattern?: string | RegExp): string[]; + /** + * @see _.words + */ + words(string: string, index: string | number, guard: object): string[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.words + */ + words(pattern?: string | RegExp): Collection; + } + interface LoDashExplicitWrapper { + /** + * @see _.words + */ + words(pattern?: string | RegExp): CollectionChain; + } +} diff --git a/node_modules/@types/lodash/common/util.d.ts b/node_modules/@types/lodash/common/util.d.ts new file mode 100644 index 0000000..caf2467 --- /dev/null +++ b/node_modules/@types/lodash/common/util.d.ts @@ -0,0 +1,1220 @@ +import _ = require("../index"); +declare module "../index" { + interface LoDashStatic { + /** + * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments + * are provided to func when it’s invoked. + * + * @param func The function to attempt. + * @return Returns the func result or error object. + */ + attempt(func: (...args: any[]) => TResult, ...args: any[]): TResult | Error; + } + interface LoDashImplicitWrapper { + /** + * @see _.attempt + */ + attempt(...args: any[]): TResult | Error; + } + interface LoDashExplicitWrapper { + /** + * @see _.attempt + */ + attempt(...args: any[]): ExpChain; + } + + interface LoDashStatic { + /** + * Binds methods of an object to the object itself, overwriting the existing method. Method names may be + * specified as individual arguments or as arrays of method names. If no method names are provided all + * enumerable function properties, own and inherited, of object are bound. + * + * Note: This method does not set the "length" property of bound functions. + * + * @param object The object to bind and assign the bound methods to. + * @param methodNames The object method names to bind, specified as individual method names or arrays of + * method names. + * @return Returns object. + */ + bindAll(object: T, ...methodNames: Array>): T; + } + interface LoDashImplicitWrapper { + /** + * @see _.bindAll + */ + bindAll(...methodNames: Array>): this; + } + interface LoDashExplicitWrapper { + /** + * @see _.bindAll + */ + bindAll(...methodNames: Array>): this; + } + + interface LoDashStatic { + /** + * Creates a function that iterates over `pairs` and invokes the corresponding + * function of the first predicate to return truthy. The predicate-function + * pairs are invoked with the `this` binding and arguments of the created + * function. + * + * @since 4.0.0 + * @category Util + * @param pairs The predicate-function pairs. + * @returns Returns the new composite function. + * @example + * + * var func = _.cond([ + * [_.matches({ 'a': 1 }), _.constant('matches A')], + * [_.conforms({ 'b': _.isNumber }), _.constant('matches B')], + * [_.stubTrue, _.constant('no match')] + * ]); + * + * func({ 'a': 1, 'b': 2 }); + * // => 'matches A' + * + * func({ 'a': 0, 'b': 1 }); + * // => 'matches B' + * + * func({ 'a': '1', 'b': '2' }); + * // => 'no match' + */ + cond(pairs: Array>): () => R; + cond(pairs: Array>): (Target: T) => R; + } + + type ConformsPredicateObject = { + [P in keyof T]: T[P] extends (arg: infer A) => any ? A : any + }; + interface LoDashStatic { + /** + * Creates a function that invokes the predicate properties of `source` with the corresponding + * property values of a given object, returning true if all predicates return truthy, else false. + */ + conforms(source: ConformsPredicateObject): (value: T) => boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.conforms + */ + conforms(): Function<(value: ConformsPredicateObject) => boolean>; + } + interface LoDashExplicitWrapper { + /** + * @see _.conforms + */ + conforms(): FunctionChain<(value: ConformsPredicateObject) => boolean>; + } + + interface LoDashStatic { + /** + * Creates a function that returns value. + * + * @param value The value to return from the new function. + * @return Returns the new function. + */ + constant(value: T): () => T; + } + interface LoDashImplicitWrapper { + /** + * @see _.constant + */ + constant(): Function<() => TValue>; + } + interface LoDashExplicitWrapper { + /** + * @see _.constant + */ + constant(): FunctionChain<() => TValue>; + } + + interface LoDashStatic { + /** + * Checks `value` to determine whether a default value should be returned in + * its place. The `defaultValue` is returned if `value` is `NaN`, `null`, + * or `undefined`. + * + * @param value The value to check. + * @param defaultValue The default value. + * @returns Returns the resolved value. + */ + defaultTo(value: T | null | undefined, defaultValue: T): T; + /** + * @see _.defaultTo + */ + defaultTo(value: T | null | undefined, defaultValue: TDefault): T | TDefault; + } + interface LoDashImplicitWrapper { + /** + * @see _.defaultTo + */ + defaultTo(defaultValue: TValue): TValue; + /** + * @see _.defaultTo + */ + defaultTo(defaultValue: TDefault): TValue extends null | undefined ? TDefault : TValue | TDefault; + } + interface LoDashExplicitWrapper { + /** + * @see _.defaultTo + */ + defaultTo(defaultValue: TValue): ExpChain; + /** + * @see _.defaultTo + */ + defaultTo(defaultValue: TDefault): ExpChain; + } + + interface LoDashStatic { + /** + * Creates a function that returns the result of invoking the provided functions with the this binding of the + * created function, where each successive invocation is supplied the return value of the previous. + * + * @param funcs Functions to invoke. + * @return Returns the new function. + */ + flow(f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (...args: A) => R7; + /** + * @see _.flow + */ + flow(f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...func: Array any>>): (...args: A) => any; + /** + * @see _.flow + */ + flow(f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (...args: A) => R6; + /** + * @see _.flow + */ + flow(f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (...args: A) => R5; + /** + * @see _.flow + */ + flow(f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (...args: A) => R4; + /** + * @see _.flow + */ + flow(f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (...args: A) => R3; + /** + * @see _.flow + */ + flow(f1: (...args: A) => R1, f2: (a: R1) => R2): (...args: A) => R2; + /** + * @see _.flow + */ + flow(...func: Array any>>): (...args: any[]) => any; + } + interface Function any> { + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): Function<(...args: Parameters) => R7>; + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...func: Array any>>): Function<(...args: Parameters) => any>; + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): Function<(...args: Parameters) => R6>; + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): Function<(...args: Parameters) => R5>; + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): Function<(...args: Parameters) => R4>; + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2, f3: (a: R2) => R3): Function<(...args: Parameters) => R3>; + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2): Function<(...args: Parameters) => R2>; + /** + * @see _.flow + */ + flow(...func: Array any>>): Function<(...args: any[]) => any>; + } + interface FunctionChain { + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): FunctionChain<(...args: Parameters) => R7>; + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...func: Array any>>): FunctionChain<(...args: Parameters) => any>; + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): FunctionChain<(...args: Parameters) => R6>; + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): FunctionChain<(...args: Parameters) => R5>; + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): FunctionChain<(...args: Parameters) => R4>; + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2, f3: (a: R2) => R3): FunctionChain<(...args: Parameters) => R3>; + /** + * @see _.flow + */ + flow(f2: (a: ReturnType) => R2): FunctionChain<(...args: Parameters) => R2>; + /** + * @see _.flow + */ + flow(...func: Array any>>): FunctionChain<(...args: any[]) => any>; + } + + interface LoDashStatic { + /** + * This method is like _.flow except that it creates a function that invokes the provided functions from right + * to left. + * + * @param funcs Functions to invoke. + * @return Returns the new function. + */ + flowRight(f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R7; + /** + * @see _.flowRight + */ + flowRight(f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R6; + /** + * @see _.flowRight + */ + flowRight(f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R5; + /** + * @see _.flowRight + */ + flowRight(f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R4; + /** + * @see _.flowRight + */ + flowRight(f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R3; + /** + * @see _.flowRight + */ + flowRight(f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R2; + /** + * @see _.flowRight + */ + flowRight(...func: Array any>>): (...args: any[]) => any; + } + interface Function { + /** + * @see _.flowRight + */ + flowRight(f6: (a: R5) => Parameters["0"], f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): Function<(...args: A) => ReturnType>; + /** + * @see _.flowRight + */ + flowRight(f5: (a: R4) => Parameters["0"], f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): Function<(...args: A) => ReturnType>; + /** + * @see _.flowRight + */ + flowRight(f4: (a: R3) => Parameters["0"], f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): Function<(...args: A) => ReturnType>; + /** + * @see _.flowRight + */ + flowRight(f3: (a: R2) => Parameters["0"], f2: (a: R1) => R2, f1: (...args: A) => R1): Function<(...args: A) => ReturnType>; + /** + * @see _.flowRight + */ + flowRight(f2: (a: R1) => Parameters["0"], f1: (...args: A) => R1): Function<(...args: A) => ReturnType>; + /** + * @see _.flowRight + */ + flowRight(f1: (...args: A) => Parameters["0"]): Function<(...args: A) => ReturnType>; + /** + * @see _.flowRight + */ + flowRight(...func: Array any>>): Function<(...args: any[]) => any>; + } + interface FunctionChain { + /** + * @see _.flowRight + */ + flowRight(f6: (a: R5) => Parameters["0"], f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): FunctionChain<(...args: A) => ReturnType>; + /** + * @see _.flowRight + */ + flowRight(f5: (a: R4) => Parameters["0"], f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): FunctionChain<(...args: A) => ReturnType>; + /** + * @see _.flowRight + */ + flowRight(f4: (a: R3) => Parameters["0"], f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): FunctionChain<(...args: A) => ReturnType>; + /** + * @see _.flowRight + */ + flowRight(f3: (a: R2) => Parameters["0"], f2: (a: R1) => R2, f1: (...args: A) => R1): FunctionChain<(...args: A) => ReturnType>; + /** + * @see _.flowRight + */ + flowRight(f2: (a: R1) => Parameters["0"], f1: (...args: A) => R1): FunctionChain<(...args: A) => ReturnType>; + /** + * @see _.flowRight + */ + flowRight(f1: (...args: A) => Parameters["0"]): FunctionChain<(...args: A) => ReturnType>; + /** + * @see _.flowRight + */ + flowRight(...func: Array any>>): FunctionChain<(...args: any[]) => any>; + } + + interface LoDashStatic { + /** + * This method returns the first argument provided to it. + * + * @param value Any value. + * @return Returns value. + */ + identity(value: T): T; + /** + * @see _.identity + */ + identity(): undefined; + } + interface LoDashImplicitWrapper { + /** + * @see _.identity + */ + identity(): TValue; + } + interface LoDashExplicitWrapper { + /** + * @see _.identity + */ + identity(): this; + } + + interface LoDashStatic { + /** + * Creates a function that invokes `func` with the arguments of the created + * function. If `func` is a property name the created callback returns the + * property value for a given element. If `func` is an object the created + * callback returns `true` for elements that contain the equivalent object properties, otherwise it returns `false`. + * + * @category Util + * @param [func=_.identity] The value to convert to a callback. + * @returns Returns the callback. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 40 } + * ]; + * + * // create custom iteratee shorthands + * _.iteratee = _.wrap(_.iteratee, function(callback, func) { + * var p = /^(\S+)\s*([<>])\s*(\S+)$/.exec(func); + * return !p ? callback(func) : function(object) { + * return (p[2] == '>' ? object[p[1]] > p[3] : object[p[1]] < p[3]); + * }; + * }); + * + * _.filter(users, 'age > 36'); + * // => [{ 'user': 'fred', 'age': 40 }] + */ + iteratee any>(func: TFunction): TFunction; + /** + * @see _.iteratee + */ + iteratee(func: symbol | number | string | object): (...args: any[]) => any; + } + interface Function any> { + /** + * @see _.iteratee + */ + iteratee(): Function; + } + interface Collection { + /** + * @see _.iteratee + */ + iteratee(): Function<(o: object) => boolean>; + } + interface Object { + /** + * @see _.iteratee + */ + iteratee(): Function<(o: T) => boolean>; + } + interface String { + /** + * @see _.iteratee + */ + iteratee(): Function<(o: object) => any>; + } + interface FunctionChain any> { + /** + * @see _.iteratee + */ + iteratee(): FunctionChain; + } + interface CollectionChain { + /** + * @see _.iteratee + */ + iteratee(): FunctionChain<(o: object) => boolean>; + } + interface ObjectChain { + /** + * @see _.iteratee + */ + iteratee(): FunctionChain<(o: T) => boolean>; + } + interface StringChain { + /** + * @see _.iteratee + */ + iteratee(): FunctionChain<(o: object) => any>; + } + interface StringNullableChain { + /** + * @see _.iteratee + */ + iteratee(): FunctionChain<(o: object) => any>; + } + + interface LoDashStatic { + /** + * Creates a function that performs a deep comparison between a given object and source, returning true if the + * given object has equivalent property values, else false. + * + * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and + * strings. Objects are compared by their own, not inherited, enumerable properties. For comparing a single own + * or inherited property value see _.matchesProperty. + * + * @param source The object of property values to match. + * @return Returns the new function. + */ + matches(source: T): (value: any) => boolean; + /** + * @see _.matches + */ + matches(source: T): (value: V) => boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.matches + */ + matches(): Function<(value: V) => boolean>; + } + interface LoDashExplicitWrapper { + /** + * @see _.matches + */ + matches(): FunctionChain<(value: V) => boolean>; + } + + interface LoDashStatic { + /** + * Creates a function that compares the property value of path on a given object to value. + * + * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and + * strings. Objects are compared by their own, not inherited, enumerable properties. + * + * @param path The path of the property to get. + * @param srcValue The value to match. + * @return Returns the new function. + */ + matchesProperty(path: PropertyPath, srcValue: T): (value: any) => boolean; + /** + * @see _.matchesProperty + */ + matchesProperty(path: PropertyPath, srcValue: T): (value: V) => boolean; + } + interface LoDashImplicitWrapper { + /** + * @see _.matchesProperty + */ + matchesProperty(srcValue: SrcValue): Function<(value: any) => boolean>; + /** + * @see _.matchesProperty + */ + matchesProperty(srcValue: SrcValue): Function<(value: Value) => boolean>; + } + interface LoDashExplicitWrapper { + /** + * @see _.matchesProperty + */ + matchesProperty(srcValue: SrcValue): FunctionChain<(value: any) => boolean>; + /** + * @see _.matchesProperty + */ + matchesProperty(srcValue: SrcValue): FunctionChain<(value: Value) => boolean>; + } + + interface LoDashStatic { + /** + * Creates a function that invokes the method at path on a given object. Any additional arguments are provided + * to the invoked method. + * + * @param path The path of the method to invoke. + * @param args The arguments to invoke the method with. + * @return Returns the new function. + */ + method(path: PropertyPath, ...args: any[]): (object: any) => any; + } + interface LoDashImplicitWrapper { + /** + * @see _.method + */ + method(...args: any[]): Function<(object: any) => any>; + } + interface LoDashExplicitWrapper { + /** + * @see _.method + */ + method(...args: any[]): FunctionChain<(object: any) => any>; + } + + interface LoDashStatic { + /** + * The opposite of _.method; this method creates a function that invokes the method at a given path on object. + * Any additional arguments are provided to the invoked method. + * + * @param object The object to query. + * @param args The arguments to invoke the method with. + * @return Returns the new function. + */ + methodOf(object: object, ...args: any[]): (path: PropertyPath) => any; + } + interface LoDashImplicitWrapper { + /** + * @see _.methodOf + */ + methodOf(...args: any[]): LoDashImplicitWrapper<(path: PropertyPath) => any>; + } + interface LoDashExplicitWrapper { + /** + * @see _.methodOf + */ + methodOf(...args: any[]): LoDashExplicitWrapper<(path: PropertyPath) => any>; + } + + interface MixinOptions { + /** + * @see _.chain + */ + chain?: boolean | undefined; + } + interface LoDashStatic { + /** + * Adds all own enumerable function properties of a source object to the destination object. If object is a + * function then methods are added to its prototype as well. + * + * Note: Use _.runInContext to create a pristine lodash function to avoid conflicts caused by modifying + * the original. + * + * @param object The destination object. + * @param source The object of functions to add. + * @param options The options object. + * @param options.chain Specify whether the functions added are chainable. + * @return Returns object. + */ + mixin(object: TObject, source: Dictionary<(...args: any[]) => any>, options?: MixinOptions): TObject; + /** + * @see _.mixin + */ + mixin(source: Dictionary<(...args: any[]) => any>, options?: MixinOptions): LoDashStatic; + } + interface LoDashImplicitWrapper { + /** + * @see _.mixin + */ + mixin(source: Dictionary<(...args: any[]) => any>, options?: MixinOptions): this; + /** + * @see _.mixin + */ + mixin(options?: MixinOptions): LoDashImplicitWrapper; + } + interface LoDashExplicitWrapper { + /** + * @see _.mixin + */ + mixin(source: Dictionary<(...args: any[]) => any>, options?: MixinOptions): this; + /** + * @see _.mixin + */ + mixin(options?: MixinOptions): LoDashExplicitWrapper; + } + + interface LoDashStatic { + /** + * Reverts the _ variable to its previous value and returns a reference to the lodash function. + * + * @return Returns the lodash function. + */ + noConflict(): typeof _; + } + interface LoDashImplicitWrapper { + /** + * @see _.noConflict + */ + noConflict(): typeof _; + } + interface LoDashExplicitWrapper { + /** + * @see _.noConflict + */ + noConflict(): LoDashExplicitWrapper; + } + + interface LoDashStatic { + /** + * A no-operation function that returns undefined regardless of the arguments it receives. + * + * @return undefined + */ + noop(...args: any[]): void; + } + interface LoDashImplicitWrapper { + /** + * @see _.noop + */ + noop(...args: any[]): void; + } + interface LoDashExplicitWrapper { + /** + * @see _.noop + */ + noop(...args: any[]): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Creates a function that returns its nth argument. + * + * @param n The index of the argument to return. + * @return Returns the new function. + */ + nthArg(n?: number): (...args: any[]) => any; + } + interface LoDashImplicitWrapper { + /** + * @see _.nthArg + */ + nthArg(): Function<(...args: any[]) => any>; + } + interface LoDashExplicitWrapper { + /** + * @see _.nthArg + */ + nthArg(): FunctionChain<(...args: any[]) => any>; + } + + interface LoDashStatic { + /** + * Creates a function that invokes iteratees with the arguments provided to the created function and returns + * their results. + * + * @param iteratees The iteratees to invoke. + * @return Returns the new function. + */ + over(...iteratees: Array TResult>>): (...args: any[]) => TResult[]; + } + interface Collection { + /** + * @see _.over + */ + over(...iteratees: Array TResult>>): Function<(...args: any[]) => TResult[]>; + } + interface Function { + /** + * @see _.over + */ + over(...iteratees: Array TResult>>): Function<(...args: any[]) => Array | TResult>>; + } + interface CollectionChain { + /** + * @see _.over + */ + over(...iteratees: Array TResult>>): FunctionChain<(...args: any[]) => TResult[]>; + } + interface FunctionChain { + /** + * @see _.over + */ + over(...iteratees: Array TResult>>): FunctionChain<(...args: any[]) => Array | TResult>>; + } + + interface LoDashStatic { + /** + * Creates a function that checks if all of the predicates return truthy when invoked with the arguments + * provided to the created function. + * + * @param predicates The predicates to check. + * @return Returns the new function. + */ + overEvery(...predicates: [ + (arg: T) => arg is Result1, + (arg: T) => arg is Result2 + ]): (arg: T) => arg is Result1 & Result2; + overEvery(...predicates: Array boolean>>): (...args: T[]) => boolean; + } + interface Collection { + /** + * @see _.overEvery + */ + overEvery(...iteratees: Array boolean>>): Function<(...args: TArgs[]) => boolean>; + } + interface Function { + /** + * @see _.overEvery + */ + overEvery(...iteratees: Array boolean>>): Function<(...args: Parameters | TArgs[]) => boolean>; + } + interface CollectionChain { + /** + * @see _.overEvery + */ + overEvery(...iteratees: Array boolean>>): FunctionChain<(...args: TArgs[]) => boolean>; + } + interface FunctionChain { + /** + * @see _.overEvery + */ + overEvery(...iteratees: Array boolean>>): FunctionChain<(...args: Parameters | TArgs[]) => boolean>; + } + + interface LoDashStatic { + /** + * Creates a function that checks if any of the predicates return truthy when invoked with the arguments + * provided to the created function. + * + * @param predicates The predicates to check. + * @return Returns the new function. + */ + overSome(...predicates: [ + (arg: T) => arg is Result1, + (arg: T) => arg is Result2 + ]): (arg: T) => arg is Result1 | Result2; + overSome(...predicates: Array boolean>>): (...args: T[]) => boolean; + } + interface Collection { + /** + * @see _.overSome + */ + overSome(...iteratees: Array boolean>>): Function<(...args: TArgs[]) => boolean>; + } + interface Function { + /** + * @see _.overSome + */ + overSome(...iteratees: Array boolean>>): Function<(...args: Parameters | TArgs[]) => boolean>; + } + interface CollectionChain { + /** + * @see _.overSome + */ + overSome(...iteratees: Array boolean>>): FunctionChain<(...args: TArgs[]) => boolean>; + } + interface FunctionChain { + /** + * @see _.overSome + */ + overSome(...iteratees: Array boolean>>): FunctionChain<(...args: Parameters | TArgs[]) => boolean>; + } + + interface LoDashStatic { + /** + * Creates a function that returns the property value at path on a given object. + * + * @param path The path of the property to get. + * @return Returns the new function. + */ + property(path: PropertyPath): (obj: TObj) => TResult; + } + interface LoDashImplicitWrapper { + /** + * @see _.property + */ + property(): Function<(obj: TObj) => TResult>; + } + interface LoDashExplicitWrapper { + /** + * @see _.property + */ + property(): FunctionChain<(obj: TObj) => TResult>; + } + + interface LoDashStatic { + /** + * The opposite of _.property; this method creates a function that returns the property value at a given path + * on object. + * + * @param object The object to query. + * @return Returns the new function. + */ + propertyOf(object: T): (path: PropertyPath) => any; + } + interface LoDashImplicitWrapper { + /** + * @see _.propertyOf + */ + propertyOf(): LoDashImplicitWrapper<(path: PropertyPath) => any>; + } + interface LoDashExplicitWrapper { + /** + * @see _.propertyOf + */ + propertyOf(): LoDashExplicitWrapper<(path: PropertyPath) => any>; + } + + interface LoDashStatic { + /** + * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end. + * 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 + * range is created unless a negative step is specified. + * + * @param start The start of the range. + * @param end The end of the range. + * @param step The value to increment or decrement by. + * @return Returns a new range array. + */ + range(start: number, end?: number, step?: number): number[]; + /** + * @see _.range + */ + range(end: number, index: string | number, guard: object): number[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.range + */ + range(end?: number, step?: number): Collection; + } + interface LoDashExplicitWrapper { + /** + * @see _.range + */ + range(end?: number, step?: number): CollectionChain; + } + + interface LoDashStatic { + /** + * This method is like `_.range` except that it populates values in + * descending order. + * + * @category Util + * @param start The start of the range. + * @param end The end of the range. + * @param step The value to increment or decrement by. + * @returns Returns the new array of numbers. + * @example + * + * _.rangeRight(4); + * // => [3, 2, 1, 0] + * + * _.rangeRight(-4); + * // => [-3, -2, -1, 0] + * + * _.rangeRight(1, 5); + * // => [4, 3, 2, 1] + * + * _.rangeRight(0, 20, 5); + * // => [15, 10, 5, 0] + * + * _.rangeRight(0, -4, -1); + * // => [-3, -2, -1, 0] + * + * _.rangeRight(1, 4, 0); + * // => [1, 1, 1] + * + * _.rangeRight(0); + * // => [] + */ + rangeRight(start: number, end?: number, step?: number): number[]; + /** + * @see _.rangeRight + */ + rangeRight(end: number, index: string | number, guard: object): number[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.rangeRight + */ + rangeRight(end?: number, step?: number): Collection; + } + interface LoDashExplicitWrapper { + /** + * @see _.rangeRight + */ + rangeRight(end?: number, step?: number): CollectionChain; + } + + interface LoDashStatic { + /** + * Create a new pristine lodash function using the given context object. + * + * @param context The context object. + * @return Returns a new lodash function. + */ + runInContext(context?: object): LoDashStatic; + } + interface LoDashImplicitWrapper { + /** + * @see _.runInContext + */ + runInContext(): LoDashStatic; + } + + interface LoDashStatic { + /** + * This method returns a new empty array. + * + * @returns Returns the new empty array. + */ + stubArray(): any[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.stubArray + */ + stubArray(): any[]; + } + interface LoDashExplicitWrapper { + /** + * @see _.stubArray + */ + stubArray(): CollectionChain; + } + + interface LoDashStatic { + /** + * This method returns `false`. + * + * @returns Returns `false`. + */ + stubFalse(): false; + } + interface LoDashImplicitWrapper { + /** + * @see _.stubFalse + */ + stubFalse(): false; + } + interface LoDashExplicitWrapper { + /** + * @see _.stubFalse + */ + stubFalse(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * This method returns a new empty object. + * + * @returns Returns the new empty object. + */ + stubObject(): any; + } + interface LoDashImplicitWrapper { + /** + * @see _.stubObject + */ + stubObject(): any; + } + interface LoDashExplicitWrapper { + /** + * @see _.stubObject + */ + stubObject(): LoDashExplicitWrapper; + } + + interface LoDashStatic { + /** + * This method returns an empty string. + * + * @returns Returns the empty string. + */ + stubString(): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.stubString + */ + stubString(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.stubString + */ + stubString(): StringChain; + } + + interface LoDashStatic { + /** + * This method returns `true`. + * + * @returns Returns `true`. + */ + stubTrue(): true; + } + interface LoDashImplicitWrapper { + /** + * @see _.stubTrue + */ + stubTrue(): true; + } + interface LoDashExplicitWrapper { + /** + * @see _.stubTrue + */ + stubTrue(): PrimitiveChain; + } + + interface LoDashStatic { + /** + * Invokes the iteratee function n times, returning an array of the results of each invocation. The iteratee + * is invoked with one argument; (index). + * + * @param n The number of times to invoke iteratee. + * @param iteratee The function invoked per iteration. + * @return Returns the array of results. + */ + times(n: number, iteratee: (num: number) => TResult): TResult[]; + /** + * @see _.times + */ + times(n: number): number[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.times + */ + times(iteratee: (num: number) => TResult): TResult[]; + /** + * @see _.times + */ + times(): number[]; + } + interface LoDashExplicitWrapper { + /** + * @see _.times + */ + times(iteratee: (num: number) => TResult): CollectionChain; + /** + * @see _.times + */ + times(): CollectionChain; + } + + interface LoDashStatic { + /** + * Converts `value` to a property path array. + * + * @category Util + * @param value The value to convert. + * @returns Returns the new property path array. + * @example + * + * _.toPath('a.b.c'); + * // => ['a', 'b', 'c'] + * + * _.toPath('a[0].b.c'); + * // => ['a', '0', 'b', 'c'] + * + * var path = ['a', 'b', 'c'], + * newPath = _.toPath(path); + * + * console.log(newPath); + * // => ['a', 'b', 'c'] + * + * console.log(path === newPath); + * // => false + */ + toPath(value: any): string[]; + } + interface LoDashImplicitWrapper { + /** + * @see _.toPath + */ + toPath(): Collection; + } + interface LoDashExplicitWrapper { + /** + * @see _.toPath + */ + toPath(): CollectionChain; + } + + interface LoDashStatic { + /** + * Generates a unique ID. If prefix is provided the ID is appended to it. + * + * @param prefix The value to prefix the ID with. + * @return Returns the unique ID. + */ + uniqueId(prefix?: string): string; + } + interface LoDashImplicitWrapper { + /** + * @see _.uniqueId + */ + uniqueId(): string; + } + interface LoDashExplicitWrapper { + /** + * @see _.uniqueId + */ + uniqueId(): StringChain; + } + + // stubTrue + + interface LoDashStatic { + /** + * This method returns true. + * + * @return Returns true. + */ + stubTrue(): true; + } + + interface LoDashImplicitWrapper { + /** + * @see _.stubTrue + */ + stubTrue(): true; + } + + interface LoDashExplicitWrapper { + /** + * @see _.stubTrue + */ + stubTrue(): LoDashExplicitWrapper; + } + + // stubFalse + + interface LoDashStatic { + /** + * This method returns false. + * + * @return Returns false. + */ + stubFalse(): false; + } + + interface LoDashImplicitWrapper { + /** + * @see _.stubFalse + */ + stubFalse(): false; + } + + interface LoDashExplicitWrapper { + /** + * @see _.stubFalse + */ + stubFalse(): LoDashExplicitWrapper; + } +} diff --git a/node_modules/@types/lodash/compact.d.ts b/node_modules/@types/lodash/compact.d.ts new file mode 100644 index 0000000..94a5397 --- /dev/null +++ b/node_modules/@types/lodash/compact.d.ts @@ -0,0 +1,2 @@ +import { compact } from "./index"; +export = compact; diff --git a/node_modules/@types/lodash/concat.d.ts b/node_modules/@types/lodash/concat.d.ts new file mode 100644 index 0000000..f8c2612 --- /dev/null +++ b/node_modules/@types/lodash/concat.d.ts @@ -0,0 +1,2 @@ +import { concat } from "./index"; +export = concat; diff --git a/node_modules/@types/lodash/cond.d.ts b/node_modules/@types/lodash/cond.d.ts new file mode 100644 index 0000000..a325bad --- /dev/null +++ b/node_modules/@types/lodash/cond.d.ts @@ -0,0 +1,2 @@ +import { cond } from "./index"; +export = cond; diff --git a/node_modules/@types/lodash/conformsTo.d.ts b/node_modules/@types/lodash/conformsTo.d.ts new file mode 100644 index 0000000..320b180 --- /dev/null +++ b/node_modules/@types/lodash/conformsTo.d.ts @@ -0,0 +1,2 @@ +import { conformsTo } from "./index"; +export = conformsTo; diff --git a/node_modules/@types/lodash/constant.d.ts b/node_modules/@types/lodash/constant.d.ts new file mode 100644 index 0000000..ebab572 --- /dev/null +++ b/node_modules/@types/lodash/constant.d.ts @@ -0,0 +1,2 @@ +import { constant } from "./index"; +export = constant; diff --git a/node_modules/@types/lodash/countBy.d.ts b/node_modules/@types/lodash/countBy.d.ts new file mode 100644 index 0000000..db56ff3 --- /dev/null +++ b/node_modules/@types/lodash/countBy.d.ts @@ -0,0 +1,2 @@ +import { countBy } from "./index"; +export = countBy; diff --git a/node_modules/@types/lodash/create.d.ts b/node_modules/@types/lodash/create.d.ts new file mode 100644 index 0000000..5c7dc7a --- /dev/null +++ b/node_modules/@types/lodash/create.d.ts @@ -0,0 +1,2 @@ +import { create } from "./index"; +export = create; diff --git a/node_modules/@types/lodash/curry.d.ts b/node_modules/@types/lodash/curry.d.ts new file mode 100644 index 0000000..afbb8f4 --- /dev/null +++ b/node_modules/@types/lodash/curry.d.ts @@ -0,0 +1,2 @@ +import { curry } from "./index"; +export = curry; diff --git a/node_modules/@types/lodash/curryRight.d.ts b/node_modules/@types/lodash/curryRight.d.ts new file mode 100644 index 0000000..7d224c9 --- /dev/null +++ b/node_modules/@types/lodash/curryRight.d.ts @@ -0,0 +1,2 @@ +import { curryRight } from "./index"; +export = curryRight; diff --git a/node_modules/@types/lodash/debounce.d.ts b/node_modules/@types/lodash/debounce.d.ts new file mode 100644 index 0000000..983edd7 --- /dev/null +++ b/node_modules/@types/lodash/debounce.d.ts @@ -0,0 +1,2 @@ +import { debounce } from "./index"; +export = debounce; diff --git a/node_modules/@types/lodash/deburr.d.ts b/node_modules/@types/lodash/deburr.d.ts new file mode 100644 index 0000000..cf1fa37 --- /dev/null +++ b/node_modules/@types/lodash/deburr.d.ts @@ -0,0 +1,2 @@ +import { deburr } from "./index"; +export = deburr; diff --git a/node_modules/@types/lodash/defaultTo.d.ts b/node_modules/@types/lodash/defaultTo.d.ts new file mode 100644 index 0000000..89fb565 --- /dev/null +++ b/node_modules/@types/lodash/defaultTo.d.ts @@ -0,0 +1,2 @@ +import { defaultTo } from "./index"; +export = defaultTo; diff --git a/node_modules/@types/lodash/defaults.d.ts b/node_modules/@types/lodash/defaults.d.ts new file mode 100644 index 0000000..e83508d --- /dev/null +++ b/node_modules/@types/lodash/defaults.d.ts @@ -0,0 +1,2 @@ +import { defaults } from "./index"; +export = defaults; diff --git a/node_modules/@types/lodash/defaultsDeep.d.ts b/node_modules/@types/lodash/defaultsDeep.d.ts new file mode 100644 index 0000000..19ff551 --- /dev/null +++ b/node_modules/@types/lodash/defaultsDeep.d.ts @@ -0,0 +1,2 @@ +import { defaultsDeep } from "./index"; +export = defaultsDeep; diff --git a/node_modules/@types/lodash/defer.d.ts b/node_modules/@types/lodash/defer.d.ts new file mode 100644 index 0000000..144bf5b --- /dev/null +++ b/node_modules/@types/lodash/defer.d.ts @@ -0,0 +1,2 @@ +import { defer } from "./index"; +export = defer; diff --git a/node_modules/@types/lodash/delay.d.ts b/node_modules/@types/lodash/delay.d.ts new file mode 100644 index 0000000..ead89c1 --- /dev/null +++ b/node_modules/@types/lodash/delay.d.ts @@ -0,0 +1,2 @@ +import { delay } from "./index"; +export = delay; diff --git a/node_modules/@types/lodash/difference.d.ts b/node_modules/@types/lodash/difference.d.ts new file mode 100644 index 0000000..4a73c56 --- /dev/null +++ b/node_modules/@types/lodash/difference.d.ts @@ -0,0 +1,2 @@ +import { difference } from "./index"; +export = difference; diff --git a/node_modules/@types/lodash/differenceBy.d.ts b/node_modules/@types/lodash/differenceBy.d.ts new file mode 100644 index 0000000..34558c4 --- /dev/null +++ b/node_modules/@types/lodash/differenceBy.d.ts @@ -0,0 +1,2 @@ +import { differenceBy } from "./index"; +export = differenceBy; diff --git a/node_modules/@types/lodash/differenceWith.d.ts b/node_modules/@types/lodash/differenceWith.d.ts new file mode 100644 index 0000000..86aebd8 --- /dev/null +++ b/node_modules/@types/lodash/differenceWith.d.ts @@ -0,0 +1,2 @@ +import { differenceWith } from "./index"; +export = differenceWith; diff --git a/node_modules/@types/lodash/divide.d.ts b/node_modules/@types/lodash/divide.d.ts new file mode 100644 index 0000000..3d8e393 --- /dev/null +++ b/node_modules/@types/lodash/divide.d.ts @@ -0,0 +1,2 @@ +import { divide } from "./index"; +export = divide; diff --git a/node_modules/@types/lodash/drop.d.ts b/node_modules/@types/lodash/drop.d.ts new file mode 100644 index 0000000..1283f99 --- /dev/null +++ b/node_modules/@types/lodash/drop.d.ts @@ -0,0 +1,2 @@ +import { drop } from "./index"; +export = drop; diff --git a/node_modules/@types/lodash/dropRight.d.ts b/node_modules/@types/lodash/dropRight.d.ts new file mode 100644 index 0000000..4133c98 --- /dev/null +++ b/node_modules/@types/lodash/dropRight.d.ts @@ -0,0 +1,2 @@ +import { dropRight } from "./index"; +export = dropRight; diff --git a/node_modules/@types/lodash/dropRightWhile.d.ts b/node_modules/@types/lodash/dropRightWhile.d.ts new file mode 100644 index 0000000..0dda808 --- /dev/null +++ b/node_modules/@types/lodash/dropRightWhile.d.ts @@ -0,0 +1,2 @@ +import { dropRightWhile } from "./index"; +export = dropRightWhile; diff --git a/node_modules/@types/lodash/dropWhile.d.ts b/node_modules/@types/lodash/dropWhile.d.ts new file mode 100644 index 0000000..894ebaa --- /dev/null +++ b/node_modules/@types/lodash/dropWhile.d.ts @@ -0,0 +1,2 @@ +import { dropWhile } from "./index"; +export = dropWhile; diff --git a/node_modules/@types/lodash/each.d.ts b/node_modules/@types/lodash/each.d.ts new file mode 100644 index 0000000..608f8a9 --- /dev/null +++ b/node_modules/@types/lodash/each.d.ts @@ -0,0 +1,2 @@ +import { each } from "./index"; +export = each; diff --git a/node_modules/@types/lodash/eachRight.d.ts b/node_modules/@types/lodash/eachRight.d.ts new file mode 100644 index 0000000..ae0bb6f --- /dev/null +++ b/node_modules/@types/lodash/eachRight.d.ts @@ -0,0 +1,2 @@ +import { eachRight } from "./index"; +export = eachRight; diff --git a/node_modules/@types/lodash/endsWith.d.ts b/node_modules/@types/lodash/endsWith.d.ts new file mode 100644 index 0000000..d8475b1 --- /dev/null +++ b/node_modules/@types/lodash/endsWith.d.ts @@ -0,0 +1,2 @@ +import { endsWith } from "./index"; +export = endsWith; diff --git a/node_modules/@types/lodash/entries.d.ts b/node_modules/@types/lodash/entries.d.ts new file mode 100644 index 0000000..24b2417 --- /dev/null +++ b/node_modules/@types/lodash/entries.d.ts @@ -0,0 +1,2 @@ +import { entries } from "./index"; +export = entries; diff --git a/node_modules/@types/lodash/entriesIn.d.ts b/node_modules/@types/lodash/entriesIn.d.ts new file mode 100644 index 0000000..a68ab1e --- /dev/null +++ b/node_modules/@types/lodash/entriesIn.d.ts @@ -0,0 +1,2 @@ +import { entriesIn } from "./index"; +export = entriesIn; diff --git a/node_modules/@types/lodash/eq.d.ts b/node_modules/@types/lodash/eq.d.ts new file mode 100644 index 0000000..88ec887 --- /dev/null +++ b/node_modules/@types/lodash/eq.d.ts @@ -0,0 +1,2 @@ +import { eq } from "./index"; +export = eq; diff --git a/node_modules/@types/lodash/escape.d.ts b/node_modules/@types/lodash/escape.d.ts new file mode 100644 index 0000000..9f628a3 --- /dev/null +++ b/node_modules/@types/lodash/escape.d.ts @@ -0,0 +1,2 @@ +import { escape } from "./index"; +export = escape; diff --git a/node_modules/@types/lodash/escapeRegExp.d.ts b/node_modules/@types/lodash/escapeRegExp.d.ts new file mode 100644 index 0000000..97519c1 --- /dev/null +++ b/node_modules/@types/lodash/escapeRegExp.d.ts @@ -0,0 +1,2 @@ +import { escapeRegExp } from "./index"; +export = escapeRegExp; diff --git a/node_modules/@types/lodash/every.d.ts b/node_modules/@types/lodash/every.d.ts new file mode 100644 index 0000000..d9717d4 --- /dev/null +++ b/node_modules/@types/lodash/every.d.ts @@ -0,0 +1,2 @@ +import { every } from "./index"; +export = every; diff --git a/node_modules/@types/lodash/extend.d.ts b/node_modules/@types/lodash/extend.d.ts new file mode 100644 index 0000000..1b3107a --- /dev/null +++ b/node_modules/@types/lodash/extend.d.ts @@ -0,0 +1,2 @@ +import { extend } from "./index"; +export = extend; diff --git a/node_modules/@types/lodash/extendWith.d.ts b/node_modules/@types/lodash/extendWith.d.ts new file mode 100644 index 0000000..99ca5d0 --- /dev/null +++ b/node_modules/@types/lodash/extendWith.d.ts @@ -0,0 +1,2 @@ +import { extendWith } from "./index"; +export = extendWith; diff --git a/node_modules/@types/lodash/fill.d.ts b/node_modules/@types/lodash/fill.d.ts new file mode 100644 index 0000000..f595dfc --- /dev/null +++ b/node_modules/@types/lodash/fill.d.ts @@ -0,0 +1,2 @@ +import { fill } from "./index"; +export = fill; diff --git a/node_modules/@types/lodash/filter.d.ts b/node_modules/@types/lodash/filter.d.ts new file mode 100644 index 0000000..a4496de --- /dev/null +++ b/node_modules/@types/lodash/filter.d.ts @@ -0,0 +1,2 @@ +import { filter } from "./index"; +export = filter; diff --git a/node_modules/@types/lodash/find.d.ts b/node_modules/@types/lodash/find.d.ts new file mode 100644 index 0000000..e8da4b4 --- /dev/null +++ b/node_modules/@types/lodash/find.d.ts @@ -0,0 +1,2 @@ +import { find } from "./index"; +export = find; diff --git a/node_modules/@types/lodash/findIndex.d.ts b/node_modules/@types/lodash/findIndex.d.ts new file mode 100644 index 0000000..6b72444 --- /dev/null +++ b/node_modules/@types/lodash/findIndex.d.ts @@ -0,0 +1,2 @@ +import { findIndex } from "./index"; +export = findIndex; diff --git a/node_modules/@types/lodash/findKey.d.ts b/node_modules/@types/lodash/findKey.d.ts new file mode 100644 index 0000000..90230b4 --- /dev/null +++ b/node_modules/@types/lodash/findKey.d.ts @@ -0,0 +1,2 @@ +import { findKey } from "./index"; +export = findKey; diff --git a/node_modules/@types/lodash/findLast.d.ts b/node_modules/@types/lodash/findLast.d.ts new file mode 100644 index 0000000..c4f24fc --- /dev/null +++ b/node_modules/@types/lodash/findLast.d.ts @@ -0,0 +1,2 @@ +import { findLast } from "./index"; +export = findLast; diff --git a/node_modules/@types/lodash/findLastIndex.d.ts b/node_modules/@types/lodash/findLastIndex.d.ts new file mode 100644 index 0000000..21856e5 --- /dev/null +++ b/node_modules/@types/lodash/findLastIndex.d.ts @@ -0,0 +1,2 @@ +import { findLastIndex } from "./index"; +export = findLastIndex; diff --git a/node_modules/@types/lodash/findLastKey.d.ts b/node_modules/@types/lodash/findLastKey.d.ts new file mode 100644 index 0000000..ed7ff79 --- /dev/null +++ b/node_modules/@types/lodash/findLastKey.d.ts @@ -0,0 +1,2 @@ +import { findLastKey } from "./index"; +export = findLastKey; diff --git a/node_modules/@types/lodash/first.d.ts b/node_modules/@types/lodash/first.d.ts new file mode 100644 index 0000000..fd1cda7 --- /dev/null +++ b/node_modules/@types/lodash/first.d.ts @@ -0,0 +1,2 @@ +import { first } from "./index"; +export = first; diff --git a/node_modules/@types/lodash/flatMap.d.ts b/node_modules/@types/lodash/flatMap.d.ts new file mode 100644 index 0000000..0057053 --- /dev/null +++ b/node_modules/@types/lodash/flatMap.d.ts @@ -0,0 +1,2 @@ +import { flatMap } from "./index"; +export = flatMap; diff --git a/node_modules/@types/lodash/flatMapDeep.d.ts b/node_modules/@types/lodash/flatMapDeep.d.ts new file mode 100644 index 0000000..c65639a --- /dev/null +++ b/node_modules/@types/lodash/flatMapDeep.d.ts @@ -0,0 +1,2 @@ +import { flatMapDeep } from "./index"; +export = flatMapDeep; diff --git a/node_modules/@types/lodash/flatMapDepth.d.ts b/node_modules/@types/lodash/flatMapDepth.d.ts new file mode 100644 index 0000000..7ec1853 --- /dev/null +++ b/node_modules/@types/lodash/flatMapDepth.d.ts @@ -0,0 +1,2 @@ +import { flatMapDepth } from "./index"; +export = flatMapDepth; diff --git a/node_modules/@types/lodash/flatten.d.ts b/node_modules/@types/lodash/flatten.d.ts new file mode 100644 index 0000000..43ac0f4 --- /dev/null +++ b/node_modules/@types/lodash/flatten.d.ts @@ -0,0 +1,2 @@ +import { flatten } from "./index"; +export = flatten; diff --git a/node_modules/@types/lodash/flattenDeep.d.ts b/node_modules/@types/lodash/flattenDeep.d.ts new file mode 100644 index 0000000..df08bfa --- /dev/null +++ b/node_modules/@types/lodash/flattenDeep.d.ts @@ -0,0 +1,2 @@ +import { flattenDeep } from "./index"; +export = flattenDeep; diff --git a/node_modules/@types/lodash/flattenDepth.d.ts b/node_modules/@types/lodash/flattenDepth.d.ts new file mode 100644 index 0000000..f6be541 --- /dev/null +++ b/node_modules/@types/lodash/flattenDepth.d.ts @@ -0,0 +1,2 @@ +import { flattenDepth } from "./index"; +export = flattenDepth; diff --git a/node_modules/@types/lodash/flip.d.ts b/node_modules/@types/lodash/flip.d.ts new file mode 100644 index 0000000..48c9924 --- /dev/null +++ b/node_modules/@types/lodash/flip.d.ts @@ -0,0 +1,2 @@ +import { flip } from "./index"; +export = flip; diff --git a/node_modules/@types/lodash/floor.d.ts b/node_modules/@types/lodash/floor.d.ts new file mode 100644 index 0000000..a101e5d --- /dev/null +++ b/node_modules/@types/lodash/floor.d.ts @@ -0,0 +1,2 @@ +import { floor } from "./index"; +export = floor; diff --git a/node_modules/@types/lodash/flow.d.ts b/node_modules/@types/lodash/flow.d.ts new file mode 100644 index 0000000..37af0d4 --- /dev/null +++ b/node_modules/@types/lodash/flow.d.ts @@ -0,0 +1,2 @@ +import { flow } from "./index"; +export = flow; diff --git a/node_modules/@types/lodash/flowRight.d.ts b/node_modules/@types/lodash/flowRight.d.ts new file mode 100644 index 0000000..6c63f3e --- /dev/null +++ b/node_modules/@types/lodash/flowRight.d.ts @@ -0,0 +1,2 @@ +import { flowRight } from "./index"; +export = flowRight; diff --git a/node_modules/@types/lodash/forEach.d.ts b/node_modules/@types/lodash/forEach.d.ts new file mode 100644 index 0000000..8416aab --- /dev/null +++ b/node_modules/@types/lodash/forEach.d.ts @@ -0,0 +1,2 @@ +import { forEach } from "./index"; +export = forEach; diff --git a/node_modules/@types/lodash/forEachRight.d.ts b/node_modules/@types/lodash/forEachRight.d.ts new file mode 100644 index 0000000..af65b5c --- /dev/null +++ b/node_modules/@types/lodash/forEachRight.d.ts @@ -0,0 +1,2 @@ +import { forEachRight } from "./index"; +export = forEachRight; diff --git a/node_modules/@types/lodash/forIn.d.ts b/node_modules/@types/lodash/forIn.d.ts new file mode 100644 index 0000000..77d6f48 --- /dev/null +++ b/node_modules/@types/lodash/forIn.d.ts @@ -0,0 +1,2 @@ +import { forIn } from "./index"; +export = forIn; diff --git a/node_modules/@types/lodash/forInRight.d.ts b/node_modules/@types/lodash/forInRight.d.ts new file mode 100644 index 0000000..d732969 --- /dev/null +++ b/node_modules/@types/lodash/forInRight.d.ts @@ -0,0 +1,2 @@ +import { forInRight } from "./index"; +export = forInRight; diff --git a/node_modules/@types/lodash/forOwn.d.ts b/node_modules/@types/lodash/forOwn.d.ts new file mode 100644 index 0000000..dfa930f --- /dev/null +++ b/node_modules/@types/lodash/forOwn.d.ts @@ -0,0 +1,2 @@ +import { forOwn } from "./index"; +export = forOwn; diff --git a/node_modules/@types/lodash/forOwnRight.d.ts b/node_modules/@types/lodash/forOwnRight.d.ts new file mode 100644 index 0000000..fddde6a --- /dev/null +++ b/node_modules/@types/lodash/forOwnRight.d.ts @@ -0,0 +1,2 @@ +import { forOwnRight } from "./index"; +export = forOwnRight; diff --git a/node_modules/@types/lodash/fp.d.ts b/node_modules/@types/lodash/fp.d.ts new file mode 100644 index 0000000..c13aef0 --- /dev/null +++ b/node_modules/@types/lodash/fp.d.ts @@ -0,0 +1,4950 @@ +// AUTO-GENERATED: do not modify this file directly. +// If you need to make changes, modify generate-fp.ts (if necessary), then open a terminal in types/lodash/scripts, and do: +// npm install && npm run generate + +import lodash = require("./index"); + +export = _; + +declare const _: _.LoDashFp; +declare namespace _ { + interface LodashAdd { + (augend: number): LodashAdd1x1; + (augend: lodash.__, addend: number): LodashAdd1x2; + (augend: number, addend: number): number; + } + type LodashAdd1x1 = (addend: number) => number; + type LodashAdd1x2 = (augend: number) => number; + interface LodashAfter { + any>(func: TFunc): LodashAfter1x1; + (func: lodash.__, n: number): LodashAfter1x2; + any>(func: TFunc, n: number): TFunc; + } + type LodashAfter1x1 any> = (n: number) => TFunc; + type LodashAfter1x2 = any>(func: TFunc) => TFunc; + interface LodashEvery { + (predicate: lodash.ValueIterateeCustom): LodashEvery1x1; + (predicate: lodash.__, collection: lodash.List | null | undefined): LodashEvery1x2; + (predicate: lodash.ValueIterateeCustom, collection: lodash.List | null | undefined): boolean; + (predicate: lodash.__, collection: T | null | undefined): LodashEvery2x2; + (predicate: lodash.ValueIterateeCustom, collection: T | null | undefined): boolean; + } + type LodashEvery1x1 = (collection: lodash.List | object | null | undefined) => boolean; + type LodashEvery1x2 = (predicate: lodash.ValueIterateeCustom) => boolean; + type LodashEvery2x2 = (predicate: lodash.ValueIterateeCustom) => boolean; + type LodashOverEvery = (predicates: lodash.Many<(...args: T[]) => boolean>) => (...args: T[]) => boolean; + type LodashConstant = (value: T) => () => T; + interface LodashSome { + (predicate: lodash.ValueIterateeCustom): LodashSome1x1; + (predicate: lodash.__, collection: lodash.List | null | undefined): LodashSome1x2; + (predicate: lodash.ValueIterateeCustom, collection: lodash.List | null | undefined): boolean; + (predicate: lodash.__, collection: T | null | undefined): LodashSome2x2; + (predicate: lodash.ValueIterateeCustom, collection: T | null | undefined): boolean; + } + type LodashSome1x1 = (collection: lodash.List | object | null | undefined) => boolean; + type LodashSome1x2 = (predicate: lodash.ValueIterateeCustom) => boolean; + type LodashSome2x2 = (predicate: lodash.ValueIterateeCustom) => boolean; + type LodashOverSome = (predicates: lodash.Many<(...args: T[]) => boolean>) => (...args: T[]) => boolean; + type LodashApply = (func: (...args: any[]) => TResult) => (...args: any[]) => TResult; + interface LodashAry { + (n: number): LodashAry1x1; + (n: lodash.__, func: (...args: any[]) => any): LodashAry1x2; + (n: number, func: (...args: any[]) => any): (...args: any[]) => any; + } + type LodashAry1x1 = (func: (...args: any[]) => any) => (...args: any[]) => any; + type LodashAry1x2 = (n: number) => (...args: any[]) => any; + interface LodashAssign { + (object: TObject): LodashAssign1x1; + (object: lodash.__, source: TSource): LodashAssign1x2; + (object: TObject, source: TSource): TObject & TSource; + } + type LodashAssign1x1 = (source: TSource) => TObject & TSource; + type LodashAssign1x2 = (object: TObject) => TObject & TSource; + interface LodashAssignAll { + (object: [TObject, TSource]): TObject & TSource; + (object: [TObject, TSource1, TSource2]): TObject & TSource1 & TSource2; + (object: [TObject, TSource1, TSource2, TSource3]): TObject & TSource1 & TSource2 & TSource3; + (object: [TObject, TSource1, TSource2, TSource3, TSource4]): TObject & TSource1 & TSource2 & TSource3 & TSource4; + (object: [TObject]): TObject; + (object: readonly any[]): any; + } + interface LodashAssignAllWith { + (customizer: lodash.AssignCustomizer): LodashAssignAllWith1x1; + (customizer: lodash.__, args: readonly any[]): LodashAssignAllWith1x2; + (customizer: lodash.AssignCustomizer, args: readonly any[]): any; + } + type LodashAssignAllWith1x1 = (args: readonly any[]) => any; + type LodashAssignAllWith1x2 = (customizer: lodash.AssignCustomizer) => any; + interface LodashAssignIn { + (object: TObject): LodashAssignIn1x1; + (object: lodash.__, source: TSource): LodashAssignIn1x2; + (object: TObject, source: TSource): TObject & TSource; + } + type LodashAssignIn1x1 = (source: TSource) => TObject & TSource; + type LodashAssignIn1x2 = (object: TObject) => TObject & TSource; + interface LodashAssignInAll { + (object: [TObject, TSource]): TObject & TSource; + (object: [TObject, TSource1, TSource2]): TObject & TSource1 & TSource2; + (object: [TObject, TSource1, TSource2, TSource3]): TObject & TSource1 & TSource2 & TSource3; + (object: [TObject, TSource1, TSource2, TSource3, TSource4]): TObject & TSource1 & TSource2 & TSource3 & TSource4; + (object: [TObject]): TObject; + (object: readonly any[]): TResult; + } + interface LodashAssignInAllWith { + (customizer: lodash.AssignCustomizer): LodashAssignInAllWith1x1; + (customizer: lodash.__, args: readonly any[]): LodashAssignInAllWith1x2; + (customizer: lodash.AssignCustomizer, args: readonly any[]): any; + } + type LodashAssignInAllWith1x1 = (args: readonly any[]) => any; + type LodashAssignInAllWith1x2 = (customizer: lodash.AssignCustomizer) => any; + interface LodashAssignInWith { + (customizer: lodash.AssignCustomizer): LodashAssignInWith1x1; + (customizer: lodash.__, object: TObject): LodashAssignInWith1x2; + (customizer: lodash.AssignCustomizer, object: TObject): LodashAssignInWith1x3; + (customizer: lodash.__, object: lodash.__, source: TSource): LodashAssignInWith1x4; + (customizer: lodash.AssignCustomizer, object: lodash.__, source: TSource): LodashAssignInWith1x5; + (customizer: lodash.__, object: TObject, source: TSource): LodashAssignInWith1x6; + (customizer: lodash.AssignCustomizer, object: TObject, source: TSource): TObject & TSource; + } + interface LodashAssignInWith1x1 { + (object: TObject): LodashAssignInWith1x3; + (object: lodash.__, source: TSource): LodashAssignInWith1x5; + (object: TObject, source: TSource): TObject & TSource; + } + interface LodashAssignInWith1x2 { + (customizer: lodash.AssignCustomizer): LodashAssignInWith1x3; + (customizer: lodash.__, source: TSource): LodashAssignInWith1x6; + (customizer: lodash.AssignCustomizer, source: TSource): TObject & TSource; + } + type LodashAssignInWith1x3 = (source: TSource) => TObject & TSource; + interface LodashAssignInWith1x4 { + (customizer: lodash.AssignCustomizer): LodashAssignInWith1x5; + (customizer: lodash.__, object: TObject): LodashAssignInWith1x6; + (customizer: lodash.AssignCustomizer, object: TObject): TObject & TSource; + } + type LodashAssignInWith1x5 = (object: TObject) => TObject & TSource; + type LodashAssignInWith1x6 = (customizer: lodash.AssignCustomizer) => TObject & TSource; + interface LodashAssignWith { + (customizer: lodash.AssignCustomizer): LodashAssignWith1x1; + (customizer: lodash.__, object: TObject): LodashAssignWith1x2; + (customizer: lodash.AssignCustomizer, object: TObject): LodashAssignWith1x3; + (customizer: lodash.__, object: lodash.__, source: TSource): LodashAssignWith1x4; + (customizer: lodash.AssignCustomizer, object: lodash.__, source: TSource): LodashAssignWith1x5; + (customizer: lodash.__, object: TObject, source: TSource): LodashAssignWith1x6; + (customizer: lodash.AssignCustomizer, object: TObject, source: TSource): TObject & TSource; + } + interface LodashAssignWith1x1 { + (object: TObject): LodashAssignWith1x3; + (object: lodash.__, source: TSource): LodashAssignWith1x5; + (object: TObject, source: TSource): TObject & TSource; + } + interface LodashAssignWith1x2 { + (customizer: lodash.AssignCustomizer): LodashAssignWith1x3; + (customizer: lodash.__, source: TSource): LodashAssignWith1x6; + (customizer: lodash.AssignCustomizer, source: TSource): TObject & TSource; + } + type LodashAssignWith1x3 = (source: TSource) => TObject & TSource; + interface LodashAssignWith1x4 { + (customizer: lodash.AssignCustomizer): LodashAssignWith1x5; + (customizer: lodash.__, object: TObject): LodashAssignWith1x6; + (customizer: lodash.AssignCustomizer, object: TObject): TObject & TSource; + } + type LodashAssignWith1x5 = (object: TObject) => TObject & TSource; + type LodashAssignWith1x6 = (customizer: lodash.AssignCustomizer) => TObject & TSource; + interface LodashSet { + (path: lodash.PropertyPath): LodashSet1x1; + (path: lodash.__, value: any): LodashSet1x2; + (path: lodash.PropertyPath, value: any): LodashSet1x3; + (path: lodash.__, value: lodash.__, object: T): LodashSet1x4; + (path: lodash.PropertyPath, value: lodash.__, object: T): LodashSet1x5; + (path: lodash.__, value: any, object: T): LodashSet1x6; + (path: lodash.PropertyPath, value: any, object: T): T; + (path: lodash.__, value: lodash.__, object: object): LodashSet2x4; + (path: lodash.PropertyPath, value: lodash.__, object: object): LodashSet2x5; + (path: lodash.__, value: any, object: object): LodashSet2x6; + (path: lodash.PropertyPath, value: any, object: object): TResult; + } + interface LodashSet1x1 { + (value: any): LodashSet1x3; + (value: lodash.__, object: T): LodashSet1x5; + (value: any, object: T): T; + (value: lodash.__, object: object): LodashSet2x5; + (value: any, object: object): TResult; + } + interface LodashSet1x2 { + (path: lodash.PropertyPath): LodashSet1x3; + (path: lodash.__, object: T): LodashSet1x6; + (path: lodash.PropertyPath, object: T): T; + (path: lodash.__, object: object): LodashSet2x6; + (path: lodash.PropertyPath, object: object): TResult; + } + interface LodashSet1x3 { + (object: T): T; + (object: object): TResult; + } + interface LodashSet1x4 { + (path: lodash.PropertyPath): LodashSet1x5; + (path: lodash.__, value: any): LodashSet1x6; + (path: lodash.PropertyPath, value: any): T; + } + type LodashSet1x5 = (value: any) => T; + type LodashSet1x6 = (path: lodash.PropertyPath) => T; + interface LodashSet2x4 { + (path: lodash.PropertyPath): LodashSet2x5; + (path: lodash.__, value: any): LodashSet2x6; + (path: lodash.PropertyPath, value: any): TResult; + } + type LodashSet2x5 = (value: any) => TResult; + type LodashSet2x6 = (path: lodash.PropertyPath) => TResult; + interface LodashAt { + (props: lodash.PropertyPath): LodashAt1x1; + (props: lodash.__, object: lodash.Dictionary | lodash.NumericDictionary | null | undefined): LodashAt1x2; + (props: lodash.PropertyPath, object: lodash.Dictionary | lodash.NumericDictionary | null | undefined): T[]; + (props: lodash.Many): LodashAt2x1; + (props: lodash.__, object: T | null | undefined): LodashAt2x2; + (props: lodash.Many, object: T | null | undefined): Array; + } + type LodashAt1x1 = (object: lodash.Dictionary | lodash.NumericDictionary | null | undefined) => T[]; + type LodashAt1x2 = (props: lodash.PropertyPath) => T[]; + type LodashAt2x1 = (object: T | null | undefined) => Array; + type LodashAt2x2 = (props: lodash.Many) => Array; + type LodashAttempt = (func: (...args: any[]) => TResult) => TResult | Error; + interface LodashBefore { + any>(func: TFunc): LodashBefore1x1; + (func: lodash.__, n: number): LodashBefore1x2; + any>(func: TFunc, n: number): TFunc; + } + type LodashBefore1x1 any> = (n: number) => TFunc; + type LodashBefore1x2 = any>(func: TFunc) => TFunc; + interface LodashBind { + (func: (...args: any[]) => any): LodashBind1x1; + (func: lodash.__, thisArg: any): LodashBind1x2; + (func: (...args: any[]) => any, thisArg: any): (...args: any[]) => any; + placeholder: lodash.__; + } + type LodashBind1x1 = (thisArg: any) => (...args: any[]) => any; + type LodashBind1x2 = (func: (...args: any[]) => any) => (...args: any[]) => any; + interface LodashBindAll { + (methodNames: lodash.Many): LodashBindAll1x1; + (methodNames: lodash.__, object: T): LodashBindAll1x2; + (methodNames: lodash.Many, object: T): T; + } + type LodashBindAll1x1 = (object: T) => T; + type LodashBindAll1x2 = (methodNames: lodash.Many) => T; + interface LodashBindKey { + (object: object): LodashBindKey1x1; + (object: lodash.__, key: string): LodashBindKey1x2; + (object: object, key: string): (...args: any[]) => any; + placeholder: lodash.__; + } + type LodashBindKey1x1 = (key: string) => (...args: any[]) => any; + type LodashBindKey1x2 = (object: object) => (...args: any[]) => any; + type LodashCamelCase = (string: string) => string; + type LodashCapitalize = (string: string) => string; + type LodashCastArray = (value: lodash.Many) => T[]; + type LodashCeil = (n: number) => number; + interface LodashChunk { + (size: number): LodashChunk1x1; + (size: lodash.__, array: lodash.List | null | undefined): LodashChunk1x2; + (size: number, array: lodash.List | null | undefined): T[][]; + } + type LodashChunk1x1 = (array: lodash.List | null | undefined) => T[][]; + type LodashChunk1x2 = (size: number) => T[][]; + interface LodashClamp { + (lower: number): LodashClamp1x1; + (lower: lodash.__, upper: number): LodashClamp1x2; + (lower: number, upper: number): LodashClamp1x3; + (lower: lodash.__, upper: lodash.__, number: number): LodashClamp1x4; + (lower: number, upper: lodash.__, number: number): LodashClamp1x5; + (lower: lodash.__, upper: number, number: number): LodashClamp1x6; + (lower: number, upper: number, number: number): number; + } + interface LodashClamp1x1 { + (upper: number): LodashClamp1x3; + (upper: lodash.__, number: number): LodashClamp1x5; + (upper: number, number: number): number; + } + interface LodashClamp1x2 { + (lower: number): LodashClamp1x3; + (lower: lodash.__, number: number): LodashClamp1x6; + (lower: number, number: number): number; + } + type LodashClamp1x3 = (number: number) => number; + interface LodashClamp1x4 { + (lower: number): LodashClamp1x5; + (lower: lodash.__, upper: number): LodashClamp1x6; + (lower: number, upper: number): number; + } + type LodashClamp1x5 = (upper: number) => number; + type LodashClamp1x6 = (lower: number) => number; + type LodashClone = (value: T) => T; + type LodashCloneDeep = (value: T) => T; + interface LodashCloneDeepWith { + (customizer: lodash.CloneDeepWithCustomizer): LodashCloneDeepWith1x1; + (customizer: lodash.__, value: T): LodashCloneDeepWith1x2; + (customizer: lodash.CloneDeepWithCustomizer, value: T): any; + } + type LodashCloneDeepWith1x1 = (value: T) => any; + type LodashCloneDeepWith1x2 = (customizer: lodash.CloneDeepWithCustomizer) => any; + interface LodashCloneWith { + (customizer: lodash.CloneWithCustomizer): LodashCloneWith1x1; + (customizer: lodash.__, value: T): LodashCloneWith1x2; + (customizer: lodash.CloneWithCustomizer, value: T): TResult; + (customizer: lodash.CloneWithCustomizer): LodashCloneWith2x1; + (customizer: lodash.CloneWithCustomizer, value: T): TResult | T; + } + type LodashCloneWith1x1 = (value: T) => TResult; + interface LodashCloneWith1x2 { + (customizer: lodash.CloneWithCustomizer): TResult; + (customizer: lodash.CloneWithCustomizer): TResult | T; + } + type LodashCloneWith2x1 = (value: T) => TResult | T; + type LodashCompact = (array: lodash.List | null | undefined) => Array>; + type LodashNegate = (predicate: (...args: T) => any) => (...args: T) => boolean; + interface LodashFlowRight { + (f7: (a: R6) => R7, f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R7; + (f6: (a: R5) => R6, f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R6; + (f5: (a: R4) => R5, f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R5; + (f4: (a: R3) => R4, f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R4; + (f3: (a: R2) => R3, f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R3; + (f2: (a: R1) => R2, f1: (...args: A) => R1): (...args: A) => R2; + (...func: Array any>>): (...args: any[]) => any; + } + interface LodashConcat { + (array: lodash.Many): LodashConcat1x1; + (array: lodash.__, values: lodash.Many): LodashConcat1x2; + (array: lodash.Many, values: lodash.Many): T[]; + } + type LodashConcat1x1 = (values: lodash.Many) => T[]; + type LodashConcat1x2 = (array: lodash.Many) => T[]; + interface LodashCond { + (pairs: Array>): () => R; + (pairs: Array>): (Target: T) => R; + } + interface LodashConformsTo { + (source: lodash.ConformsPredicateObject): LodashConformsTo1x1; + (source: lodash.__, object: T): LodashConformsTo1x2; + (source: lodash.ConformsPredicateObject, object: T): boolean; + } + type LodashConformsTo1x1 = (object: T) => boolean; + type LodashConformsTo1x2 = (source: lodash.ConformsPredicateObject) => boolean; + interface LodashContains { + (target: T): LodashContains1x1; + (target: lodash.__, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): LodashContains1x2; + (target: T, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): boolean; + } + type LodashContains1x1 = (collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined) => boolean; + type LodashContains1x2 = (target: T) => boolean; + interface LodashCountBy { + (iteratee: lodash.ValueIteratee): LodashCountBy1x1; + (iteratee: lodash.__, collection: lodash.List | null | undefined): LodashCountBy1x2; + (iteratee: lodash.ValueIteratee, collection: lodash.List | null | undefined): lodash.Dictionary; + (iteratee: lodash.__, collection: T | null | undefined): LodashCountBy2x2; + (iteratee: lodash.ValueIteratee, collection: T | null | undefined): lodash.Dictionary; + } + type LodashCountBy1x1 = (collection: lodash.List | object | null | undefined) => lodash.Dictionary; + type LodashCountBy1x2 = (iteratee: lodash.ValueIteratee) => lodash.Dictionary; + type LodashCountBy2x2 = (iteratee: lodash.ValueIteratee) => lodash.Dictionary; + type LodashCreate = (prototype: T) => T & U; + interface LodashCurry { + (func: (t1: T1) => R): lodash.CurriedFunction1; + (func: (t1: T1, t2: T2) => R): lodash.CurriedFunction2; + (func: (t1: T1, t2: T2, t3: T3) => R): lodash.CurriedFunction3; + (func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): lodash.CurriedFunction4; + (func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): lodash.CurriedFunction5; + (func: (...args: any[]) => any): (...args: any[]) => any; + placeholder: lodash.__; + } + interface LodashCurryN { + (arity: number): LodashCurryN1x1; + (arity: lodash.__, func: (t1: T1) => R): LodashCurryN1x2; + (arity: number, func: (t1: T1) => R): lodash.CurriedFunction1; + (arity: lodash.__, func: (t1: T1, t2: T2) => R): LodashCurryN2x2; + (arity: number, func: (t1: T1, t2: T2) => R): lodash.CurriedFunction2; + (arity: lodash.__, func: (t1: T1, t2: T2, t3: T3) => R): LodashCurryN3x2; + (arity: number, func: (t1: T1, t2: T2, t3: T3) => R): lodash.CurriedFunction3; + (arity: lodash.__, func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): LodashCurryN4x2; + (arity: number, func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): lodash.CurriedFunction4; + (arity: lodash.__, func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): LodashCurryN5x2; + (arity: number, func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): lodash.CurriedFunction5; + (arity: lodash.__, func: (...args: any[]) => any): LodashCurryN6x2; + (arity: number, func: (...args: any[]) => any): (...args: any[]) => any; + placeholder: lodash.__; + } + interface LodashCurryN1x1 { + (func: (t1: T1) => R): lodash.CurriedFunction1; + (func: (t1: T1, t2: T2) => R): lodash.CurriedFunction2; + (func: (t1: T1, t2: T2, t3: T3) => R): lodash.CurriedFunction3; + (func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): lodash.CurriedFunction4; + (func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): lodash.CurriedFunction5; + (func: (...args: any[]) => any): (...args: any[]) => any; + } + type LodashCurryN1x2 = (arity: number) => lodash.CurriedFunction1; + type LodashCurryN2x2 = (arity: number) => lodash.CurriedFunction2; + type LodashCurryN3x2 = (arity: number) => lodash.CurriedFunction3; + type LodashCurryN4x2 = (arity: number) => lodash.CurriedFunction4; + type LodashCurryN5x2 = (arity: number) => lodash.CurriedFunction5; + type LodashCurryN6x2 = (arity: number) => (...args: any[]) => any; + interface LodashCurryRight { + (func: (t1: T1) => R): lodash.RightCurriedFunction1; + (func: (t1: T1, t2: T2) => R): lodash.RightCurriedFunction2; + (func: (t1: T1, t2: T2, t3: T3) => R): lodash.RightCurriedFunction3; + (func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): lodash.RightCurriedFunction4; + (func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): lodash.RightCurriedFunction5; + (func: (...args: any[]) => any): (...args: any[]) => any; + placeholder: lodash.__; + } + interface LodashCurryRightN { + (arity: number): LodashCurryRightN1x1; + (arity: lodash.__, func: (t1: T1) => R): LodashCurryRightN1x2; + (arity: number, func: (t1: T1) => R): lodash.RightCurriedFunction1; + (arity: lodash.__, func: (t1: T1, t2: T2) => R): LodashCurryRightN2x2; + (arity: number, func: (t1: T1, t2: T2) => R): lodash.RightCurriedFunction2; + (arity: lodash.__, func: (t1: T1, t2: T2, t3: T3) => R): LodashCurryRightN3x2; + (arity: number, func: (t1: T1, t2: T2, t3: T3) => R): lodash.RightCurriedFunction3; + (arity: lodash.__, func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): LodashCurryRightN4x2; + (arity: number, func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): lodash.RightCurriedFunction4; + (arity: lodash.__, func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): LodashCurryRightN5x2; + (arity: number, func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): lodash.RightCurriedFunction5; + (arity: lodash.__, func: (...args: any[]) => any): LodashCurryRightN6x2; + (arity: number, func: (...args: any[]) => any): (...args: any[]) => any; + placeholder: lodash.__; + } + interface LodashCurryRightN1x1 { + (func: (t1: T1) => R): lodash.RightCurriedFunction1; + (func: (t1: T1, t2: T2) => R): lodash.RightCurriedFunction2; + (func: (t1: T1, t2: T2, t3: T3) => R): lodash.RightCurriedFunction3; + (func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): lodash.RightCurriedFunction4; + (func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): lodash.RightCurriedFunction5; + (func: (...args: any[]) => any): (...args: any[]) => any; + } + type LodashCurryRightN1x2 = (arity: number) => lodash.RightCurriedFunction1; + type LodashCurryRightN2x2 = (arity: number) => lodash.RightCurriedFunction2; + type LodashCurryRightN3x2 = (arity: number) => lodash.RightCurriedFunction3; + type LodashCurryRightN4x2 = (arity: number) => lodash.RightCurriedFunction4; + type LodashCurryRightN5x2 = (arity: number) => lodash.RightCurriedFunction5; + type LodashCurryRightN6x2 = (arity: number) => (...args: any[]) => any; + interface LodashDebounce { + (wait: number): LodashDebounce1x1; + any>(wait: lodash.__, func: T): LodashDebounce1x2; + any>(wait: number, func: T): lodash.DebouncedFunc; + } + type LodashDebounce1x1 = any>(func: T) => lodash.DebouncedFunc; + type LodashDebounce1x2 any> = (wait: number) => lodash.DebouncedFunc; + type LodashDeburr = (string: string) => string; + interface LodashDefaults { + (source: TSource): LodashDefaults1x1; + (source: lodash.__, object: TObject): LodashDefaults1x2; + (source: TSource, object: TObject): TSource & TObject; + } + type LodashDefaults1x1 = (object: TObject) => TSource & TObject; + type LodashDefaults1x2 = (source: TSource) => TSource & TObject; + interface LodashDefaultsAll { + (object: [TObject, TSource]): TSource & TObject; + (object: [TObject, TSource1, TSource2]): TSource2 & TSource1 & TObject; + (object: [TObject, TSource1, TSource2, TSource3]): TSource3 & TSource2 & TSource1 & TObject; + (object: [TObject, TSource1, TSource2, TSource3, TSource4]): TSource4 & TSource3 & TSource2 & TSource1 & TObject; + (object: [TObject]): TObject; + (object: readonly any[]): any; + } + interface LodashDefaultsDeep { + (sources: any): LodashDefaultsDeep1x1; + (sources: lodash.__, object: any): LodashDefaultsDeep1x2; + (sources: any, object: any): any; + } + type LodashDefaultsDeep1x1 = (object: any) => any; + type LodashDefaultsDeep1x2 = (sources: any) => any; + type LodashDefaultsDeepAll = (object: readonly any[]) => any; + interface LodashDefaultTo { + (defaultValue: T): LodashDefaultTo1x1; + (defaultValue: lodash.__, value: T | null | undefined): LodashDefaultTo1x2; + (defaultValue: T, value: T | null | undefined): T; + (defaultValue: TDefault): LodashDefaultTo2x1; + (defaultValue: TDefault, value: T | null | undefined): T | TDefault; + } + type LodashDefaultTo1x1 = (value: T | null | undefined) => T; + interface LodashDefaultTo1x2 { + (defaultValue: T): T; + (defaultValue: TDefault): T | TDefault; + } + type LodashDefaultTo2x1 = (value: T | null | undefined) => T | TDefault; + type LodashDefer = (func: (...args: any[]) => any, ...args: any[]) => number; + interface LodashDelay { + (wait: number): LodashDelay1x1; + (wait: lodash.__, func: (...args: any[]) => any): LodashDelay1x2; + (wait: number, func: (...args: any[]) => any): number; + } + type LodashDelay1x1 = (func: (...args: any[]) => any) => number; + type LodashDelay1x2 = (wait: number) => number; + interface LodashDifference { + (array: lodash.List | null | undefined): LodashDifference1x1; + (array: lodash.__, values: lodash.List): LodashDifference1x2; + (array: lodash.List | null | undefined, values: lodash.List): T[]; + } + type LodashDifference1x1 = (values: lodash.List) => T[]; + type LodashDifference1x2 = (array: lodash.List | null | undefined) => T[]; + interface LodashDifferenceBy { + (iteratee: lodash.ValueIteratee): LodashDifferenceBy1x1; + (iteratee: lodash.__, array: lodash.List | null | undefined): LodashDifferenceBy1x2; + (iteratee: lodash.ValueIteratee, array: lodash.List | null | undefined): LodashDifferenceBy1x3; + (iteratee: lodash.__, array: lodash.__, values: lodash.List): LodashDifferenceBy1x4; + (iteratee: lodash.ValueIteratee, array: lodash.__, values: lodash.List): LodashDifferenceBy1x5; + (iteratee: lodash.__, array: lodash.List | null | undefined, values: lodash.List): LodashDifferenceBy1x6; + (iteratee: lodash.ValueIteratee, array: lodash.List | null | undefined, values: lodash.List): T1[]; + } + interface LodashDifferenceBy1x1 { + (array: lodash.List | null | undefined): LodashDifferenceBy1x3; + (array: lodash.__, values: lodash.List): LodashDifferenceBy1x5; + (array: lodash.List | null | undefined, values: lodash.List): T1[]; + } + interface LodashDifferenceBy1x2 { + (iteratee: lodash.ValueIteratee): LodashDifferenceBy1x3; + (iteratee: lodash.__, values: lodash.List): LodashDifferenceBy1x6; + (iteratee: lodash.ValueIteratee, values: lodash.List): T1[]; + } + type LodashDifferenceBy1x3 = (values: lodash.List) => T1[]; + interface LodashDifferenceBy1x4 { + (iteratee: lodash.ValueIteratee): LodashDifferenceBy1x5; + (iteratee: lodash.__, array: lodash.List | null | undefined): LodashDifferenceBy1x6; + (iteratee: lodash.ValueIteratee, array: lodash.List | null | undefined): T1[]; + } + type LodashDifferenceBy1x5 = (array: lodash.List | null | undefined) => T1[]; + type LodashDifferenceBy1x6 = (iteratee: lodash.ValueIteratee) => T1[]; + interface LodashDifferenceWith { + (comparator: lodash.Comparator2): LodashDifferenceWith1x1; + (comparator: lodash.__, array: lodash.List | null | undefined): LodashDifferenceWith1x2; + (comparator: lodash.Comparator2, array: lodash.List | null | undefined): LodashDifferenceWith1x3; + (comparator: lodash.__, array: lodash.__, values: lodash.List): LodashDifferenceWith1x4; + (comparator: lodash.Comparator2, array: lodash.__, values: lodash.List): LodashDifferenceWith1x5; + (comparator: lodash.__, array: lodash.List | null | undefined, values: lodash.List): LodashDifferenceWith1x6; + (comparator: lodash.Comparator2, array: lodash.List | null | undefined, values: lodash.List): T1[]; + } + interface LodashDifferenceWith1x1 { + (array: lodash.List | null | undefined): LodashDifferenceWith1x3; + (array: lodash.__, values: lodash.List): LodashDifferenceWith1x5; + (array: lodash.List | null | undefined, values: lodash.List): T1[]; + } + interface LodashDifferenceWith1x2 { + (comparator: lodash.Comparator2): LodashDifferenceWith1x3; + (comparator: lodash.__, values: lodash.List): LodashDifferenceWith1x6; + (comparator: lodash.Comparator2, values: lodash.List): T1[]; + } + type LodashDifferenceWith1x3 = (values: lodash.List) => T1[]; + interface LodashDifferenceWith1x4 { + (comparator: lodash.Comparator2): LodashDifferenceWith1x5; + (comparator: lodash.__, array: lodash.List | null | undefined): LodashDifferenceWith1x6; + (comparator: lodash.Comparator2, array: lodash.List | null | undefined): T1[]; + } + type LodashDifferenceWith1x5 = (array: lodash.List | null | undefined) => T1[]; + type LodashDifferenceWith1x6 = (comparator: lodash.Comparator2) => T1[]; + interface LodashUnset { + (path: lodash.PropertyPath): LodashUnset1x1; + (path: lodash.__, object: T): LodashUnset1x2; + (path: lodash.PropertyPath, object: T): T; + } + type LodashUnset1x1 = (object: T) => T; + type LodashUnset1x2 = (path: lodash.PropertyPath) => T; + interface LodashDivide { + (dividend: number): LodashDivide1x1; + (dividend: lodash.__, divisor: number): LodashDivide1x2; + (dividend: number, divisor: number): number; + } + type LodashDivide1x1 = (divisor: number) => number; + type LodashDivide1x2 = (dividend: number) => number; + interface LodashDrop { + (n: number): LodashDrop1x1; + (n: lodash.__, array: lodash.List | null | undefined): LodashDrop1x2; + (n: number, array: lodash.List | null | undefined): T[]; + } + type LodashDrop1x1 = (array: lodash.List | null | undefined) => T[]; + type LodashDrop1x2 = (n: number) => T[]; + interface LodashDropRight { + (n: number): LodashDropRight1x1; + (n: lodash.__, array: lodash.List | null | undefined): LodashDropRight1x2; + (n: number, array: lodash.List | null | undefined): T[]; + } + type LodashDropRight1x1 = (array: lodash.List | null | undefined) => T[]; + type LodashDropRight1x2 = (n: number) => T[]; + interface LodashDropRightWhile { + (predicate: lodash.ValueIteratee): LodashDropRightWhile1x1; + (predicate: lodash.__, array: lodash.List | null | undefined): LodashDropRightWhile1x2; + (predicate: lodash.ValueIteratee, array: lodash.List | null | undefined): T[]; + } + type LodashDropRightWhile1x1 = (array: lodash.List | null | undefined) => T[]; + type LodashDropRightWhile1x2 = (predicate: lodash.ValueIteratee) => T[]; + interface LodashDropWhile { + (predicate: lodash.ValueIteratee): LodashDropWhile1x1; + (predicate: lodash.__, array: lodash.List | null | undefined): LodashDropWhile1x2; + (predicate: lodash.ValueIteratee, array: lodash.List | null | undefined): T[]; + } + type LodashDropWhile1x1 = (array: lodash.List | null | undefined) => T[]; + type LodashDropWhile1x2 = (predicate: lodash.ValueIteratee) => T[]; + interface LodashForEach { + (iteratee: (value: T) => any): LodashForEach1x1; + (iteratee: lodash.__, collection: readonly T[]): LodashForEach1x2; + (iteratee: (value: T) => any, collection: readonly T[]): T[]; + (iteratee: lodash.__, collection: lodash.List): LodashForEach2x2; + (iteratee: (value: T) => any, collection: lodash.List): lodash.List; + (iteratee: lodash.__, collection: T): LodashForEach3x2; + (iteratee: (value: T[keyof T]) => any, collection: T): T; + (iteratee: lodash.__, collection: TArray & (T[] | null | undefined)): LodashForEach4x2; + (iteratee: (value: T) => any, collection: TArray & (T[] | null | undefined)): TArray; + | null | undefined>(iteratee: lodash.__, collection: TList & (lodash.List | null | undefined)): LodashForEach5x2; + | null | undefined>(iteratee: (value: T) => any, collection: TList & (lodash.List | null | undefined)): TList; + (iteratee: lodash.__, collection: T | null | undefined): LodashForEach6x2; + (iteratee: (value: T[keyof T]) => any, collection: T | null | undefined): T | null | undefined; + } + interface LodashForEach1x1 { + (collection: readonly T[]): T[]; + (collection: lodash.List): lodash.List; + (collection: T1): T1; + (collection: TArray & (T[] | null | undefined)): TArray; + | null | undefined>(collection: TList & (lodash.List | null | undefined)): TList; + (collection: T1 | null | undefined): T1 | null | undefined; + } + type LodashForEach1x2 = (iteratee: (value: T) => any) => T[]; + type LodashForEach2x2 = (iteratee: (value: T) => any) => lodash.List; + type LodashForEach3x2 = (iteratee: (value: T[keyof T]) => any) => T; + type LodashForEach4x2 = (iteratee: (value: T) => any) => TArray; + type LodashForEach5x2 = (iteratee: (value: T) => any) => TList; + type LodashForEach6x2 = (iteratee: (value: T[keyof T]) => any) => T | null | undefined; + interface LodashForEachRight { + (iteratee: (value: T) => any): LodashForEachRight1x1; + (iteratee: lodash.__, collection: readonly T[]): LodashForEachRight1x2; + (iteratee: (value: T) => any, collection: readonly T[]): T[]; + (iteratee: lodash.__, collection: lodash.List): LodashForEachRight2x2; + (iteratee: (value: T) => any, collection: lodash.List): lodash.List; + (iteratee: lodash.__, collection: T): LodashForEachRight3x2; + (iteratee: (value: T[keyof T]) => any, collection: T): T; + (iteratee: lodash.__, collection: TArray & (T[] | null | undefined)): LodashForEachRight4x2; + (iteratee: (value: T) => any, collection: TArray & (T[] | null | undefined)): TArray; + | null | undefined>(iteratee: lodash.__, collection: TList & (lodash.List | null | undefined)): LodashForEachRight5x2; + | null | undefined>(iteratee: (value: T) => any, collection: TList & (lodash.List | null | undefined)): TList; + (iteratee: lodash.__, collection: T | null | undefined): LodashForEachRight6x2; + (iteratee: (value: T[keyof T]) => any, collection: T | null | undefined): T | null | undefined; + } + interface LodashForEachRight1x1 { + (collection: readonly T[]): T[]; + (collection: lodash.List): lodash.List; + (collection: T1): T1; + (collection: TArray & (T[] | null | undefined)): TArray; + | null | undefined>(collection: TList & (lodash.List | null | undefined)): TList; + (collection: T1 | null | undefined): T1 | null | undefined; + } + type LodashForEachRight1x2 = (iteratee: (value: T) => any) => T[]; + type LodashForEachRight2x2 = (iteratee: (value: T) => any) => lodash.List; + type LodashForEachRight3x2 = (iteratee: (value: T[keyof T]) => any) => T; + type LodashForEachRight4x2 = (iteratee: (value: T) => any) => TArray; + type LodashForEachRight5x2 = (iteratee: (value: T) => any) => TList; + type LodashForEachRight6x2 = (iteratee: (value: T[keyof T]) => any) => T | null | undefined; + interface LodashEndsWith { + (target: string): LodashEndsWith1x1; + (target: lodash.__, string: string): LodashEndsWith1x2; + (target: string, string: string): boolean; + } + type LodashEndsWith1x1 = (string: string) => boolean; + type LodashEndsWith1x2 = (target: string) => boolean; + interface LodashToPairs { + (object: lodash.Dictionary | lodash.NumericDictionary): Array<[string, T]>; + (object: object): Array<[string, any]>; + } + interface LodashToPairsIn { + (object: lodash.Dictionary | lodash.NumericDictionary): Array<[string, T]>; + (object: object): Array<[string, any]>; + } + interface LodashEq { + (value: any): LodashEq1x1; + (value: lodash.__, other: any): LodashEq1x2; + (value: any, other: any): boolean; + } + type LodashEq1x1 = (other: any) => boolean; + type LodashEq1x2 = (value: any) => boolean; + interface LodashIsEqual { + (value: any): LodashIsEqual1x1; + (value: lodash.__, other: any): LodashIsEqual1x2; + (value: any, other: any): boolean; + } + type LodashIsEqual1x1 = (other: any) => boolean; + type LodashIsEqual1x2 = (value: any) => boolean; + type LodashEscape = (string: string) => string; + type LodashEscapeRegExp = (string: string) => string; + interface LodashExtend { + (object: TObject): LodashExtend1x1; + (object: lodash.__, source: TSource): LodashExtend1x2; + (object: TObject, source: TSource): TObject & TSource; + } + type LodashExtend1x1 = (source: TSource) => TObject & TSource; + type LodashExtend1x2 = (object: TObject) => TObject & TSource; + interface LodashExtendAll { + (object: [TObject, TSource]): TObject & TSource; + (object: [TObject, TSource1, TSource2]): TObject & TSource1 & TSource2; + (object: [TObject, TSource1, TSource2, TSource3]): TObject & TSource1 & TSource2 & TSource3; + (object: [TObject, TSource1, TSource2, TSource3, TSource4]): TObject & TSource1 & TSource2 & TSource3 & TSource4; + (object: [TObject]): TObject; + (object: readonly any[]): TResult; + } + interface LodashExtendAllWith { + (customizer: lodash.AssignCustomizer): LodashExtendAllWith1x1; + (customizer: lodash.__, args: readonly any[]): LodashExtendAllWith1x2; + (customizer: lodash.AssignCustomizer, args: readonly any[]): any; + } + type LodashExtendAllWith1x1 = (args: readonly any[]) => any; + type LodashExtendAllWith1x2 = (customizer: lodash.AssignCustomizer) => any; + interface LodashExtendWith { + (customizer: lodash.AssignCustomizer): LodashExtendWith1x1; + (customizer: lodash.__, object: TObject): LodashExtendWith1x2; + (customizer: lodash.AssignCustomizer, object: TObject): LodashExtendWith1x3; + (customizer: lodash.__, object: lodash.__, source: TSource): LodashExtendWith1x4; + (customizer: lodash.AssignCustomizer, object: lodash.__, source: TSource): LodashExtendWith1x5; + (customizer: lodash.__, object: TObject, source: TSource): LodashExtendWith1x6; + (customizer: lodash.AssignCustomizer, object: TObject, source: TSource): TObject & TSource; + } + interface LodashExtendWith1x1 { + (object: TObject): LodashExtendWith1x3; + (object: lodash.__, source: TSource): LodashExtendWith1x5; + (object: TObject, source: TSource): TObject & TSource; + } + interface LodashExtendWith1x2 { + (customizer: lodash.AssignCustomizer): LodashExtendWith1x3; + (customizer: lodash.__, source: TSource): LodashExtendWith1x6; + (customizer: lodash.AssignCustomizer, source: TSource): TObject & TSource; + } + type LodashExtendWith1x3 = (source: TSource) => TObject & TSource; + interface LodashExtendWith1x4 { + (customizer: lodash.AssignCustomizer): LodashExtendWith1x5; + (customizer: lodash.__, object: TObject): LodashExtendWith1x6; + (customizer: lodash.AssignCustomizer, object: TObject): TObject & TSource; + } + type LodashExtendWith1x5 = (object: TObject) => TObject & TSource; + type LodashExtendWith1x6 = (customizer: lodash.AssignCustomizer) => TObject & TSource; + type LodashStubFalse = () => false; + interface LodashFill { + (start: number): LodashFill1x1; + (start: lodash.__, end: number): LodashFill1x2; + (start: number, end: number): LodashFill1x3; + (start: lodash.__, end: lodash.__, value: T): LodashFill1x4; + (start: number, end: lodash.__, value: T): LodashFill1x5; + (start: lodash.__, end: number, value: T): LodashFill1x6; + (start: number, end: number, value: T): LodashFill1x7; + (start: lodash.__, end: lodash.__, value: lodash.__, array: U[] | null | undefined): LodashFill1x8; + (start: number, end: lodash.__, value: lodash.__, array: U[] | null | undefined): LodashFill1x9; + (start: lodash.__, end: number, value: lodash.__, array: U[] | null | undefined): LodashFill1x10; + (start: number, end: number, value: lodash.__, array: U[] | null | undefined): LodashFill1x11; + (start: lodash.__, end: lodash.__, value: T, array: U[] | null | undefined): LodashFill1x12; + (start: number, end: lodash.__, value: T, array: U[] | null | undefined): LodashFill1x13; + (start: lodash.__, end: number, value: T, array: U[] | null | undefined): LodashFill1x14; + (start: number, end: number, value: T, array: U[] | null | undefined): Array; + (start: lodash.__, end: lodash.__, value: lodash.__, array: lodash.List | null | undefined): LodashFill2x8; + (start: number, end: lodash.__, value: lodash.__, array: lodash.List | null | undefined): LodashFill2x9; + (start: lodash.__, end: number, value: lodash.__, array: lodash.List | null | undefined): LodashFill2x10; + (start: number, end: number, value: lodash.__, array: lodash.List | null | undefined): LodashFill2x11; + (start: lodash.__, end: lodash.__, value: T, array: lodash.List | null | undefined): LodashFill2x12; + (start: number, end: lodash.__, value: T, array: lodash.List | null | undefined): LodashFill2x13; + (start: lodash.__, end: number, value: T, array: lodash.List | null | undefined): LodashFill2x14; + (start: number, end: number, value: T, array: lodash.List | null | undefined): lodash.List; + } + interface LodashFill1x1 { + (end: number): LodashFill1x3; + (end: lodash.__, value: T): LodashFill1x5; + (end: number, value: T): LodashFill1x7; + (end: lodash.__, value: lodash.__, array: U[] | null | undefined): LodashFill1x9; + (end: number, value: lodash.__, array: U[] | null | undefined): LodashFill1x11; + (end: lodash.__, value: T, array: U[] | null | undefined): LodashFill1x13; + (end: number, value: T, array: U[] | null | undefined): Array; + (end: lodash.__, value: lodash.__, array: lodash.List | null | undefined): LodashFill2x9; + (end: number, value: lodash.__, array: lodash.List | null | undefined): LodashFill2x11; + (end: lodash.__, value: T, array: lodash.List | null | undefined): LodashFill2x13; + (end: number, value: T, array: lodash.List | null | undefined): lodash.List; + } + interface LodashFill1x2 { + (start: number): LodashFill1x3; + (start: lodash.__, value: T): LodashFill1x6; + (start: number, value: T): LodashFill1x7; + (start: lodash.__, value: lodash.__, array: U[] | null | undefined): LodashFill1x10; + (start: number, value: lodash.__, array: U[] | null | undefined): LodashFill1x11; + (start: lodash.__, value: T, array: U[] | null | undefined): LodashFill1x14; + (start: number, value: T, array: U[] | null | undefined): Array; + (start: lodash.__, value: lodash.__, array: lodash.List | null | undefined): LodashFill2x10; + (start: number, value: lodash.__, array: lodash.List | null | undefined): LodashFill2x11; + (start: lodash.__, value: T, array: lodash.List | null | undefined): LodashFill2x14; + (start: number, value: T, array: lodash.List | null | undefined): lodash.List; + } + interface LodashFill1x3 { + (value: T): LodashFill1x7; + (value: lodash.__, array: U[] | null | undefined): LodashFill1x11; + (value: T, array: U[] | null | undefined): Array; + (value: lodash.__, array: lodash.List | null | undefined): LodashFill2x11; + (value: T, array: lodash.List | null | undefined): lodash.List; + } + interface LodashFill1x4 { + (start: number): LodashFill1x5; + (start: lodash.__, end: number): LodashFill1x6; + (start: number, end: number): LodashFill1x7; + (start: lodash.__, end: lodash.__, array: U[] | null | undefined): LodashFill1x12; + (start: number, end: lodash.__, array: U[] | null | undefined): LodashFill1x13; + (start: lodash.__, end: number, array: U[] | null | undefined): LodashFill1x14; + (start: number, end: number, array: U[] | null | undefined): Array; + (start: lodash.__, end: lodash.__, array: lodash.List | null | undefined): LodashFill2x12; + (start: number, end: lodash.__, array: lodash.List | null | undefined): LodashFill2x13; + (start: lodash.__, end: number, array: lodash.List | null | undefined): LodashFill2x14; + (start: number, end: number, array: lodash.List | null | undefined): lodash.List; + } + interface LodashFill1x5 { + (end: number): LodashFill1x7; + (end: lodash.__, array: U[] | null | undefined): LodashFill1x13; + (end: number, array: U[] | null | undefined): Array; + (end: lodash.__, array: lodash.List | null | undefined): LodashFill2x13; + (end: number, array: lodash.List | null | undefined): lodash.List; + } + interface LodashFill1x6 { + (start: number): LodashFill1x7; + (start: lodash.__, array: U[] | null | undefined): LodashFill1x14; + (start: number, array: U[] | null | undefined): Array; + (start: lodash.__, array: lodash.List | null | undefined): LodashFill2x14; + (start: number, array: lodash.List | null | undefined): lodash.List; + } + interface LodashFill1x7 { + (array: U[] | null | undefined): Array; + (array: lodash.List | null | undefined): lodash.List; + } + interface LodashFill1x8 { + (start: number): LodashFill1x9; + (start: lodash.__, end: number): LodashFill1x10; + (start: number, end: number): LodashFill1x11; + (start: lodash.__, end: lodash.__, value: T): LodashFill1x12; + (start: number, end: lodash.__, value: T): LodashFill1x13; + (start: lodash.__, end: number, value: T): LodashFill1x14; + (start: number, end: number, value: T): Array; + } + interface LodashFill1x9 { + (end: number): LodashFill1x11; + (end: lodash.__, value: T): LodashFill1x13; + (end: number, value: T): Array; + } + interface LodashFill1x10 { + (start: number): LodashFill1x11; + (start: lodash.__, value: T): LodashFill1x14; + (start: number, value: T): Array; + } + type LodashFill1x11 = (value: T) => Array; + interface LodashFill1x12 { + (start: number): LodashFill1x13; + (start: lodash.__, end: number): LodashFill1x14; + (start: number, end: number): Array; + } + type LodashFill1x13 = (end: number) => Array; + type LodashFill1x14 = (start: number) => Array; + interface LodashFill2x8 { + (start: number): LodashFill2x9; + (start: lodash.__, end: number): LodashFill2x10; + (start: number, end: number): LodashFill2x11; + (start: lodash.__, end: lodash.__, value: T): LodashFill2x12; + (start: number, end: lodash.__, value: T): LodashFill2x13; + (start: lodash.__, end: number, value: T): LodashFill2x14; + (start: number, end: number, value: T): lodash.List; + } + interface LodashFill2x9 { + (end: number): LodashFill2x11; + (end: lodash.__, value: T): LodashFill2x13; + (end: number, value: T): lodash.List; + } + interface LodashFill2x10 { + (start: number): LodashFill2x11; + (start: lodash.__, value: T): LodashFill2x14; + (start: number, value: T): lodash.List; + } + type LodashFill2x11 = (value: T) => lodash.List; + interface LodashFill2x12 { + (start: number): LodashFill2x13; + (start: lodash.__, end: number): LodashFill2x14; + (start: number, end: number): lodash.List; + } + type LodashFill2x13 = (end: number) => lodash.List; + type LodashFill2x14 = (start: number) => lodash.List; + interface LodashFilter { + (predicate: lodash.ValueIteratorTypeGuard): LodashFilter1x1; + (predicate: lodash.__, collection: lodash.List | null | undefined): LodashFilter1x2; + (predicate: lodash.ValueIteratorTypeGuard, collection: lodash.List | null | undefined): S[]; + (predicate: lodash.ValueIterateeCustom): LodashFilter2x1; + (predicate: lodash.ValueIterateeCustom, collection: lodash.List | null | undefined): T[]; + (predicate: lodash.ValueIteratorTypeGuard): LodashFilter3x1; + (predicate: lodash.__, collection: T | null | undefined): LodashFilter3x2; + (predicate: lodash.ValueIteratorTypeGuard, collection: T | null | undefined): S[]; + (predicate: lodash.ValueIterateeCustom, collection: T | null | undefined): Array; + } + type LodashFilter1x1 = (collection: lodash.List | null | undefined) => S[]; + interface LodashFilter1x2 { + (predicate: lodash.ValueIteratorTypeGuard): S[]; + (predicate: lodash.ValueIterateeCustom): T[]; + } + type LodashFilter2x1 = (collection: lodash.List | object | null | undefined) => T[]; + type LodashFilter3x1 = (collection: T | null | undefined) => S[]; + interface LodashFilter3x2 { + (predicate: lodash.ValueIteratorTypeGuard): S[]; + (predicate: lodash.ValueIterateeCustom): Array; + } + interface LodashFind { + (predicate: lodash.ValueIteratorTypeGuard): LodashFind1x1; + (predicate: lodash.__, collection: lodash.List | null | undefined): LodashFind1x2; + (predicate: lodash.ValueIteratorTypeGuard, collection: lodash.List | null | undefined): S|undefined; + (predicate: lodash.ValueIterateeCustom): LodashFind2x1; + (predicate: lodash.ValueIterateeCustom, collection: lodash.List | null | undefined): T|undefined; + (predicate: lodash.ValueIteratorTypeGuard): LodashFind3x1; + (predicate: lodash.__, collection: T | null | undefined): LodashFind3x2; + (predicate: lodash.ValueIteratorTypeGuard, collection: T | null | undefined): S|undefined; + (predicate: lodash.ValueIterateeCustom, collection: T | null | undefined): T[keyof T]|undefined; + } + type LodashFind1x1 = (collection: lodash.List | null | undefined) => S|undefined; + interface LodashFind1x2 { + (predicate: lodash.ValueIteratorTypeGuard): S|undefined; + (predicate: lodash.ValueIterateeCustom): T|undefined; + } + type LodashFind2x1 = (collection: lodash.List | object | null | undefined) => T|undefined; + type LodashFind3x1 = (collection: T | null | undefined) => S|undefined; + interface LodashFind3x2 { + (predicate: lodash.ValueIteratorTypeGuard): S|undefined; + (predicate: lodash.ValueIterateeCustom): T[keyof T]|undefined; + } + interface LodashFindFrom { + (predicate: lodash.ValueIteratorTypeGuard): LodashFindFrom1x1; + (predicate: lodash.__, fromIndex: number): LodashFindFrom1x2; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: number): LodashFindFrom1x3; + (predicate: lodash.__, fromIndex: lodash.__, collection: lodash.List | null | undefined): LodashFindFrom1x4; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: lodash.__, collection: lodash.List | null | undefined): LodashFindFrom1x5; + (predicate: lodash.__, fromIndex: number, collection: lodash.List | null | undefined): LodashFindFrom1x6; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: number, collection: lodash.List | null | undefined): S|undefined; + (predicate: lodash.ValueIterateeCustom): LodashFindFrom2x1; + (predicate: lodash.ValueIterateeCustom, fromIndex: number): LodashFindFrom2x3; + (predicate: lodash.ValueIterateeCustom, fromIndex: lodash.__, collection: lodash.List | null | undefined): LodashFindFrom2x5; + (predicate: lodash.ValueIterateeCustom, fromIndex: number, collection: lodash.List | null | undefined): T|undefined; + (predicate: lodash.ValueIteratorTypeGuard): LodashFindFrom3x1; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: number): LodashFindFrom3x3; + (predicate: lodash.__, fromIndex: lodash.__, collection: T | null | undefined): LodashFindFrom3x4; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: lodash.__, collection: T | null | undefined): LodashFindFrom3x5; + (predicate: lodash.__, fromIndex: number, collection: T | null | undefined): LodashFindFrom3x6; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: number, collection: T | null | undefined): S|undefined; + (predicate: lodash.ValueIterateeCustom, fromIndex: lodash.__, collection: T | null | undefined): LodashFindFrom4x5; + (predicate: lodash.ValueIterateeCustom, fromIndex: number, collection: T | null | undefined): T[keyof T]|undefined; + } + interface LodashFindFrom1x1 { + (fromIndex: number): LodashFindFrom1x3; + (fromIndex: lodash.__, collection: lodash.List | null | undefined): LodashFindFrom1x5; + (fromIndex: number, collection: lodash.List | null | undefined): S|undefined; + } + interface LodashFindFrom1x2 { + (predicate: lodash.ValueIteratorTypeGuard): LodashFindFrom1x3; + (predicate: lodash.__, collection: lodash.List | null | undefined): LodashFindFrom1x6; + (predicate: lodash.ValueIteratorTypeGuard, collection: lodash.List | null | undefined): S|undefined; + (predicate: lodash.ValueIterateeCustom): LodashFindFrom2x3; + (predicate: lodash.ValueIterateeCustom, collection: lodash.List | null | undefined): T|undefined; + (predicate: lodash.ValueIteratorTypeGuard): LodashFindFrom3x3; + (predicate: lodash.__, collection: T | null | undefined): LodashFindFrom3x6; + (predicate: lodash.ValueIteratorTypeGuard, collection: T | null | undefined): S|undefined; + (predicate: lodash.ValueIterateeCustom, collection: T | null | undefined): T[keyof T]|undefined; + } + type LodashFindFrom1x3 = (collection: lodash.List | null | undefined) => S|undefined; + interface LodashFindFrom1x4 { + (predicate: lodash.ValueIteratorTypeGuard): LodashFindFrom1x5; + (predicate: lodash.__, fromIndex: number): LodashFindFrom1x6; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: number): S|undefined; + (predicate: lodash.ValueIterateeCustom): LodashFindFrom2x5; + (predicate: lodash.ValueIterateeCustom, fromIndex: number): T|undefined; + } + type LodashFindFrom1x5 = (fromIndex: number) => S|undefined; + interface LodashFindFrom1x6 { + (predicate: lodash.ValueIteratorTypeGuard): S|undefined; + (predicate: lodash.ValueIterateeCustom): T|undefined; + } + interface LodashFindFrom2x1 { + (fromIndex: number): LodashFindFrom2x3; + (fromIndex: lodash.__, collection: lodash.List | null | undefined): LodashFindFrom2x5; + (fromIndex: number, collection: lodash.List | object | null | undefined): T|undefined; + (fromIndex: lodash.__, collection: T1 | null | undefined): LodashFindFrom4x5; + } + interface LodashFindFrom2x3 { + (collection: lodash.List | null | undefined): T|undefined; + (collection: object | null | undefined): object|undefined; + } + type LodashFindFrom2x5 = (fromIndex: number) => T|undefined; + interface LodashFindFrom3x1 { + (fromIndex: number): LodashFindFrom3x3; + (fromIndex: lodash.__, collection: T | null | undefined): LodashFindFrom3x5; + (fromIndex: number, collection: T | null | undefined): S|undefined; + } + type LodashFindFrom3x3 = (collection: T | null | undefined) => S|undefined; + interface LodashFindFrom3x4 { + (predicate: lodash.ValueIteratorTypeGuard): LodashFindFrom3x5; + (predicate: lodash.__, fromIndex: number): LodashFindFrom3x6; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: number): S|undefined; + (predicate: lodash.ValueIterateeCustom): LodashFindFrom4x5; + (predicate: lodash.ValueIterateeCustom, fromIndex: number): T[keyof T]|undefined; + } + type LodashFindFrom3x5 = (fromIndex: number) => S|undefined; + interface LodashFindFrom3x6 { + (predicate: lodash.ValueIteratorTypeGuard): S|undefined; + (predicate: lodash.ValueIterateeCustom): T[keyof T]|undefined; + } + type LodashFindFrom4x5 = (fromIndex: number) => T[keyof T]|undefined; + interface LodashFindIndex { + (predicate: lodash.ValueIterateeCustom): LodashFindIndex1x1; + (predicate: lodash.__, array: lodash.List | null | undefined): LodashFindIndex1x2; + (predicate: lodash.ValueIterateeCustom, array: lodash.List | null | undefined): number; + } + type LodashFindIndex1x1 = (array: lodash.List | null | undefined) => number; + type LodashFindIndex1x2 = (predicate: lodash.ValueIterateeCustom) => number; + interface LodashFindIndexFrom { + (predicate: lodash.ValueIterateeCustom): LodashFindIndexFrom1x1; + (predicate: lodash.__, fromIndex: number): LodashFindIndexFrom1x2; + (predicate: lodash.ValueIterateeCustom, fromIndex: number): LodashFindIndexFrom1x3; + (predicate: lodash.__, fromIndex: lodash.__, array: lodash.List | null | undefined): LodashFindIndexFrom1x4; + (predicate: lodash.ValueIterateeCustom, fromIndex: lodash.__, array: lodash.List | null | undefined): LodashFindIndexFrom1x5; + (predicate: lodash.__, fromIndex: number, array: lodash.List | null | undefined): LodashFindIndexFrom1x6; + (predicate: lodash.ValueIterateeCustom, fromIndex: number, array: lodash.List | null | undefined): number; + } + interface LodashFindIndexFrom1x1 { + (fromIndex: number): LodashFindIndexFrom1x3; + (fromIndex: lodash.__, array: lodash.List | null | undefined): LodashFindIndexFrom1x5; + (fromIndex: number, array: lodash.List | null | undefined): number; + } + interface LodashFindIndexFrom1x2 { + (predicate: lodash.ValueIterateeCustom): LodashFindIndexFrom1x3; + (predicate: lodash.__, array: lodash.List | null | undefined): LodashFindIndexFrom1x6; + (predicate: lodash.ValueIterateeCustom, array: lodash.List | null | undefined): number; + } + type LodashFindIndexFrom1x3 = (array: lodash.List | null | undefined) => number; + interface LodashFindIndexFrom1x4 { + (predicate: lodash.ValueIterateeCustom): LodashFindIndexFrom1x5; + (predicate: lodash.__, fromIndex: number): LodashFindIndexFrom1x6; + (predicate: lodash.ValueIterateeCustom, fromIndex: number): number; + } + type LodashFindIndexFrom1x5 = (fromIndex: number) => number; + type LodashFindIndexFrom1x6 = (predicate: lodash.ValueIterateeCustom) => number; + interface LodashFindKey { + (predicate: lodash.ValueIteratee): LodashFindKey1x1; + (predicate: lodash.__, object: T | null | undefined): LodashFindKey1x2; + (predicate: lodash.ValueIteratee, object: T | null | undefined): string | undefined; + } + type LodashFindKey1x1 = (object: object | null | undefined) => string | undefined; + type LodashFindKey1x2 = (predicate: lodash.ValueIteratee) => string | undefined; + interface LodashFindLast { + (predicate: lodash.ValueIteratorTypeGuard): LodashFindLast1x1; + (predicate: lodash.__, collection: lodash.List | null | undefined): LodashFindLast1x2; + (predicate: lodash.ValueIteratorTypeGuard, collection: lodash.List | null | undefined): S|undefined; + (predicate: lodash.ValueIterateeCustom): LodashFindLast2x1; + (predicate: lodash.ValueIterateeCustom, collection: lodash.List | null | undefined): T|undefined; + (predicate: lodash.ValueIteratorTypeGuard): LodashFindLast3x1; + (predicate: lodash.__, collection: T | null | undefined): LodashFindLast3x2; + (predicate: lodash.ValueIteratorTypeGuard, collection: T | null | undefined): S|undefined; + (predicate: lodash.ValueIterateeCustom, collection: T | null | undefined): T[keyof T]|undefined; + } + type LodashFindLast1x1 = (collection: lodash.List | null | undefined) => S|undefined; + interface LodashFindLast1x2 { + (predicate: lodash.ValueIteratorTypeGuard): S|undefined; + (predicate: lodash.ValueIterateeCustom): T|undefined; + } + type LodashFindLast2x1 = (collection: lodash.List | object | null | undefined) => T|undefined; + type LodashFindLast3x1 = (collection: T | null | undefined) => S|undefined; + interface LodashFindLast3x2 { + (predicate: lodash.ValueIteratorTypeGuard): S|undefined; + (predicate: lodash.ValueIterateeCustom): T[keyof T]|undefined; + } + interface LodashFindLastFrom { + (predicate: lodash.ValueIteratorTypeGuard): LodashFindLastFrom1x1; + (predicate: lodash.__, fromIndex: number): LodashFindLastFrom1x2; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: number): LodashFindLastFrom1x3; + (predicate: lodash.__, fromIndex: lodash.__, collection: lodash.List | null | undefined): LodashFindLastFrom1x4; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: lodash.__, collection: lodash.List | null | undefined): LodashFindLastFrom1x5; + (predicate: lodash.__, fromIndex: number, collection: lodash.List | null | undefined): LodashFindLastFrom1x6; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: number, collection: lodash.List | null | undefined): S|undefined; + (predicate: lodash.ValueIterateeCustom): LodashFindLastFrom2x1; + (predicate: lodash.ValueIterateeCustom, fromIndex: number): LodashFindLastFrom2x3; + (predicate: lodash.ValueIterateeCustom, fromIndex: lodash.__, collection: lodash.List | null | undefined): LodashFindLastFrom2x5; + (predicate: lodash.ValueIterateeCustom, fromIndex: number, collection: lodash.List | null | undefined): T|undefined; + (predicate: lodash.ValueIteratorTypeGuard): LodashFindLastFrom3x1; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: number): LodashFindLastFrom3x3; + (predicate: lodash.__, fromIndex: lodash.__, collection: T | null | undefined): LodashFindLastFrom3x4; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: lodash.__, collection: T | null | undefined): LodashFindLastFrom3x5; + (predicate: lodash.__, fromIndex: number, collection: T | null | undefined): LodashFindLastFrom3x6; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: number, collection: T | null | undefined): S|undefined; + (predicate: lodash.ValueIterateeCustom, fromIndex: lodash.__, collection: T | null | undefined): LodashFindLastFrom4x5; + (predicate: lodash.ValueIterateeCustom, fromIndex: number, collection: T | null | undefined): T[keyof T]|undefined; + } + interface LodashFindLastFrom1x1 { + (fromIndex: number): LodashFindLastFrom1x3; + (fromIndex: lodash.__, collection: lodash.List | null | undefined): LodashFindLastFrom1x5; + (fromIndex: number, collection: lodash.List | null | undefined): S|undefined; + } + interface LodashFindLastFrom1x2 { + (predicate: lodash.ValueIteratorTypeGuard): LodashFindLastFrom1x3; + (predicate: lodash.__, collection: lodash.List | null | undefined): LodashFindLastFrom1x6; + (predicate: lodash.ValueIteratorTypeGuard, collection: lodash.List | null | undefined): S|undefined; + (predicate: lodash.ValueIterateeCustom): LodashFindLastFrom2x3; + (predicate: lodash.ValueIterateeCustom, collection: lodash.List | null | undefined): T|undefined; + (predicate: lodash.ValueIteratorTypeGuard): LodashFindLastFrom3x3; + (predicate: lodash.__, collection: T | null | undefined): LodashFindLastFrom3x6; + (predicate: lodash.ValueIteratorTypeGuard, collection: T | null | undefined): S|undefined; + (predicate: lodash.ValueIterateeCustom, collection: T | null | undefined): T[keyof T]|undefined; + } + type LodashFindLastFrom1x3 = (collection: lodash.List | null | undefined) => S|undefined; + interface LodashFindLastFrom1x4 { + (predicate: lodash.ValueIteratorTypeGuard): LodashFindLastFrom1x5; + (predicate: lodash.__, fromIndex: number): LodashFindLastFrom1x6; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: number): S|undefined; + (predicate: lodash.ValueIterateeCustom): LodashFindLastFrom2x5; + (predicate: lodash.ValueIterateeCustom, fromIndex: number): T|undefined; + } + type LodashFindLastFrom1x5 = (fromIndex: number) => S|undefined; + interface LodashFindLastFrom1x6 { + (predicate: lodash.ValueIteratorTypeGuard): S|undefined; + (predicate: lodash.ValueIterateeCustom): T|undefined; + } + interface LodashFindLastFrom2x1 { + (fromIndex: number): LodashFindLastFrom2x3; + (fromIndex: lodash.__, collection: lodash.List | null | undefined): LodashFindLastFrom2x5; + (fromIndex: number, collection: lodash.List | object | null | undefined): T|undefined; + (fromIndex: lodash.__, collection: T1 | null | undefined): LodashFindLastFrom4x5; + } + interface LodashFindLastFrom2x3 { + (collection: lodash.List | null | undefined): T|undefined; + (collection: object | null | undefined): object|undefined; + } + type LodashFindLastFrom2x5 = (fromIndex: number) => T|undefined; + interface LodashFindLastFrom3x1 { + (fromIndex: number): LodashFindLastFrom3x3; + (fromIndex: lodash.__, collection: T | null | undefined): LodashFindLastFrom3x5; + (fromIndex: number, collection: T | null | undefined): S|undefined; + } + type LodashFindLastFrom3x3 = (collection: T | null | undefined) => S|undefined; + interface LodashFindLastFrom3x4 { + (predicate: lodash.ValueIteratorTypeGuard): LodashFindLastFrom3x5; + (predicate: lodash.__, fromIndex: number): LodashFindLastFrom3x6; + (predicate: lodash.ValueIteratorTypeGuard, fromIndex: number): S|undefined; + (predicate: lodash.ValueIterateeCustom): LodashFindLastFrom4x5; + (predicate: lodash.ValueIterateeCustom, fromIndex: number): T[keyof T]|undefined; + } + type LodashFindLastFrom3x5 = (fromIndex: number) => S|undefined; + interface LodashFindLastFrom3x6 { + (predicate: lodash.ValueIteratorTypeGuard): S|undefined; + (predicate: lodash.ValueIterateeCustom): T[keyof T]|undefined; + } + type LodashFindLastFrom4x5 = (fromIndex: number) => T[keyof T]|undefined; + interface LodashFindLastIndex { + (predicate: lodash.ValueIterateeCustom): LodashFindLastIndex1x1; + (predicate: lodash.__, array: lodash.List | null | undefined): LodashFindLastIndex1x2; + (predicate: lodash.ValueIterateeCustom, array: lodash.List | null | undefined): number; + } + type LodashFindLastIndex1x1 = (array: lodash.List | null | undefined) => number; + type LodashFindLastIndex1x2 = (predicate: lodash.ValueIterateeCustom) => number; + interface LodashFindLastIndexFrom { + (predicate: lodash.ValueIterateeCustom): LodashFindLastIndexFrom1x1; + (predicate: lodash.__, fromIndex: number): LodashFindLastIndexFrom1x2; + (predicate: lodash.ValueIterateeCustom, fromIndex: number): LodashFindLastIndexFrom1x3; + (predicate: lodash.__, fromIndex: lodash.__, array: lodash.List | null | undefined): LodashFindLastIndexFrom1x4; + (predicate: lodash.ValueIterateeCustom, fromIndex: lodash.__, array: lodash.List | null | undefined): LodashFindLastIndexFrom1x5; + (predicate: lodash.__, fromIndex: number, array: lodash.List | null | undefined): LodashFindLastIndexFrom1x6; + (predicate: lodash.ValueIterateeCustom, fromIndex: number, array: lodash.List | null | undefined): number; + } + interface LodashFindLastIndexFrom1x1 { + (fromIndex: number): LodashFindLastIndexFrom1x3; + (fromIndex: lodash.__, array: lodash.List | null | undefined): LodashFindLastIndexFrom1x5; + (fromIndex: number, array: lodash.List | null | undefined): number; + } + interface LodashFindLastIndexFrom1x2 { + (predicate: lodash.ValueIterateeCustom): LodashFindLastIndexFrom1x3; + (predicate: lodash.__, array: lodash.List | null | undefined): LodashFindLastIndexFrom1x6; + (predicate: lodash.ValueIterateeCustom, array: lodash.List | null | undefined): number; + } + type LodashFindLastIndexFrom1x3 = (array: lodash.List | null | undefined) => number; + interface LodashFindLastIndexFrom1x4 { + (predicate: lodash.ValueIterateeCustom): LodashFindLastIndexFrom1x5; + (predicate: lodash.__, fromIndex: number): LodashFindLastIndexFrom1x6; + (predicate: lodash.ValueIterateeCustom, fromIndex: number): number; + } + type LodashFindLastIndexFrom1x5 = (fromIndex: number) => number; + type LodashFindLastIndexFrom1x6 = (predicate: lodash.ValueIterateeCustom) => number; + interface LodashFindLastKey { + (predicate: lodash.ValueIteratee): LodashFindLastKey1x1; + (predicate: lodash.__, object: T | null | undefined): LodashFindLastKey1x2; + (predicate: lodash.ValueIteratee, object: T | null | undefined): string | undefined; + } + type LodashFindLastKey1x1 = (object: object | null | undefined) => string | undefined; + type LodashFindLastKey1x2 = (predicate: lodash.ValueIteratee) => string | undefined; + type LodashHead = (array: lodash.List | null | undefined) => T | undefined; + interface LodashFlatMap { + (iteratee: (value: T) => lodash.Many): LodashFlatMap1x1; + (iteratee: lodash.__, collection: lodash.List | null | undefined): LodashFlatMap1x2; + (iteratee: (value: T) => lodash.Many, collection: lodash.List | null | undefined): TResult[]; + (iteratee: (value: T[keyof T]) => lodash.Many): LodashFlatMap2x1; + (iteratee: lodash.__, collection: T | null | undefined): LodashFlatMap2x2; + (iteratee: (value: T[keyof T]) => lodash.Many, collection: T | null | undefined): TResult[]; + (iteratee: string): LodashFlatMap3x1; + (iteratee: lodash.__, collection: object | null | undefined): LodashFlatMap3x2; + (iteratee: string, collection: object | null | undefined): any[]; + (iteratee: object): LodashFlatMap4x1; + (iteratee: object, collection: object | null | undefined): boolean[]; + } + type LodashFlatMap1x1 = (collection: lodash.List | null | undefined) => TResult[]; + type LodashFlatMap1x2 = (iteratee: (value: T) => lodash.Many) => TResult[]; + type LodashFlatMap2x1 = (collection: T | null | undefined) => TResult[]; + type LodashFlatMap2x2 = (iteratee: (value: T[keyof T]) => lodash.Many) => TResult[]; + type LodashFlatMap3x1 = (collection: object | null | undefined) => any[]; + interface LodashFlatMap3x2 { + (iteratee: string): any[]; + (iteratee: object): boolean[]; + } + type LodashFlatMap4x1 = (collection: object | null | undefined) => boolean[]; + interface LodashFlatMapDeep { + (iteratee: (value: T) => lodash.ListOfRecursiveArraysOrValues | TResult): LodashFlatMapDeep1x1; + (iteratee: lodash.__, collection: lodash.List | null | undefined): LodashFlatMapDeep1x2; + (iteratee: (value: T) => lodash.ListOfRecursiveArraysOrValues | TResult, collection: lodash.List | null | undefined): TResult[]; + (iteratee: (value: T[keyof T]) => lodash.ListOfRecursiveArraysOrValues | TResult): LodashFlatMapDeep2x1; + (iteratee: lodash.__, collection: T | null | undefined): LodashFlatMapDeep2x2; + (iteratee: (value: T[keyof T]) => lodash.ListOfRecursiveArraysOrValues | TResult, collection: T | null | undefined): TResult[]; + (iteratee: string): LodashFlatMapDeep3x1; + (iteratee: lodash.__, collection: object | null | undefined): LodashFlatMapDeep3x2; + (iteratee: string, collection: object | null | undefined): any[]; + (iteratee: object): LodashFlatMapDeep4x1; + (iteratee: object, collection: object | null | undefined): boolean[]; + } + type LodashFlatMapDeep1x1 = (collection: lodash.List | null | undefined) => TResult[]; + type LodashFlatMapDeep1x2 = (iteratee: (value: T) => lodash.ListOfRecursiveArraysOrValues | TResult) => TResult[]; + type LodashFlatMapDeep2x1 = (collection: T | null | undefined) => TResult[]; + type LodashFlatMapDeep2x2 = (iteratee: (value: T[keyof T]) => lodash.ListOfRecursiveArraysOrValues | TResult) => TResult[]; + type LodashFlatMapDeep3x1 = (collection: object | null | undefined) => any[]; + interface LodashFlatMapDeep3x2 { + (iteratee: string): any[]; + (iteratee: object): boolean[]; + } + type LodashFlatMapDeep4x1 = (collection: object | null | undefined) => boolean[]; + interface LodashFlatMapDepth { + (iteratee: (value: T) => lodash.ListOfRecursiveArraysOrValues | TResult): LodashFlatMapDepth1x1; + (iteratee: lodash.__, depth: number): LodashFlatMapDepth1x2; + (iteratee: (value: T) => lodash.ListOfRecursiveArraysOrValues | TResult, depth: number): LodashFlatMapDepth1x3; + (iteratee: lodash.__, depth: lodash.__, collection: lodash.List | null | undefined): LodashFlatMapDepth1x4; + (iteratee: (value: T) => lodash.ListOfRecursiveArraysOrValues | TResult, depth: lodash.__, collection: lodash.List | null | undefined): LodashFlatMapDepth1x5; + (iteratee: lodash.__, depth: number, collection: lodash.List | null | undefined): LodashFlatMapDepth1x6; + (iteratee: (value: T) => lodash.ListOfRecursiveArraysOrValues | TResult, depth: number, collection: lodash.List | null | undefined): TResult[]; + (iteratee: (value: T[keyof T]) => lodash.ListOfRecursiveArraysOrValues | TResult): LodashFlatMapDepth2x1; + (iteratee: (value: T[keyof T]) => lodash.ListOfRecursiveArraysOrValues | TResult, depth: number): LodashFlatMapDepth2x3; + (iteratee: lodash.__, depth: lodash.__, collection: T | null | undefined): LodashFlatMapDepth2x4; + (iteratee: (value: T[keyof T]) => lodash.ListOfRecursiveArraysOrValues | TResult, depth: lodash.__, collection: T | null | undefined): LodashFlatMapDepth2x5; + (iteratee: lodash.__, depth: number, collection: T | null | undefined): LodashFlatMapDepth2x6; + (iteratee: (value: T[keyof T]) => lodash.ListOfRecursiveArraysOrValues | TResult, depth: number, collection: T | null | undefined): TResult[]; + (iteratee: string): LodashFlatMapDepth3x1; + (iteratee: string, depth: number): LodashFlatMapDepth3x3; + (iteratee: lodash.__, depth: lodash.__, collection: object | null | undefined): LodashFlatMapDepth3x4; + (iteratee: string, depth: lodash.__, collection: object | null | undefined): LodashFlatMapDepth3x5; + (iteratee: lodash.__, depth: number, collection: object | null | undefined): LodashFlatMapDepth3x6; + (iteratee: string, depth: number, collection: object | null | undefined): any[]; + (iteratee: object): LodashFlatMapDepth4x1; + (iteratee: object, depth: number): LodashFlatMapDepth4x3; + (iteratee: object, depth: lodash.__, collection: object | null | undefined): LodashFlatMapDepth4x5; + (iteratee: object, depth: number, collection: object | null | undefined): boolean[]; + } + interface LodashFlatMapDepth1x1 { + (depth: number): LodashFlatMapDepth1x3; + (depth: lodash.__, collection: lodash.List | null | undefined): LodashFlatMapDepth1x5; + (depth: number, collection: lodash.List | null | undefined): TResult[]; + } + interface LodashFlatMapDepth1x2 { + (iteratee: (value: T) => lodash.ListOfRecursiveArraysOrValues | TResult): LodashFlatMapDepth1x3; + (iteratee: lodash.__, collection: lodash.List | null | undefined): LodashFlatMapDepth1x6; + (iteratee: (value: T) => lodash.ListOfRecursiveArraysOrValues | TResult, collection: lodash.List | null | undefined): TResult[]; + (iteratee: (value: T[keyof T]) => lodash.ListOfRecursiveArraysOrValues | TResult): LodashFlatMapDepth2x3; + (iteratee: lodash.__, collection: T | null | undefined): LodashFlatMapDepth2x6; + (iteratee: (value: T[keyof T]) => lodash.ListOfRecursiveArraysOrValues | TResult, collection: T | null | undefined): TResult[]; + (iteratee: string): LodashFlatMapDepth3x3; + (iteratee: lodash.__, collection: object | null | undefined): LodashFlatMapDepth3x6; + (iteratee: string, collection: object | null | undefined): any[]; + (iteratee: object): LodashFlatMapDepth4x3; + (iteratee: object, collection: object | null | undefined): boolean[]; + } + type LodashFlatMapDepth1x3 = (collection: lodash.List | null | undefined) => TResult[]; + interface LodashFlatMapDepth1x4 { + (iteratee: (value: T) => lodash.ListOfRecursiveArraysOrValues | TResult): LodashFlatMapDepth1x5; + (iteratee: lodash.__, depth: number): LodashFlatMapDepth1x6; + (iteratee: (value: T) => lodash.ListOfRecursiveArraysOrValues | TResult, depth: number): TResult[]; + } + type LodashFlatMapDepth1x5 = (depth: number) => TResult[]; + type LodashFlatMapDepth1x6 = (iteratee: (value: T) => lodash.ListOfRecursiveArraysOrValues | TResult) => TResult[]; + interface LodashFlatMapDepth2x1 { + (depth: number): LodashFlatMapDepth2x3; + (depth: lodash.__, collection: T | null | undefined): LodashFlatMapDepth2x5; + (depth: number, collection: T | null | undefined): TResult[]; + } + type LodashFlatMapDepth2x3 = (collection: T | null | undefined) => TResult[]; + interface LodashFlatMapDepth2x4 { + (iteratee: (value: T[keyof T]) => lodash.ListOfRecursiveArraysOrValues | TResult): LodashFlatMapDepth2x5; + (iteratee: lodash.__, depth: number): LodashFlatMapDepth2x6; + (iteratee: (value: T[keyof T]) => lodash.ListOfRecursiveArraysOrValues | TResult, depth: number): TResult[]; + } + type LodashFlatMapDepth2x5 = (depth: number) => TResult[]; + type LodashFlatMapDepth2x6 = (iteratee: (value: T[keyof T]) => lodash.ListOfRecursiveArraysOrValues | TResult) => TResult[]; + interface LodashFlatMapDepth3x1 { + (depth: number): LodashFlatMapDepth3x3; + (depth: lodash.__, collection: object | null | undefined): LodashFlatMapDepth3x5; + (depth: number, collection: object | null | undefined): any[]; + } + type LodashFlatMapDepth3x3 = (collection: object | null | undefined) => any[]; + interface LodashFlatMapDepth3x4 { + (iteratee: string): LodashFlatMapDepth3x5; + (iteratee: lodash.__, depth: number): LodashFlatMapDepth3x6; + (iteratee: string, depth: number): any[]; + (iteratee: object): LodashFlatMapDepth4x5; + (iteratee: object, depth: number): boolean[]; + } + type LodashFlatMapDepth3x5 = (depth: number) => any[]; + interface LodashFlatMapDepth3x6 { + (iteratee: string): any[]; + (iteratee: object): boolean[]; + } + interface LodashFlatMapDepth4x1 { + (depth: number): LodashFlatMapDepth4x3; + (depth: lodash.__, collection: object | null | undefined): LodashFlatMapDepth4x5; + (depth: number, collection: object | null | undefined): boolean[]; + } + type LodashFlatMapDepth4x3 = (collection: object | null | undefined) => boolean[]; + type LodashFlatMapDepth4x5 = (depth: number) => boolean[]; + type LodashFlatten = (array: lodash.List> | null | undefined) => T[]; + type LodashFlattenDeep = (array: lodash.ListOfRecursiveArraysOrValues | null | undefined) => T[]; + interface LodashFlattenDepth { + (depth: number): LodashFlattenDepth1x1; + (depth: lodash.__, array: lodash.ListOfRecursiveArraysOrValues | null | undefined): LodashFlattenDepth1x2; + (depth: number, array: lodash.ListOfRecursiveArraysOrValues | null | undefined): T[]; + } + type LodashFlattenDepth1x1 = (array: lodash.ListOfRecursiveArraysOrValues | null | undefined) => T[]; + type LodashFlattenDepth1x2 = (depth: number) => T[]; + type LodashFlip = any>(func: T) => T; + type LodashFloor = (n: number) => number; + interface LodashFlow { + (f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (...args: A) => R7; + (f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7, ...func: Array any>>): (...args: A) => any; + (f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6): (...args: A) => R6; + (f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5): (...args: A) => R5; + (f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4): (...args: A) => R4; + (f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3): (...args: A) => R3; + (f1: (...args: A) => R1, f2: (a: R1) => R2): (...args: A) => R2; + (...func: Array any>>): (...args: any[]) => any; + } + interface LodashForIn { + (iteratee: (value: T) => any): LodashForIn1x1; + (iteratee: lodash.__, object: T): LodashForIn1x2; + (iteratee: (value: T[keyof T]) => any, object: T): T; + (iteratee: lodash.__, object: T | null | undefined): LodashForIn2x2; + (iteratee: (value: T[keyof T]) => any, object: T | null | undefined): T | null | undefined; + } + interface LodashForIn1x1 { + (object: T1): T1; + (object: T1 | null | undefined): T1 | null | undefined; + } + type LodashForIn1x2 = (iteratee: (value: T[keyof T]) => any) => T; + type LodashForIn2x2 = (iteratee: (value: T[keyof T]) => any) => T | null | undefined; + interface LodashForInRight { + (iteratee: (value: T) => any): LodashForInRight1x1; + (iteratee: lodash.__, object: T): LodashForInRight1x2; + (iteratee: (value: T[keyof T]) => any, object: T): T; + (iteratee: lodash.__, object: T | null | undefined): LodashForInRight2x2; + (iteratee: (value: T[keyof T]) => any, object: T | null | undefined): T | null | undefined; + } + interface LodashForInRight1x1 { + (object: T1): T1; + (object: T1 | null | undefined): T1 | null | undefined; + } + type LodashForInRight1x2 = (iteratee: (value: T[keyof T]) => any) => T; + type LodashForInRight2x2 = (iteratee: (value: T[keyof T]) => any) => T | null | undefined; + interface LodashForOwn { + (iteratee: (value: T) => any): LodashForOwn1x1; + (iteratee: lodash.__, object: T): LodashForOwn1x2; + (iteratee: (value: T[keyof T]) => any, object: T): T; + (iteratee: lodash.__, object: T | null | undefined): LodashForOwn2x2; + (iteratee: (value: T[keyof T]) => any, object: T | null | undefined): T | null | undefined; + } + interface LodashForOwn1x1 { + (object: T1): T1; + (object: T1 | null | undefined): T1 | null | undefined; + } + type LodashForOwn1x2 = (iteratee: (value: T[keyof T]) => any) => T; + type LodashForOwn2x2 = (iteratee: (value: T[keyof T]) => any) => T | null | undefined; + interface LodashForOwnRight { + (iteratee: (value: T) => any): LodashForOwnRight1x1; + (iteratee: lodash.__, object: T): LodashForOwnRight1x2; + (iteratee: (value: T[keyof T]) => any, object: T): T; + (iteratee: lodash.__, object: T | null | undefined): LodashForOwnRight2x2; + (iteratee: (value: T[keyof T]) => any, object: T | null | undefined): T | null | undefined; + } + interface LodashForOwnRight1x1 { + (object: T1): T1; + (object: T1 | null | undefined): T1 | null | undefined; + } + type LodashForOwnRight1x2 = (iteratee: (value: T[keyof T]) => any) => T; + type LodashForOwnRight2x2 = (iteratee: (value: T[keyof T]) => any) => T | null | undefined; + interface LodashFromPairs { + (pairs: lodash.List<[lodash.PropertyName, T]> | null | undefined): lodash.Dictionary; + (pairs: lodash.List | null | undefined): lodash.Dictionary; + } + type LodashFunctions = (object: any) => string[]; + type LodashFunctionsIn = (object: any) => string[]; + interface LodashGet { + (path: TKey | [TKey]): LodashGet1x1; + (path: lodash.__, object: TObject): LodashGet1x2; + (path: TKey | [TKey], object: TObject): TObject[TKey]; + (path: lodash.__, object: TObject | null | undefined): LodashGet2x2; + (path: TKey | [TKey], object: TObject | null | undefined): TObject[TKey] | undefined; + (path: [TKey1, TKey2]): LodashGet3x1; + (path: [TKey1, TKey2], object: TObject): TObject[TKey1][TKey2]; + (path: [TKey1, TKey2], object: TObject | null | undefined): TObject[TKey1][TKey2] | undefined; + (path: [TKey1, TKey2, TKey3]): LodashGet5x1; + (path: [TKey1, TKey2, TKey3], object: TObject): TObject[TKey1][TKey2][TKey3]; + (path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3] | undefined; + (path: [TKey1, TKey2, TKey3, TKey4]): LodashGet7x1; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject): TObject[TKey1][TKey2][TKey3][TKey4]; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + (path: number): LodashGet9x1; + (path: lodash.__, object: lodash.NumericDictionary): LodashGet9x2; + (path: number, object: lodash.NumericDictionary): T; + (path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashGet10x2; + (path: number, object: lodash.NumericDictionary | null | undefined): T | undefined; + (path: lodash.PropertyPath): LodashGet11x1; + (path: lodash.__, object: null | undefined): LodashGet11x2; + (path: lodash.PropertyPath, object: null | undefined): undefined; + (path: lodash.__, object: any): LodashGet12x2; + (path: lodash.PropertyPath, object: any): any; + } + interface LodashGet1x1 { + (object: TObject): TObject[TKey]; + (object: TObject | null | undefined): TObject[TKey] | undefined; + } + interface LodashGet1x2 { + (path: TKey | [TKey]): TObject[TKey]; + (path: [TKey1, TKey2]): TObject[TKey1][TKey2]; + (path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3]; + (path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4]; + } + interface LodashGet2x2 { + (path: TKey | [TKey]): TObject[TKey] | undefined; + (path: [TKey1, TKey2]): TObject[TKey1][TKey2] | undefined; + (path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3] | undefined; + (path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + } + interface LodashGet3x1 { + (object: TObject): TObject[TKey1][TKey2]; + (object: TObject | null | undefined): TObject[TKey1][TKey2] | undefined; + } + interface LodashGet5x1 { + (object: TObject): TObject[TKey1][TKey2][TKey3]; + (object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3] | undefined; + } + interface LodashGet7x1 { + (object: TObject): TObject[TKey1][TKey2][TKey3][TKey4]; + (object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + } + interface LodashGet9x1 { + (object: lodash.NumericDictionary): T; + (object: lodash.NumericDictionary | null | undefined): T | undefined; + } + type LodashGet9x2 = (path: number) => T; + type LodashGet10x2 = (path: number) => T | undefined; + interface LodashGet11x1 { + (object: null | undefined): undefined; + (object: any): any; + } + type LodashGet11x2 = (path: lodash.PropertyPath) => undefined; + type LodashGet12x2 = (path: lodash.PropertyPath) => any; + interface LodashGetOr { + (defaultValue: TDefault): LodashGetOr1x1; + (defaultValue: lodash.__, path: TKey | [TKey]): LodashGetOr1x2; + (defaultValue: TDefault, path: TKey | [TKey]): LodashGetOr1x3; + (defaultValue: lodash.__, path: lodash.__, object: TObject | null | undefined): LodashGetOr1x4; + (defaultValue: TDefault, path: lodash.__, object: TObject | null | undefined): LodashGetOr1x5; + (defaultValue: lodash.__, path: TKey | [TKey], object: TObject | null | undefined): LodashGetOr1x6; + (defaultValue: TDefault, path: TKey | [TKey], object: TObject | null | undefined): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2]): LodashGetOr2x2; + (defaultValue: TDefault, path: [TKey1, TKey2]): LodashGetOr2x3; + (defaultValue: lodash.__, path: [TKey1, TKey2], object: TObject | null | undefined): LodashGetOr2x6; + (defaultValue: TDefault, path: [TKey1, TKey2], object: TObject | null | undefined): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3]): LodashGetOr3x2; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3]): LodashGetOr3x3; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): LodashGetOr3x6; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3, TKey4]): LodashGetOr4x2; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3, TKey4]): LodashGetOr4x3; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): LodashGetOr4x6; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): Exclude | TDefault; + (defaultValue: lodash.__, path: number): LodashGetOr5x2; + (defaultValue: TDefault, path: number): LodashGetOr5x3; + (defaultValue: lodash.__, path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashGetOr5x4; + (defaultValue: TDefault, path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashGetOr5x5; + (defaultValue: lodash.__, path: number, object: lodash.NumericDictionary | null | undefined): LodashGetOr5x6; + (defaultValue: TDefault, path: number, object: lodash.NumericDictionary | null | undefined): T | TDefault; + (defaultValue: lodash.__, path: lodash.PropertyPath): LodashGetOr6x2; + (defaultValue: TDefault, path: lodash.PropertyPath): LodashGetOr6x3; + (defaultValue: lodash.__, path: lodash.__, object: null | undefined): LodashGetOr6x4; + (defaultValue: TDefault, path: lodash.__, object: null | undefined): LodashGetOr6x5; + (defaultValue: lodash.__, path: lodash.PropertyPath, object: null | undefined): LodashGetOr6x6; + (defaultValue: TDefault, path: lodash.PropertyPath, object: null | undefined): TDefault; + (defaultValue: any): LodashGetOr7x1; + (defaultValue: any, path: lodash.PropertyPath): LodashGetOr7x3; + (defaultValue: lodash.__, path: lodash.__, object: any): LodashGetOr7x4; + (defaultValue: any, path: lodash.__, object: any): LodashGetOr7x5; + (defaultValue: lodash.__, path: lodash.PropertyPath, object: any): LodashGetOr7x6; + (defaultValue: any, path: lodash.PropertyPath, object: any): any; + } + interface LodashGetOr1x1 { + (path: TKey | [TKey]): LodashGetOr1x3; + (path: lodash.__, object: TObject | null | undefined): LodashGetOr1x5; + (path: TKey | [TKey], object: TObject | null | undefined): Exclude | TDefault; + (path: [TKey1, TKey2]): LodashGetOr2x3; + (path: [TKey1, TKey2], object: TObject | null | undefined): Exclude | TDefault; + (path: [TKey1, TKey2, TKey3]): LodashGetOr3x3; + (path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): Exclude | TDefault; + (path: [TKey1, TKey2, TKey3, TKey4]): LodashGetOr4x3; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): Exclude | TDefault; + (path: number): LodashGetOr5x3; + (path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashGetOr5x5; + (path: number, object: lodash.NumericDictionary | null | undefined): T | TDefault; + (path: lodash.PropertyPath): LodashGetOr6x3; + (path: lodash.__, object: null | undefined): LodashGetOr6x5; + (path: lodash.PropertyPath, object: null | undefined): TDefault; + } + interface LodashGetOr1x2 { + (defaultValue: TDefault): LodashGetOr1x3; + (defaultValue: lodash.__, object: TObject | null | undefined): LodashGetOr1x6; + (defaultValue: TDefault, object: TObject | null | undefined): Exclude | TDefault; + } + type LodashGetOr1x3 = (object: TObject | null | undefined) => Exclude | TDefault; + interface LodashGetOr1x4 { + (defaultValue: TDefault): LodashGetOr1x5; + (defaultValue: lodash.__, path: TKey | [TKey]): LodashGetOr1x6; + (defaultValue: TDefault, path: TKey | [TKey]): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2]): LodashGetOr2x6; + (defaultValue: TDefault, path: [TKey1, TKey2]): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3]): LodashGetOr3x6; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3]): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3, TKey4]): LodashGetOr4x6; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3, TKey4]): Exclude | TDefault; + } + interface LodashGetOr1x5 { + (path: TKey | [TKey]): Exclude | TDefault; + (path: [TKey1, TKey2]): Exclude | TDefault; + (path: [TKey1, TKey2, TKey3]): Exclude | TDefault; + (path: [TKey1, TKey2, TKey3, TKey4]): Exclude | TDefault; + } + type LodashGetOr1x6 = (defaultValue: TDefault) => Exclude | TDefault; + interface LodashGetOr2x2 { + (defaultValue: TDefault): LodashGetOr2x3; + (defaultValue: lodash.__, object: TObject | null | undefined): LodashGetOr2x6; + (defaultValue: TDefault, object: TObject | null | undefined): Exclude | TDefault; + } + type LodashGetOr2x3 = (object: TObject | null | undefined) => Exclude | TDefault; + type LodashGetOr2x6 = (defaultValue: TDefault) => Exclude | TDefault; + interface LodashGetOr3x2 { + (defaultValue: TDefault): LodashGetOr3x3; + (defaultValue: lodash.__, object: TObject | null | undefined): LodashGetOr3x6; + (defaultValue: TDefault, object: TObject | null | undefined): Exclude | TDefault; + } + type LodashGetOr3x3 = (object: TObject | null | undefined) => Exclude | TDefault; + type LodashGetOr3x6 = (defaultValue: TDefault) => Exclude | TDefault; + interface LodashGetOr4x2 { + (defaultValue: TDefault): LodashGetOr4x3; + (defaultValue: lodash.__, object: TObject | null | undefined): LodashGetOr4x6; + (defaultValue: TDefault, object: TObject | null | undefined): Exclude | TDefault; + } + type LodashGetOr4x3 = (object: TObject | null | undefined) => Exclude | TDefault; + type LodashGetOr4x6 = (defaultValue: TDefault) => Exclude | TDefault; + interface LodashGetOr5x2 { + (defaultValue: TDefault): LodashGetOr5x3; + (defaultValue: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashGetOr5x6; + (defaultValue: TDefault, object: lodash.NumericDictionary | null | undefined): T | TDefault; + } + type LodashGetOr5x3 = (object: lodash.NumericDictionary | null | undefined) => T | TDefault; + interface LodashGetOr5x4 { + (defaultValue: TDefault): LodashGetOr5x5; + (defaultValue: lodash.__, path: number): LodashGetOr5x6; + (defaultValue: TDefault, path: number): T | TDefault; + } + type LodashGetOr5x5 = (path: number) => T | TDefault; + type LodashGetOr5x6 = (defaultValue: TDefault) => T | TDefault; + interface LodashGetOr6x2 { + (defaultValue: TDefault): LodashGetOr6x3; + (defaultValue: lodash.__, object: null | undefined): LodashGetOr6x6; + (defaultValue: TDefault, object: null | undefined): TDefault; + (defaultValue: any): LodashGetOr7x3; + (defaultValue: lodash.__, object: any): LodashGetOr7x6; + (defaultValue: any, object: any): any; + } + type LodashGetOr6x3 = (object: null | undefined) => TDefault; + interface LodashGetOr6x4 { + (defaultValue: TDefault): LodashGetOr6x5; + (defaultValue: lodash.__, path: lodash.PropertyPath): LodashGetOr6x6; + (defaultValue: TDefault, path: lodash.PropertyPath): TDefault; + } + type LodashGetOr6x5 = (path: lodash.PropertyPath) => TDefault; + type LodashGetOr6x6 = (defaultValue: TDefault) => TDefault; + interface LodashGetOr7x1 { + (path: lodash.PropertyPath): LodashGetOr7x3; + (path: lodash.__, object: any): LodashGetOr7x5; + (path: lodash.PropertyPath, object: any): any; + } + type LodashGetOr7x3 = (object: any) => any; + interface LodashGetOr7x4 { + (defaultValue: any): LodashGetOr7x5; + (defaultValue: lodash.__, path: lodash.PropertyPath): LodashGetOr7x6; + (defaultValue: any, path: lodash.PropertyPath): any; + } + type LodashGetOr7x5 = (path: lodash.PropertyPath) => any; + type LodashGetOr7x6 = (defaultValue: any) => any; + interface LodashGroupBy { + (iteratee: lodash.ValueIteratee): LodashGroupBy1x1; + (iteratee: lodash.__, collection: lodash.List | null | undefined): LodashGroupBy1x2; + (iteratee: lodash.ValueIteratee, collection: lodash.List | null | undefined): lodash.Dictionary; + (iteratee: lodash.__, collection: T | null | undefined): LodashGroupBy2x2; + (iteratee: lodash.ValueIteratee, collection: T | null | undefined): lodash.Dictionary>; + } + type LodashGroupBy1x1 = (collection: lodash.List | object | null | undefined) => lodash.Dictionary; + type LodashGroupBy1x2 = (iteratee: lodash.ValueIteratee) => lodash.Dictionary; + type LodashGroupBy2x2 = (iteratee: lodash.ValueIteratee) => lodash.Dictionary>; + interface LodashGt { + (value: any): LodashGt1x1; + (value: lodash.__, other: any): LodashGt1x2; + (value: any, other: any): boolean; + } + type LodashGt1x1 = (other: any) => boolean; + type LodashGt1x2 = (value: any) => boolean; + interface LodashGte { + (value: any): LodashGte1x1; + (value: lodash.__, other: any): LodashGte1x2; + (value: any, other: any): boolean; + } + type LodashGte1x1 = (other: any) => boolean; + type LodashGte1x2 = (value: any) => boolean; + interface LodashHas { + (path: lodash.PropertyPath): LodashHas1x1; + (path: lodash.__, object: T): LodashHas1x2; + (path: lodash.PropertyPath, object: T): boolean; + } + type LodashHas1x1 = (object: T) => boolean; + type LodashHas1x2 = (path: lodash.PropertyPath) => boolean; + interface LodashHasIn { + (path: lodash.PropertyPath): LodashHasIn1x1; + (path: lodash.__, object: T): LodashHasIn1x2; + (path: lodash.PropertyPath, object: T): boolean; + } + type LodashHasIn1x1 = (object: T) => boolean; + type LodashHasIn1x2 = (path: lodash.PropertyPath) => boolean; + interface LodashIdentity { + (value: T): T; + (): undefined; + } + interface LodashIncludes { + (target: T): LodashIncludes1x1; + (target: lodash.__, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): LodashIncludes1x2; + (target: T, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): boolean; + } + type LodashIncludes1x1 = (collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined) => boolean; + type LodashIncludes1x2 = (target: T) => boolean; + interface LodashIncludesFrom { + (target: T): LodashIncludesFrom1x1; + (target: lodash.__, fromIndex: number): LodashIncludesFrom1x2; + (target: T, fromIndex: number): LodashIncludesFrom1x3; + (target: lodash.__, fromIndex: lodash.__, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): LodashIncludesFrom1x4; + (target: T, fromIndex: lodash.__, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): LodashIncludesFrom1x5; + (target: lodash.__, fromIndex: number, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): LodashIncludesFrom1x6; + (target: T, fromIndex: number, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): boolean; + } + interface LodashIncludesFrom1x1 { + (fromIndex: number): LodashIncludesFrom1x3; + (fromIndex: lodash.__, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): LodashIncludesFrom1x5; + (fromIndex: number, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): boolean; + } + interface LodashIncludesFrom1x2 { + (target: T): LodashIncludesFrom1x3; + (target: lodash.__, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): LodashIncludesFrom1x6; + (target: T, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): boolean; + } + type LodashIncludesFrom1x3 = (collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined) => boolean; + interface LodashIncludesFrom1x4 { + (target: T): LodashIncludesFrom1x5; + (target: lodash.__, fromIndex: number): LodashIncludesFrom1x6; + (target: T, fromIndex: number): boolean; + } + type LodashIncludesFrom1x5 = (fromIndex: number) => boolean; + type LodashIncludesFrom1x6 = (target: T) => boolean; + interface LodashKeyBy { + (iteratee: lodash.ValueIterateeCustom): LodashKeyBy1x1; + (iteratee: lodash.__, collection: lodash.List | null | undefined): LodashKeyBy1x2; + (iteratee: lodash.ValueIterateeCustom, collection: lodash.List | null | undefined): lodash.Dictionary; + (iteratee: lodash.__, collection: T | null | undefined): LodashKeyBy2x2; + (iteratee: lodash.ValueIterateeCustom, collection: T | null | undefined): lodash.Dictionary; + } + type LodashKeyBy1x1 = (collection: lodash.List | object | null | undefined) => lodash.Dictionary; + type LodashKeyBy1x2 = (iteratee: lodash.ValueIterateeCustom) => lodash.Dictionary; + type LodashKeyBy2x2 = (iteratee: lodash.ValueIterateeCustom) => lodash.Dictionary; + interface LodashIndexOf { + (value: T): LodashIndexOf1x1; + (value: lodash.__, array: lodash.List | null | undefined): LodashIndexOf1x2; + (value: T, array: lodash.List | null | undefined): number; + } + type LodashIndexOf1x1 = (array: lodash.List | null | undefined) => number; + type LodashIndexOf1x2 = (value: T) => number; + interface LodashIndexOfFrom { + (value: T): LodashIndexOfFrom1x1; + (value: lodash.__, fromIndex: number): LodashIndexOfFrom1x2; + (value: T, fromIndex: number): LodashIndexOfFrom1x3; + (value: lodash.__, fromIndex: lodash.__, array: lodash.List | null | undefined): LodashIndexOfFrom1x4; + (value: T, fromIndex: lodash.__, array: lodash.List | null | undefined): LodashIndexOfFrom1x5; + (value: lodash.__, fromIndex: number, array: lodash.List | null | undefined): LodashIndexOfFrom1x6; + (value: T, fromIndex: number, array: lodash.List | null | undefined): number; + } + interface LodashIndexOfFrom1x1 { + (fromIndex: number): LodashIndexOfFrom1x3; + (fromIndex: lodash.__, array: lodash.List | null | undefined): LodashIndexOfFrom1x5; + (fromIndex: number, array: lodash.List | null | undefined): number; + } + interface LodashIndexOfFrom1x2 { + (value: T): LodashIndexOfFrom1x3; + (value: lodash.__, array: lodash.List | null | undefined): LodashIndexOfFrom1x6; + (value: T, array: lodash.List | null | undefined): number; + } + type LodashIndexOfFrom1x3 = (array: lodash.List | null | undefined) => number; + interface LodashIndexOfFrom1x4 { + (value: T): LodashIndexOfFrom1x5; + (value: lodash.__, fromIndex: number): LodashIndexOfFrom1x6; + (value: T, fromIndex: number): number; + } + type LodashIndexOfFrom1x5 = (fromIndex: number) => number; + type LodashIndexOfFrom1x6 = (value: T) => number; + type LodashInitial = (array: lodash.List | null | undefined) => T[]; + interface LodashInRange { + (start: number): LodashInRange1x1; + (start: lodash.__, end: number): LodashInRange1x2; + (start: number, end: number): LodashInRange1x3; + (start: lodash.__, end: lodash.__, n: number): LodashInRange1x4; + (start: number, end: lodash.__, n: number): LodashInRange1x5; + (start: lodash.__, end: number, n: number): LodashInRange1x6; + (start: number, end: number, n: number): boolean; + } + interface LodashInRange1x1 { + (end: number): LodashInRange1x3; + (end: lodash.__, n: number): LodashInRange1x5; + (end: number, n: number): boolean; + } + interface LodashInRange1x2 { + (start: number): LodashInRange1x3; + (start: lodash.__, n: number): LodashInRange1x6; + (start: number, n: number): boolean; + } + type LodashInRange1x3 = (n: number) => boolean; + interface LodashInRange1x4 { + (start: number): LodashInRange1x5; + (start: lodash.__, end: number): LodashInRange1x6; + (start: number, end: number): boolean; + } + type LodashInRange1x5 = (end: number) => boolean; + type LodashInRange1x6 = (start: number) => boolean; + interface LodashIntersection { + (arrays2: lodash.List | null | undefined): LodashIntersection1x1; + (arrays2: lodash.__, arrays: lodash.List | null | undefined): LodashIntersection1x2; + (arrays2: lodash.List | null | undefined, arrays: lodash.List | null | undefined): T[]; + } + type LodashIntersection1x1 = (arrays: lodash.List | null | undefined) => T[]; + type LodashIntersection1x2 = (arrays2: lodash.List | null | undefined) => T[]; + interface LodashIntersectionBy { + (iteratee: lodash.ValueIteratee): LodashIntersectionBy1x1; + (iteratee: lodash.__, array: lodash.List | null): LodashIntersectionBy1x2; + (iteratee: lodash.ValueIteratee, array: lodash.List | null): LodashIntersectionBy1x3; + (iteratee: lodash.__, array: lodash.__, values: lodash.List): LodashIntersectionBy1x4; + (iteratee: lodash.ValueIteratee, array: lodash.__, values: lodash.List): LodashIntersectionBy1x5; + (iteratee: lodash.__, array: lodash.List | null, values: lodash.List): LodashIntersectionBy1x6; + (iteratee: lodash.ValueIteratee, array: lodash.List | null, values: lodash.List): T1[]; + } + interface LodashIntersectionBy1x1 { + (array: lodash.List | null): LodashIntersectionBy1x3; + (array: lodash.__, values: lodash.List): LodashIntersectionBy1x5; + (array: lodash.List | null, values: lodash.List): T1[]; + } + interface LodashIntersectionBy1x2 { + (iteratee: lodash.ValueIteratee): LodashIntersectionBy1x3; + (iteratee: lodash.__, values: lodash.List): LodashIntersectionBy1x6; + (iteratee: lodash.ValueIteratee, values: lodash.List): T1[]; + } + type LodashIntersectionBy1x3 = (values: lodash.List) => T1[]; + interface LodashIntersectionBy1x4 { + (iteratee: lodash.ValueIteratee): LodashIntersectionBy1x5; + (iteratee: lodash.__, array: lodash.List | null): LodashIntersectionBy1x6; + (iteratee: lodash.ValueIteratee, array: lodash.List | null): T1[]; + } + type LodashIntersectionBy1x5 = (array: lodash.List | null) => T1[]; + type LodashIntersectionBy1x6 = (iteratee: lodash.ValueIteratee) => T1[]; + interface LodashIntersectionWith { + (comparator: lodash.Comparator2): LodashIntersectionWith1x1; + (comparator: lodash.__, array: lodash.List | null | undefined): LodashIntersectionWith1x2; + (comparator: lodash.Comparator2, array: lodash.List | null | undefined): LodashIntersectionWith1x3; + (comparator: lodash.__, array: lodash.__, values: lodash.List): LodashIntersectionWith1x4; + (comparator: lodash.Comparator2, array: lodash.__, values: lodash.List): LodashIntersectionWith1x5; + (comparator: lodash.__, array: lodash.List | null | undefined, values: lodash.List): LodashIntersectionWith1x6; + (comparator: lodash.Comparator2, array: lodash.List | null | undefined, values: lodash.List): T1[]; + } + interface LodashIntersectionWith1x1 { + (array: lodash.List | null | undefined): LodashIntersectionWith1x3; + (array: lodash.__, values: lodash.List): LodashIntersectionWith1x5; + (array: lodash.List | null | undefined, values: lodash.List): T1[]; + } + interface LodashIntersectionWith1x2 { + (comparator: lodash.Comparator2): LodashIntersectionWith1x3; + (comparator: lodash.__, values: lodash.List): LodashIntersectionWith1x6; + (comparator: lodash.Comparator2, values: lodash.List): T1[]; + } + type LodashIntersectionWith1x3 = (values: lodash.List) => T1[]; + interface LodashIntersectionWith1x4 { + (comparator: lodash.Comparator2): LodashIntersectionWith1x5; + (comparator: lodash.__, array: lodash.List | null | undefined): LodashIntersectionWith1x6; + (comparator: lodash.Comparator2, array: lodash.List | null | undefined): T1[]; + } + type LodashIntersectionWith1x5 = (array: lodash.List | null | undefined) => T1[]; + type LodashIntersectionWith1x6 = (comparator: lodash.Comparator2) => T1[]; + type LodashInvert = (object: object) => lodash.Dictionary; + interface LodashInvertBy { + (interatee: lodash.ValueIteratee): LodashInvertBy1x1; + (interatee: lodash.__, object: lodash.Dictionary | lodash.NumericDictionary | null | undefined): LodashInvertBy1x2; + (interatee: lodash.ValueIteratee, object: lodash.Dictionary | lodash.NumericDictionary | null | undefined): lodash.Dictionary; + (interatee: lodash.__, object: T | null | undefined): LodashInvertBy2x2; + (interatee: lodash.ValueIteratee, object: T | null | undefined): lodash.Dictionary; + } + type LodashInvertBy1x1 = (object: lodash.Dictionary | lodash.NumericDictionary | object | null | undefined) => lodash.Dictionary; + type LodashInvertBy1x2 = (interatee: lodash.ValueIteratee) => lodash.Dictionary; + type LodashInvertBy2x2 = (interatee: lodash.ValueIteratee) => lodash.Dictionary; + interface LodashInvoke { + (path: lodash.PropertyPath): LodashInvoke1x1; + (path: lodash.__, object: any): LodashInvoke1x2; + (path: lodash.PropertyPath, object: any): any; + } + type LodashInvoke1x1 = (object: any) => any; + type LodashInvoke1x2 = (path: lodash.PropertyPath) => any; + interface LodashInvokeArgs { + (path: lodash.PropertyPath): LodashInvokeArgs1x1; + (path: lodash.__, args: readonly any[]): LodashInvokeArgs1x2; + (path: lodash.PropertyPath, args: readonly any[]): LodashInvokeArgs1x3; + (path: lodash.__, args: lodash.__, object: any): LodashInvokeArgs1x4; + (path: lodash.PropertyPath, args: lodash.__, object: any): LodashInvokeArgs1x5; + (path: lodash.__, args: readonly any[], object: any): LodashInvokeArgs1x6; + (path: lodash.PropertyPath, args: readonly any[], object: any): any; + } + interface LodashInvokeArgs1x1 { + (args: readonly any[]): LodashInvokeArgs1x3; + (args: lodash.__, object: any): LodashInvokeArgs1x5; + (args: readonly any[], object: any): any; + } + interface LodashInvokeArgs1x2 { + (path: lodash.PropertyPath): LodashInvokeArgs1x3; + (path: lodash.__, object: any): LodashInvokeArgs1x6; + (path: lodash.PropertyPath, object: any): any; + } + type LodashInvokeArgs1x3 = (object: any) => any; + interface LodashInvokeArgs1x4 { + (path: lodash.PropertyPath): LodashInvokeArgs1x5; + (path: lodash.__, args: readonly any[]): LodashInvokeArgs1x6; + (path: lodash.PropertyPath, args: readonly any[]): any; + } + type LodashInvokeArgs1x5 = (args: readonly any[]) => any; + type LodashInvokeArgs1x6 = (path: lodash.PropertyPath) => any; + interface LodashInvokeArgsMap { + (methodName: string): LodashInvokeArgsMap1x1; + (methodNameOrMethod: lodash.__, args: readonly any[]): LodashInvokeArgsMap1x2; + (methodName: string, args: readonly any[]): LodashInvokeArgsMap1x3; + (methodNameOrMethod: lodash.__, args: lodash.__, collection: object | null | undefined): LodashInvokeArgsMap1x4; + (methodName: string, args: lodash.__, collection: object | null | undefined): LodashInvokeArgsMap1x5; + (methodNameOrMethod: lodash.__, args: readonly any[], collection: object | null | undefined): LodashInvokeArgsMap1x6; + (methodName: string, args: readonly any[], collection: object | null | undefined): any[]; + (method: (...args: any[]) => TResult): LodashInvokeArgsMap2x1; + (method: (...args: any[]) => TResult, args: readonly any[]): LodashInvokeArgsMap2x3; + (method: (...args: any[]) => TResult, args: lodash.__, collection: object | null | undefined): LodashInvokeArgsMap2x5; + (method: (...args: any[]) => TResult, args: readonly any[], collection: object | null | undefined): TResult[]; + } + interface LodashInvokeArgsMap1x1 { + (args: readonly any[]): LodashInvokeArgsMap1x3; + (args: lodash.__, collection: object | null | undefined): LodashInvokeArgsMap1x5; + (args: readonly any[], collection: object | null | undefined): any[]; + } + interface LodashInvokeArgsMap1x2 { + (methodName: string): LodashInvokeArgsMap1x3; + (methodNameOrMethod: lodash.__, collection: object | null | undefined): LodashInvokeArgsMap1x6; + (methodName: string, collection: object | null | undefined): any[]; + (method: (...args: any[]) => TResult): LodashInvokeArgsMap2x3; + (method: (...args: any[]) => TResult, collection: object | null | undefined): TResult[]; + } + type LodashInvokeArgsMap1x3 = (collection: object | null | undefined) => any[]; + interface LodashInvokeArgsMap1x4 { + (methodName: string): LodashInvokeArgsMap1x5; + (methodNameOrMethod: lodash.__, args: readonly any[]): LodashInvokeArgsMap1x6; + (methodName: string, args: readonly any[]): any[]; + (method: (...args: any[]) => TResult): LodashInvokeArgsMap2x5; + (method: (...args: any[]) => TResult, args: readonly any[]): TResult[]; + } + type LodashInvokeArgsMap1x5 = (args: readonly any[]) => any[]; + interface LodashInvokeArgsMap1x6 { + (methodName: string): any[]; + (method: (...args: any[]) => TResult): TResult[]; + } + interface LodashInvokeArgsMap2x1 { + (args: readonly any[]): LodashInvokeArgsMap2x3; + (args: lodash.__, collection: object | null | undefined): LodashInvokeArgsMap2x5; + (args: readonly any[], collection: object | null | undefined): TResult[]; + } + type LodashInvokeArgsMap2x3 = (collection: object | null | undefined) => TResult[]; + type LodashInvokeArgsMap2x5 = (args: readonly any[]) => TResult[]; + interface LodashInvokeMap { + (methodName: string): LodashInvokeMap1x1; + (methodNameOrMethod: lodash.__, collection: object | null | undefined): LodashInvokeMap1x2; + (methodName: string, collection: object | null | undefined): any[]; + (method: (...args: any[]) => TResult): LodashInvokeMap2x1; + (method: (...args: any[]) => TResult, collection: object | null | undefined): TResult[]; + } + type LodashInvokeMap1x1 = (collection: object | null | undefined) => any[]; + interface LodashInvokeMap1x2 { + (methodName: string): any[]; + (method: (...args: any[]) => TResult): TResult[]; + } + type LodashInvokeMap2x1 = (collection: object | null | undefined) => TResult[]; + type LodashIsArguments = (value: any) => value is IArguments; + type LodashIsArray = (value: any) => value is any[]; + type LodashIsArrayBuffer = (value: any) => value is ArrayBuffer; + interface LodashIsArrayLike { + (t: T): boolean; + (value: ((...args: any[]) => any) | null | undefined): value is never; + (value: any): value is { length: number }; + } + interface LodashIsArrayLikeObject { + (value: T): boolean; + (value: ((...args: any[]) => any) | lodash.FunctionBase | string | boolean | number | null | undefined): value is never; + (value: any): value is object & { length: number }; + } + type LodashIsBoolean = (value: any) => value is boolean; + type LodashIsBuffer = (value: any) => boolean; + type LodashIsDate = (value: any) => value is Date; + type LodashIsElement = (value: any) => boolean; + interface LodashIsEmpty { + (value: T): boolean; + (value: string | null | undefined): value is '' | null | undefined; + (value: any[] | null | undefined): boolean; + (value: readonly any[] | null | undefined): value is Readonly<[]> | null | undefined; + (value: Map | Set | lodash.List | null | undefined): boolean; + (value: T | null | undefined): value is lodash.EmptyObjectOf | null | undefined; + (value?: any): boolean; + } + interface LodashIsEqualWith { + (customizer: lodash.IsEqualCustomizer): LodashIsEqualWith1x1; + (customizer: lodash.__, value: any): LodashIsEqualWith1x2; + (customizer: lodash.IsEqualCustomizer, value: any): LodashIsEqualWith1x3; + (customizer: lodash.__, value: lodash.__, other: any): LodashIsEqualWith1x4; + (customizer: lodash.IsEqualCustomizer, value: lodash.__, other: any): LodashIsEqualWith1x5; + (customizer: lodash.__, value: any, other: any): LodashIsEqualWith1x6; + (customizer: lodash.IsEqualCustomizer, value: any, other: any): boolean; + } + interface LodashIsEqualWith1x1 { + (value: any): LodashIsEqualWith1x3; + (value: lodash.__, other: any): LodashIsEqualWith1x5; + (value: any, other: any): boolean; + } + interface LodashIsEqualWith1x2 { + (customizer: lodash.IsEqualCustomizer): LodashIsEqualWith1x3; + (customizer: lodash.__, other: any): LodashIsEqualWith1x6; + (customizer: lodash.IsEqualCustomizer, other: any): boolean; + } + type LodashIsEqualWith1x3 = (other: any) => boolean; + interface LodashIsEqualWith1x4 { + (customizer: lodash.IsEqualCustomizer): LodashIsEqualWith1x5; + (customizer: lodash.__, value: any): LodashIsEqualWith1x6; + (customizer: lodash.IsEqualCustomizer, value: any): boolean; + } + type LodashIsEqualWith1x5 = (value: any) => boolean; + type LodashIsEqualWith1x6 = (customizer: lodash.IsEqualCustomizer) => boolean; + type LodashIsError = (value: any) => value is Error; + type LodashIsFinite = (value: any) => boolean; + type LodashIsFunction = (value: any) => value is (...args: any[]) => any; + type LodashIsInteger = (value: any) => boolean; + type LodashIsLength = (value: any) => boolean; + type LodashIsMap = (value: any) => value is Map; + interface LodashIsMatch { + (source: object): LodashIsMatch1x1; + (source: lodash.__, object: object): LodashIsMatch1x2; + (source: object, object: object): boolean; + } + type LodashIsMatch1x1 = (object: object) => boolean; + type LodashIsMatch1x2 = (source: object) => boolean; + interface LodashIsMatchWith { + (customizer: lodash.isMatchWithCustomizer): LodashIsMatchWith1x1; + (customizer: lodash.__, source: object): LodashIsMatchWith1x2; + (customizer: lodash.isMatchWithCustomizer, source: object): LodashIsMatchWith1x3; + (customizer: lodash.__, source: lodash.__, object: object): LodashIsMatchWith1x4; + (customizer: lodash.isMatchWithCustomizer, source: lodash.__, object: object): LodashIsMatchWith1x5; + (customizer: lodash.__, source: object, object: object): LodashIsMatchWith1x6; + (customizer: lodash.isMatchWithCustomizer, source: object, object: object): boolean; + } + interface LodashIsMatchWith1x1 { + (source: object): LodashIsMatchWith1x3; + (source: lodash.__, object: object): LodashIsMatchWith1x5; + (source: object, object: object): boolean; + } + interface LodashIsMatchWith1x2 { + (customizer: lodash.isMatchWithCustomizer): LodashIsMatchWith1x3; + (customizer: lodash.__, object: object): LodashIsMatchWith1x6; + (customizer: lodash.isMatchWithCustomizer, object: object): boolean; + } + type LodashIsMatchWith1x3 = (object: object) => boolean; + interface LodashIsMatchWith1x4 { + (customizer: lodash.isMatchWithCustomizer): LodashIsMatchWith1x5; + (customizer: lodash.__, source: object): LodashIsMatchWith1x6; + (customizer: lodash.isMatchWithCustomizer, source: object): boolean; + } + type LodashIsMatchWith1x5 = (source: object) => boolean; + type LodashIsMatchWith1x6 = (customizer: lodash.isMatchWithCustomizer) => boolean; + type LodashIsNaN = (value: any) => boolean; + type LodashIsNative = (value: any) => value is (...args: any[]) => any; + type LodashIsNil = (value: any) => value is null | undefined; + type LodashIsNull = (value: any) => value is null; + type LodashIsNumber = (value: any) => value is number; + type LodashIsObject = (value: any) => value is object; + type LodashIsObjectLike = (value: any) => boolean; + type LodashIsPlainObject = (value: any) => boolean; + type LodashIsRegExp = (value: any) => value is RegExp; + type LodashIsSafeInteger = (value: any) => boolean; + type LodashIsSet = (value: any) => value is Set; + type LodashIsString = (value: any) => value is string; + type LodashIsSymbol = (value: any) => value is symbol; + type LodashIsTypedArray = (value: any) => boolean; + type LodashIsUndefined = (value: any) => value is undefined; + type LodashIsWeakMap = (value: any) => value is WeakMap; + type LodashIsWeakSet = (value: any) => value is WeakSet; + interface LodashIteratee { + any>(func: TFunction): TFunction; + (func: string | object): (...args: any[]) => any; + } + interface LodashJoin { + (separator: string): LodashJoin1x1; + (separator: lodash.__, array: lodash.List | null | undefined): LodashJoin1x2; + (separator: string, array: lodash.List | null | undefined): string; + } + type LodashJoin1x1 = (array: lodash.List | null | undefined) => string; + type LodashJoin1x2 = (separator: string) => string; + type LodashOver = (iteratees: lodash.Many<(...args: any[]) => TResult>) => (...args: any[]) => TResult[]; + type LodashKebabCase = (string: string) => string; + type LodashKeys = (object: any) => string[]; + type LodashKeysIn = (object: any) => string[]; + type LodashLast = (array: lodash.List | null | undefined) => T | undefined; + interface LodashLastIndexOf { + (value: T): LodashLastIndexOf1x1; + (value: lodash.__, array: lodash.List | null | undefined): LodashLastIndexOf1x2; + (value: T, array: lodash.List | null | undefined): number; + } + type LodashLastIndexOf1x1 = (array: lodash.List | null | undefined) => number; + type LodashLastIndexOf1x2 = (value: T) => number; + interface LodashLastIndexOfFrom { + (value: T): LodashLastIndexOfFrom1x1; + (value: lodash.__, fromIndex: true|number): LodashLastIndexOfFrom1x2; + (value: T, fromIndex: true|number): LodashLastIndexOfFrom1x3; + (value: lodash.__, fromIndex: lodash.__, array: lodash.List | null | undefined): LodashLastIndexOfFrom1x4; + (value: T, fromIndex: lodash.__, array: lodash.List | null | undefined): LodashLastIndexOfFrom1x5; + (value: lodash.__, fromIndex: true|number, array: lodash.List | null | undefined): LodashLastIndexOfFrom1x6; + (value: T, fromIndex: true|number, array: lodash.List | null | undefined): number; + } + interface LodashLastIndexOfFrom1x1 { + (fromIndex: true|number): LodashLastIndexOfFrom1x3; + (fromIndex: lodash.__, array: lodash.List | null | undefined): LodashLastIndexOfFrom1x5; + (fromIndex: true|number, array: lodash.List | null | undefined): number; + } + interface LodashLastIndexOfFrom1x2 { + (value: T): LodashLastIndexOfFrom1x3; + (value: lodash.__, array: lodash.List | null | undefined): LodashLastIndexOfFrom1x6; + (value: T, array: lodash.List | null | undefined): number; + } + type LodashLastIndexOfFrom1x3 = (array: lodash.List | null | undefined) => number; + interface LodashLastIndexOfFrom1x4 { + (value: T): LodashLastIndexOfFrom1x5; + (value: lodash.__, fromIndex: true|number): LodashLastIndexOfFrom1x6; + (value: T, fromIndex: true|number): number; + } + type LodashLastIndexOfFrom1x5 = (fromIndex: true|number) => number; + type LodashLastIndexOfFrom1x6 = (value: T) => number; + type LodashLowerCase = (string: string) => string; + type LodashLowerFirst = (string: string) => string; + interface LodashLt { + (value: any): LodashLt1x1; + (value: lodash.__, other: any): LodashLt1x2; + (value: any, other: any): boolean; + } + type LodashLt1x1 = (other: any) => boolean; + type LodashLt1x2 = (value: any) => boolean; + interface LodashLte { + (value: any): LodashLte1x1; + (value: lodash.__, other: any): LodashLte1x2; + (value: any, other: any): boolean; + } + type LodashLte1x1 = (other: any) => boolean; + type LodashLte1x2 = (value: any) => boolean; + interface LodashMap { + (iteratee: (value: T) => TResult): LodashMap1x1; + (iteratee: lodash.__, collection: T[] | null | undefined): LodashMap1x2; + (iteratee: (value: T) => TResult, collection: T[] | lodash.List | null | undefined): TResult[]; + (iteratee: lodash.__, collection: lodash.List | null | undefined): LodashMap2x2; + (iteratee: (value: T[keyof T]) => TResult): LodashMap3x1; + (iteratee: lodash.__, collection: T | null | undefined): LodashMap3x2; + (iteratee: (value: T[keyof T]) => TResult, collection: T | null | undefined): TResult[]; + (iteratee: K): LodashMap4x1; + (iteratee: lodash.__, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): LodashMap4x2; + (iteratee: K, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): Array; + (iteratee: string): LodashMap5x1; + (iteratee: string, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): any[]; + (iteratee: object): LodashMap6x1; + (iteratee: object, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): boolean[]; + } + type LodashMap1x1 = (collection: T[] | lodash.List | null | undefined) => TResult[]; + type LodashMap1x2 = (iteratee: (value: T) => TResult) => TResult[]; + type LodashMap2x2 = (iteratee: (value: T) => TResult) => TResult[]; + type LodashMap3x1 = (collection: T | null | undefined) => TResult[]; + type LodashMap3x2 = (iteratee: (value: T[keyof T]) => TResult) => TResult[]; + type LodashMap4x1 = (collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined) => Array; + interface LodashMap4x2 { + (iteratee: K): Array; + (iteratee: string): any[]; + (iteratee: object): boolean[]; + } + type LodashMap5x1 = (collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined) => any[]; + type LodashMap6x1 = (collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined) => boolean[]; + interface LodashMapKeys { + (iteratee: lodash.ValueIteratee): LodashMapKeys1x1; + (iteratee: lodash.__, object: lodash.List | null | undefined): LodashMapKeys1x2; + (iteratee: lodash.ValueIteratee, object: lodash.List | null | undefined): lodash.Dictionary; + (iteratee: lodash.ValueIteratee): LodashMapKeys2x1; + (iteratee: lodash.__, object: T | null | undefined): LodashMapKeys2x2; + (iteratee: lodash.ValueIteratee, object: T | null | undefined): lodash.Dictionary; + } + type LodashMapKeys1x1 = (object: lodash.List | null | undefined) => lodash.Dictionary; + type LodashMapKeys1x2 = (iteratee: lodash.ValueIteratee) => lodash.Dictionary; + type LodashMapKeys2x1 = (object: T | null | undefined) => lodash.Dictionary; + type LodashMapKeys2x2 = (iteratee: lodash.ValueIteratee) => lodash.Dictionary; + interface LodashMapValues { + (callback: (value: T) => TResult): LodashMapValues1x1; + (callbackOrIterateeOrIterateeOrIteratee: lodash.__, obj: lodash.Dictionary | lodash.NumericDictionary | null | undefined): LodashMapValues1x2; + (callback: (value: T) => TResult, obj: lodash.Dictionary | lodash.NumericDictionary | null | undefined): lodash.Dictionary; + (callback: (value: T[keyof T]) => TResult): LodashMapValues2x1; + (callbackOrIterateeOrIteratee: lodash.__, obj: T | null | undefined): LodashMapValues2x2; + (callback: (value: T[keyof T]) => TResult, obj: T | null | undefined): { [P in keyof T]: TResult }; + (iteratee: object): LodashMapValues3x1; + (iteratee: object, obj: lodash.Dictionary | lodash.NumericDictionary | null | undefined): lodash.Dictionary; + (iteratee: object, obj: T | null | undefined): { [P in keyof T]: boolean }; + (iteratee: TKey): LodashMapValues5x1; + (iteratee: TKey, obj: lodash.Dictionary | lodash.NumericDictionary | null | undefined): lodash.Dictionary; + (iteratee: string): LodashMapValues6x1; + (iteratee: string, obj: lodash.Dictionary | lodash.NumericDictionary | null | undefined): lodash.Dictionary; + (iteratee: string, obj: T | null | undefined): { [P in keyof T]: any }; + } + type LodashMapValues1x1 = (obj: lodash.Dictionary | lodash.NumericDictionary | null | undefined) => lodash.Dictionary; + interface LodashMapValues1x2 { + (callback: (value: T) => TResult): lodash.Dictionary; + (iteratee: object): lodash.Dictionary; + (iteratee: TKey): lodash.Dictionary; + (iteratee: string): lodash.Dictionary; + } + type LodashMapValues2x1 = (obj: T | null | undefined) => { [P in keyof T]: TResult }; + interface LodashMapValues2x2 { + (callback: (value: T[keyof T]) => TResult): { [P in keyof T]: TResult }; + (iteratee: object): { [P in keyof T]: boolean }; + (iteratee: string): { [P in keyof T]: any }; + } + interface LodashMapValues3x1 { + (obj: lodash.Dictionary | lodash.NumericDictionary | null | undefined): lodash.Dictionary; + (obj: T | null | undefined): { [P in keyof T]: boolean }; + } + type LodashMapValues5x1 = (obj: lodash.Dictionary | lodash.NumericDictionary | null | undefined) => lodash.Dictionary; + interface LodashMapValues6x1 { + (obj: lodash.Dictionary | lodash.NumericDictionary | null | undefined): lodash.Dictionary; + (obj: T | null | undefined): { [P in keyof T]: any }; + } + interface LodashMatchesProperty { + (path: lodash.PropertyPath): LodashMatchesProperty1x1; + (path: lodash.__, srcValue: T): LodashMatchesProperty1x2; + (path: lodash.PropertyPath, srcValue: T): (value: any) => boolean; + } + type LodashMatchesProperty1x1 = (srcValue: T) => (value: any) => boolean; + type LodashMatchesProperty1x2 = (path: lodash.PropertyPath) => (value: any) => boolean; + type LodashMax = (collection: lodash.List | null | undefined) => T | undefined; + interface LodashMaxBy { + (iteratee: lodash.ValueIteratee): LodashMaxBy1x1; + (iteratee: lodash.__, collection: lodash.List | null | undefined): LodashMaxBy1x2; + (iteratee: lodash.ValueIteratee, collection: lodash.List | null | undefined): T | undefined; + } + type LodashMaxBy1x1 = (collection: lodash.List | null | undefined) => T | undefined; + type LodashMaxBy1x2 = (iteratee: lodash.ValueIteratee) => T | undefined; + type LodashMean = (collection: lodash.List | null | undefined) => number; + interface LodashMeanBy { + (iteratee: lodash.ValueIteratee): LodashMeanBy1x1; + (iteratee: lodash.__, collection: lodash.List | null | undefined): LodashMeanBy1x2; + (iteratee: lodash.ValueIteratee, collection: lodash.List | null | undefined): number; + } + type LodashMeanBy1x1 = (collection: lodash.List | null | undefined) => number; + type LodashMeanBy1x2 = (iteratee: lodash.ValueIteratee) => number; + type LodashMemoize = any>(func: T) => T & lodash.MemoizedFunction; + interface LodashMerge { + (object: TObject): LodashMerge1x1; + (object: lodash.__, source: TSource): LodashMerge1x2; + (object: TObject, source: TSource): TObject & TSource; + } + type LodashMerge1x1 = (source: TSource) => TObject & TSource; + type LodashMerge1x2 = (object: TObject) => TObject & TSource; + interface LodashMergeAll { + (object: [TObject, TSource]): TObject & TSource; + (object: [TObject, TSource1, TSource2]): TObject & TSource1 & TSource2; + (object: [TObject, TSource1, TSource2, TSource3]): TObject & TSource1 & TSource2 & TSource3; + (object: [TObject, TSource1, TSource2, TSource3, TSource4]): TObject & TSource1 & TSource2 & TSource3 & TSource4; + (object: readonly any[]): any; + } + interface LodashMergeAllWith { + (customizer: lodash.MergeWithCustomizer): LodashMergeAllWith1x1; + (customizer: lodash.__, args: readonly any[]): LodashMergeAllWith1x2; + (customizer: lodash.MergeWithCustomizer, args: readonly any[]): any; + } + type LodashMergeAllWith1x1 = (args: readonly any[]) => any; + type LodashMergeAllWith1x2 = (customizer: lodash.MergeWithCustomizer) => any; + interface LodashMergeWith { + (customizer: lodash.MergeWithCustomizer): LodashMergeWith1x1; + (customizer: lodash.__, object: TObject): LodashMergeWith1x2; + (customizer: lodash.MergeWithCustomizer, object: TObject): LodashMergeWith1x3; + (customizer: lodash.__, object: lodash.__, source: TSource): LodashMergeWith1x4; + (customizer: lodash.MergeWithCustomizer, object: lodash.__, source: TSource): LodashMergeWith1x5; + (customizer: lodash.__, object: TObject, source: TSource): LodashMergeWith1x6; + (customizer: lodash.MergeWithCustomizer, object: TObject, source: TSource): TObject & TSource; + } + interface LodashMergeWith1x1 { + (object: TObject): LodashMergeWith1x3; + (object: lodash.__, source: TSource): LodashMergeWith1x5; + (object: TObject, source: TSource): TObject & TSource; + } + interface LodashMergeWith1x2 { + (customizer: lodash.MergeWithCustomizer): LodashMergeWith1x3; + (customizer: lodash.__, source: TSource): LodashMergeWith1x6; + (customizer: lodash.MergeWithCustomizer, source: TSource): TObject & TSource; + } + type LodashMergeWith1x3 = (source: TSource) => TObject & TSource; + interface LodashMergeWith1x4 { + (customizer: lodash.MergeWithCustomizer): LodashMergeWith1x5; + (customizer: lodash.__, object: TObject): LodashMergeWith1x6; + (customizer: lodash.MergeWithCustomizer, object: TObject): TObject & TSource; + } + type LodashMergeWith1x5 = (object: TObject) => TObject & TSource; + type LodashMergeWith1x6 = (customizer: lodash.MergeWithCustomizer) => TObject & TSource; + type LodashMethod = (path: lodash.PropertyPath) => (object: any) => any; + type LodashMethodOf = (object: object) => (path: lodash.PropertyPath) => any; + type LodashMin = (collection: lodash.List | null | undefined) => T | undefined; + interface LodashMinBy { + (iteratee: lodash.ValueIteratee): LodashMinBy1x1; + (iteratee: lodash.__, collection: lodash.List | null | undefined): LodashMinBy1x2; + (iteratee: lodash.ValueIteratee, collection: lodash.List | null | undefined): T | undefined; + } + type LodashMinBy1x1 = (collection: lodash.List | null | undefined) => T | undefined; + type LodashMinBy1x2 = (iteratee: lodash.ValueIteratee) => T | undefined; + interface LodashMultiply { + (multiplier: number): LodashMultiply1x1; + (multiplier: lodash.__, multiplicand: number): LodashMultiply1x2; + (multiplier: number, multiplicand: number): number; + } + type LodashMultiply1x1 = (multiplicand: number) => number; + type LodashMultiply1x2 = (multiplier: number) => number; + type LodashNoConflict = () => typeof _; + type LodashNoop = (...args: any[]) => void; + type LodashNow = () => number; + interface LodashNth { + (n: number): LodashNth1x1; + (n: lodash.__, array: lodash.List | null | undefined): LodashNth1x2; + (n: number, array: lodash.List | null | undefined): T | undefined; + } + type LodashNth1x1 = (array: lodash.List | null | undefined) => T | undefined; + type LodashNth1x2 = (n: number) => T | undefined; + type LodashNthArg = (n: number) => (...args: any[]) => any; + interface LodashOmit { + (paths: lodash.Many): LodashOmit1x1; + (paths: lodash.__, object: T | null | undefined): LodashOmit1x2; + (paths: lodash.Many, object: T | null | undefined): lodash.Omit; + (paths: lodash.Many): LodashOmit2x1; + (paths: lodash.Many, object: T | null | undefined): lodash.PartialObject; + } + type LodashOmit1x1 = (object: T | null | undefined) => lodash.Omit; + interface LodashOmit1x2 { + (paths: lodash.Many): lodash.Omit; + (paths: lodash.Many): lodash.PartialObject; + } + type LodashOmit2x1 = (object: T | null | undefined) => lodash.PartialObject; + interface LodashOmitBy { + (predicate: lodash.ValueKeyIteratee): LodashOmitBy1x1; + (predicate: lodash.__, object: lodash.Dictionary | null | undefined): LodashOmitBy1x2; + (predicate: lodash.ValueKeyIteratee, object: lodash.Dictionary | null | undefined): lodash.Dictionary; + (predicate: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashOmitBy2x2; + (predicate: lodash.ValueKeyIteratee, object: lodash.NumericDictionary | null | undefined): lodash.NumericDictionary; + (predicate: lodash.__, object: T | null | undefined): LodashOmitBy3x2; + (predicate: lodash.ValueKeyIteratee, object: T | null | undefined): lodash.PartialObject; + } + interface LodashOmitBy1x1 { + (object: lodash.Dictionary | null | undefined): lodash.Dictionary; + (object: lodash.NumericDictionary | null | undefined): lodash.NumericDictionary; + (object: T1 | null | undefined): lodash.PartialObject; + } + type LodashOmitBy1x2 = (predicate: lodash.ValueKeyIteratee) => lodash.Dictionary; + type LodashOmitBy2x2 = (predicate: lodash.ValueKeyIteratee) => lodash.NumericDictionary; + type LodashOmitBy3x2 = (predicate: lodash.ValueKeyIteratee) => lodash.PartialObject; + type LodashOnce = any>(func: T) => T; + interface LodashOrderBy { + (iteratees: lodash.Many<(value: T) => lodash.NotVoid>): LodashOrderBy1x1; + (iteratees: lodash.__, orders: lodash.Many): LodashOrderBy1x2; + (iteratees: lodash.Many<(value: T) => lodash.NotVoid>, orders: lodash.Many): LodashOrderBy1x3; + (iteratees: lodash.__, orders: lodash.__, collection: lodash.List | null | undefined): LodashOrderBy1x4; + (iteratees: lodash.Many<(value: T) => lodash.NotVoid>, orders: lodash.__, collection: lodash.List | null | undefined): LodashOrderBy1x5; + (iteratees: lodash.__, orders: lodash.Many, collection: lodash.List | null | undefined): LodashOrderBy1x6; + (iteratees: lodash.Many<(value: T) => lodash.NotVoid> | lodash.Many>, orders: lodash.Many, collection: lodash.List | null | undefined): T[]; + (iteratees: lodash.Many>): LodashOrderBy2x1; + (iteratees: lodash.Many>, orders: lodash.Many): LodashOrderBy2x3; + (iteratees: lodash.Many>, orders: lodash.__, collection: lodash.List | null | undefined): LodashOrderBy2x5; + (iteratees: lodash.__, orders: lodash.__, collection: T | null | undefined): LodashOrderBy3x4; + (iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid>, orders: lodash.__, collection: T | null | undefined): LodashOrderBy3x5; + (iteratees: lodash.__, orders: lodash.Many, collection: T | null | undefined): LodashOrderBy3x6; + (iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid> | lodash.Many>, orders: lodash.Many, collection: T | null | undefined): Array; + (iteratees: lodash.Many>, orders: lodash.__, collection: T | null | undefined): LodashOrderBy4x5; + } + interface LodashOrderBy1x1 { + (orders: lodash.Many): LodashOrderBy1x3; + (orders: lodash.__, collection: lodash.List | null | undefined): LodashOrderBy1x5; + (orders: lodash.Many, collection: lodash.List | object | null | undefined): T[]; + (orders: lodash.__, collection: T1 | null | undefined): LodashOrderBy3x5; + } + interface LodashOrderBy1x2 { + (iteratees: lodash.Many<(value: T) => lodash.NotVoid>): LodashOrderBy1x3; + (iteratees: lodash.__, collection: lodash.List | null | undefined): LodashOrderBy1x6; + (iteratees: lodash.Many<(value: T) => lodash.NotVoid> | lodash.Many>, collection: lodash.List | null | undefined): T[]; + (iteratees: lodash.Many>): LodashOrderBy2x3; + (iteratees: lodash.__, collection: T | null | undefined): LodashOrderBy3x6; + (iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid> | lodash.Many>, collection: T | null | undefined): Array; + } + interface LodashOrderBy1x3 { + (collection: lodash.List | null | undefined): T[]; + (collection: object | null | undefined): object[]; + } + interface LodashOrderBy1x4 { + (iteratees: lodash.Many<(value: T) => lodash.NotVoid>): LodashOrderBy1x5; + (iteratees: lodash.__, orders: lodash.Many): LodashOrderBy1x6; + (iteratees: lodash.Many<(value: T) => lodash.NotVoid> | lodash.Many>, orders: lodash.Many): T[]; + (iteratees: lodash.Many>): LodashOrderBy2x5; + } + type LodashOrderBy1x5 = (orders: lodash.Many) => T[]; + type LodashOrderBy1x6 = (iteratees: lodash.Many<(value: T) => lodash.NotVoid> | lodash.Many>) => T[]; + interface LodashOrderBy2x1 { + (orders: lodash.Many): LodashOrderBy2x3; + (orders: lodash.__, collection: lodash.List | null | undefined): LodashOrderBy2x5; + (orders: lodash.Many, collection: lodash.List | object | null | undefined): T[]; + (orders: lodash.__, collection: T1 | null | undefined): LodashOrderBy4x5; + } + interface LodashOrderBy2x3 { + (collection: lodash.List | null | undefined): T[]; + (collection: object | null | undefined): object[]; + } + type LodashOrderBy2x5 = (orders: lodash.Many) => T[]; + interface LodashOrderBy3x4 { + (iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid>): LodashOrderBy3x5; + (iteratees: lodash.__, orders: lodash.Many): LodashOrderBy3x6; + (iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid> | lodash.Many>, orders: lodash.Many): Array; + (iteratees: lodash.Many>): LodashOrderBy4x5; + } + type LodashOrderBy3x5 = (orders: lodash.Many) => Array; + type LodashOrderBy3x6 = (iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid> | lodash.Many>) => Array; + type LodashOrderBy4x5 = (orders: lodash.Many) => Array; + interface LodashOverArgs { + (func: (...args: any[]) => any): LodashOverArgs1x1; + (func: lodash.__, transforms: lodash.Many<(...args: any[]) => any>): LodashOverArgs1x2; + (func: (...args: any[]) => any, transforms: lodash.Many<(...args: any[]) => any>): (...args: any[]) => any; + } + type LodashOverArgs1x1 = (transforms: lodash.Many<(...args: any[]) => any>) => (...args: any[]) => any; + type LodashOverArgs1x2 = (func: (...args: any[]) => any) => (...args: any[]) => any; + interface LodashPad { + (length: number): LodashPad1x1; + (length: lodash.__, string: string): LodashPad1x2; + (length: number, string: string): string; + } + type LodashPad1x1 = (string: string) => string; + type LodashPad1x2 = (length: number) => string; + interface LodashPadChars { + (chars: string): LodashPadChars1x1; + (chars: lodash.__, length: number): LodashPadChars1x2; + (chars: string, length: number): LodashPadChars1x3; + (chars: lodash.__, length: lodash.__, string: string): LodashPadChars1x4; + (chars: string, length: lodash.__, string: string): LodashPadChars1x5; + (chars: lodash.__, length: number, string: string): LodashPadChars1x6; + (chars: string, length: number, string: string): string; + } + interface LodashPadChars1x1 { + (length: number): LodashPadChars1x3; + (length: lodash.__, string: string): LodashPadChars1x5; + (length: number, string: string): string; + } + interface LodashPadChars1x2 { + (chars: string): LodashPadChars1x3; + (chars: lodash.__, string: string): LodashPadChars1x6; + (chars: string, string: string): string; + } + type LodashPadChars1x3 = (string: string) => string; + interface LodashPadChars1x4 { + (chars: string): LodashPadChars1x5; + (chars: lodash.__, length: number): LodashPadChars1x6; + (chars: string, length: number): string; + } + type LodashPadChars1x5 = (length: number) => string; + type LodashPadChars1x6 = (chars: string) => string; + interface LodashPadCharsEnd { + (chars: string): LodashPadCharsEnd1x1; + (chars: lodash.__, length: number): LodashPadCharsEnd1x2; + (chars: string, length: number): LodashPadCharsEnd1x3; + (chars: lodash.__, length: lodash.__, string: string): LodashPadCharsEnd1x4; + (chars: string, length: lodash.__, string: string): LodashPadCharsEnd1x5; + (chars: lodash.__, length: number, string: string): LodashPadCharsEnd1x6; + (chars: string, length: number, string: string): string; + } + interface LodashPadCharsEnd1x1 { + (length: number): LodashPadCharsEnd1x3; + (length: lodash.__, string: string): LodashPadCharsEnd1x5; + (length: number, string: string): string; + } + interface LodashPadCharsEnd1x2 { + (chars: string): LodashPadCharsEnd1x3; + (chars: lodash.__, string: string): LodashPadCharsEnd1x6; + (chars: string, string: string): string; + } + type LodashPadCharsEnd1x3 = (string: string) => string; + interface LodashPadCharsEnd1x4 { + (chars: string): LodashPadCharsEnd1x5; + (chars: lodash.__, length: number): LodashPadCharsEnd1x6; + (chars: string, length: number): string; + } + type LodashPadCharsEnd1x5 = (length: number) => string; + type LodashPadCharsEnd1x6 = (chars: string) => string; + interface LodashPadCharsStart { + (chars: string): LodashPadCharsStart1x1; + (chars: lodash.__, length: number): LodashPadCharsStart1x2; + (chars: string, length: number): LodashPadCharsStart1x3; + (chars: lodash.__, length: lodash.__, string: string): LodashPadCharsStart1x4; + (chars: string, length: lodash.__, string: string): LodashPadCharsStart1x5; + (chars: lodash.__, length: number, string: string): LodashPadCharsStart1x6; + (chars: string, length: number, string: string): string; + } + interface LodashPadCharsStart1x1 { + (length: number): LodashPadCharsStart1x3; + (length: lodash.__, string: string): LodashPadCharsStart1x5; + (length: number, string: string): string; + } + interface LodashPadCharsStart1x2 { + (chars: string): LodashPadCharsStart1x3; + (chars: lodash.__, string: string): LodashPadCharsStart1x6; + (chars: string, string: string): string; + } + type LodashPadCharsStart1x3 = (string: string) => string; + interface LodashPadCharsStart1x4 { + (chars: string): LodashPadCharsStart1x5; + (chars: lodash.__, length: number): LodashPadCharsStart1x6; + (chars: string, length: number): string; + } + type LodashPadCharsStart1x5 = (length: number) => string; + type LodashPadCharsStart1x6 = (chars: string) => string; + interface LodashPadEnd { + (length: number): LodashPadEnd1x1; + (length: lodash.__, string: string): LodashPadEnd1x2; + (length: number, string: string): string; + } + type LodashPadEnd1x1 = (string: string) => string; + type LodashPadEnd1x2 = (length: number) => string; + interface LodashPadStart { + (length: number): LodashPadStart1x1; + (length: lodash.__, string: string): LodashPadStart1x2; + (length: number, string: string): string; + } + type LodashPadStart1x1 = (string: string) => string; + type LodashPadStart1x2 = (length: number) => string; + interface LodashParseInt { + (radix: number): LodashParseInt1x1; + (radix: lodash.__, string: string): LodashParseInt1x2; + (radix: number, string: string): number; + } + type LodashParseInt1x1 = (string: string) => number; + type LodashParseInt1x2 = (radix: number) => number; + interface LodashPartial { + (func: lodash.Function2): LodashPartial1x1; + (func: lodash.__, plc1: [lodash.__, T2]): LodashPartial1x2; + (func: lodash.Function2, plc1: [lodash.__, T2]): lodash.Function1; + (func: lodash.Function3): LodashPartial2x1; + (func: lodash.Function3, plc1: [lodash.__, T2]): lodash.Function2; + (func: lodash.__, plc1: [lodash.__, lodash.__, T3]): LodashPartial3x2; + (func: lodash.Function3, plc1: [lodash.__, lodash.__, T3]): lodash.Function2; + (func: lodash.__, arg1: [T1, lodash.__, T3]): LodashPartial4x2; + (func: lodash.Function3, arg1: [T1, lodash.__, T3]): lodash.Function1; + (func: lodash.__, plc1: [lodash.__, T2, T3]): LodashPartial5x2; + (func: lodash.Function3, plc1: [lodash.__, T2, T3]): lodash.Function1; + (func: lodash.Function4): LodashPartial6x1; + (func: lodash.Function4, plc1: [lodash.__, T2]): lodash.Function3; + (func: lodash.Function4, plc1: [lodash.__, lodash.__, T3]): lodash.Function3; + (func: lodash.Function4, arg1: [T1, lodash.__, T3]): lodash.Function2; + (func: lodash.Function4, plc1: [lodash.__, T2, T3]): lodash.Function2; + (func: lodash.__, arg1OrT1: [T1, T2, T3]): LodashPartial10x2; + (func: lodash.Function4, arg1: [T1, T2, T3]): lodash.Function1; + (func: lodash.__, plc1: [lodash.__, lodash.__, lodash.__, T4]): LodashPartial11x2; + (func: lodash.Function4, plc1: [lodash.__, lodash.__, lodash.__, T4]): lodash.Function3; + (func: lodash.__, arg1: [T1, lodash.__, lodash.__, T4]): LodashPartial12x2; + (func: lodash.Function4, arg1: [T1, lodash.__, lodash.__, T4]): lodash.Function2; + (func: lodash.__, plc1: [lodash.__, T2, lodash.__, T4]): LodashPartial13x2; + (func: lodash.Function4, plc1: [lodash.__, T2, lodash.__, T4]): lodash.Function2; + (func: lodash.__, arg1: [T1, T2, lodash.__, T4]): LodashPartial14x2; + (func: lodash.Function4, arg1: [T1, T2, lodash.__, T4]): lodash.Function1; + (func: lodash.__, plc1: [lodash.__, lodash.__, T3, T4]): LodashPartial15x2; + (func: lodash.Function4, plc1: [lodash.__, lodash.__, T3, T4]): lodash.Function2; + (func: lodash.__, arg1: [T1, lodash.__, T3, T4]): LodashPartial16x2; + (func: lodash.Function4, arg1: [T1, lodash.__, T3, T4]): lodash.Function1; + (func: lodash.__, plc1: [lodash.__, T2, T3, T4]): LodashPartial17x2; + (func: lodash.Function4, plc1: [lodash.__, T2, T3, T4]): lodash.Function1; + (func: (t1: T1, ...ts: TS) => R): LodashPartial18x1; + (func: lodash.__, arg1: [T1]): LodashPartial18x2; + (func: (t1: T1, ...ts: TS) => R, arg1: [T1]): (...ts: TS) => R; + (func: (t1: T1, t2: T2, ...ts: TS) => R): LodashPartial19x1; + (func: lodash.__, t1: [T1, T2]): LodashPartial19x2; + (func: (t1: T1, t2: T2, ...ts: TS) => R, t1: [T1, T2]): (...ts: TS) => R; + (func: (t1: T1, t2: T2, t3: T3, ...ts: TS) => R): LodashPartial20x1; + (func: (t1: T1, t2: T2, t3: T3, ...ts: TS) => R, t1: [T1, T2, T3]): (...ts: TS) => R; + (func: (t1: T1, t2: T2, t3: T3, t4: T4, ...ts: TS) => R): LodashPartial21x1; + (func: lodash.__, t1: [T1, T2, T3, T4]): LodashPartial21x2; + (func: (t1: T1, t2: T2, t3: T3, t4: T4, ...ts: TS) => R, t1: [T1, T2, T3, T4]): (...ts: TS) => R; + placeholder: lodash.__; + } + type LodashPartial1x1 = (plc1: [lodash.__, T2]) => lodash.Function1; + interface LodashPartial1x2 { + (func: lodash.Function2): lodash.Function1; + (func: lodash.Function3): lodash.Function2; + (func: lodash.Function4): lodash.Function3; + } + interface LodashPartial2x1 { + (plc1: [lodash.__, T2]): lodash.Function2; + (plc1: [lodash.__, lodash.__, T3]): lodash.Function2; + (arg1: [T1, lodash.__, T3]): lodash.Function1; + (plc1: [lodash.__, T2, T3]): lodash.Function1; + } + interface LodashPartial3x2 { + (func: lodash.Function3): lodash.Function2; + (func: lodash.Function4): lodash.Function3; + } + interface LodashPartial4x2 { + (func: lodash.Function3): lodash.Function1; + (func: lodash.Function4): lodash.Function2; + } + interface LodashPartial5x2 { + (func: lodash.Function3): lodash.Function1; + (func: lodash.Function4): lodash.Function2; + } + interface LodashPartial6x1 { + (plc1: [lodash.__, T2]): lodash.Function3; + (plc1: [lodash.__, lodash.__, T3]): lodash.Function3; + (arg1: [T1, lodash.__, T3]): lodash.Function2; + (plc1: [lodash.__, T2, T3]): lodash.Function2; + (arg1: [T1, T2, T3]): lodash.Function1; + (plc1: [lodash.__, lodash.__, lodash.__, T4]): lodash.Function3; + (arg1: [T1, lodash.__, lodash.__, T4]): lodash.Function2; + (plc1: [lodash.__, T2, lodash.__, T4]): lodash.Function2; + (arg1: [T1, T2, lodash.__, T4]): lodash.Function1; + (plc1: [lodash.__, lodash.__, T3, T4]): lodash.Function2; + (arg1: [T1, lodash.__, T3, T4]): lodash.Function1; + (plc1: [lodash.__, T2, T3, T4]): lodash.Function1; + } + interface LodashPartial10x2 { + (func: lodash.Function4): lodash.Function1; + (func: (t1: T1, t2: T2, t3: T3, ...ts: TS) => R): (...ts: TS) => R; + } + type LodashPartial11x2 = (func: lodash.Function4) => lodash.Function3; + type LodashPartial12x2 = (func: lodash.Function4) => lodash.Function2; + type LodashPartial13x2 = (func: lodash.Function4) => lodash.Function2; + type LodashPartial14x2 = (func: lodash.Function4) => lodash.Function1; + type LodashPartial15x2 = (func: lodash.Function4) => lodash.Function2; + type LodashPartial16x2 = (func: lodash.Function4) => lodash.Function1; + type LodashPartial17x2 = (func: lodash.Function4) => lodash.Function1; + type LodashPartial18x1 = (arg1: [T1]) => (...ts: TS) => R; + type LodashPartial18x2 = (func: (t1: T1, ...ts: TS) => R) => (...ts: TS) => R; + type LodashPartial19x1 = (t1: [T1, T2]) => (...ts: TS) => R; + type LodashPartial19x2 = (func: (t1: T1, t2: T2, ...ts: TS) => R) => (...ts: TS) => R; + type LodashPartial20x1 = (t1: [T1, T2, T3]) => (...ts: TS) => R; + type LodashPartial21x1 = (t1: [T1, T2, T3, T4]) => (...ts: TS) => R; + type LodashPartial21x2 = (func: (t1: T1, t2: T2, t3: T3, t4: T4, ...ts: TS) => R) => (...ts: TS) => R; + interface LodashPartialRight { + (func: lodash.Function1): LodashPartialRight1x1; + (func: lodash.__, arg1: [T1]): LodashPartialRight1x2; + (func: lodash.Function1, arg1: [T1]): lodash.Function0; + (func: lodash.Function2): LodashPartialRight2x1; + (func: lodash.__, arg1: [T1, lodash.__]): LodashPartialRight2x2; + (func: lodash.Function2, arg1: [T1, lodash.__]): lodash.Function1; + (func: lodash.__, arg2: [T2]): LodashPartialRight3x2; + (func: lodash.Function2, arg2: [T2]): lodash.Function1; + (func: lodash.__, arg1: [T1, T2]): LodashPartialRight4x2; + (func: lodash.Function2, arg1: [T1, T2]): lodash.Function0; + (func: lodash.Function3): LodashPartialRight5x1; + (func: lodash.__, arg1: [T1, lodash.__, lodash.__]): LodashPartialRight5x2; + (func: lodash.Function3, arg1: [T1, lodash.__, lodash.__]): lodash.Function2; + (func: lodash.__, arg2: [T2, lodash.__]): LodashPartialRight6x2; + (func: lodash.Function3, arg2: [T2, lodash.__]): lodash.Function2; + (func: lodash.__, arg1: [T1, T2, lodash.__]): LodashPartialRight7x2; + (func: lodash.Function3, arg1: [T1, T2, lodash.__]): lodash.Function1; + (func: lodash.__, arg3: [T3]): LodashPartialRight8x2; + (func: lodash.Function3, arg3: [T3]): lodash.Function2; + (func: lodash.__, arg1: [T1, lodash.__, T3]): LodashPartialRight9x2; + (func: lodash.Function3, arg1: [T1, lodash.__, T3]): lodash.Function1; + (func: lodash.__, arg2: [T2, T3]): LodashPartialRight10x2; + (func: lodash.Function3, arg2: [T2, T3]): lodash.Function1; + (func: lodash.__, arg1: [T1, T2, T3]): LodashPartialRight11x2; + (func: lodash.Function3, arg1: [T1, T2, T3]): lodash.Function0; + (func: lodash.Function4): LodashPartialRight12x1; + (func: lodash.__, arg1: [T1, lodash.__, lodash.__, lodash.__]): LodashPartialRight12x2; + (func: lodash.Function4, arg1: [T1, lodash.__, lodash.__, lodash.__]): lodash.Function3; + (func: lodash.__, arg2: [T2, lodash.__, lodash.__]): LodashPartialRight13x2; + (func: lodash.Function4, arg2: [T2, lodash.__, lodash.__]): lodash.Function3; + (func: lodash.__, arg1: [T1, T2, lodash.__, lodash.__]): LodashPartialRight14x2; + (func: lodash.Function4, arg1: [T1, T2, lodash.__, lodash.__]): lodash.Function2; + (func: lodash.__, arg3: [T3, lodash.__]): LodashPartialRight15x2; + (func: lodash.Function4, arg3: [T3, lodash.__]): lodash.Function3; + (func: lodash.__, arg1: [T1, lodash.__, T3, lodash.__]): LodashPartialRight16x2; + (func: lodash.Function4, arg1: [T1, lodash.__, T3, lodash.__]): lodash.Function2; + (func: lodash.__, arg2: [T2, T3, lodash.__]): LodashPartialRight17x2; + (func: lodash.Function4, arg2: [T2, T3, lodash.__]): lodash.Function2; + (func: lodash.__, arg1: [T1, T2, T3, lodash.__]): LodashPartialRight18x2; + (func: lodash.Function4, arg1: [T1, T2, T3, lodash.__]): lodash.Function1; + (func: lodash.__, arg4: [T4]): LodashPartialRight19x2; + (func: lodash.Function4, arg4: [T4]): lodash.Function3; + (func: lodash.__, arg1: [T1, lodash.__, lodash.__, T4]): LodashPartialRight20x2; + (func: lodash.Function4, arg1: [T1, lodash.__, lodash.__, T4]): lodash.Function2; + (func: lodash.__, arg2: [T2, lodash.__, T4]): LodashPartialRight21x2; + (func: lodash.Function4, arg2: [T2, lodash.__, T4]): lodash.Function2; + (func: lodash.__, arg1: [T1, T2, lodash.__, T4]): LodashPartialRight22x2; + (func: lodash.Function4, arg1: [T1, T2, lodash.__, T4]): lodash.Function1; + (func: lodash.__, arg3: [T3, T4]): LodashPartialRight23x2; + (func: lodash.Function4, arg3: [T3, T4]): lodash.Function2; + (func: lodash.__, arg1: [T1, lodash.__, T3, T4]): LodashPartialRight24x2; + (func: lodash.Function4, arg1: [T1, lodash.__, T3, T4]): lodash.Function1; + (func: lodash.__, arg2: [T2, T3, T4]): LodashPartialRight25x2; + (func: lodash.Function4, arg2: [T2, T3, T4]): lodash.Function1; + (func: lodash.__, arg1: [T1, T2, T3, T4]): LodashPartialRight26x2; + (func: lodash.Function4, arg1: [T1, T2, T3, T4]): lodash.Function0; + (func: (...args: any[]) => any): LodashPartialRight27x1; + (func: lodash.__, args: readonly any[]): LodashPartialRight27x2; + (func: (...args: any[]) => any, args: readonly any[]): (...args: any[]) => any; + placeholder: lodash.__; + } + type LodashPartialRight1x1 = (arg1: [T1]) => lodash.Function0; + type LodashPartialRight1x2 = (func: lodash.Function1) => lodash.Function0; + interface LodashPartialRight2x1 { + (arg1: [T1, lodash.__]): lodash.Function1; + (arg2: [T2]): lodash.Function1; + (arg1: [T1, T2]): lodash.Function0; + } + type LodashPartialRight2x2 = (func: lodash.Function2) => lodash.Function1; + type LodashPartialRight3x2 = (func: lodash.Function2) => lodash.Function1; + type LodashPartialRight4x2 = (func: lodash.Function2) => lodash.Function0; + interface LodashPartialRight5x1 { + (arg1: [T1, lodash.__, lodash.__]): lodash.Function2; + (arg2: [T2, lodash.__]): lodash.Function2; + (arg1: [T1, T2, lodash.__]): lodash.Function1; + (arg3: [T3]): lodash.Function2; + (arg1: [T1, lodash.__, T3]): lodash.Function1; + (arg2: [T2, T3]): lodash.Function1; + (arg1: [T1, T2, T3]): lodash.Function0; + } + type LodashPartialRight5x2 = (func: lodash.Function3) => lodash.Function2; + type LodashPartialRight6x2 = (func: lodash.Function3) => lodash.Function2; + type LodashPartialRight7x2 = (func: lodash.Function3) => lodash.Function1; + type LodashPartialRight8x2 = (func: lodash.Function3) => lodash.Function2; + type LodashPartialRight9x2 = (func: lodash.Function3) => lodash.Function1; + type LodashPartialRight10x2 = (func: lodash.Function3) => lodash.Function1; + type LodashPartialRight11x2 = (func: lodash.Function3) => lodash.Function0; + interface LodashPartialRight12x1 { + (arg1: [T1, lodash.__, lodash.__, lodash.__]): lodash.Function3; + (arg2: [T2, lodash.__, lodash.__]): lodash.Function3; + (arg1: [T1, T2, lodash.__, lodash.__]): lodash.Function2; + (arg3: [T3, lodash.__]): lodash.Function3; + (arg1: [T1, lodash.__, T3, lodash.__]): lodash.Function2; + (arg2: [T2, T3, lodash.__]): lodash.Function2; + (arg1: [T1, T2, T3, lodash.__]): lodash.Function1; + (arg4: [T4]): lodash.Function3; + (arg1: [T1, lodash.__, lodash.__, T4]): lodash.Function2; + (arg2: [T2, lodash.__, T4]): lodash.Function2; + (arg1: [T1, T2, lodash.__, T4]): lodash.Function1; + (arg3: [T3, T4]): lodash.Function2; + (arg1: [T1, lodash.__, T3, T4]): lodash.Function1; + (arg2: [T2, T3, T4]): lodash.Function1; + (arg1: [T1, T2, T3, T4]): lodash.Function0; + } + type LodashPartialRight12x2 = (func: lodash.Function4) => lodash.Function3; + type LodashPartialRight13x2 = (func: lodash.Function4) => lodash.Function3; + type LodashPartialRight14x2 = (func: lodash.Function4) => lodash.Function2; + type LodashPartialRight15x2 = (func: lodash.Function4) => lodash.Function3; + type LodashPartialRight16x2 = (func: lodash.Function4) => lodash.Function2; + type LodashPartialRight17x2 = (func: lodash.Function4) => lodash.Function2; + type LodashPartialRight18x2 = (func: lodash.Function4) => lodash.Function1; + type LodashPartialRight19x2 = (func: lodash.Function4) => lodash.Function3; + type LodashPartialRight20x2 = (func: lodash.Function4) => lodash.Function2; + type LodashPartialRight21x2 = (func: lodash.Function4) => lodash.Function2; + type LodashPartialRight22x2 = (func: lodash.Function4) => lodash.Function1; + type LodashPartialRight23x2 = (func: lodash.Function4) => lodash.Function2; + type LodashPartialRight24x2 = (func: lodash.Function4) => lodash.Function1; + type LodashPartialRight25x2 = (func: lodash.Function4) => lodash.Function1; + type LodashPartialRight26x2 = (func: lodash.Function4) => lodash.Function0; + type LodashPartialRight27x1 = (args: readonly any[]) => (...args: any[]) => any; + type LodashPartialRight27x2 = (func: (...args: any[]) => any) => (...args: any[]) => any; + interface LodashPartition { + (callback: lodash.ValueIteratorTypeGuard): LodashPartition1x1; + (callback: lodash.__, collection: lodash.List | null | undefined): LodashPartition1x2; + (callback: lodash.ValueIteratorTypeGuard, collection: lodash.List | null | undefined): [U[], Array>]; + (callback: lodash.ValueIteratee): LodashPartition2x1; + (callback: lodash.ValueIteratee, collection: lodash.List | null | undefined): [T[], T[]]; + (callback: lodash.__, collection: T | null | undefined): LodashPartition3x2; + (callback: lodash.ValueIteratee, collection: T | null | undefined): [Array, Array]; + } + type LodashPartition1x1 = (collection: lodash.List | null | undefined) => [U[], Array>]; + interface LodashPartition1x2 { + (callback: lodash.ValueIteratorTypeGuard): [U[], Array>]; + (callback: lodash.ValueIteratee): [T[], T[]]; + } + type LodashPartition2x1 = (collection: lodash.List | object | null | undefined) => [T[], T[]]; + type LodashPartition3x2 = (callback: lodash.ValueIteratee) => [Array, Array]; + interface LodashPath { + (path: TKey | [TKey]): LodashPath1x1; + (path: lodash.__, object: TObject): LodashPath1x2; + (path: TKey | [TKey], object: TObject): TObject[TKey]; + (path: lodash.__, object: TObject | null | undefined): LodashPath2x2; + (path: TKey | [TKey], object: TObject | null | undefined): TObject[TKey] | undefined; + (path: [TKey1, TKey2]): LodashPath3x1; + (path: [TKey1, TKey2], object: TObject): TObject[TKey1][TKey2]; + (path: [TKey1, TKey2], object: TObject | null | undefined): TObject[TKey1][TKey2] | undefined; + (path: [TKey1, TKey2, TKey3]): LodashPath5x1; + (path: [TKey1, TKey2, TKey3], object: TObject): TObject[TKey1][TKey2][TKey3]; + (path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3] | undefined; + (path: [TKey1, TKey2, TKey3, TKey4]): LodashPath7x1; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject): TObject[TKey1][TKey2][TKey3][TKey4]; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + (path: number): LodashPath9x1; + (path: lodash.__, object: lodash.NumericDictionary): LodashPath9x2; + (path: number, object: lodash.NumericDictionary): T; + (path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashPath10x2; + (path: number, object: lodash.NumericDictionary | null | undefined): T | undefined; + (path: lodash.PropertyPath): LodashPath11x1; + (path: lodash.__, object: null | undefined): LodashPath11x2; + (path: lodash.PropertyPath, object: null | undefined): undefined; + (path: lodash.__, object: any): LodashPath12x2; + (path: lodash.PropertyPath, object: any): any; + } + interface LodashPath1x1 { + (object: TObject): TObject[TKey]; + (object: TObject | null | undefined): TObject[TKey] | undefined; + } + interface LodashPath1x2 { + (path: TKey | [TKey]): TObject[TKey]; + (path: [TKey1, TKey2]): TObject[TKey1][TKey2]; + (path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3]; + (path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4]; + } + interface LodashPath2x2 { + (path: TKey | [TKey]): TObject[TKey] | undefined; + (path: [TKey1, TKey2]): TObject[TKey1][TKey2] | undefined; + (path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3] | undefined; + (path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + } + interface LodashPath3x1 { + (object: TObject): TObject[TKey1][TKey2]; + (object: TObject | null | undefined): TObject[TKey1][TKey2] | undefined; + } + interface LodashPath5x1 { + (object: TObject): TObject[TKey1][TKey2][TKey3]; + (object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3] | undefined; + } + interface LodashPath7x1 { + (object: TObject): TObject[TKey1][TKey2][TKey3][TKey4]; + (object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + } + interface LodashPath9x1 { + (object: lodash.NumericDictionary): T; + (object: lodash.NumericDictionary | null | undefined): T | undefined; + } + type LodashPath9x2 = (path: number) => T; + type LodashPath10x2 = (path: number) => T | undefined; + interface LodashPath11x1 { + (object: null | undefined): undefined; + (object: any): any; + } + type LodashPath11x2 = (path: lodash.PropertyPath) => undefined; + type LodashPath12x2 = (path: lodash.PropertyPath) => any; + interface LodashPathOr { + (defaultValue: TDefault): LodashPathOr1x1; + (defaultValue: lodash.__, path: TKey | [TKey]): LodashPathOr1x2; + (defaultValue: TDefault, path: TKey | [TKey]): LodashPathOr1x3; + (defaultValue: lodash.__, path: lodash.__, object: TObject | null | undefined): LodashPathOr1x4; + (defaultValue: TDefault, path: lodash.__, object: TObject | null | undefined): LodashPathOr1x5; + (defaultValue: lodash.__, path: TKey | [TKey], object: TObject | null | undefined): LodashPathOr1x6; + (defaultValue: TDefault, path: TKey | [TKey], object: TObject | null | undefined): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2]): LodashPathOr2x2; + (defaultValue: TDefault, path: [TKey1, TKey2]): LodashPathOr2x3; + (defaultValue: lodash.__, path: [TKey1, TKey2], object: TObject | null | undefined): LodashPathOr2x6; + (defaultValue: TDefault, path: [TKey1, TKey2], object: TObject | null | undefined): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3]): LodashPathOr3x2; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3]): LodashPathOr3x3; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): LodashPathOr3x6; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3, TKey4]): LodashPathOr4x2; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3, TKey4]): LodashPathOr4x3; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): LodashPathOr4x6; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): Exclude | TDefault; + (defaultValue: lodash.__, path: number): LodashPathOr5x2; + (defaultValue: TDefault, path: number): LodashPathOr5x3; + (defaultValue: lodash.__, path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashPathOr5x4; + (defaultValue: TDefault, path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashPathOr5x5; + (defaultValue: lodash.__, path: number, object: lodash.NumericDictionary | null | undefined): LodashPathOr5x6; + (defaultValue: TDefault, path: number, object: lodash.NumericDictionary | null | undefined): T | TDefault; + (defaultValue: lodash.__, path: lodash.PropertyPath): LodashPathOr6x2; + (defaultValue: TDefault, path: lodash.PropertyPath): LodashPathOr6x3; + (defaultValue: lodash.__, path: lodash.__, object: null | undefined): LodashPathOr6x4; + (defaultValue: TDefault, path: lodash.__, object: null | undefined): LodashPathOr6x5; + (defaultValue: lodash.__, path: lodash.PropertyPath, object: null | undefined): LodashPathOr6x6; + (defaultValue: TDefault, path: lodash.PropertyPath, object: null | undefined): TDefault; + (defaultValue: any): LodashPathOr7x1; + (defaultValue: any, path: lodash.PropertyPath): LodashPathOr7x3; + (defaultValue: lodash.__, path: lodash.__, object: any): LodashPathOr7x4; + (defaultValue: any, path: lodash.__, object: any): LodashPathOr7x5; + (defaultValue: lodash.__, path: lodash.PropertyPath, object: any): LodashPathOr7x6; + (defaultValue: any, path: lodash.PropertyPath, object: any): any; + } + interface LodashPathOr1x1 { + (path: TKey | [TKey]): LodashPathOr1x3; + (path: lodash.__, object: TObject | null | undefined): LodashPathOr1x5; + (path: TKey | [TKey], object: TObject | null | undefined): Exclude | TDefault; + (path: [TKey1, TKey2]): LodashPathOr2x3; + (path: [TKey1, TKey2], object: TObject | null | undefined): Exclude | TDefault; + (path: [TKey1, TKey2, TKey3]): LodashPathOr3x3; + (path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): Exclude | TDefault; + (path: [TKey1, TKey2, TKey3, TKey4]): LodashPathOr4x3; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): Exclude | TDefault; + (path: number): LodashPathOr5x3; + (path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashPathOr5x5; + (path: number, object: lodash.NumericDictionary | null | undefined): T | TDefault; + (path: lodash.PropertyPath): LodashPathOr6x3; + (path: lodash.__, object: null | undefined): LodashPathOr6x5; + (path: lodash.PropertyPath, object: null | undefined): TDefault; + } + interface LodashPathOr1x2 { + (defaultValue: TDefault): LodashPathOr1x3; + (defaultValue: lodash.__, object: TObject | null | undefined): LodashPathOr1x6; + (defaultValue: TDefault, object: TObject | null | undefined): Exclude | TDefault; + } + type LodashPathOr1x3 = (object: TObject | null | undefined) => Exclude | TDefault; + interface LodashPathOr1x4 { + (defaultValue: TDefault): LodashPathOr1x5; + (defaultValue: lodash.__, path: TKey | [TKey]): LodashPathOr1x6; + (defaultValue: TDefault, path: TKey | [TKey]): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2]): LodashPathOr2x6; + (defaultValue: TDefault, path: [TKey1, TKey2]): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3]): LodashPathOr3x6; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3]): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3, TKey4]): LodashPathOr4x6; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3, TKey4]): Exclude | TDefault; + } + interface LodashPathOr1x5 { + (path: TKey | [TKey]): Exclude | TDefault; + (path: [TKey1, TKey2]): Exclude | TDefault; + (path: [TKey1, TKey2, TKey3]): Exclude | TDefault; + (path: [TKey1, TKey2, TKey3, TKey4]): Exclude | TDefault; + } + type LodashPathOr1x6 = (defaultValue: TDefault) => Exclude | TDefault; + interface LodashPathOr2x2 { + (defaultValue: TDefault): LodashPathOr2x3; + (defaultValue: lodash.__, object: TObject | null | undefined): LodashPathOr2x6; + (defaultValue: TDefault, object: TObject | null | undefined): Exclude | TDefault; + } + type LodashPathOr2x3 = (object: TObject | null | undefined) => Exclude | TDefault; + type LodashPathOr2x6 = (defaultValue: TDefault) => Exclude | TDefault; + interface LodashPathOr3x2 { + (defaultValue: TDefault): LodashPathOr3x3; + (defaultValue: lodash.__, object: TObject | null | undefined): LodashPathOr3x6; + (defaultValue: TDefault, object: TObject | null | undefined): Exclude | TDefault; + } + type LodashPathOr3x3 = (object: TObject | null | undefined) => Exclude | TDefault; + type LodashPathOr3x6 = (defaultValue: TDefault) => Exclude | TDefault; + interface LodashPathOr4x2 { + (defaultValue: TDefault): LodashPathOr4x3; + (defaultValue: lodash.__, object: TObject | null | undefined): LodashPathOr4x6; + (defaultValue: TDefault, object: TObject | null | undefined): Exclude | TDefault; + } + type LodashPathOr4x3 = (object: TObject | null | undefined) => Exclude | TDefault; + type LodashPathOr4x6 = (defaultValue: TDefault) => Exclude | TDefault; + interface LodashPathOr5x2 { + (defaultValue: TDefault): LodashPathOr5x3; + (defaultValue: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashPathOr5x6; + (defaultValue: TDefault, object: lodash.NumericDictionary | null | undefined): T | TDefault; + } + type LodashPathOr5x3 = (object: lodash.NumericDictionary | null | undefined) => T | TDefault; + interface LodashPathOr5x4 { + (defaultValue: TDefault): LodashPathOr5x5; + (defaultValue: lodash.__, path: number): LodashPathOr5x6; + (defaultValue: TDefault, path: number): T | TDefault; + } + type LodashPathOr5x5 = (path: number) => T | TDefault; + type LodashPathOr5x6 = (defaultValue: TDefault) => T | TDefault; + interface LodashPathOr6x2 { + (defaultValue: TDefault): LodashPathOr6x3; + (defaultValue: lodash.__, object: null | undefined): LodashPathOr6x6; + (defaultValue: TDefault, object: null | undefined): TDefault; + (defaultValue: any): LodashPathOr7x3; + (defaultValue: lodash.__, object: any): LodashPathOr7x6; + (defaultValue: any, object: any): any; + } + type LodashPathOr6x3 = (object: null | undefined) => TDefault; + interface LodashPathOr6x4 { + (defaultValue: TDefault): LodashPathOr6x5; + (defaultValue: lodash.__, path: lodash.PropertyPath): LodashPathOr6x6; + (defaultValue: TDefault, path: lodash.PropertyPath): TDefault; + } + type LodashPathOr6x5 = (path: lodash.PropertyPath) => TDefault; + type LodashPathOr6x6 = (defaultValue: TDefault) => TDefault; + interface LodashPathOr7x1 { + (path: lodash.PropertyPath): LodashPathOr7x3; + (path: lodash.__, object: any): LodashPathOr7x5; + (path: lodash.PropertyPath, object: any): any; + } + type LodashPathOr7x3 = (object: any) => any; + interface LodashPathOr7x4 { + (defaultValue: any): LodashPathOr7x5; + (defaultValue: lodash.__, path: lodash.PropertyPath): LodashPathOr7x6; + (defaultValue: any, path: lodash.PropertyPath): any; + } + type LodashPathOr7x5 = (path: lodash.PropertyPath) => any; + type LodashPathOr7x6 = (defaultValue: any) => any; + interface LodashPick { + (props: lodash.Many): LodashPick1x1; + (props: lodash.__, object: T): LodashPick1x2; + (props: lodash.Many, object: T): Pick; + (props: lodash.PropertyPath): LodashPick2x1; + (props: lodash.__, object: T | null | undefined): LodashPick2x2; + (props: lodash.PropertyPath, object: T | null | undefined): lodash.PartialObject; + } + type LodashPick1x1 = (object: T) => Pick; + type LodashPick1x2 = (props: lodash.Many) => Pick; + type LodashPick2x1 = (object: T | null | undefined) => lodash.PartialObject; + type LodashPick2x2 = (props: lodash.PropertyPath) => lodash.PartialObject; + interface LodashPickBy { + (predicate: lodash.ValueKeyIterateeTypeGuard): LodashPickBy1x1; + (predicate: lodash.__, object: lodash.Dictionary | null | undefined): LodashPickBy1x2; + (predicate: lodash.ValueKeyIterateeTypeGuard, object: lodash.Dictionary | null | undefined): lodash.Dictionary; + (predicate: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashPickBy2x2; + (predicate: lodash.ValueKeyIterateeTypeGuard, object: lodash.NumericDictionary | null | undefined): lodash.NumericDictionary; + (predicate: lodash.ValueKeyIteratee): LodashPickBy3x1; + (predicate: lodash.ValueKeyIteratee, object: lodash.Dictionary | null | undefined): lodash.Dictionary; + (predicate: lodash.ValueKeyIteratee, object: lodash.NumericDictionary | null | undefined): lodash.NumericDictionary; + (predicate: lodash.__, object: T | null | undefined): LodashPickBy5x2; + (predicate: lodash.ValueKeyIteratee, object: T | null | undefined): lodash.PartialObject; + } + interface LodashPickBy1x1 { + (object: lodash.Dictionary | null | undefined): lodash.Dictionary; + (object: lodash.NumericDictionary | null | undefined): lodash.NumericDictionary; + } + interface LodashPickBy1x2 { + (predicate: lodash.ValueKeyIterateeTypeGuard): lodash.Dictionary; + (predicate: lodash.ValueKeyIteratee): lodash.Dictionary; + } + interface LodashPickBy2x2 { + (predicate: lodash.ValueKeyIterateeTypeGuard): lodash.NumericDictionary; + (predicate: lodash.ValueKeyIteratee): lodash.NumericDictionary; + } + interface LodashPickBy3x1 { + (object: lodash.Dictionary | null | undefined): lodash.Dictionary; + (object: lodash.NumericDictionary | null | undefined): lodash.NumericDictionary; + (object: T1 | null | undefined): lodash.PartialObject; + } + type LodashPickBy5x2 = (predicate: lodash.ValueKeyIteratee) => lodash.PartialObject; + interface LodashProp { + (path: TKey | [TKey]): LodashProp1x1; + (path: lodash.__, object: TObject): LodashProp1x2; + (path: TKey | [TKey], object: TObject): TObject[TKey]; + (path: lodash.__, object: TObject | null | undefined): LodashProp2x2; + (path: TKey | [TKey], object: TObject | null | undefined): TObject[TKey] | undefined; + (path: [TKey1, TKey2]): LodashProp3x1; + (path: [TKey1, TKey2], object: TObject): TObject[TKey1][TKey2]; + (path: [TKey1, TKey2], object: TObject | null | undefined): TObject[TKey1][TKey2] | undefined; + (path: [TKey1, TKey2, TKey3]): LodashProp5x1; + (path: [TKey1, TKey2, TKey3], object: TObject): TObject[TKey1][TKey2][TKey3]; + (path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3] | undefined; + (path: [TKey1, TKey2, TKey3, TKey4]): LodashProp7x1; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject): TObject[TKey1][TKey2][TKey3][TKey4]; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + (path: number): LodashProp9x1; + (path: lodash.__, object: lodash.NumericDictionary): LodashProp9x2; + (path: number, object: lodash.NumericDictionary): T; + (path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashProp10x2; + (path: number, object: lodash.NumericDictionary | null | undefined): T | undefined; + (path: lodash.PropertyPath): LodashProp11x1; + (path: lodash.__, object: null | undefined): LodashProp11x2; + (path: lodash.PropertyPath, object: null | undefined): undefined; + (path: lodash.__, object: any): LodashProp12x2; + (path: lodash.PropertyPath, object: any): any; + } + interface LodashProp1x1 { + (object: TObject): TObject[TKey]; + (object: TObject | null | undefined): TObject[TKey] | undefined; + } + interface LodashProp1x2 { + (path: TKey | [TKey]): TObject[TKey]; + (path: [TKey1, TKey2]): TObject[TKey1][TKey2]; + (path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3]; + (path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4]; + } + interface LodashProp2x2 { + (path: TKey | [TKey]): TObject[TKey] | undefined; + (path: [TKey1, TKey2]): TObject[TKey1][TKey2] | undefined; + (path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3] | undefined; + (path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + } + interface LodashProp3x1 { + (object: TObject): TObject[TKey1][TKey2]; + (object: TObject | null | undefined): TObject[TKey1][TKey2] | undefined; + } + interface LodashProp5x1 { + (object: TObject): TObject[TKey1][TKey2][TKey3]; + (object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3] | undefined; + } + interface LodashProp7x1 { + (object: TObject): TObject[TKey1][TKey2][TKey3][TKey4]; + (object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + } + interface LodashProp9x1 { + (object: lodash.NumericDictionary): T; + (object: lodash.NumericDictionary | null | undefined): T | undefined; + } + type LodashProp9x2 = (path: number) => T; + type LodashProp10x2 = (path: number) => T | undefined; + interface LodashProp11x1 { + (object: null | undefined): undefined; + (object: any): any; + } + type LodashProp11x2 = (path: lodash.PropertyPath) => undefined; + type LodashProp12x2 = (path: lodash.PropertyPath) => any; + interface LodashProperty { + (path: TKey | [TKey]): LodashProperty1x1; + (path: lodash.__, object: TObject): LodashProperty1x2; + (path: TKey | [TKey], object: TObject): TObject[TKey]; + (path: lodash.__, object: TObject | null | undefined): LodashProperty2x2; + (path: TKey | [TKey], object: TObject | null | undefined): TObject[TKey] | undefined; + (path: [TKey1, TKey2]): LodashProperty3x1; + (path: [TKey1, TKey2], object: TObject): TObject[TKey1][TKey2]; + (path: [TKey1, TKey2], object: TObject | null | undefined): TObject[TKey1][TKey2] | undefined; + (path: [TKey1, TKey2, TKey3]): LodashProperty5x1; + (path: [TKey1, TKey2, TKey3], object: TObject): TObject[TKey1][TKey2][TKey3]; + (path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3] | undefined; + (path: [TKey1, TKey2, TKey3, TKey4]): LodashProperty7x1; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject): TObject[TKey1][TKey2][TKey3][TKey4]; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + (path: number): LodashProperty9x1; + (path: lodash.__, object: lodash.NumericDictionary): LodashProperty9x2; + (path: number, object: lodash.NumericDictionary): T; + (path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashProperty10x2; + (path: number, object: lodash.NumericDictionary | null | undefined): T | undefined; + (path: lodash.PropertyPath): LodashProperty11x1; + (path: lodash.__, object: null | undefined): LodashProperty11x2; + (path: lodash.PropertyPath, object: null | undefined): undefined; + (path: lodash.__, object: any): LodashProperty12x2; + (path: lodash.PropertyPath, object: any): any; + } + interface LodashProperty1x1 { + (object: TObject): TObject[TKey]; + (object: TObject | null | undefined): TObject[TKey] | undefined; + } + interface LodashProperty1x2 { + (path: TKey | [TKey]): TObject[TKey]; + (path: [TKey1, TKey2]): TObject[TKey1][TKey2]; + (path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3]; + (path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4]; + } + interface LodashProperty2x2 { + (path: TKey | [TKey]): TObject[TKey] | undefined; + (path: [TKey1, TKey2]): TObject[TKey1][TKey2] | undefined; + (path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3] | undefined; + (path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + } + interface LodashProperty3x1 { + (object: TObject): TObject[TKey1][TKey2]; + (object: TObject | null | undefined): TObject[TKey1][TKey2] | undefined; + } + interface LodashProperty5x1 { + (object: TObject): TObject[TKey1][TKey2][TKey3]; + (object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3] | undefined; + } + interface LodashProperty7x1 { + (object: TObject): TObject[TKey1][TKey2][TKey3][TKey4]; + (object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + } + interface LodashProperty9x1 { + (object: lodash.NumericDictionary): T; + (object: lodash.NumericDictionary | null | undefined): T | undefined; + } + type LodashProperty9x2 = (path: number) => T; + type LodashProperty10x2 = (path: number) => T | undefined; + interface LodashProperty11x1 { + (object: null | undefined): undefined; + (object: any): any; + } + type LodashProperty11x2 = (path: lodash.PropertyPath) => undefined; + type LodashProperty12x2 = (path: lodash.PropertyPath) => any; + interface LodashPropertyOf { + (path: TKey | [TKey]): LodashPropertyOf1x1; + (path: lodash.__, object: TObject): LodashPropertyOf1x2; + (path: TKey | [TKey], object: TObject): TObject[TKey]; + (path: lodash.__, object: TObject | null | undefined): LodashPropertyOf2x2; + (path: TKey | [TKey], object: TObject | null | undefined): TObject[TKey] | undefined; + (path: [TKey1, TKey2]): LodashPropertyOf3x1; + (path: [TKey1, TKey2], object: TObject): TObject[TKey1][TKey2]; + (path: [TKey1, TKey2], object: TObject | null | undefined): TObject[TKey1][TKey2] | undefined; + (path: [TKey1, TKey2, TKey3]): LodashPropertyOf5x1; + (path: [TKey1, TKey2, TKey3], object: TObject): TObject[TKey1][TKey2][TKey3]; + (path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3] | undefined; + (path: [TKey1, TKey2, TKey3, TKey4]): LodashPropertyOf7x1; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject): TObject[TKey1][TKey2][TKey3][TKey4]; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + (path: number): LodashPropertyOf9x1; + (path: lodash.__, object: lodash.NumericDictionary): LodashPropertyOf9x2; + (path: number, object: lodash.NumericDictionary): T; + (path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashPropertyOf10x2; + (path: number, object: lodash.NumericDictionary | null | undefined): T | undefined; + (path: lodash.PropertyPath): LodashPropertyOf11x1; + (path: lodash.__, object: null | undefined): LodashPropertyOf11x2; + (path: lodash.PropertyPath, object: null | undefined): undefined; + (path: lodash.__, object: any): LodashPropertyOf12x2; + (path: lodash.PropertyPath, object: any): any; + } + interface LodashPropertyOf1x1 { + (object: TObject): TObject[TKey]; + (object: TObject | null | undefined): TObject[TKey] | undefined; + } + interface LodashPropertyOf1x2 { + (path: TKey | [TKey]): TObject[TKey]; + (path: [TKey1, TKey2]): TObject[TKey1][TKey2]; + (path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3]; + (path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4]; + } + interface LodashPropertyOf2x2 { + (path: TKey | [TKey]): TObject[TKey] | undefined; + (path: [TKey1, TKey2]): TObject[TKey1][TKey2] | undefined; + (path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3] | undefined; + (path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + } + interface LodashPropertyOf3x1 { + (object: TObject): TObject[TKey1][TKey2]; + (object: TObject | null | undefined): TObject[TKey1][TKey2] | undefined; + } + interface LodashPropertyOf5x1 { + (object: TObject): TObject[TKey1][TKey2][TKey3]; + (object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3] | undefined; + } + interface LodashPropertyOf7x1 { + (object: TObject): TObject[TKey1][TKey2][TKey3][TKey4]; + (object: TObject | null | undefined): TObject[TKey1][TKey2][TKey3][TKey4] | undefined; + } + interface LodashPropertyOf9x1 { + (object: lodash.NumericDictionary): T; + (object: lodash.NumericDictionary | null | undefined): T | undefined; + } + type LodashPropertyOf9x2 = (path: number) => T; + type LodashPropertyOf10x2 = (path: number) => T | undefined; + interface LodashPropertyOf11x1 { + (object: null | undefined): undefined; + (object: any): any; + } + type LodashPropertyOf11x2 = (path: lodash.PropertyPath) => undefined; + type LodashPropertyOf12x2 = (path: lodash.PropertyPath) => any; + interface LodashPropOr { + (defaultValue: TDefault): LodashPropOr1x1; + (defaultValue: lodash.__, path: TKey | [TKey]): LodashPropOr1x2; + (defaultValue: TDefault, path: TKey | [TKey]): LodashPropOr1x3; + (defaultValue: lodash.__, path: lodash.__, object: TObject | null | undefined): LodashPropOr1x4; + (defaultValue: TDefault, path: lodash.__, object: TObject | null | undefined): LodashPropOr1x5; + (defaultValue: lodash.__, path: TKey | [TKey], object: TObject | null | undefined): LodashPropOr1x6; + (defaultValue: TDefault, path: TKey | [TKey], object: TObject | null | undefined): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2]): LodashPropOr2x2; + (defaultValue: TDefault, path: [TKey1, TKey2]): LodashPropOr2x3; + (defaultValue: lodash.__, path: [TKey1, TKey2], object: TObject | null | undefined): LodashPropOr2x6; + (defaultValue: TDefault, path: [TKey1, TKey2], object: TObject | null | undefined): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3]): LodashPropOr3x2; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3]): LodashPropOr3x3; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): LodashPropOr3x6; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3, TKey4]): LodashPropOr4x2; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3, TKey4]): LodashPropOr4x3; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): LodashPropOr4x6; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): Exclude | TDefault; + (defaultValue: lodash.__, path: number): LodashPropOr5x2; + (defaultValue: TDefault, path: number): LodashPropOr5x3; + (defaultValue: lodash.__, path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashPropOr5x4; + (defaultValue: TDefault, path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashPropOr5x5; + (defaultValue: lodash.__, path: number, object: lodash.NumericDictionary | null | undefined): LodashPropOr5x6; + (defaultValue: TDefault, path: number, object: lodash.NumericDictionary | null | undefined): T | TDefault; + (defaultValue: lodash.__, path: lodash.PropertyPath): LodashPropOr6x2; + (defaultValue: TDefault, path: lodash.PropertyPath): LodashPropOr6x3; + (defaultValue: lodash.__, path: lodash.__, object: null | undefined): LodashPropOr6x4; + (defaultValue: TDefault, path: lodash.__, object: null | undefined): LodashPropOr6x5; + (defaultValue: lodash.__, path: lodash.PropertyPath, object: null | undefined): LodashPropOr6x6; + (defaultValue: TDefault, path: lodash.PropertyPath, object: null | undefined): TDefault; + (defaultValue: any): LodashPropOr7x1; + (defaultValue: any, path: lodash.PropertyPath): LodashPropOr7x3; + (defaultValue: lodash.__, path: lodash.__, object: any): LodashPropOr7x4; + (defaultValue: any, path: lodash.__, object: any): LodashPropOr7x5; + (defaultValue: lodash.__, path: lodash.PropertyPath, object: any): LodashPropOr7x6; + (defaultValue: any, path: lodash.PropertyPath, object: any): any; + } + interface LodashPropOr1x1 { + (path: TKey | [TKey]): LodashPropOr1x3; + (path: lodash.__, object: TObject | null | undefined): LodashPropOr1x5; + (path: TKey | [TKey], object: TObject | null | undefined): Exclude | TDefault; + (path: [TKey1, TKey2]): LodashPropOr2x3; + (path: [TKey1, TKey2], object: TObject | null | undefined): Exclude | TDefault; + (path: [TKey1, TKey2, TKey3]): LodashPropOr3x3; + (path: [TKey1, TKey2, TKey3], object: TObject | null | undefined): Exclude | TDefault; + (path: [TKey1, TKey2, TKey3, TKey4]): LodashPropOr4x3; + (path: [TKey1, TKey2, TKey3, TKey4], object: TObject | null | undefined): Exclude | TDefault; + (path: number): LodashPropOr5x3; + (path: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashPropOr5x5; + (path: number, object: lodash.NumericDictionary | null | undefined): T | TDefault; + (path: lodash.PropertyPath): LodashPropOr6x3; + (path: lodash.__, object: null | undefined): LodashPropOr6x5; + (path: lodash.PropertyPath, object: null | undefined): TDefault; + } + interface LodashPropOr1x2 { + (defaultValue: TDefault): LodashPropOr1x3; + (defaultValue: lodash.__, object: TObject | null | undefined): LodashPropOr1x6; + (defaultValue: TDefault, object: TObject | null | undefined): Exclude | TDefault; + } + type LodashPropOr1x3 = (object: TObject | null | undefined) => Exclude | TDefault; + interface LodashPropOr1x4 { + (defaultValue: TDefault): LodashPropOr1x5; + (defaultValue: lodash.__, path: TKey | [TKey]): LodashPropOr1x6; + (defaultValue: TDefault, path: TKey | [TKey]): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2]): LodashPropOr2x6; + (defaultValue: TDefault, path: [TKey1, TKey2]): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3]): LodashPropOr3x6; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3]): Exclude | TDefault; + (defaultValue: lodash.__, path: [TKey1, TKey2, TKey3, TKey4]): LodashPropOr4x6; + (defaultValue: TDefault, path: [TKey1, TKey2, TKey3, TKey4]): Exclude | TDefault; + } + interface LodashPropOr1x5 { + (path: TKey | [TKey]): Exclude | TDefault; + (path: [TKey1, TKey2]): Exclude | TDefault; + (path: [TKey1, TKey2, TKey3]): Exclude | TDefault; + (path: [TKey1, TKey2, TKey3, TKey4]): Exclude | TDefault; + } + type LodashPropOr1x6 = (defaultValue: TDefault) => Exclude | TDefault; + interface LodashPropOr2x2 { + (defaultValue: TDefault): LodashPropOr2x3; + (defaultValue: lodash.__, object: TObject | null | undefined): LodashPropOr2x6; + (defaultValue: TDefault, object: TObject | null | undefined): Exclude | TDefault; + } + type LodashPropOr2x3 = (object: TObject | null | undefined) => Exclude | TDefault; + type LodashPropOr2x6 = (defaultValue: TDefault) => Exclude | TDefault; + interface LodashPropOr3x2 { + (defaultValue: TDefault): LodashPropOr3x3; + (defaultValue: lodash.__, object: TObject | null | undefined): LodashPropOr3x6; + (defaultValue: TDefault, object: TObject | null | undefined): Exclude | TDefault; + } + type LodashPropOr3x3 = (object: TObject | null | undefined) => Exclude | TDefault; + type LodashPropOr3x6 = (defaultValue: TDefault) => Exclude | TDefault; + interface LodashPropOr4x2 { + (defaultValue: TDefault): LodashPropOr4x3; + (defaultValue: lodash.__, object: TObject | null | undefined): LodashPropOr4x6; + (defaultValue: TDefault, object: TObject | null | undefined): Exclude | TDefault; + } + type LodashPropOr4x3 = (object: TObject | null | undefined) => Exclude | TDefault; + type LodashPropOr4x6 = (defaultValue: TDefault) => Exclude | TDefault; + interface LodashPropOr5x2 { + (defaultValue: TDefault): LodashPropOr5x3; + (defaultValue: lodash.__, object: lodash.NumericDictionary | null | undefined): LodashPropOr5x6; + (defaultValue: TDefault, object: lodash.NumericDictionary | null | undefined): T | TDefault; + } + type LodashPropOr5x3 = (object: lodash.NumericDictionary | null | undefined) => T | TDefault; + interface LodashPropOr5x4 { + (defaultValue: TDefault): LodashPropOr5x5; + (defaultValue: lodash.__, path: number): LodashPropOr5x6; + (defaultValue: TDefault, path: number): T | TDefault; + } + type LodashPropOr5x5 = (path: number) => T | TDefault; + type LodashPropOr5x6 = (defaultValue: TDefault) => T | TDefault; + interface LodashPropOr6x2 { + (defaultValue: TDefault): LodashPropOr6x3; + (defaultValue: lodash.__, object: null | undefined): LodashPropOr6x6; + (defaultValue: TDefault, object: null | undefined): TDefault; + (defaultValue: any): LodashPropOr7x3; + (defaultValue: lodash.__, object: any): LodashPropOr7x6; + (defaultValue: any, object: any): any; + } + type LodashPropOr6x3 = (object: null | undefined) => TDefault; + interface LodashPropOr6x4 { + (defaultValue: TDefault): LodashPropOr6x5; + (defaultValue: lodash.__, path: lodash.PropertyPath): LodashPropOr6x6; + (defaultValue: TDefault, path: lodash.PropertyPath): TDefault; + } + type LodashPropOr6x5 = (path: lodash.PropertyPath) => TDefault; + type LodashPropOr6x6 = (defaultValue: TDefault) => TDefault; + interface LodashPropOr7x1 { + (path: lodash.PropertyPath): LodashPropOr7x3; + (path: lodash.__, object: any): LodashPropOr7x5; + (path: lodash.PropertyPath, object: any): any; + } + type LodashPropOr7x3 = (object: any) => any; + interface LodashPropOr7x4 { + (defaultValue: any): LodashPropOr7x5; + (defaultValue: lodash.__, path: lodash.PropertyPath): LodashPropOr7x6; + (defaultValue: any, path: lodash.PropertyPath): any; + } + type LodashPropOr7x5 = (path: lodash.PropertyPath) => any; + type LodashPropOr7x6 = (defaultValue: any) => any; + interface LodashPull { + (values: T): LodashPull1x1; + (values: lodash.__, array: readonly T[]): LodashPull1x2; + (values: T, array: readonly T[]): T[]; + (values: lodash.__, array: lodash.List): LodashPull2x2; + (values: T, array: lodash.List): lodash.List; + } + interface LodashPull1x1 { + (array: readonly T[]): T[]; + (array: lodash.List): lodash.List; + } + type LodashPull1x2 = (values: T) => T[]; + type LodashPull2x2 = (values: T) => lodash.List; + interface LodashPullAll { + (values: lodash.List): LodashPullAll1x1; + (values: lodash.__, array: readonly T[]): LodashPullAll1x2; + (values: lodash.List, array: readonly T[]): T[]; + (values: lodash.__, array: lodash.List): LodashPullAll2x2; + (values: lodash.List, array: lodash.List): lodash.List; + } + interface LodashPullAll1x1 { + (array: readonly T[]): T[]; + (array: lodash.List): lodash.List; + } + type LodashPullAll1x2 = (values: lodash.List) => T[]; + type LodashPullAll2x2 = (values: lodash.List) => lodash.List; + interface LodashPullAllBy { + (iteratee: lodash.ValueIteratee): LodashPullAllBy1x1; + (iteratee: lodash.__, values: lodash.List): LodashPullAllBy1x2; + (iteratee: lodash.ValueIteratee, values: lodash.List): LodashPullAllBy1x3; + (iteratee: lodash.__, values: lodash.__, array: readonly T[]): LodashPullAllBy1x4; + (iteratee: lodash.ValueIteratee, values: lodash.__, array: readonly T[]): LodashPullAllBy1x5; + (iteratee: lodash.__, values: lodash.List, array: readonly T[]): LodashPullAllBy1x6; + (iteratee: lodash.ValueIteratee, values: lodash.List, array: readonly T[]): T[]; + (iteratee: lodash.__, values: lodash.__, array: lodash.List): LodashPullAllBy2x4; + (iteratee: lodash.ValueIteratee, values: lodash.__, array: lodash.List): LodashPullAllBy2x5; + (iteratee: lodash.__, values: lodash.List, array: lodash.List): LodashPullAllBy2x6; + (iteratee: lodash.ValueIteratee, values: lodash.List, array: lodash.List): lodash.List; + (iteratee: lodash.ValueIteratee): LodashPullAllBy3x1; + (iteratee: lodash.__, values: lodash.List): LodashPullAllBy3x2; + (iteratee: lodash.ValueIteratee, values: lodash.List): LodashPullAllBy3x3; + (iteratee: lodash.__, values: lodash.__, array: readonly T1[]): LodashPullAllBy3x4; + (iteratee: lodash.ValueIteratee, values: lodash.__, array: readonly T1[]): LodashPullAllBy3x5; + (iteratee: lodash.__, values: lodash.List, array: readonly T1[]): LodashPullAllBy3x6; + (iteratee: lodash.ValueIteratee, values: lodash.List, array: readonly T1[]): T1[]; + (iteratee: lodash.__, values: lodash.__, array: lodash.List): LodashPullAllBy4x4; + (iteratee: lodash.ValueIteratee, values: lodash.__, array: lodash.List): LodashPullAllBy4x5; + (iteratee: lodash.__, values: lodash.List, array: lodash.List): LodashPullAllBy4x6; + (iteratee: lodash.ValueIteratee, values: lodash.List, array: lodash.List): lodash.List; + } + interface LodashPullAllBy1x1 { + (values: lodash.List): LodashPullAllBy1x3; + (values: lodash.__, array: readonly T[]): LodashPullAllBy1x5; + (values: lodash.List, array: readonly T[]): T[]; + (values: lodash.__, array: lodash.List): LodashPullAllBy2x5; + (values: lodash.List, array: lodash.List): lodash.List; + } + interface LodashPullAllBy1x2 { + (iteratee: lodash.ValueIteratee): LodashPullAllBy1x3; + (iteratee: lodash.__, array: readonly T[]): LodashPullAllBy1x6; + (iteratee: lodash.ValueIteratee, array: readonly T[]): T[]; + (iteratee: lodash.__, array: lodash.List): LodashPullAllBy2x6; + (iteratee: lodash.ValueIteratee, array: lodash.List): lodash.List; + } + interface LodashPullAllBy1x3 { + (array: readonly T[]): T[]; + (array: lodash.List): lodash.List; + } + interface LodashPullAllBy1x4 { + (iteratee: lodash.ValueIteratee): LodashPullAllBy1x5; + (iteratee: lodash.__, values: lodash.List): LodashPullAllBy1x6; + (iteratee: lodash.ValueIteratee, values: lodash.List): T[]; + } + type LodashPullAllBy1x5 = (values: lodash.List) => T[]; + type LodashPullAllBy1x6 = (iteratee: lodash.ValueIteratee) => T[]; + interface LodashPullAllBy2x4 { + (iteratee: lodash.ValueIteratee): LodashPullAllBy2x5; + (iteratee: lodash.__, values: lodash.List): LodashPullAllBy2x6; + (iteratee: lodash.ValueIteratee, values: lodash.List): lodash.List; + } + type LodashPullAllBy2x5 = (values: lodash.List) => lodash.List; + type LodashPullAllBy2x6 = (iteratee: lodash.ValueIteratee) => lodash.List; + interface LodashPullAllBy3x1 { + (values: lodash.List): LodashPullAllBy3x3; + (values: lodash.__, array: readonly T1[]): LodashPullAllBy3x5; + (values: lodash.List, array: readonly T1[]): T1[]; + (values: lodash.__, array: lodash.List): LodashPullAllBy4x5; + (values: lodash.List, array: lodash.List): lodash.List; + } + interface LodashPullAllBy3x2 { + (iteratee: lodash.ValueIteratee): LodashPullAllBy3x3; + (iteratee: lodash.__, array: readonly T1[]): LodashPullAllBy3x6; + (iteratee: lodash.ValueIteratee, array: readonly T1[]): T1[]; + (iteratee: lodash.__, array: lodash.List): LodashPullAllBy4x6; + (iteratee: lodash.ValueIteratee, array: lodash.List): lodash.List; + } + interface LodashPullAllBy3x3 { + (array: readonly T1[]): T1[]; + (array: lodash.List): lodash.List; + } + interface LodashPullAllBy3x4 { + (iteratee: lodash.ValueIteratee): LodashPullAllBy3x5; + (iteratee: lodash.__, values: lodash.List): LodashPullAllBy3x6; + (iteratee: lodash.ValueIteratee, values: lodash.List): T1[]; + } + type LodashPullAllBy3x5 = (values: lodash.List) => T1[]; + type LodashPullAllBy3x6 = (iteratee: lodash.ValueIteratee) => T1[]; + interface LodashPullAllBy4x4 { + (iteratee: lodash.ValueIteratee): LodashPullAllBy4x5; + (iteratee: lodash.__, values: lodash.List): LodashPullAllBy4x6; + (iteratee: lodash.ValueIteratee, values: lodash.List): lodash.List; + } + type LodashPullAllBy4x5 = (values: lodash.List) => lodash.List; + type LodashPullAllBy4x6 = (iteratee: lodash.ValueIteratee) => lodash.List; + interface LodashPullAllWith { + (comparator: lodash.Comparator): LodashPullAllWith1x1; + (comparator: lodash.__, values: lodash.List): LodashPullAllWith1x2; + (comparator: lodash.Comparator, values: lodash.List): LodashPullAllWith1x3; + (comparator: lodash.__, values: lodash.__, array: readonly T[]): LodashPullAllWith1x4; + (comparator: lodash.Comparator, values: lodash.__, array: readonly T[]): LodashPullAllWith1x5; + (comparator: lodash.__, values: lodash.List, array: readonly T[]): LodashPullAllWith1x6; + (comparator: lodash.Comparator, values: lodash.List, array: readonly T[]): T[]; + (comparator: lodash.__, values: lodash.__, array: lodash.List): LodashPullAllWith2x4; + (comparator: lodash.Comparator, values: lodash.__, array: lodash.List): LodashPullAllWith2x5; + (comparator: lodash.__, values: lodash.List, array: lodash.List): LodashPullAllWith2x6; + (comparator: lodash.Comparator, values: lodash.List, array: lodash.List): lodash.List; + (comparator: lodash.Comparator2): LodashPullAllWith3x1; + (comparator: lodash.__, values: lodash.List): LodashPullAllWith3x2; + (comparator: lodash.Comparator2, values: lodash.List): LodashPullAllWith3x3; + (comparator: lodash.__, values: lodash.__, array: readonly T1[]): LodashPullAllWith3x4; + (comparator: lodash.Comparator2, values: lodash.__, array: readonly T1[]): LodashPullAllWith3x5; + (comparator: lodash.__, values: lodash.List, array: readonly T1[]): LodashPullAllWith3x6; + (comparator: lodash.Comparator2, values: lodash.List, array: readonly T1[]): T1[]; + (comparator: lodash.__, values: lodash.__, array: lodash.List): LodashPullAllWith4x4; + (comparator: lodash.Comparator2, values: lodash.__, array: lodash.List): LodashPullAllWith4x5; + (comparator: lodash.__, values: lodash.List, array: lodash.List): LodashPullAllWith4x6; + (comparator: lodash.Comparator2, values: lodash.List, array: lodash.List): lodash.List; + } + interface LodashPullAllWith1x1 { + (values: lodash.List): LodashPullAllWith1x3; + (values: lodash.__, array: readonly T[]): LodashPullAllWith1x5; + (values: lodash.List, array: readonly T[]): T[]; + (values: lodash.__, array: lodash.List): LodashPullAllWith2x5; + (values: lodash.List, array: lodash.List): lodash.List; + } + interface LodashPullAllWith1x2 { + (comparator: lodash.Comparator): LodashPullAllWith1x3; + (comparator: lodash.__, array: readonly T[]): LodashPullAllWith1x6; + (comparator: lodash.Comparator, array: readonly T[]): T[]; + (comparator: lodash.__, array: lodash.List): LodashPullAllWith2x6; + (comparator: lodash.Comparator, array: lodash.List): lodash.List; + } + interface LodashPullAllWith1x3 { + (array: readonly T[]): T[]; + (array: lodash.List): lodash.List; + } + interface LodashPullAllWith1x4 { + (comparator: lodash.Comparator): LodashPullAllWith1x5; + (comparator: lodash.__, values: lodash.List): LodashPullAllWith1x6; + (comparator: lodash.Comparator, values: lodash.List): T[]; + } + type LodashPullAllWith1x5 = (values: lodash.List) => T[]; + type LodashPullAllWith1x6 = (comparator: lodash.Comparator) => T[]; + interface LodashPullAllWith2x4 { + (comparator: lodash.Comparator): LodashPullAllWith2x5; + (comparator: lodash.__, values: lodash.List): LodashPullAllWith2x6; + (comparator: lodash.Comparator, values: lodash.List): lodash.List; + } + type LodashPullAllWith2x5 = (values: lodash.List) => lodash.List; + type LodashPullAllWith2x6 = (comparator: lodash.Comparator) => lodash.List; + interface LodashPullAllWith3x1 { + (values: lodash.List): LodashPullAllWith3x3; + (values: lodash.__, array: readonly T1[]): LodashPullAllWith3x5; + (values: lodash.List, array: readonly T1[]): T1[]; + (values: lodash.__, array: lodash.List): LodashPullAllWith4x5; + (values: lodash.List, array: lodash.List): lodash.List; + } + interface LodashPullAllWith3x2 { + (comparator: lodash.Comparator2): LodashPullAllWith3x3; + (comparator: lodash.__, array: readonly T1[]): LodashPullAllWith3x6; + (comparator: lodash.Comparator2, array: readonly T1[]): T1[]; + (comparator: lodash.__, array: lodash.List): LodashPullAllWith4x6; + (comparator: lodash.Comparator2, array: lodash.List): lodash.List; + } + interface LodashPullAllWith3x3 { + (array: readonly T1[]): T1[]; + (array: lodash.List): lodash.List; + } + interface LodashPullAllWith3x4 { + (comparator: lodash.Comparator2): LodashPullAllWith3x5; + (comparator: lodash.__, values: lodash.List): LodashPullAllWith3x6; + (comparator: lodash.Comparator2, values: lodash.List): T1[]; + } + type LodashPullAllWith3x5 = (values: lodash.List) => T1[]; + type LodashPullAllWith3x6 = (comparator: lodash.Comparator2) => T1[]; + interface LodashPullAllWith4x4 { + (comparator: lodash.Comparator2): LodashPullAllWith4x5; + (comparator: lodash.__, values: lodash.List): LodashPullAllWith4x6; + (comparator: lodash.Comparator2, values: lodash.List): lodash.List; + } + type LodashPullAllWith4x5 = (values: lodash.List) => lodash.List; + type LodashPullAllWith4x6 = (comparator: lodash.Comparator2) => lodash.List; + interface LodashPullAt { + (indexes: lodash.Many): LodashPullAt1x1; + (indexes: lodash.__, array: readonly T[]): LodashPullAt1x2; + (indexes: lodash.Many, array: readonly T[]): T[]; + (indexes: lodash.__, array: lodash.List): LodashPullAt2x2; + (indexes: lodash.Many, array: lodash.List): lodash.List; + } + interface LodashPullAt1x1 { + (array: readonly T[]): T[]; + (array: lodash.List): lodash.List; + } + type LodashPullAt1x2 = (indexes: lodash.Many) => T[]; + type LodashPullAt2x2 = (indexes: lodash.Many) => lodash.List; + interface LodashRandom { + (maxOrMin: number): LodashRandom1x1; + (max: lodash.__, floating: boolean): LodashRandom1x2; + (maxOrMin: number, floatingOrMax: boolean | number): number; + (min: lodash.__, max: number): LodashRandom2x2; + } + type LodashRandom1x1 = (floatingOrMax: boolean | number) => number; + type LodashRandom1x2 = (max: number) => number; + type LodashRandom2x2 = (min: number) => number; + interface LodashRange { + (start: number): LodashRange1x1; + (start: lodash.__, end: number): LodashRange1x2; + (start: number, end: number): number[]; + } + type LodashRange1x1 = (end: number) => number[]; + type LodashRange1x2 = (start: number) => number[]; + interface LodashRangeRight { + (start: number): LodashRangeRight1x1; + (start: lodash.__, end: number): LodashRangeRight1x2; + (start: number, end: number): number[]; + } + type LodashRangeRight1x1 = (end: number) => number[]; + type LodashRangeRight1x2 = (start: number) => number[]; + interface LodashRangeStep { + (start: number): LodashRangeStep1x1; + (start: lodash.__, end: number): LodashRangeStep1x2; + (start: number, end: number): LodashRangeStep1x3; + (start: lodash.__, end: lodash.__, step: number): LodashRangeStep1x4; + (start: number, end: lodash.__, step: number): LodashRangeStep1x5; + (start: lodash.__, end: number, step: number): LodashRangeStep1x6; + (start: number, end: number, step: number): number[]; + } + interface LodashRangeStep1x1 { + (end: number): LodashRangeStep1x3; + (end: lodash.__, step: number): LodashRangeStep1x5; + (end: number, step: number): number[]; + } + interface LodashRangeStep1x2 { + (start: number): LodashRangeStep1x3; + (start: lodash.__, step: number): LodashRangeStep1x6; + (start: number, step: number): number[]; + } + type LodashRangeStep1x3 = (step: number) => number[]; + interface LodashRangeStep1x4 { + (start: number): LodashRangeStep1x5; + (start: lodash.__, end: number): LodashRangeStep1x6; + (start: number, end: number): number[]; + } + type LodashRangeStep1x5 = (end: number) => number[]; + type LodashRangeStep1x6 = (start: number) => number[]; + interface LodashRangeStepRight { + (start: number): LodashRangeStepRight1x1; + (start: lodash.__, end: number): LodashRangeStepRight1x2; + (start: number, end: number): LodashRangeStepRight1x3; + (start: lodash.__, end: lodash.__, step: number): LodashRangeStepRight1x4; + (start: number, end: lodash.__, step: number): LodashRangeStepRight1x5; + (start: lodash.__, end: number, step: number): LodashRangeStepRight1x6; + (start: number, end: number, step: number): number[]; + } + interface LodashRangeStepRight1x1 { + (end: number): LodashRangeStepRight1x3; + (end: lodash.__, step: number): LodashRangeStepRight1x5; + (end: number, step: number): number[]; + } + interface LodashRangeStepRight1x2 { + (start: number): LodashRangeStepRight1x3; + (start: lodash.__, step: number): LodashRangeStepRight1x6; + (start: number, step: number): number[]; + } + type LodashRangeStepRight1x3 = (step: number) => number[]; + interface LodashRangeStepRight1x4 { + (start: number): LodashRangeStepRight1x5; + (start: lodash.__, end: number): LodashRangeStepRight1x6; + (start: number, end: number): number[]; + } + type LodashRangeStepRight1x5 = (end: number) => number[]; + type LodashRangeStepRight1x6 = (start: number) => number[]; + interface LodashRearg { + (indexes: lodash.Many): LodashRearg1x1; + (indexes: lodash.__, func: (...args: any[]) => any): LodashRearg1x2; + (indexes: lodash.Many, func: (...args: any[]) => any): (...args: any[]) => any; + } + type LodashRearg1x1 = (func: (...args: any[]) => any) => (...args: any[]) => any; + type LodashRearg1x2 = (indexes: lodash.Many) => (...args: any[]) => any; + interface LodashReduce { + (callback: lodash.MemoIteratorCapped): LodashReduce1x1; + (callback: lodash.__, accumulator: TResult): LodashReduce1x2; + (callback: lodash.MemoIteratorCapped, accumulator: TResult): LodashReduce1x3; + (callback: lodash.__, accumulator: lodash.__, collection: T[] | null | undefined): LodashReduce1x4; + (callback: lodash.MemoIteratorCapped, accumulator: lodash.__, collection: T[] | null | undefined): LodashReduce1x5; + (callback: lodash.__, accumulator: TResult, collection: T[] | null | undefined): LodashReduce1x6; + (callback: lodash.MemoIteratorCapped, accumulator: TResult, collection: T[] | lodash.List | null | undefined): TResult; + (callback: lodash.__, accumulator: lodash.__, collection: lodash.List | null | undefined): LodashReduce2x4; + (callback: lodash.MemoIteratorCapped, accumulator: lodash.__, collection: lodash.List | null | undefined): LodashReduce2x5; + (callback: lodash.__, accumulator: TResult, collection: lodash.List | null | undefined): LodashReduce2x6; + (callback: lodash.MemoIteratorCapped): LodashReduce3x1; + (callback: lodash.MemoIteratorCapped, accumulator: TResult): LodashReduce3x3; + (callback: lodash.__, accumulator: lodash.__, collection: T | null | undefined): LodashReduce3x4; + (callback: lodash.MemoIteratorCapped, accumulator: lodash.__, collection: T | null | undefined): LodashReduce3x5; + (callback: lodash.__, accumulator: TResult, collection: T | null | undefined): LodashReduce3x6; + (callback: lodash.MemoIteratorCapped, accumulator: TResult, collection: T | null | undefined): TResult; + } + interface LodashReduce1x1 { + (accumulator: TResult): LodashReduce1x3; + (accumulator: lodash.__, collection: T[] | null | undefined): LodashReduce1x5; + (accumulator: TResult, collection: T[] | lodash.List | null | undefined): TResult; + (accumulator: lodash.__, collection: lodash.List | null | undefined): LodashReduce2x5; + } + interface LodashReduce1x2 { + (callback: lodash.MemoIteratorCapped): LodashReduce1x3; + (callback: lodash.__, collection: T[] | null | undefined): LodashReduce1x6; + (callback: lodash.MemoIteratorCapped, collection: T[] | lodash.List | null | undefined): TResult; + (callback: lodash.__, collection: lodash.List | null | undefined): LodashReduce2x6; + (callback: lodash.MemoIteratorCapped): LodashReduce3x3; + (callback: lodash.__, collection: T | null | undefined): LodashReduce3x6; + (callback: lodash.MemoIteratorCapped, collection: T | null | undefined): TResult; + } + type LodashReduce1x3 = (collection: T[] | lodash.List | null | undefined) => TResult; + interface LodashReduce1x4 { + (callback: lodash.MemoIteratorCapped): LodashReduce1x5; + (callback: lodash.__, accumulator: TResult): LodashReduce1x6; + (callback: lodash.MemoIteratorCapped, accumulator: TResult): TResult; + } + type LodashReduce1x5 = (accumulator: TResult) => TResult; + type LodashReduce1x6 = (callback: lodash.MemoIteratorCapped) => TResult; + interface LodashReduce2x4 { + (callback: lodash.MemoIteratorCapped): LodashReduce2x5; + (callback: lodash.__, accumulator: TResult): LodashReduce2x6; + (callback: lodash.MemoIteratorCapped, accumulator: TResult): TResult; + } + type LodashReduce2x5 = (accumulator: TResult) => TResult; + type LodashReduce2x6 = (callback: lodash.MemoIteratorCapped) => TResult; + interface LodashReduce3x1 { + (accumulator: TResult): LodashReduce3x3; + (accumulator: lodash.__, collection: T | null | undefined): LodashReduce3x5; + (accumulator: TResult, collection: T | null | undefined): TResult; + } + type LodashReduce3x3 = (collection: T | null | undefined) => TResult; + interface LodashReduce3x4 { + (callback: lodash.MemoIteratorCapped): LodashReduce3x5; + (callback: lodash.__, accumulator: TResult): LodashReduce3x6; + (callback: lodash.MemoIteratorCapped, accumulator: TResult): TResult; + } + type LodashReduce3x5 = (accumulator: TResult) => TResult; + type LodashReduce3x6 = (callback: lodash.MemoIteratorCapped) => TResult; + interface LodashReduceRight { + (callback: lodash.MemoIteratorCappedRight): LodashReduceRight1x1; + (callback: lodash.__, accumulator: TResult): LodashReduceRight1x2; + (callback: lodash.MemoIteratorCappedRight, accumulator: TResult): LodashReduceRight1x3; + (callback: lodash.__, accumulator: lodash.__, collection: T[] | null | undefined): LodashReduceRight1x4; + (callback: lodash.MemoIteratorCappedRight, accumulator: lodash.__, collection: T[] | null | undefined): LodashReduceRight1x5; + (callback: lodash.__, accumulator: TResult, collection: T[] | null | undefined): LodashReduceRight1x6; + (callback: lodash.MemoIteratorCappedRight, accumulator: TResult, collection: T[] | lodash.List | null | undefined): TResult; + (callback: lodash.__, accumulator: lodash.__, collection: lodash.List | null | undefined): LodashReduceRight2x4; + (callback: lodash.MemoIteratorCappedRight, accumulator: lodash.__, collection: lodash.List | null | undefined): LodashReduceRight2x5; + (callback: lodash.__, accumulator: TResult, collection: lodash.List | null | undefined): LodashReduceRight2x6; + (callback: lodash.MemoIteratorCappedRight): LodashReduceRight3x1; + (callback: lodash.MemoIteratorCappedRight, accumulator: TResult): LodashReduceRight3x3; + (callback: lodash.__, accumulator: lodash.__, collection: T | null | undefined): LodashReduceRight3x4; + (callback: lodash.MemoIteratorCappedRight, accumulator: lodash.__, collection: T | null | undefined): LodashReduceRight3x5; + (callback: lodash.__, accumulator: TResult, collection: T | null | undefined): LodashReduceRight3x6; + (callback: lodash.MemoIteratorCappedRight, accumulator: TResult, collection: T | null | undefined): TResult; + } + interface LodashReduceRight1x1 { + (accumulator: TResult): LodashReduceRight1x3; + (accumulator: lodash.__, collection: T[] | null | undefined): LodashReduceRight1x5; + (accumulator: TResult, collection: T[] | lodash.List | null | undefined): TResult; + (accumulator: lodash.__, collection: lodash.List | null | undefined): LodashReduceRight2x5; + } + interface LodashReduceRight1x2 { + (callback: lodash.MemoIteratorCappedRight): LodashReduceRight1x3; + (callback: lodash.__, collection: T[] | null | undefined): LodashReduceRight1x6; + (callback: lodash.MemoIteratorCappedRight, collection: T[] | lodash.List | null | undefined): TResult; + (callback: lodash.__, collection: lodash.List | null | undefined): LodashReduceRight2x6; + (callback: lodash.MemoIteratorCappedRight): LodashReduceRight3x3; + (callback: lodash.__, collection: T | null | undefined): LodashReduceRight3x6; + (callback: lodash.MemoIteratorCappedRight, collection: T | null | undefined): TResult; + } + type LodashReduceRight1x3 = (collection: T[] | lodash.List | null | undefined) => TResult; + interface LodashReduceRight1x4 { + (callback: lodash.MemoIteratorCappedRight): LodashReduceRight1x5; + (callback: lodash.__, accumulator: TResult): LodashReduceRight1x6; + (callback: lodash.MemoIteratorCappedRight, accumulator: TResult): TResult; + } + type LodashReduceRight1x5 = (accumulator: TResult) => TResult; + type LodashReduceRight1x6 = (callback: lodash.MemoIteratorCappedRight) => TResult; + interface LodashReduceRight2x4 { + (callback: lodash.MemoIteratorCappedRight): LodashReduceRight2x5; + (callback: lodash.__, accumulator: TResult): LodashReduceRight2x6; + (callback: lodash.MemoIteratorCappedRight, accumulator: TResult): TResult; + } + type LodashReduceRight2x5 = (accumulator: TResult) => TResult; + type LodashReduceRight2x6 = (callback: lodash.MemoIteratorCappedRight) => TResult; + interface LodashReduceRight3x1 { + (accumulator: TResult): LodashReduceRight3x3; + (accumulator: lodash.__, collection: T | null | undefined): LodashReduceRight3x5; + (accumulator: TResult, collection: T | null | undefined): TResult; + } + type LodashReduceRight3x3 = (collection: T | null | undefined) => TResult; + interface LodashReduceRight3x4 { + (callback: lodash.MemoIteratorCappedRight): LodashReduceRight3x5; + (callback: lodash.__, accumulator: TResult): LodashReduceRight3x6; + (callback: lodash.MemoIteratorCappedRight, accumulator: TResult): TResult; + } + type LodashReduceRight3x5 = (accumulator: TResult) => TResult; + type LodashReduceRight3x6 = (callback: lodash.MemoIteratorCappedRight) => TResult; + interface LodashReject { + (predicate: lodash.ValueIterateeCustom): LodashReject1x1; + (predicate: lodash.__, collection: lodash.List | null | undefined): LodashReject1x2; + (predicate: lodash.ValueIterateeCustom, collection: lodash.List | null | undefined): T[]; + (predicate: lodash.__, collection: T | null | undefined): LodashReject2x2; + (predicate: lodash.ValueIterateeCustom, collection: T | null | undefined): Array; + } + type LodashReject1x1 = (collection: lodash.List | object | null | undefined) => T[]; + type LodashReject1x2 = (predicate: lodash.ValueIterateeCustom) => T[]; + type LodashReject2x2 = (predicate: lodash.ValueIterateeCustom) => Array; + interface LodashRemove { + (predicate: lodash.ValueIteratee): LodashRemove1x1; + (predicate: lodash.__, array: lodash.List): LodashRemove1x2; + (predicate: lodash.ValueIteratee, array: lodash.List): T[]; + } + type LodashRemove1x1 = (array: lodash.List) => T[]; + type LodashRemove1x2 = (predicate: lodash.ValueIteratee) => T[]; + interface LodashRepeat { + (n: number): LodashRepeat1x1; + (n: lodash.__, string: string): LodashRepeat1x2; + (n: number, string: string): string; + } + type LodashRepeat1x1 = (string: string) => string; + type LodashRepeat1x2 = (n: number) => string; + interface LodashReplace { + (pattern: RegExp | string): LodashReplace1x1; + (pattern: lodash.__, replacement: lodash.ReplaceFunction | string): LodashReplace1x2; + (pattern: RegExp | string, replacement: lodash.ReplaceFunction | string): LodashReplace1x3; + (pattern: lodash.__, replacement: lodash.__, string: string): LodashReplace1x4; + (pattern: RegExp | string, replacement: lodash.__, string: string): LodashReplace1x5; + (pattern: lodash.__, replacement: lodash.ReplaceFunction | string, string: string): LodashReplace1x6; + (pattern: RegExp | string, replacement: lodash.ReplaceFunction | string, string: string): string; + } + interface LodashReplace1x1 { + (replacement: lodash.ReplaceFunction | string): LodashReplace1x3; + (replacement: lodash.__, string: string): LodashReplace1x5; + (replacement: lodash.ReplaceFunction | string, string: string): string; + } + interface LodashReplace1x2 { + (pattern: RegExp | string): LodashReplace1x3; + (pattern: lodash.__, string: string): LodashReplace1x6; + (pattern: RegExp | string, string: string): string; + } + type LodashReplace1x3 = (string: string) => string; + interface LodashReplace1x4 { + (pattern: RegExp | string): LodashReplace1x5; + (pattern: lodash.__, replacement: lodash.ReplaceFunction | string): LodashReplace1x6; + (pattern: RegExp | string, replacement: lodash.ReplaceFunction | string): string; + } + type LodashReplace1x5 = (replacement: lodash.ReplaceFunction | string) => string; + type LodashReplace1x6 = (pattern: RegExp | string) => string; + type LodashRest = (func: (...args: any[]) => any) => (...args: any[]) => any; + interface LodashRestFrom { + (start: number): LodashRestFrom1x1; + (start: lodash.__, func: (...args: any[]) => any): LodashRestFrom1x2; + (start: number, func: (...args: any[]) => any): (...args: any[]) => any; + } + type LodashRestFrom1x1 = (func: (...args: any[]) => any) => (...args: any[]) => any; + type LodashRestFrom1x2 = (start: number) => (...args: any[]) => any; + interface LodashResult { + (path: lodash.PropertyPath): LodashResult1x1; + (path: lodash.__, object: any): LodashResult1x2; + (path: lodash.PropertyPath, object: any): TResult; + } + type LodashResult1x1 = (object: any) => TResult; + type LodashResult1x2 = (path: lodash.PropertyPath) => TResult; + type LodashReverse = >(array: TList) => TList; + type LodashRound = (n: number) => number; + type LodashRunInContext = (context: object) => lodash.LoDashStatic; + interface LodashSample { + (collection: readonly [T, ...T[]]): T; + (collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): T | undefined; + (collection: T | null | undefined): T[keyof T] | undefined; + } + interface LodashSampleSize { + (n: number): LodashSampleSize1x1; + (n: lodash.__, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): LodashSampleSize1x2; + (n: number, collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): T[]; + (n: lodash.__, collection: T | null | undefined): LodashSampleSize2x2; + (n: number, collection: T | null | undefined): Array; + } + interface LodashSampleSize1x1 { + (collection: lodash.Dictionary | lodash.NumericDictionary | null | undefined): T[]; + (collection: T | null | undefined): Array; + } + type LodashSampleSize1x2 = (n: number) => T[]; + type LodashSampleSize2x2 = (n: number) => Array; + interface LodashSetWith { + (customizer: lodash.SetWithCustomizer): LodashSetWith1x1; + (customizer: lodash.__, path: lodash.PropertyPath): LodashSetWith1x2; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath): LodashSetWith1x3; + (customizer: lodash.__, path: lodash.__, value: any): LodashSetWith1x4; + (customizer: lodash.SetWithCustomizer, path: lodash.__, value: any): LodashSetWith1x5; + (customizer: lodash.__, path: lodash.PropertyPath, value: any): LodashSetWith1x6; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath, value: any): LodashSetWith1x7; + (customizer: lodash.__, path: lodash.__, value: lodash.__, object: T): LodashSetWith1x8; + (customizer: lodash.SetWithCustomizer, path: lodash.__, value: lodash.__, object: T): LodashSetWith1x9; + (customizer: lodash.__, path: lodash.PropertyPath, value: lodash.__, object: T): LodashSetWith1x10; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath, value: lodash.__, object: T): LodashSetWith1x11; + (customizer: lodash.__, path: lodash.__, value: any, object: T): LodashSetWith1x12; + (customizer: lodash.SetWithCustomizer, path: lodash.__, value: any, object: T): LodashSetWith1x13; + (customizer: lodash.__, path: lodash.PropertyPath, value: any, object: T): LodashSetWith1x14; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath, value: any, object: T): T; + } + interface LodashSetWith1x1 { + (path: lodash.PropertyPath): LodashSetWith1x3; + (path: lodash.__, value: any): LodashSetWith1x5; + (path: lodash.PropertyPath, value: any): LodashSetWith1x7; + (path: lodash.__, value: lodash.__, object: T): LodashSetWith1x9; + (path: lodash.PropertyPath, value: lodash.__, object: T): LodashSetWith1x11; + (path: lodash.__, value: any, object: T): LodashSetWith1x13; + (path: lodash.PropertyPath, value: any, object: T): T; + } + interface LodashSetWith1x2 { + (customizer: lodash.SetWithCustomizer): LodashSetWith1x3; + (customizer: lodash.__, value: any): LodashSetWith1x6; + (customizer: lodash.SetWithCustomizer, value: any): LodashSetWith1x7; + (customizer: lodash.__, value: lodash.__, object: T): LodashSetWith1x10; + (customizer: lodash.SetWithCustomizer, value: lodash.__, object: T): LodashSetWith1x11; + (customizer: lodash.__, value: any, object: T): LodashSetWith1x14; + (customizer: lodash.SetWithCustomizer, value: any, object: T): T; + } + interface LodashSetWith1x3 { + (value: any): LodashSetWith1x7; + (value: lodash.__, object: T): LodashSetWith1x11; + (value: any, object: T): T; + } + interface LodashSetWith1x4 { + (customizer: lodash.SetWithCustomizer): LodashSetWith1x5; + (customizer: lodash.__, path: lodash.PropertyPath): LodashSetWith1x6; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath): LodashSetWith1x7; + (customizer: lodash.__, path: lodash.__, object: T): LodashSetWith1x12; + (customizer: lodash.SetWithCustomizer, path: lodash.__, object: T): LodashSetWith1x13; + (customizer: lodash.__, path: lodash.PropertyPath, object: T): LodashSetWith1x14; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath, object: T): T; + } + interface LodashSetWith1x5 { + (path: lodash.PropertyPath): LodashSetWith1x7; + (path: lodash.__, object: T): LodashSetWith1x13; + (path: lodash.PropertyPath, object: T): T; + } + interface LodashSetWith1x6 { + (customizer: lodash.SetWithCustomizer): LodashSetWith1x7; + (customizer: lodash.__, object: T): LodashSetWith1x14; + (customizer: lodash.SetWithCustomizer, object: T): T; + } + type LodashSetWith1x7 = (object: T) => T; + interface LodashSetWith1x8 { + (customizer: lodash.SetWithCustomizer): LodashSetWith1x9; + (customizer: lodash.__, path: lodash.PropertyPath): LodashSetWith1x10; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath): LodashSetWith1x11; + (customizer: lodash.__, path: lodash.__, value: any): LodashSetWith1x12; + (customizer: lodash.SetWithCustomizer, path: lodash.__, value: any): LodashSetWith1x13; + (customizer: lodash.__, path: lodash.PropertyPath, value: any): LodashSetWith1x14; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath, value: any): T; + } + interface LodashSetWith1x9 { + (path: lodash.PropertyPath): LodashSetWith1x11; + (path: lodash.__, value: any): LodashSetWith1x13; + (path: lodash.PropertyPath, value: any): T; + } + interface LodashSetWith1x10 { + (customizer: lodash.SetWithCustomizer): LodashSetWith1x11; + (customizer: lodash.__, value: any): LodashSetWith1x14; + (customizer: lodash.SetWithCustomizer, value: any): T; + } + type LodashSetWith1x11 = (value: any) => T; + interface LodashSetWith1x12 { + (customizer: lodash.SetWithCustomizer): LodashSetWith1x13; + (customizer: lodash.__, path: lodash.PropertyPath): LodashSetWith1x14; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath): T; + } + type LodashSetWith1x13 = (path: lodash.PropertyPath) => T; + type LodashSetWith1x14 = (customizer: lodash.SetWithCustomizer) => T; + interface LodashShuffle { + (collection: lodash.List | null | undefined): T[]; + (collection: T | null | undefined): Array; + } + type LodashSize = (collection: object | string | null | undefined) => number; + interface LodashSlice { + (start: number): LodashSlice1x1; + (start: lodash.__, end: number): LodashSlice1x2; + (start: number, end: number): LodashSlice1x3; + (start: lodash.__, end: lodash.__, array: lodash.List | null | undefined): LodashSlice1x4; + (start: number, end: lodash.__, array: lodash.List | null | undefined): LodashSlice1x5; + (start: lodash.__, end: number, array: lodash.List | null | undefined): LodashSlice1x6; + (start: number, end: number, array: lodash.List | null | undefined): T[]; + } + interface LodashSlice1x1 { + (end: number): LodashSlice1x3; + (end: lodash.__, array: lodash.List | null | undefined): LodashSlice1x5; + (end: number, array: lodash.List | null | undefined): T[]; + } + interface LodashSlice1x2 { + (start: number): LodashSlice1x3; + (start: lodash.__, array: lodash.List | null | undefined): LodashSlice1x6; + (start: number, array: lodash.List | null | undefined): T[]; + } + type LodashSlice1x3 = (array: lodash.List | null | undefined) => T[]; + interface LodashSlice1x4 { + (start: number): LodashSlice1x5; + (start: lodash.__, end: number): LodashSlice1x6; + (start: number, end: number): T[]; + } + type LodashSlice1x5 = (end: number) => T[]; + type LodashSlice1x6 = (start: number) => T[]; + type LodashSnakeCase = (string: string) => string; + interface LodashSortBy { + (iteratees: lodash.Many>): LodashSortBy1x1; + (iteratees: lodash.__, collection: lodash.List | null | undefined): LodashSortBy1x2; + (iteratees: lodash.Many>, collection: lodash.List | null | undefined): T[]; + (iteratees: lodash.__, collection: T | null | undefined): LodashSortBy2x2; + (iteratees: lodash.Many>, collection: T | null | undefined): Array; + } + type LodashSortBy1x1 = (collection: lodash.List | object | null | undefined) => T[]; + type LodashSortBy1x2 = (iteratees: lodash.Many>) => T[]; + type LodashSortBy2x2 = (iteratees: lodash.Many>) => Array; + interface LodashSortedIndex { + (value: T): LodashSortedIndex1x1; + (value: lodash.__, array: lodash.List | null | undefined): LodashSortedIndex1x2; + (value: T, array: lodash.List | null | undefined): number; + } + type LodashSortedIndex1x1 = (array: lodash.List | null | undefined) => number; + type LodashSortedIndex1x2 = (value: T) => number; + interface LodashSortedIndexBy { + (iteratee: lodash.ValueIteratee): LodashSortedIndexBy1x1; + (iteratee: lodash.__, value: T): LodashSortedIndexBy1x2; + (iteratee: lodash.ValueIteratee, value: T): LodashSortedIndexBy1x3; + (iteratee: lodash.__, value: lodash.__, array: lodash.List | null | undefined): LodashSortedIndexBy1x4; + (iteratee: lodash.ValueIteratee, value: lodash.__, array: lodash.List | null | undefined): LodashSortedIndexBy1x5; + (iteratee: lodash.__, value: T, array: lodash.List | null | undefined): LodashSortedIndexBy1x6; + (iteratee: lodash.ValueIteratee, value: T, array: lodash.List | null | undefined): number; + } + interface LodashSortedIndexBy1x1 { + (value: T): LodashSortedIndexBy1x3; + (value: lodash.__, array: lodash.List | null | undefined): LodashSortedIndexBy1x5; + (value: T, array: lodash.List | null | undefined): number; + } + interface LodashSortedIndexBy1x2 { + (iteratee: lodash.ValueIteratee): LodashSortedIndexBy1x3; + (iteratee: lodash.__, array: lodash.List | null | undefined): LodashSortedIndexBy1x6; + (iteratee: lodash.ValueIteratee, array: lodash.List | null | undefined): number; + } + type LodashSortedIndexBy1x3 = (array: lodash.List | null | undefined) => number; + interface LodashSortedIndexBy1x4 { + (iteratee: lodash.ValueIteratee): LodashSortedIndexBy1x5; + (iteratee: lodash.__, value: T): LodashSortedIndexBy1x6; + (iteratee: lodash.ValueIteratee, value: T): number; + } + type LodashSortedIndexBy1x5 = (value: T) => number; + type LodashSortedIndexBy1x6 = (iteratee: lodash.ValueIteratee) => number; + interface LodashSortedIndexOf { + (value: T): LodashSortedIndexOf1x1; + (value: lodash.__, array: lodash.List | null | undefined): LodashSortedIndexOf1x2; + (value: T, array: lodash.List | null | undefined): number; + } + type LodashSortedIndexOf1x1 = (array: lodash.List | null | undefined) => number; + type LodashSortedIndexOf1x2 = (value: T) => number; + interface LodashSortedLastIndex { + (value: T): LodashSortedLastIndex1x1; + (value: lodash.__, array: lodash.List | null | undefined): LodashSortedLastIndex1x2; + (value: T, array: lodash.List | null | undefined): number; + } + type LodashSortedLastIndex1x1 = (array: lodash.List | null | undefined) => number; + type LodashSortedLastIndex1x2 = (value: T) => number; + interface LodashSortedLastIndexBy { + (iteratee: lodash.ValueIteratee): LodashSortedLastIndexBy1x1; + (iteratee: lodash.__, value: T): LodashSortedLastIndexBy1x2; + (iteratee: lodash.ValueIteratee, value: T): LodashSortedLastIndexBy1x3; + (iteratee: lodash.__, value: lodash.__, array: lodash.List | null | undefined): LodashSortedLastIndexBy1x4; + (iteratee: lodash.ValueIteratee, value: lodash.__, array: lodash.List | null | undefined): LodashSortedLastIndexBy1x5; + (iteratee: lodash.__, value: T, array: lodash.List | null | undefined): LodashSortedLastIndexBy1x6; + (iteratee: lodash.ValueIteratee, value: T, array: lodash.List | null | undefined): number; + } + interface LodashSortedLastIndexBy1x1 { + (value: T): LodashSortedLastIndexBy1x3; + (value: lodash.__, array: lodash.List | null | undefined): LodashSortedLastIndexBy1x5; + (value: T, array: lodash.List | null | undefined): number; + } + interface LodashSortedLastIndexBy1x2 { + (iteratee: lodash.ValueIteratee): LodashSortedLastIndexBy1x3; + (iteratee: lodash.__, array: lodash.List | null | undefined): LodashSortedLastIndexBy1x6; + (iteratee: lodash.ValueIteratee, array: lodash.List | null | undefined): number; + } + type LodashSortedLastIndexBy1x3 = (array: lodash.List | null | undefined) => number; + interface LodashSortedLastIndexBy1x4 { + (iteratee: lodash.ValueIteratee): LodashSortedLastIndexBy1x5; + (iteratee: lodash.__, value: T): LodashSortedLastIndexBy1x6; + (iteratee: lodash.ValueIteratee, value: T): number; + } + type LodashSortedLastIndexBy1x5 = (value: T) => number; + type LodashSortedLastIndexBy1x6 = (iteratee: lodash.ValueIteratee) => number; + interface LodashSortedLastIndexOf { + (value: T): LodashSortedLastIndexOf1x1; + (value: lodash.__, array: lodash.List | null | undefined): LodashSortedLastIndexOf1x2; + (value: T, array: lodash.List | null | undefined): number; + } + type LodashSortedLastIndexOf1x1 = (array: lodash.List | null | undefined) => number; + type LodashSortedLastIndexOf1x2 = (value: T) => number; + type LodashSortedUniq = (array: lodash.List | null | undefined) => T[]; + interface LodashSortedUniqBy { + (iteratee: lodash.ValueIteratee): LodashSortedUniqBy1x1; + (iteratee: lodash.__, array: lodash.List | null | undefined): LodashSortedUniqBy1x2; + (iteratee: lodash.ValueIteratee, array: lodash.List | null | undefined): T[]; + } + type LodashSortedUniqBy1x1 = (array: lodash.List | null | undefined) => T[]; + type LodashSortedUniqBy1x2 = (iteratee: lodash.ValueIteratee) => T[]; + interface LodashSplit { + (separator: RegExp | string): LodashSplit1x1; + (separator: lodash.__, string: string | null | undefined): LodashSplit1x2; + (separator: RegExp | string, string: string | null | undefined): string[]; + } + type LodashSplit1x1 = (string: string | null | undefined) => string[]; + type LodashSplit1x2 = (separator: RegExp | string) => string[]; + type LodashSpread = (func: (...args: any[]) => TResult) => (...args: any[]) => TResult; + interface LodashSpreadFrom { + (start: number): LodashSpreadFrom1x1; + (start: lodash.__, func: (...args: any[]) => TResult): LodashSpreadFrom1x2; + (start: number, func: (...args: any[]) => TResult): (...args: any[]) => TResult; + } + type LodashSpreadFrom1x1 = (func: (...args: any[]) => TResult) => (...args: any[]) => TResult; + type LodashSpreadFrom1x2 = (start: number) => (...args: any[]) => TResult; + type LodashStartCase = (string: string) => string; + interface LodashStartsWith { + (target: string): LodashStartsWith1x1; + (target: lodash.__, string: string): LodashStartsWith1x2; + (target: string, string: string): boolean; + } + type LodashStartsWith1x1 = (string: string) => boolean; + type LodashStartsWith1x2 = (target: string) => boolean; + type LodashStubArray = () => any[]; + type LodashStubObject = () => any; + type LodashStubString = () => string; + type LodashStubTrue = () => true; + interface LodashSubtract { + (minuend: number): LodashSubtract1x1; + (minuend: lodash.__, subtrahend: number): LodashSubtract1x2; + (minuend: number, subtrahend: number): number; + } + type LodashSubtract1x1 = (subtrahend: number) => number; + type LodashSubtract1x2 = (minuend: number) => number; + type LodashSum = (collection: lodash.List | null | undefined) => number; + interface LodashSumBy { + (iteratee: ((value: T) => number) | string): LodashSumBy1x1; + (iteratee: lodash.__, collection: lodash.List | null | undefined): LodashSumBy1x2; + (iteratee: ((value: T) => number) | string, collection: lodash.List | null | undefined): number; + } + type LodashSumBy1x1 = (collection: lodash.List | null | undefined) => number; + type LodashSumBy1x2 = (iteratee: ((value: T) => number) | string) => number; + interface LodashXor { + (arrays2: lodash.List | null | undefined): LodashXor1x1; + (arrays2: lodash.__, arrays: lodash.List | null | undefined): LodashXor1x2; + (arrays2: lodash.List | null | undefined, arrays: lodash.List | null | undefined): T[]; + } + type LodashXor1x1 = (arrays: lodash.List | null | undefined) => T[]; + type LodashXor1x2 = (arrays2: lodash.List | null | undefined) => T[]; + interface LodashXorBy { + (iteratee: lodash.ValueIteratee): LodashXorBy1x1; + (iteratee: lodash.__, arrays: lodash.List | null | undefined): LodashXorBy1x2; + (iteratee: lodash.ValueIteratee, arrays: lodash.List | null | undefined): LodashXorBy1x3; + (iteratee: lodash.__, arrays: lodash.__, arrays2: lodash.List | null | undefined): LodashXorBy1x4; + (iteratee: lodash.ValueIteratee, arrays: lodash.__, arrays2: lodash.List | null | undefined): LodashXorBy1x5; + (iteratee: lodash.__, arrays: lodash.List | null | undefined, arrays2: lodash.List | null | undefined): LodashXorBy1x6; + (iteratee: lodash.ValueIteratee, arrays: lodash.List | null | undefined, arrays2: lodash.List | null | undefined): T[]; + } + interface LodashXorBy1x1 { + (arrays: lodash.List | null | undefined): LodashXorBy1x3; + (arrays: lodash.__, arrays2: lodash.List | null | undefined): LodashXorBy1x5; + (arrays: lodash.List | null | undefined, arrays2: lodash.List | null | undefined): T[]; + } + interface LodashXorBy1x2 { + (iteratee: lodash.ValueIteratee): LodashXorBy1x3; + (iteratee: lodash.__, arrays2: lodash.List | null | undefined): LodashXorBy1x6; + (iteratee: lodash.ValueIteratee, arrays2: lodash.List | null | undefined): T[]; + } + type LodashXorBy1x3 = (arrays2: lodash.List | null | undefined) => T[]; + interface LodashXorBy1x4 { + (iteratee: lodash.ValueIteratee): LodashXorBy1x5; + (iteratee: lodash.__, arrays: lodash.List | null | undefined): LodashXorBy1x6; + (iteratee: lodash.ValueIteratee, arrays: lodash.List | null | undefined): T[]; + } + type LodashXorBy1x5 = (arrays: lodash.List | null | undefined) => T[]; + type LodashXorBy1x6 = (iteratee: lodash.ValueIteratee) => T[]; + interface LodashXorWith { + (comparator: lodash.Comparator): LodashXorWith1x1; + (comparator: lodash.__, arrays: lodash.List | null | undefined): LodashXorWith1x2; + (comparator: lodash.Comparator, arrays: lodash.List | null | undefined): LodashXorWith1x3; + (comparator: lodash.__, arrays: lodash.__, arrays2: lodash.List | null | undefined): LodashXorWith1x4; + (comparator: lodash.Comparator, arrays: lodash.__, arrays2: lodash.List | null | undefined): LodashXorWith1x5; + (comparator: lodash.__, arrays: lodash.List | null | undefined, arrays2: lodash.List | null | undefined): LodashXorWith1x6; + (comparator: lodash.Comparator, arrays: lodash.List | null | undefined, arrays2: lodash.List | null | undefined): T[]; + } + interface LodashXorWith1x1 { + (arrays: lodash.List | null | undefined): LodashXorWith1x3; + (arrays: lodash.__, arrays2: lodash.List | null | undefined): LodashXorWith1x5; + (arrays: lodash.List | null | undefined, arrays2: lodash.List | null | undefined): T[]; + } + interface LodashXorWith1x2 { + (comparator: lodash.Comparator): LodashXorWith1x3; + (comparator: lodash.__, arrays2: lodash.List | null | undefined): LodashXorWith1x6; + (comparator: lodash.Comparator, arrays2: lodash.List | null | undefined): T[]; + } + type LodashXorWith1x3 = (arrays2: lodash.List | null | undefined) => T[]; + interface LodashXorWith1x4 { + (comparator: lodash.Comparator): LodashXorWith1x5; + (comparator: lodash.__, arrays: lodash.List | null | undefined): LodashXorWith1x6; + (comparator: lodash.Comparator, arrays: lodash.List | null | undefined): T[]; + } + type LodashXorWith1x5 = (arrays: lodash.List | null | undefined) => T[]; + type LodashXorWith1x6 = (comparator: lodash.Comparator) => T[]; + type LodashTail = (array: lodash.List | null | undefined) => T[]; + interface LodashTake { + (n: number): LodashTake1x1; + (n: lodash.__, array: lodash.List | null | undefined): LodashTake1x2; + (n: number, array: lodash.List | null | undefined): T[]; + } + type LodashTake1x1 = (array: lodash.List | null | undefined) => T[]; + type LodashTake1x2 = (n: number) => T[]; + interface LodashTakeRight { + (n: number): LodashTakeRight1x1; + (n: lodash.__, array: lodash.List | null | undefined): LodashTakeRight1x2; + (n: number, array: lodash.List | null | undefined): T[]; + } + type LodashTakeRight1x1 = (array: lodash.List | null | undefined) => T[]; + type LodashTakeRight1x2 = (n: number) => T[]; + interface LodashTakeRightWhile { + (predicate: lodash.ValueIteratee): LodashTakeRightWhile1x1; + (predicate: lodash.__, array: lodash.List | null | undefined): LodashTakeRightWhile1x2; + (predicate: lodash.ValueIteratee, array: lodash.List | null | undefined): T[]; + } + type LodashTakeRightWhile1x1 = (array: lodash.List | null | undefined) => T[]; + type LodashTakeRightWhile1x2 = (predicate: lodash.ValueIteratee) => T[]; + interface LodashTakeWhile { + (predicate: lodash.ValueIteratee): LodashTakeWhile1x1; + (predicate: lodash.__, array: lodash.List | null | undefined): LodashTakeWhile1x2; + (predicate: lodash.ValueIteratee, array: lodash.List | null | undefined): T[]; + } + type LodashTakeWhile1x1 = (array: lodash.List | null | undefined) => T[]; + type LodashTakeWhile1x2 = (predicate: lodash.ValueIteratee) => T[]; + interface LodashTap { + (interceptor: (value: T) => void): LodashTap1x1; + (interceptor: lodash.__, value: T): LodashTap1x2; + (interceptor: (value: T) => void, value: T): T; + } + type LodashTap1x1 = (value: T) => T; + type LodashTap1x2 = (interceptor: (value: T) => void) => T; + type LodashTemplate = (string: string) => lodash.TemplateExecutor; + interface LodashThrottle { + (wait: number): LodashThrottle1x1; + any>(wait: lodash.__, func: T): LodashThrottle1x2; + any>(wait: number, func: T): lodash.DebouncedFunc; + } + type LodashThrottle1x1 = any>(func: T) => lodash.DebouncedFunc; + type LodashThrottle1x2 any> = (wait: number) => lodash.DebouncedFunc; + interface LodashThru { + (interceptor: (value: T) => TResult): LodashThru1x1; + (interceptor: lodash.__, value: T): LodashThru1x2; + (interceptor: (value: T) => TResult, value: T): TResult; + } + type LodashThru1x1 = (value: T) => TResult; + type LodashThru1x2 = (interceptor: (value: T) => TResult) => TResult; + interface LodashTimes { + (iteratee: (num: number) => TResult): LodashTimes1x1; + (iteratee: lodash.__, n: number): LodashTimes1x2; + (iteratee: (num: number) => TResult, n: number): TResult[]; + } + type LodashTimes1x1 = (n: number) => TResult[]; + type LodashTimes1x2 = (iteratee: (num: number) => TResult) => TResult[]; + interface LodashToArray { + (value: lodash.Dictionary | lodash.NumericDictionary | null | undefined): T[]; + (value: T): Array; + (): any[]; + } + type LodashToFinite = (value: any) => number; + type LodashToInteger = (value: any) => number; + type LodashToLength = (value: any) => number; + type LodashToLower = (string: string) => string; + type LodashToNumber = (value: any) => number; + type LodashToPath = (value: any) => string[]; + type LodashToPlainObject = (value: any) => any; + type LodashToSafeInteger = (value: any) => number; + type LodashToString = (value: any) => string; + type LodashToUpper = (string: string) => string; + interface LodashTransform { + (iteratee: lodash.MemoVoidIteratorCapped): LodashTransform1x1; + (iteratee: lodash.__, accumulator: TResult): LodashTransform1x2; + (iteratee: lodash.MemoVoidIteratorCapped, accumulator: TResult): LodashTransform1x3; + (iteratee: lodash.__, accumulator: lodash.__, object: readonly T[]): LodashTransform1x4; + (iteratee: lodash.MemoVoidIteratorCapped, accumulator: lodash.__, object: readonly T[]): LodashTransform1x5; + (iteratee: lodash.__, accumulator: TResult, object: readonly T[]): LodashTransform1x6; + (iteratee: lodash.MemoVoidIteratorCapped, accumulator: TResult, object: readonly T[] | lodash.Dictionary): TResult; + (iteratee: lodash.__, accumulator: lodash.__, object: lodash.Dictionary): LodashTransform2x4; + (iteratee: lodash.MemoVoidIteratorCapped, accumulator: lodash.__, object: lodash.Dictionary): LodashTransform2x5; + (iteratee: lodash.__, accumulator: TResult, object: lodash.Dictionary): LodashTransform2x6; + } + interface LodashTransform1x1 { + (accumulator: TResult): LodashTransform1x3; + (accumulator: lodash.__, object: readonly T[]): LodashTransform1x5; + (accumulator: TResult, object: readonly T[] | lodash.Dictionary): TResult; + (accumulator: lodash.__, object: lodash.Dictionary): LodashTransform2x5; + } + interface LodashTransform1x2 { + (iteratee: lodash.MemoVoidIteratorCapped): LodashTransform1x3; + (iteratee: lodash.__, object: readonly T[]): LodashTransform1x6; + (iteratee: lodash.MemoVoidIteratorCapped, object: readonly T[] | lodash.Dictionary): TResult; + (iteratee: lodash.__, object: lodash.Dictionary): LodashTransform2x6; + } + type LodashTransform1x3 = (object: readonly T[] | lodash.Dictionary) => TResult; + interface LodashTransform1x4 { + (iteratee: lodash.MemoVoidIteratorCapped): LodashTransform1x5; + (iteratee: lodash.__, accumulator: TResult): LodashTransform1x6; + (iteratee: lodash.MemoVoidIteratorCapped, accumulator: TResult): TResult; + } + type LodashTransform1x5 = (accumulator: TResult) => TResult; + type LodashTransform1x6 = (iteratee: lodash.MemoVoidIteratorCapped) => TResult; + interface LodashTransform2x4 { + (iteratee: lodash.MemoVoidIteratorCapped): LodashTransform2x5; + (iteratee: lodash.__, accumulator: TResult): LodashTransform2x6; + (iteratee: lodash.MemoVoidIteratorCapped, accumulator: TResult): TResult; + } + type LodashTransform2x5 = (accumulator: TResult) => TResult; + type LodashTransform2x6 = (iteratee: lodash.MemoVoidIteratorCapped) => TResult; + type LodashTrim = (string: string) => string; + interface LodashTrimChars { + (chars: string): LodashTrimChars1x1; + (chars: lodash.__, string: string): LodashTrimChars1x2; + (chars: string, string: string): string; + } + type LodashTrimChars1x1 = (string: string) => string; + type LodashTrimChars1x2 = (chars: string) => string; + interface LodashTrimCharsEnd { + (chars: string): LodashTrimCharsEnd1x1; + (chars: lodash.__, string: string): LodashTrimCharsEnd1x2; + (chars: string, string: string): string; + } + type LodashTrimCharsEnd1x1 = (string: string) => string; + type LodashTrimCharsEnd1x2 = (chars: string) => string; + interface LodashTrimCharsStart { + (chars: string): LodashTrimCharsStart1x1; + (chars: lodash.__, string: string): LodashTrimCharsStart1x2; + (chars: string, string: string): string; + } + type LodashTrimCharsStart1x1 = (string: string) => string; + type LodashTrimCharsStart1x2 = (chars: string) => string; + type LodashTrimEnd = (string: string) => string; + type LodashTrimStart = (string: string) => string; + interface LodashTruncate { + (options: lodash.TruncateOptions): LodashTruncate1x1; + (options: lodash.__, string: string): LodashTruncate1x2; + (options: lodash.TruncateOptions, string: string): string; + } + type LodashTruncate1x1 = (string: string) => string; + type LodashTruncate1x2 = (options: lodash.TruncateOptions) => string; + type LodashUnapply = (func: (...args: any[]) => any) => (...args: any[]) => any; + type LodashUnary = (func: (arg1: T, ...args: any[]) => TResult) => (arg1: T) => TResult; + type LodashUnescape = (string: string) => string; + interface LodashUnion { + (arrays2: lodash.List | null | undefined): LodashUnion1x1; + (arrays2: lodash.__, arrays: lodash.List | null | undefined): LodashUnion1x2; + (arrays2: lodash.List | null | undefined, arrays: lodash.List | null | undefined): T[]; + } + type LodashUnion1x1 = (arrays: lodash.List | null | undefined) => T[]; + type LodashUnion1x2 = (arrays2: lodash.List | null | undefined) => T[]; + interface LodashUnionBy { + (iteratee: lodash.ValueIteratee): LodashUnionBy1x1; + (iteratee: lodash.__, arrays1: lodash.List | null | undefined): LodashUnionBy1x2; + (iteratee: lodash.ValueIteratee, arrays1: lodash.List | null | undefined): LodashUnionBy1x3; + (iteratee: lodash.__, arrays1: lodash.__, arrays2: lodash.List | null | undefined): LodashUnionBy1x4; + (iteratee: lodash.ValueIteratee, arrays1: lodash.__, arrays2: lodash.List | null | undefined): LodashUnionBy1x5; + (iteratee: lodash.__, arrays1: lodash.List | null | undefined, arrays2: lodash.List | null | undefined): LodashUnionBy1x6; + (iteratee: lodash.ValueIteratee, arrays1: lodash.List | null | undefined, arrays2: lodash.List | null | undefined): T[]; + } + interface LodashUnionBy1x1 { + (arrays1: lodash.List | null | undefined): LodashUnionBy1x3; + (arrays1: lodash.__, arrays2: lodash.List | null | undefined): LodashUnionBy1x5; + (arrays1: lodash.List | null | undefined, arrays2: lodash.List | null | undefined): T[]; + } + interface LodashUnionBy1x2 { + (iteratee: lodash.ValueIteratee): LodashUnionBy1x3; + (iteratee: lodash.__, arrays2: lodash.List | null | undefined): LodashUnionBy1x6; + (iteratee: lodash.ValueIteratee, arrays2: lodash.List | null | undefined): T[]; + } + type LodashUnionBy1x3 = (arrays2: lodash.List | null | undefined) => T[]; + interface LodashUnionBy1x4 { + (iteratee: lodash.ValueIteratee): LodashUnionBy1x5; + (iteratee: lodash.__, arrays1: lodash.List | null | undefined): LodashUnionBy1x6; + (iteratee: lodash.ValueIteratee, arrays1: lodash.List | null | undefined): T[]; + } + type LodashUnionBy1x5 = (arrays1: lodash.List | null | undefined) => T[]; + type LodashUnionBy1x6 = (iteratee: lodash.ValueIteratee) => T[]; + interface LodashUnionWith { + (comparator: lodash.Comparator): LodashUnionWith1x1; + (comparator: lodash.__, arrays: lodash.List | null | undefined): LodashUnionWith1x2; + (comparator: lodash.Comparator, arrays: lodash.List | null | undefined): LodashUnionWith1x3; + (comparator: lodash.__, arrays: lodash.__, arrays2: lodash.List | null | undefined): LodashUnionWith1x4; + (comparator: lodash.Comparator, arrays: lodash.__, arrays2: lodash.List | null | undefined): LodashUnionWith1x5; + (comparator: lodash.__, arrays: lodash.List | null | undefined, arrays2: lodash.List | null | undefined): LodashUnionWith1x6; + (comparator: lodash.Comparator, arrays: lodash.List | null | undefined, arrays2: lodash.List | null | undefined): T[]; + } + interface LodashUnionWith1x1 { + (arrays: lodash.List | null | undefined): LodashUnionWith1x3; + (arrays: lodash.__, arrays2: lodash.List | null | undefined): LodashUnionWith1x5; + (arrays: lodash.List | null | undefined, arrays2: lodash.List | null | undefined): T[]; + } + interface LodashUnionWith1x2 { + (comparator: lodash.Comparator): LodashUnionWith1x3; + (comparator: lodash.__, arrays2: lodash.List | null | undefined): LodashUnionWith1x6; + (comparator: lodash.Comparator, arrays2: lodash.List | null | undefined): T[]; + } + type LodashUnionWith1x3 = (arrays2: lodash.List | null | undefined) => T[]; + interface LodashUnionWith1x4 { + (comparator: lodash.Comparator): LodashUnionWith1x5; + (comparator: lodash.__, arrays: lodash.List | null | undefined): LodashUnionWith1x6; + (comparator: lodash.Comparator, arrays: lodash.List | null | undefined): T[]; + } + type LodashUnionWith1x5 = (arrays: lodash.List | null | undefined) => T[]; + type LodashUnionWith1x6 = (comparator: lodash.Comparator) => T[]; + type LodashUniq = (array: lodash.List | null | undefined) => T[]; + interface LodashUniqBy { + (iteratee: lodash.ValueIteratee): LodashUniqBy1x1; + (iteratee: lodash.__, array: lodash.List | null | undefined): LodashUniqBy1x2; + (iteratee: lodash.ValueIteratee, array: lodash.List | null | undefined): T[]; + } + type LodashUniqBy1x1 = (array: lodash.List | null | undefined) => T[]; + type LodashUniqBy1x2 = (iteratee: lodash.ValueIteratee) => T[]; + type LodashUniqueId = (prefix: string) => string; + interface LodashUniqWith { + (comparator: lodash.Comparator): LodashUniqWith1x1; + (comparator: lodash.__, array: lodash.List | null | undefined): LodashUniqWith1x2; + (comparator: lodash.Comparator, array: lodash.List | null | undefined): T[]; + } + type LodashUniqWith1x1 = (array: lodash.List | null | undefined) => T[]; + type LodashUniqWith1x2 = (comparator: lodash.Comparator) => T[]; + type LodashUnzip = (array: T[][] | lodash.List> | null | undefined) => T[][]; + interface LodashUnzipWith { + (iteratee: (...values: T[]) => TResult): LodashUnzipWith1x1; + (iteratee: lodash.__, array: lodash.List> | null | undefined): LodashUnzipWith1x2; + (iteratee: (...values: T[]) => TResult, array: lodash.List> | null | undefined): TResult[]; + } + type LodashUnzipWith1x1 = (array: lodash.List> | null | undefined) => TResult[]; + type LodashUnzipWith1x2 = (iteratee: (...values: T[]) => TResult) => TResult[]; + interface LodashUpdate { + (path: lodash.PropertyPath): LodashUpdate1x1; + (path: lodash.__, updater: (value: any) => any): LodashUpdate1x2; + (path: lodash.PropertyPath, updater: (value: any) => any): LodashUpdate1x3; + (path: lodash.__, updater: lodash.__, object: object): LodashUpdate1x4; + (path: lodash.PropertyPath, updater: lodash.__, object: object): LodashUpdate1x5; + (path: lodash.__, updater: (value: any) => any, object: object): LodashUpdate1x6; + (path: lodash.PropertyPath, updater: (value: any) => any, object: object): any; + } + interface LodashUpdate1x1 { + (updater: (value: any) => any): LodashUpdate1x3; + (updater: lodash.__, object: object): LodashUpdate1x5; + (updater: (value: any) => any, object: object): any; + } + interface LodashUpdate1x2 { + (path: lodash.PropertyPath): LodashUpdate1x3; + (path: lodash.__, object: object): LodashUpdate1x6; + (path: lodash.PropertyPath, object: object): any; + } + type LodashUpdate1x3 = (object: object) => any; + interface LodashUpdate1x4 { + (path: lodash.PropertyPath): LodashUpdate1x5; + (path: lodash.__, updater: (value: any) => any): LodashUpdate1x6; + (path: lodash.PropertyPath, updater: (value: any) => any): any; + } + type LodashUpdate1x5 = (updater: (value: any) => any) => any; + type LodashUpdate1x6 = (path: lodash.PropertyPath) => any; + interface LodashUpdateWith { + (customizer: lodash.SetWithCustomizer): LodashUpdateWith1x1; + (customizer: lodash.__, path: lodash.PropertyPath): LodashUpdateWith1x2; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath): LodashUpdateWith1x3; + (customizer: lodash.__, path: lodash.__, updater: (oldValue: any) => any): LodashUpdateWith1x4; + (customizer: lodash.SetWithCustomizer, path: lodash.__, updater: (oldValue: any) => any): LodashUpdateWith1x5; + (customizer: lodash.__, path: lodash.PropertyPath, updater: (oldValue: any) => any): LodashUpdateWith1x6; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath, updater: (oldValue: any) => any): LodashUpdateWith1x7; + (customizer: lodash.__, path: lodash.__, updater: lodash.__, object: T): LodashUpdateWith1x8; + (customizer: lodash.SetWithCustomizer, path: lodash.__, updater: lodash.__, object: T): LodashUpdateWith1x9; + (customizer: lodash.__, path: lodash.PropertyPath, updater: lodash.__, object: T): LodashUpdateWith1x10; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath, updater: lodash.__, object: T): LodashUpdateWith1x11; + (customizer: lodash.__, path: lodash.__, updater: (oldValue: any) => any, object: T): LodashUpdateWith1x12; + (customizer: lodash.SetWithCustomizer, path: lodash.__, updater: (oldValue: any) => any, object: T): LodashUpdateWith1x13; + (customizer: lodash.__, path: lodash.PropertyPath, updater: (oldValue: any) => any, object: T): LodashUpdateWith1x14; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath, updater: (oldValue: any) => any, object: T): T; + } + interface LodashUpdateWith1x1 { + (path: lodash.PropertyPath): LodashUpdateWith1x3; + (path: lodash.__, updater: (oldValue: any) => any): LodashUpdateWith1x5; + (path: lodash.PropertyPath, updater: (oldValue: any) => any): LodashUpdateWith1x7; + (path: lodash.__, updater: lodash.__, object: T): LodashUpdateWith1x9; + (path: lodash.PropertyPath, updater: lodash.__, object: T): LodashUpdateWith1x11; + (path: lodash.__, updater: (oldValue: any) => any, object: T): LodashUpdateWith1x13; + (path: lodash.PropertyPath, updater: (oldValue: any) => any, object: T): T; + } + interface LodashUpdateWith1x2 { + (customizer: lodash.SetWithCustomizer): LodashUpdateWith1x3; + (customizer: lodash.__, updater: (oldValue: any) => any): LodashUpdateWith1x6; + (customizer: lodash.SetWithCustomizer, updater: (oldValue: any) => any): LodashUpdateWith1x7; + (customizer: lodash.__, updater: lodash.__, object: T): LodashUpdateWith1x10; + (customizer: lodash.SetWithCustomizer, updater: lodash.__, object: T): LodashUpdateWith1x11; + (customizer: lodash.__, updater: (oldValue: any) => any, object: T): LodashUpdateWith1x14; + (customizer: lodash.SetWithCustomizer, updater: (oldValue: any) => any, object: T): T; + } + interface LodashUpdateWith1x3 { + (updater: (oldValue: any) => any): LodashUpdateWith1x7; + (updater: lodash.__, object: T): LodashUpdateWith1x11; + (updater: (oldValue: any) => any, object: T): T; + } + interface LodashUpdateWith1x4 { + (customizer: lodash.SetWithCustomizer): LodashUpdateWith1x5; + (customizer: lodash.__, path: lodash.PropertyPath): LodashUpdateWith1x6; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath): LodashUpdateWith1x7; + (customizer: lodash.__, path: lodash.__, object: T): LodashUpdateWith1x12; + (customizer: lodash.SetWithCustomizer, path: lodash.__, object: T): LodashUpdateWith1x13; + (customizer: lodash.__, path: lodash.PropertyPath, object: T): LodashUpdateWith1x14; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath, object: T): T; + } + interface LodashUpdateWith1x5 { + (path: lodash.PropertyPath): LodashUpdateWith1x7; + (path: lodash.__, object: T): LodashUpdateWith1x13; + (path: lodash.PropertyPath, object: T): T; + } + interface LodashUpdateWith1x6 { + (customizer: lodash.SetWithCustomizer): LodashUpdateWith1x7; + (customizer: lodash.__, object: T): LodashUpdateWith1x14; + (customizer: lodash.SetWithCustomizer, object: T): T; + } + type LodashUpdateWith1x7 = (object: T) => T; + interface LodashUpdateWith1x8 { + (customizer: lodash.SetWithCustomizer): LodashUpdateWith1x9; + (customizer: lodash.__, path: lodash.PropertyPath): LodashUpdateWith1x10; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath): LodashUpdateWith1x11; + (customizer: lodash.__, path: lodash.__, updater: (oldValue: any) => any): LodashUpdateWith1x12; + (customizer: lodash.SetWithCustomizer, path: lodash.__, updater: (oldValue: any) => any): LodashUpdateWith1x13; + (customizer: lodash.__, path: lodash.PropertyPath, updater: (oldValue: any) => any): LodashUpdateWith1x14; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath, updater: (oldValue: any) => any): T; + } + interface LodashUpdateWith1x9 { + (path: lodash.PropertyPath): LodashUpdateWith1x11; + (path: lodash.__, updater: (oldValue: any) => any): LodashUpdateWith1x13; + (path: lodash.PropertyPath, updater: (oldValue: any) => any): T; + } + interface LodashUpdateWith1x10 { + (customizer: lodash.SetWithCustomizer): LodashUpdateWith1x11; + (customizer: lodash.__, updater: (oldValue: any) => any): LodashUpdateWith1x14; + (customizer: lodash.SetWithCustomizer, updater: (oldValue: any) => any): T; + } + type LodashUpdateWith1x11 = (updater: (oldValue: any) => any) => T; + interface LodashUpdateWith1x12 { + (customizer: lodash.SetWithCustomizer): LodashUpdateWith1x13; + (customizer: lodash.__, path: lodash.PropertyPath): LodashUpdateWith1x14; + (customizer: lodash.SetWithCustomizer, path: lodash.PropertyPath): T; + } + type LodashUpdateWith1x13 = (path: lodash.PropertyPath) => T; + type LodashUpdateWith1x14 = (customizer: lodash.SetWithCustomizer) => T; + type LodashUpperCase = (string: string) => string; + type LodashUpperFirst = (string: string) => string; + interface LodashValues { + (object: lodash.Dictionary | lodash.NumericDictionary | lodash.List | null | undefined): T[]; + (object: T | null | undefined): Array; + (object: any): any[]; + } + interface LodashValuesIn { + (object: lodash.Dictionary | lodash.NumericDictionary | lodash.List | null | undefined): T[]; + (object: T | null | undefined): Array; + } + interface LodashWithout { + (values: readonly T[]): LodashWithout1x1; + (values: lodash.__, array: lodash.List | null | undefined): LodashWithout1x2; + (values: readonly T[], array: lodash.List | null | undefined): T[]; + } + type LodashWithout1x1 = (array: lodash.List | null | undefined) => T[]; + type LodashWithout1x2 = (values: readonly T[]) => T[]; + type LodashWords = (string: string) => string[]; + interface LodashWrap { + (wrapper: (value: T, ...args: TArgs[]) => TResult): LodashWrap1x1; + (wrapper: lodash.__, value: T): LodashWrap1x2; + (wrapper: (value: T, ...args: TArgs[]) => TResult, value: T): (...args: TArgs[]) => TResult; + } + type LodashWrap1x1 = (value: T) => (...args: TArgs[]) => TResult; + type LodashWrap1x2 = (wrapper: (value: T, ...args: TArgs[]) => TResult) => (...args: TArgs[]) => TResult; + interface LodashZip { + (arrays1: lodash.List): LodashZip1x1; + (arrays1: lodash.__, arrays2: lodash.List): LodashZip1x2; + (arrays1: lodash.List, arrays2: lodash.List): Array<[T1 | undefined, T2 | undefined]>; + } + type LodashZip1x1 = (arrays2: lodash.List) => Array<[T1 | undefined, T2 | undefined]>; + type LodashZip1x2 = (arrays1: lodash.List) => Array<[T1 | undefined, T2 | undefined]>; + interface LodashZipAll { + (arrays1: [lodash.List, lodash.List]): Array<[T1 | undefined, T2 | undefined]>; + (arrays1: [lodash.List, lodash.List, lodash.List]): Array<[T1 | undefined, T2 | undefined, T3 | undefined]>; + (arrays1: [lodash.List, lodash.List, lodash.List, lodash.List]): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined]>; + (arrays1: [lodash.List, lodash.List, lodash.List, lodash.List, lodash.List]): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined, T5 | undefined]>; + (arrays: ReadonlyArray | null | undefined>): Array>; + } + interface LodashZipObject { + (props: lodash.List): LodashZipObject1x1; + (props: lodash.__, values: lodash.List): LodashZipObject1x2; + (props: lodash.List, values: lodash.List): lodash.Dictionary; + } + type LodashZipObject1x1 = (values: lodash.List) => lodash.Dictionary; + type LodashZipObject1x2 = (props: lodash.List) => lodash.Dictionary; + interface LodashZipObjectDeep { + (paths: lodash.List): LodashZipObjectDeep1x1; + (paths: lodash.__, values: lodash.List): LodashZipObjectDeep1x2; + (paths: lodash.List, values: lodash.List): object; + } + type LodashZipObjectDeep1x1 = (values: lodash.List) => object; + type LodashZipObjectDeep1x2 = (paths: lodash.List) => object; + interface LodashZipWith { + (iteratee: (value1: T1, value2: T2) => TResult): LodashZipWith1x1; + (iteratee: lodash.__, arrays1: lodash.List): LodashZipWith1x2; + (iteratee: (value1: T1, value2: T2) => TResult, arrays1: lodash.List): LodashZipWith1x3; + (iteratee: lodash.__, arrays1: lodash.__, arrays2: lodash.List): LodashZipWith1x4; + (iteratee: (value1: T1, value2: T2) => TResult, arrays1: lodash.__, arrays2: lodash.List): LodashZipWith1x5; + (iteratee: lodash.__, arrays1: lodash.List, arrays2: lodash.List): LodashZipWith1x6; + (iteratee: (value1: T1, value2: T2) => TResult, arrays1: lodash.List, arrays2: lodash.List): TResult[]; + } + interface LodashZipWith1x1 { + (arrays1: lodash.List): LodashZipWith1x3; + (arrays1: lodash.__, arrays2: lodash.List): LodashZipWith1x5; + (arrays1: lodash.List, arrays2: lodash.List): TResult[]; + } + interface LodashZipWith1x2 { + (iteratee: (value1: T1, value2: T2) => TResult): LodashZipWith1x3; + (iteratee: lodash.__, arrays2: lodash.List): LodashZipWith1x6; + (iteratee: (value1: T1, value2: T2) => TResult, arrays2: lodash.List): TResult[]; + } + type LodashZipWith1x3 = (arrays2: lodash.List) => TResult[]; + interface LodashZipWith1x4 { + (iteratee: (value1: T1, value2: T2) => TResult): LodashZipWith1x5; + (iteratee: lodash.__, arrays1: lodash.List): LodashZipWith1x6; + (iteratee: (value1: T1, value2: T2) => TResult, arrays1: lodash.List): TResult[]; + } + type LodashZipWith1x5 = (arrays1: lodash.List) => TResult[]; + type LodashZipWith1x6 = (iteratee: (value1: T1, value2: T2) => TResult) => TResult[]; + + interface LoDashFp { + add: LodashAdd; + after: LodashAfter; + all: LodashEvery; + allPass: LodashOverEvery; + always: LodashConstant; + any: LodashSome; + anyPass: LodashOverSome; + apply: LodashApply; + ary: LodashAry; + assign: LodashAssign; + assignAll: LodashAssignAll; + assignAllWith: LodashAssignAllWith; + assignIn: LodashAssignIn; + assignInAll: LodashAssignInAll; + assignInAllWith: LodashAssignInAllWith; + assignInWith: LodashAssignInWith; + assignWith: LodashAssignWith; + assoc: LodashSet; + assocPath: LodashSet; + at: LodashAt; + attempt: LodashAttempt; + before: LodashBefore; + bind: LodashBind; + bindAll: LodashBindAll; + bindKey: LodashBindKey; + camelCase: LodashCamelCase; + capitalize: LodashCapitalize; + castArray: LodashCastArray; + ceil: LodashCeil; + chunk: LodashChunk; + clamp: LodashClamp; + clone: LodashClone; + cloneDeep: LodashCloneDeep; + cloneDeepWith: LodashCloneDeepWith; + cloneWith: LodashCloneWith; + compact: LodashCompact; + complement: LodashNegate; + compose: LodashFlowRight; + concat: LodashConcat; + cond: LodashCond; + conforms: LodashConformsTo; + conformsTo: LodashConformsTo; + constant: LodashConstant; + contains: LodashContains; + countBy: LodashCountBy; + create: LodashCreate; + curry: LodashCurry; + curryN: LodashCurryN; + curryRight: LodashCurryRight; + curryRightN: LodashCurryRightN; + debounce: LodashDebounce; + deburr: LodashDeburr; + defaults: LodashDefaults; + defaultsAll: LodashDefaultsAll; + defaultsDeep: LodashDefaultsDeep; + defaultsDeepAll: LodashDefaultsDeepAll; + defaultTo: LodashDefaultTo; + defer: LodashDefer; + delay: LodashDelay; + difference: LodashDifference; + differenceBy: LodashDifferenceBy; + differenceWith: LodashDifferenceWith; + dissoc: LodashUnset; + dissocPath: LodashUnset; + divide: LodashDivide; + drop: LodashDrop; + dropLast: LodashDropRight; + dropLastWhile: LodashDropRightWhile; + dropRight: LodashDropRight; + dropRightWhile: LodashDropRightWhile; + dropWhile: LodashDropWhile; + each: LodashForEach; + eachRight: LodashForEachRight; + endsWith: LodashEndsWith; + entries: LodashToPairs; + entriesIn: LodashToPairsIn; + eq: LodashEq; + equals: LodashIsEqual; + escape: LodashEscape; + escapeRegExp: LodashEscapeRegExp; + every: LodashEvery; + extend: LodashExtend; + extendAll: LodashExtendAll; + extendAllWith: LodashExtendAllWith; + extendWith: LodashExtendWith; + F: LodashStubFalse; + fill: LodashFill; + filter: LodashFilter; + find: LodashFind; + findFrom: LodashFindFrom; + findIndex: LodashFindIndex; + findIndexFrom: LodashFindIndexFrom; + findKey: LodashFindKey; + findLast: LodashFindLast; + findLastFrom: LodashFindLastFrom; + findLastIndex: LodashFindLastIndex; + findLastIndexFrom: LodashFindLastIndexFrom; + findLastKey: LodashFindLastKey; + first: LodashHead; + flatMap: LodashFlatMap; + flatMapDeep: LodashFlatMapDeep; + flatMapDepth: LodashFlatMapDepth; + flatten: LodashFlatten; + flattenDeep: LodashFlattenDeep; + flattenDepth: LodashFlattenDepth; + flip: LodashFlip; + floor: LodashFloor; + flow: LodashFlow; + flowRight: LodashFlowRight; + forEach: LodashForEach; + forEachRight: LodashForEachRight; + forIn: LodashForIn; + forInRight: LodashForInRight; + forOwn: LodashForOwn; + forOwnRight: LodashForOwnRight; + fromPairs: LodashFromPairs; + functions: LodashFunctions; + functionsIn: LodashFunctionsIn; + get: LodashGet; + getOr: LodashGetOr; + groupBy: LodashGroupBy; + gt: LodashGt; + gte: LodashGte; + has: LodashHas; + hasIn: LodashHasIn; + head: LodashHead; + identical: LodashEq; + identity: LodashIdentity; + includes: LodashIncludes; + includesFrom: LodashIncludesFrom; + indexBy: LodashKeyBy; + indexOf: LodashIndexOf; + indexOfFrom: LodashIndexOfFrom; + init: LodashInitial; + initial: LodashInitial; + inRange: LodashInRange; + intersection: LodashIntersection; + intersectionBy: LodashIntersectionBy; + intersectionWith: LodashIntersectionWith; + invert: LodashInvert; + invertBy: LodashInvertBy; + invertObj: LodashInvert; + invoke: LodashInvoke; + invokeArgs: LodashInvokeArgs; + invokeArgsMap: LodashInvokeArgsMap; + invokeMap: LodashInvokeMap; + isArguments: LodashIsArguments; + isArray: LodashIsArray; + isArrayBuffer: LodashIsArrayBuffer; + isArrayLike: LodashIsArrayLike; + isArrayLikeObject: LodashIsArrayLikeObject; + isBoolean: LodashIsBoolean; + isBuffer: LodashIsBuffer; + isDate: LodashIsDate; + isElement: LodashIsElement; + isEmpty: LodashIsEmpty; + isEqual: LodashIsEqual; + isEqualWith: LodashIsEqualWith; + isError: LodashIsError; + isFinite: LodashIsFinite; + isFunction: LodashIsFunction; + isInteger: LodashIsInteger; + isLength: LodashIsLength; + isMap: LodashIsMap; + isMatch: LodashIsMatch; + isMatchWith: LodashIsMatchWith; + isNaN: LodashIsNaN; + isNative: LodashIsNative; + isNil: LodashIsNil; + isNull: LodashIsNull; + isNumber: LodashIsNumber; + isObject: LodashIsObject; + isObjectLike: LodashIsObjectLike; + isPlainObject: LodashIsPlainObject; + isRegExp: LodashIsRegExp; + isSafeInteger: LodashIsSafeInteger; + isSet: LodashIsSet; + isString: LodashIsString; + isSymbol: LodashIsSymbol; + isTypedArray: LodashIsTypedArray; + isUndefined: LodashIsUndefined; + isWeakMap: LodashIsWeakMap; + isWeakSet: LodashIsWeakSet; + iteratee: LodashIteratee; + join: LodashJoin; + juxt: LodashOver; + kebabCase: LodashKebabCase; + keyBy: LodashKeyBy; + keys: LodashKeys; + keysIn: LodashKeysIn; + last: LodashLast; + lastIndexOf: LodashLastIndexOf; + lastIndexOfFrom: LodashLastIndexOfFrom; + lowerCase: LodashLowerCase; + lowerFirst: LodashLowerFirst; + lt: LodashLt; + lte: LodashLte; + map: LodashMap; + mapKeys: LodashMapKeys; + mapValues: LodashMapValues; + matches: LodashIsMatch; + matchesProperty: LodashMatchesProperty; + max: LodashMax; + maxBy: LodashMaxBy; + mean: LodashMean; + meanBy: LodashMeanBy; + memoize: LodashMemoize; + merge: LodashMerge; + mergeAll: LodashMergeAll; + mergeAllWith: LodashMergeAllWith; + mergeWith: LodashMergeWith; + method: LodashMethod; + methodOf: LodashMethodOf; + min: LodashMin; + minBy: LodashMinBy; + multiply: LodashMultiply; + nAry: LodashAry; + negate: LodashNegate; + noConflict: LodashNoConflict; + noop: LodashNoop; + now: LodashNow; + nth: LodashNth; + nthArg: LodashNthArg; + omit: LodashOmit; + omitAll: LodashOmit; + omitBy: LodashOmitBy; + once: LodashOnce; + orderBy: LodashOrderBy; + over: LodashOver; + overArgs: LodashOverArgs; + overEvery: LodashOverEvery; + overSome: LodashOverSome; + pad: LodashPad; + padChars: LodashPadChars; + padCharsEnd: LodashPadCharsEnd; + padCharsStart: LodashPadCharsStart; + padEnd: LodashPadEnd; + padStart: LodashPadStart; + parseInt: LodashParseInt; + partial: LodashPartial; + partialRight: LodashPartialRight; + partition: LodashPartition; + path: LodashPath; + pathEq: LodashMatchesProperty; + pathOr: LodashPathOr; + paths: LodashAt; + pick: LodashPick; + pickAll: LodashPick; + pickBy: LodashPickBy; + pipe: LodashFlow; + pluck: LodashMap; + prop: LodashProp; + propEq: LodashMatchesProperty; + property: LodashProperty; + propertyOf: LodashPropertyOf; + propOr: LodashPropOr; + props: LodashAt; + pull: LodashPull; + pullAll: LodashPullAll; + pullAllBy: LodashPullAllBy; + pullAllWith: LodashPullAllWith; + pullAt: LodashPullAt; + random: LodashRandom; + range: LodashRange; + rangeRight: LodashRangeRight; + rangeStep: LodashRangeStep; + rangeStepRight: LodashRangeStepRight; + rearg: LodashRearg; + reduce: LodashReduce; + reduceRight: LodashReduceRight; + reject: LodashReject; + remove: LodashRemove; + repeat: LodashRepeat; + replace: LodashReplace; + rest: LodashRest; + restFrom: LodashRestFrom; + result: LodashResult; + reverse: LodashReverse; + round: LodashRound; + runInContext: LodashRunInContext; + sample: LodashSample; + sampleSize: LodashSampleSize; + set: LodashSet; + setWith: LodashSetWith; + shuffle: LodashShuffle; + size: LodashSize; + slice: LodashSlice; + snakeCase: LodashSnakeCase; + some: LodashSome; + sortBy: LodashSortBy; + sortedIndex: LodashSortedIndex; + sortedIndexBy: LodashSortedIndexBy; + sortedIndexOf: LodashSortedIndexOf; + sortedLastIndex: LodashSortedLastIndex; + sortedLastIndexBy: LodashSortedLastIndexBy; + sortedLastIndexOf: LodashSortedLastIndexOf; + sortedUniq: LodashSortedUniq; + sortedUniqBy: LodashSortedUniqBy; + split: LodashSplit; + spread: LodashSpread; + spreadFrom: LodashSpreadFrom; + startCase: LodashStartCase; + startsWith: LodashStartsWith; + stubArray: LodashStubArray; + stubFalse: LodashStubFalse; + stubObject: LodashStubObject; + stubString: LodashStubString; + stubTrue: LodashStubTrue; + subtract: LodashSubtract; + sum: LodashSum; + sumBy: LodashSumBy; + symmetricDifference: LodashXor; + symmetricDifferenceBy: LodashXorBy; + symmetricDifferenceWith: LodashXorWith; + T: LodashStubTrue; + tail: LodashTail; + take: LodashTake; + takeLast: LodashTakeRight; + takeLastWhile: LodashTakeRightWhile; + takeRight: LodashTakeRight; + takeRightWhile: LodashTakeRightWhile; + takeWhile: LodashTakeWhile; + tap: LodashTap; + template: LodashTemplate; + throttle: LodashThrottle; + thru: LodashThru; + times: LodashTimes; + toArray: LodashToArray; + toFinite: LodashToFinite; + toInteger: LodashToInteger; + toLength: LodashToLength; + toLower: LodashToLower; + toNumber: LodashToNumber; + toPairs: LodashToPairs; + toPairsIn: LodashToPairsIn; + toPath: LodashToPath; + toPlainObject: LodashToPlainObject; + toSafeInteger: LodashToSafeInteger; + toString: LodashToString; + toUpper: LodashToUpper; + transform: LodashTransform; + trim: LodashTrim; + trimChars: LodashTrimChars; + trimCharsEnd: LodashTrimCharsEnd; + trimCharsStart: LodashTrimCharsStart; + trimEnd: LodashTrimEnd; + trimStart: LodashTrimStart; + truncate: LodashTruncate; + unapply: LodashUnapply; + unary: LodashUnary; + unescape: LodashUnescape; + union: LodashUnion; + unionBy: LodashUnionBy; + unionWith: LodashUnionWith; + uniq: LodashUniq; + uniqBy: LodashUniqBy; + uniqueId: LodashUniqueId; + uniqWith: LodashUniqWith; + unnest: LodashFlatten; + unset: LodashUnset; + unzip: LodashUnzip; + unzipWith: LodashUnzipWith; + update: LodashUpdate; + updateWith: LodashUpdateWith; + upperCase: LodashUpperCase; + upperFirst: LodashUpperFirst; + useWith: LodashOverArgs; + values: LodashValues; + valuesIn: LodashValuesIn; + where: LodashConformsTo; + whereEq: LodashIsMatch; + without: LodashWithout; + words: LodashWords; + wrap: LodashWrap; + xor: LodashXor; + xorBy: LodashXorBy; + xorWith: LodashXorWith; + zip: LodashZip; + zipAll: LodashZipAll; + zipObj: LodashZipObject; + zipObject: LodashZipObject; + zipObjectDeep: LodashZipObjectDeep; + zipWith: LodashZipWith; + __: lodash.__; + placeholder: lodash.__; + } +} diff --git a/node_modules/@types/lodash/fp/F.d.ts b/node_modules/@types/lodash/fp/F.d.ts new file mode 100644 index 0000000..33fc579 --- /dev/null +++ b/node_modules/@types/lodash/fp/F.d.ts @@ -0,0 +1,2 @@ +import { F } from "../fp"; +export = F; diff --git a/node_modules/@types/lodash/fp/T.d.ts b/node_modules/@types/lodash/fp/T.d.ts new file mode 100644 index 0000000..886606e --- /dev/null +++ b/node_modules/@types/lodash/fp/T.d.ts @@ -0,0 +1,2 @@ +import { T } from "../fp"; +export = T; diff --git a/node_modules/@types/lodash/fp/__.d.ts b/node_modules/@types/lodash/fp/__.d.ts new file mode 100644 index 0000000..aec0a51 --- /dev/null +++ b/node_modules/@types/lodash/fp/__.d.ts @@ -0,0 +1,3 @@ +import _ = require("../index"); +declare const __: _.__; +export = __; diff --git a/node_modules/@types/lodash/fp/add.d.ts b/node_modules/@types/lodash/fp/add.d.ts new file mode 100644 index 0000000..47c9c6a --- /dev/null +++ b/node_modules/@types/lodash/fp/add.d.ts @@ -0,0 +1,2 @@ +import { add } from "../fp"; +export = add; diff --git a/node_modules/@types/lodash/fp/after.d.ts b/node_modules/@types/lodash/fp/after.d.ts new file mode 100644 index 0000000..93863a5 --- /dev/null +++ b/node_modules/@types/lodash/fp/after.d.ts @@ -0,0 +1,2 @@ +import { after } from "../fp"; +export = after; diff --git a/node_modules/@types/lodash/fp/all.d.ts b/node_modules/@types/lodash/fp/all.d.ts new file mode 100644 index 0000000..5ca0f70 --- /dev/null +++ b/node_modules/@types/lodash/fp/all.d.ts @@ -0,0 +1,2 @@ +import { all } from "../fp"; +export = all; diff --git a/node_modules/@types/lodash/fp/allPass.d.ts b/node_modules/@types/lodash/fp/allPass.d.ts new file mode 100644 index 0000000..5013913 --- /dev/null +++ b/node_modules/@types/lodash/fp/allPass.d.ts @@ -0,0 +1,2 @@ +import { allPass } from "../fp"; +export = allPass; diff --git a/node_modules/@types/lodash/fp/always.d.ts b/node_modules/@types/lodash/fp/always.d.ts new file mode 100644 index 0000000..07bd82d --- /dev/null +++ b/node_modules/@types/lodash/fp/always.d.ts @@ -0,0 +1,2 @@ +import { always } from "../fp"; +export = always; diff --git a/node_modules/@types/lodash/fp/any.d.ts b/node_modules/@types/lodash/fp/any.d.ts new file mode 100644 index 0000000..5d8c38f --- /dev/null +++ b/node_modules/@types/lodash/fp/any.d.ts @@ -0,0 +1,2 @@ +import { any } from "../fp"; +export = any; diff --git a/node_modules/@types/lodash/fp/anyPass.d.ts b/node_modules/@types/lodash/fp/anyPass.d.ts new file mode 100644 index 0000000..b69becf --- /dev/null +++ b/node_modules/@types/lodash/fp/anyPass.d.ts @@ -0,0 +1,2 @@ +import { anyPass } from "../fp"; +export = anyPass; diff --git a/node_modules/@types/lodash/fp/apply.d.ts b/node_modules/@types/lodash/fp/apply.d.ts new file mode 100644 index 0000000..e13c42c --- /dev/null +++ b/node_modules/@types/lodash/fp/apply.d.ts @@ -0,0 +1,2 @@ +import { apply } from "../fp"; +export = apply; diff --git a/node_modules/@types/lodash/fp/ary.d.ts b/node_modules/@types/lodash/fp/ary.d.ts new file mode 100644 index 0000000..932d7f4 --- /dev/null +++ b/node_modules/@types/lodash/fp/ary.d.ts @@ -0,0 +1,2 @@ +import { ary } from "../fp"; +export = ary; diff --git a/node_modules/@types/lodash/fp/assign.d.ts b/node_modules/@types/lodash/fp/assign.d.ts new file mode 100644 index 0000000..cf17310 --- /dev/null +++ b/node_modules/@types/lodash/fp/assign.d.ts @@ -0,0 +1,2 @@ +import { assign } from "../fp"; +export = assign; diff --git a/node_modules/@types/lodash/fp/assignAll.d.ts b/node_modules/@types/lodash/fp/assignAll.d.ts new file mode 100644 index 0000000..f95b06b --- /dev/null +++ b/node_modules/@types/lodash/fp/assignAll.d.ts @@ -0,0 +1,2 @@ +import { assignAll } from "../fp"; +export = assignAll; diff --git a/node_modules/@types/lodash/fp/assignAllWith.d.ts b/node_modules/@types/lodash/fp/assignAllWith.d.ts new file mode 100644 index 0000000..c2695a0 --- /dev/null +++ b/node_modules/@types/lodash/fp/assignAllWith.d.ts @@ -0,0 +1,2 @@ +import { assignAllWith } from "../fp"; +export = assignAllWith; diff --git a/node_modules/@types/lodash/fp/assignIn.d.ts b/node_modules/@types/lodash/fp/assignIn.d.ts new file mode 100644 index 0000000..f6cdee7 --- /dev/null +++ b/node_modules/@types/lodash/fp/assignIn.d.ts @@ -0,0 +1,2 @@ +import { assignIn } from "../fp"; +export = assignIn; diff --git a/node_modules/@types/lodash/fp/assignInAll.d.ts b/node_modules/@types/lodash/fp/assignInAll.d.ts new file mode 100644 index 0000000..539344b --- /dev/null +++ b/node_modules/@types/lodash/fp/assignInAll.d.ts @@ -0,0 +1,2 @@ +import { assignInAll } from "../fp"; +export = assignInAll; diff --git a/node_modules/@types/lodash/fp/assignInAllWith.d.ts b/node_modules/@types/lodash/fp/assignInAllWith.d.ts new file mode 100644 index 0000000..3b421fb --- /dev/null +++ b/node_modules/@types/lodash/fp/assignInAllWith.d.ts @@ -0,0 +1,2 @@ +import { assignInAllWith } from "../fp"; +export = assignInAllWith; diff --git a/node_modules/@types/lodash/fp/assignInWith.d.ts b/node_modules/@types/lodash/fp/assignInWith.d.ts new file mode 100644 index 0000000..c410091 --- /dev/null +++ b/node_modules/@types/lodash/fp/assignInWith.d.ts @@ -0,0 +1,2 @@ +import { assignInWith } from "../fp"; +export = assignInWith; diff --git a/node_modules/@types/lodash/fp/assignWith.d.ts b/node_modules/@types/lodash/fp/assignWith.d.ts new file mode 100644 index 0000000..2205db0 --- /dev/null +++ b/node_modules/@types/lodash/fp/assignWith.d.ts @@ -0,0 +1,2 @@ +import { assignWith } from "../fp"; +export = assignWith; diff --git a/node_modules/@types/lodash/fp/assoc.d.ts b/node_modules/@types/lodash/fp/assoc.d.ts new file mode 100644 index 0000000..2a2e29c --- /dev/null +++ b/node_modules/@types/lodash/fp/assoc.d.ts @@ -0,0 +1,2 @@ +import { assoc } from "../fp"; +export = assoc; diff --git a/node_modules/@types/lodash/fp/assocPath.d.ts b/node_modules/@types/lodash/fp/assocPath.d.ts new file mode 100644 index 0000000..e2dd517 --- /dev/null +++ b/node_modules/@types/lodash/fp/assocPath.d.ts @@ -0,0 +1,2 @@ +import { assocPath } from "../fp"; +export = assocPath; diff --git a/node_modules/@types/lodash/fp/at.d.ts b/node_modules/@types/lodash/fp/at.d.ts new file mode 100644 index 0000000..beefa33 --- /dev/null +++ b/node_modules/@types/lodash/fp/at.d.ts @@ -0,0 +1,2 @@ +import { at } from "../fp"; +export = at; diff --git a/node_modules/@types/lodash/fp/attempt.d.ts b/node_modules/@types/lodash/fp/attempt.d.ts new file mode 100644 index 0000000..72d60af --- /dev/null +++ b/node_modules/@types/lodash/fp/attempt.d.ts @@ -0,0 +1,2 @@ +import { attempt } from "../fp"; +export = attempt; diff --git a/node_modules/@types/lodash/fp/before.d.ts b/node_modules/@types/lodash/fp/before.d.ts new file mode 100644 index 0000000..ead2869 --- /dev/null +++ b/node_modules/@types/lodash/fp/before.d.ts @@ -0,0 +1,2 @@ +import { before } from "../fp"; +export = before; diff --git a/node_modules/@types/lodash/fp/bind.d.ts b/node_modules/@types/lodash/fp/bind.d.ts new file mode 100644 index 0000000..a312192 --- /dev/null +++ b/node_modules/@types/lodash/fp/bind.d.ts @@ -0,0 +1,2 @@ +import { bind } from "../fp"; +export = bind; diff --git a/node_modules/@types/lodash/fp/bindAll.d.ts b/node_modules/@types/lodash/fp/bindAll.d.ts new file mode 100644 index 0000000..4f7c7db --- /dev/null +++ b/node_modules/@types/lodash/fp/bindAll.d.ts @@ -0,0 +1,2 @@ +import { bindAll } from "../fp"; +export = bindAll; diff --git a/node_modules/@types/lodash/fp/bindKey.d.ts b/node_modules/@types/lodash/fp/bindKey.d.ts new file mode 100644 index 0000000..8986b2f --- /dev/null +++ b/node_modules/@types/lodash/fp/bindKey.d.ts @@ -0,0 +1,2 @@ +import { bindKey } from "../fp"; +export = bindKey; diff --git a/node_modules/@types/lodash/fp/camelCase.d.ts b/node_modules/@types/lodash/fp/camelCase.d.ts new file mode 100644 index 0000000..be6628d --- /dev/null +++ b/node_modules/@types/lodash/fp/camelCase.d.ts @@ -0,0 +1,2 @@ +import { camelCase } from "../fp"; +export = camelCase; diff --git a/node_modules/@types/lodash/fp/capitalize.d.ts b/node_modules/@types/lodash/fp/capitalize.d.ts new file mode 100644 index 0000000..7dc552f --- /dev/null +++ b/node_modules/@types/lodash/fp/capitalize.d.ts @@ -0,0 +1,2 @@ +import { capitalize } from "../fp"; +export = capitalize; diff --git a/node_modules/@types/lodash/fp/castArray.d.ts b/node_modules/@types/lodash/fp/castArray.d.ts new file mode 100644 index 0000000..a431805 --- /dev/null +++ b/node_modules/@types/lodash/fp/castArray.d.ts @@ -0,0 +1,2 @@ +import { castArray } from "../fp"; +export = castArray; diff --git a/node_modules/@types/lodash/fp/ceil.d.ts b/node_modules/@types/lodash/fp/ceil.d.ts new file mode 100644 index 0000000..13cd731 --- /dev/null +++ b/node_modules/@types/lodash/fp/ceil.d.ts @@ -0,0 +1,2 @@ +import { ceil } from "../fp"; +export = ceil; diff --git a/node_modules/@types/lodash/fp/chunk.d.ts b/node_modules/@types/lodash/fp/chunk.d.ts new file mode 100644 index 0000000..2e40666 --- /dev/null +++ b/node_modules/@types/lodash/fp/chunk.d.ts @@ -0,0 +1,2 @@ +import { chunk } from "../fp"; +export = chunk; diff --git a/node_modules/@types/lodash/fp/clamp.d.ts b/node_modules/@types/lodash/fp/clamp.d.ts new file mode 100644 index 0000000..121c6f9 --- /dev/null +++ b/node_modules/@types/lodash/fp/clamp.d.ts @@ -0,0 +1,2 @@ +import { clamp } from "../fp"; +export = clamp; diff --git a/node_modules/@types/lodash/fp/clone.d.ts b/node_modules/@types/lodash/fp/clone.d.ts new file mode 100644 index 0000000..9edf0c8 --- /dev/null +++ b/node_modules/@types/lodash/fp/clone.d.ts @@ -0,0 +1,2 @@ +import { clone } from "../fp"; +export = clone; diff --git a/node_modules/@types/lodash/fp/cloneDeep.d.ts b/node_modules/@types/lodash/fp/cloneDeep.d.ts new file mode 100644 index 0000000..3bdab15 --- /dev/null +++ b/node_modules/@types/lodash/fp/cloneDeep.d.ts @@ -0,0 +1,2 @@ +import { cloneDeep } from "../fp"; +export = cloneDeep; diff --git a/node_modules/@types/lodash/fp/cloneDeepWith.d.ts b/node_modules/@types/lodash/fp/cloneDeepWith.d.ts new file mode 100644 index 0000000..57cf5af --- /dev/null +++ b/node_modules/@types/lodash/fp/cloneDeepWith.d.ts @@ -0,0 +1,2 @@ +import { cloneDeepWith } from "../fp"; +export = cloneDeepWith; diff --git a/node_modules/@types/lodash/fp/cloneWith.d.ts b/node_modules/@types/lodash/fp/cloneWith.d.ts new file mode 100644 index 0000000..9c63e13 --- /dev/null +++ b/node_modules/@types/lodash/fp/cloneWith.d.ts @@ -0,0 +1,2 @@ +import { cloneWith } from "../fp"; +export = cloneWith; diff --git a/node_modules/@types/lodash/fp/compact.d.ts b/node_modules/@types/lodash/fp/compact.d.ts new file mode 100644 index 0000000..6ca1547 --- /dev/null +++ b/node_modules/@types/lodash/fp/compact.d.ts @@ -0,0 +1,2 @@ +import { compact } from "../fp"; +export = compact; diff --git a/node_modules/@types/lodash/fp/complement.d.ts b/node_modules/@types/lodash/fp/complement.d.ts new file mode 100644 index 0000000..e4c3112 --- /dev/null +++ b/node_modules/@types/lodash/fp/complement.d.ts @@ -0,0 +1,2 @@ +import { complement } from "../fp"; +export = complement; diff --git a/node_modules/@types/lodash/fp/compose.d.ts b/node_modules/@types/lodash/fp/compose.d.ts new file mode 100644 index 0000000..7950c7c --- /dev/null +++ b/node_modules/@types/lodash/fp/compose.d.ts @@ -0,0 +1,2 @@ +import { compose } from "../fp"; +export = compose; diff --git a/node_modules/@types/lodash/fp/concat.d.ts b/node_modules/@types/lodash/fp/concat.d.ts new file mode 100644 index 0000000..5e109d1 --- /dev/null +++ b/node_modules/@types/lodash/fp/concat.d.ts @@ -0,0 +1,2 @@ +import { concat } from "../fp"; +export = concat; diff --git a/node_modules/@types/lodash/fp/cond.d.ts b/node_modules/@types/lodash/fp/cond.d.ts new file mode 100644 index 0000000..b9216e3 --- /dev/null +++ b/node_modules/@types/lodash/fp/cond.d.ts @@ -0,0 +1,2 @@ +import { cond } from "../fp"; +export = cond; diff --git a/node_modules/@types/lodash/fp/conforms.d.ts b/node_modules/@types/lodash/fp/conforms.d.ts new file mode 100644 index 0000000..9bd3353 --- /dev/null +++ b/node_modules/@types/lodash/fp/conforms.d.ts @@ -0,0 +1,2 @@ +import { conforms } from "../fp"; +export = conforms; diff --git a/node_modules/@types/lodash/fp/conformsTo.d.ts b/node_modules/@types/lodash/fp/conformsTo.d.ts new file mode 100644 index 0000000..ad17280 --- /dev/null +++ b/node_modules/@types/lodash/fp/conformsTo.d.ts @@ -0,0 +1,2 @@ +import { conformsTo } from "../fp"; +export = conformsTo; diff --git a/node_modules/@types/lodash/fp/constant.d.ts b/node_modules/@types/lodash/fp/constant.d.ts new file mode 100644 index 0000000..ef80ff5 --- /dev/null +++ b/node_modules/@types/lodash/fp/constant.d.ts @@ -0,0 +1,2 @@ +import { constant } from "../fp"; +export = constant; diff --git a/node_modules/@types/lodash/fp/contains.d.ts b/node_modules/@types/lodash/fp/contains.d.ts new file mode 100644 index 0000000..6c29e95 --- /dev/null +++ b/node_modules/@types/lodash/fp/contains.d.ts @@ -0,0 +1,2 @@ +import { contains } from "../fp"; +export = contains; diff --git a/node_modules/@types/lodash/fp/convert.d.ts b/node_modules/@types/lodash/fp/convert.d.ts new file mode 100644 index 0000000..c06ecd9 --- /dev/null +++ b/node_modules/@types/lodash/fp/convert.d.ts @@ -0,0 +1,15 @@ +interface ConvertOptions { + cap?: boolean; + curry?: boolean; + fixed?: boolean; + immutable?: boolean; + rearg?: boolean; +} + +interface Convert { + (func: object, options?: ConvertOptions): any; + (name: string, func: (...args: any[]) => any, options?: ConvertOptions): any; +} + +declare const convert: Convert; +export = convert; diff --git a/node_modules/@types/lodash/fp/countBy.d.ts b/node_modules/@types/lodash/fp/countBy.d.ts new file mode 100644 index 0000000..e3725c3 --- /dev/null +++ b/node_modules/@types/lodash/fp/countBy.d.ts @@ -0,0 +1,2 @@ +import { countBy } from "../fp"; +export = countBy; diff --git a/node_modules/@types/lodash/fp/create.d.ts b/node_modules/@types/lodash/fp/create.d.ts new file mode 100644 index 0000000..2818e10 --- /dev/null +++ b/node_modules/@types/lodash/fp/create.d.ts @@ -0,0 +1,2 @@ +import { create } from "../fp"; +export = create; diff --git a/node_modules/@types/lodash/fp/curry.d.ts b/node_modules/@types/lodash/fp/curry.d.ts new file mode 100644 index 0000000..e8fcf1d --- /dev/null +++ b/node_modules/@types/lodash/fp/curry.d.ts @@ -0,0 +1,2 @@ +import { curry } from "../fp"; +export = curry; diff --git a/node_modules/@types/lodash/fp/curryN.d.ts b/node_modules/@types/lodash/fp/curryN.d.ts new file mode 100644 index 0000000..55b579b --- /dev/null +++ b/node_modules/@types/lodash/fp/curryN.d.ts @@ -0,0 +1,2 @@ +import { curryN } from "../fp"; +export = curryN; diff --git a/node_modules/@types/lodash/fp/curryRight.d.ts b/node_modules/@types/lodash/fp/curryRight.d.ts new file mode 100644 index 0000000..d431f3c --- /dev/null +++ b/node_modules/@types/lodash/fp/curryRight.d.ts @@ -0,0 +1,2 @@ +import { curryRight } from "../fp"; +export = curryRight; diff --git a/node_modules/@types/lodash/fp/curryRightN.d.ts b/node_modules/@types/lodash/fp/curryRightN.d.ts new file mode 100644 index 0000000..89866d1 --- /dev/null +++ b/node_modules/@types/lodash/fp/curryRightN.d.ts @@ -0,0 +1,2 @@ +import { curryRightN } from "../fp"; +export = curryRightN; diff --git a/node_modules/@types/lodash/fp/debounce.d.ts b/node_modules/@types/lodash/fp/debounce.d.ts new file mode 100644 index 0000000..88b003c --- /dev/null +++ b/node_modules/@types/lodash/fp/debounce.d.ts @@ -0,0 +1,2 @@ +import { debounce } from "../fp"; +export = debounce; diff --git a/node_modules/@types/lodash/fp/deburr.d.ts b/node_modules/@types/lodash/fp/deburr.d.ts new file mode 100644 index 0000000..769abfb --- /dev/null +++ b/node_modules/@types/lodash/fp/deburr.d.ts @@ -0,0 +1,2 @@ +import { deburr } from "../fp"; +export = deburr; diff --git a/node_modules/@types/lodash/fp/defaultTo.d.ts b/node_modules/@types/lodash/fp/defaultTo.d.ts new file mode 100644 index 0000000..e02cc46 --- /dev/null +++ b/node_modules/@types/lodash/fp/defaultTo.d.ts @@ -0,0 +1,2 @@ +import { defaultTo } from "../fp"; +export = defaultTo; diff --git a/node_modules/@types/lodash/fp/defaults.d.ts b/node_modules/@types/lodash/fp/defaults.d.ts new file mode 100644 index 0000000..132e47b --- /dev/null +++ b/node_modules/@types/lodash/fp/defaults.d.ts @@ -0,0 +1,2 @@ +import { defaults } from "../fp"; +export = defaults; diff --git a/node_modules/@types/lodash/fp/defaultsAll.d.ts b/node_modules/@types/lodash/fp/defaultsAll.d.ts new file mode 100644 index 0000000..1f2a330 --- /dev/null +++ b/node_modules/@types/lodash/fp/defaultsAll.d.ts @@ -0,0 +1,2 @@ +import { defaultsAll } from "../fp"; +export = defaultsAll; diff --git a/node_modules/@types/lodash/fp/defaultsDeep.d.ts b/node_modules/@types/lodash/fp/defaultsDeep.d.ts new file mode 100644 index 0000000..6268a02 --- /dev/null +++ b/node_modules/@types/lodash/fp/defaultsDeep.d.ts @@ -0,0 +1,2 @@ +import { defaultsDeep } from "../fp"; +export = defaultsDeep; diff --git a/node_modules/@types/lodash/fp/defaultsDeepAll.d.ts b/node_modules/@types/lodash/fp/defaultsDeepAll.d.ts new file mode 100644 index 0000000..7791666 --- /dev/null +++ b/node_modules/@types/lodash/fp/defaultsDeepAll.d.ts @@ -0,0 +1,2 @@ +import { defaultsDeepAll } from "../fp"; +export = defaultsDeepAll; diff --git a/node_modules/@types/lodash/fp/defer.d.ts b/node_modules/@types/lodash/fp/defer.d.ts new file mode 100644 index 0000000..f8be4ae --- /dev/null +++ b/node_modules/@types/lodash/fp/defer.d.ts @@ -0,0 +1,2 @@ +import { defer } from "../fp"; +export = defer; diff --git a/node_modules/@types/lodash/fp/delay.d.ts b/node_modules/@types/lodash/fp/delay.d.ts new file mode 100644 index 0000000..2f0c399 --- /dev/null +++ b/node_modules/@types/lodash/fp/delay.d.ts @@ -0,0 +1,2 @@ +import { delay } from "../fp"; +export = delay; diff --git a/node_modules/@types/lodash/fp/difference.d.ts b/node_modules/@types/lodash/fp/difference.d.ts new file mode 100644 index 0000000..9448085 --- /dev/null +++ b/node_modules/@types/lodash/fp/difference.d.ts @@ -0,0 +1,2 @@ +import { difference } from "../fp"; +export = difference; diff --git a/node_modules/@types/lodash/fp/differenceBy.d.ts b/node_modules/@types/lodash/fp/differenceBy.d.ts new file mode 100644 index 0000000..52ba5b8 --- /dev/null +++ b/node_modules/@types/lodash/fp/differenceBy.d.ts @@ -0,0 +1,2 @@ +import { differenceBy } from "../fp"; +export = differenceBy; diff --git a/node_modules/@types/lodash/fp/differenceWith.d.ts b/node_modules/@types/lodash/fp/differenceWith.d.ts new file mode 100644 index 0000000..fd3c9a2 --- /dev/null +++ b/node_modules/@types/lodash/fp/differenceWith.d.ts @@ -0,0 +1,2 @@ +import { differenceWith } from "../fp"; +export = differenceWith; diff --git a/node_modules/@types/lodash/fp/dissoc.d.ts b/node_modules/@types/lodash/fp/dissoc.d.ts new file mode 100644 index 0000000..9b0fd6b --- /dev/null +++ b/node_modules/@types/lodash/fp/dissoc.d.ts @@ -0,0 +1,2 @@ +import { dissoc } from "../fp"; +export = dissoc; diff --git a/node_modules/@types/lodash/fp/dissocPath.d.ts b/node_modules/@types/lodash/fp/dissocPath.d.ts new file mode 100644 index 0000000..a201aa4 --- /dev/null +++ b/node_modules/@types/lodash/fp/dissocPath.d.ts @@ -0,0 +1,2 @@ +import { dissocPath } from "../fp"; +export = dissocPath; diff --git a/node_modules/@types/lodash/fp/divide.d.ts b/node_modules/@types/lodash/fp/divide.d.ts new file mode 100644 index 0000000..5cd02e4 --- /dev/null +++ b/node_modules/@types/lodash/fp/divide.d.ts @@ -0,0 +1,2 @@ +import { divide } from "../fp"; +export = divide; diff --git a/node_modules/@types/lodash/fp/drop.d.ts b/node_modules/@types/lodash/fp/drop.d.ts new file mode 100644 index 0000000..bc3b9b2 --- /dev/null +++ b/node_modules/@types/lodash/fp/drop.d.ts @@ -0,0 +1,2 @@ +import { drop } from "../fp"; +export = drop; diff --git a/node_modules/@types/lodash/fp/dropLast.d.ts b/node_modules/@types/lodash/fp/dropLast.d.ts new file mode 100644 index 0000000..1dd388a --- /dev/null +++ b/node_modules/@types/lodash/fp/dropLast.d.ts @@ -0,0 +1,2 @@ +import { dropLast } from "../fp"; +export = dropLast; diff --git a/node_modules/@types/lodash/fp/dropLastWhile.d.ts b/node_modules/@types/lodash/fp/dropLastWhile.d.ts new file mode 100644 index 0000000..97529a6 --- /dev/null +++ b/node_modules/@types/lodash/fp/dropLastWhile.d.ts @@ -0,0 +1,2 @@ +import { dropLastWhile } from "../fp"; +export = dropLastWhile; diff --git a/node_modules/@types/lodash/fp/dropRight.d.ts b/node_modules/@types/lodash/fp/dropRight.d.ts new file mode 100644 index 0000000..a2740ff --- /dev/null +++ b/node_modules/@types/lodash/fp/dropRight.d.ts @@ -0,0 +1,2 @@ +import { dropRight } from "../fp"; +export = dropRight; diff --git a/node_modules/@types/lodash/fp/dropRightWhile.d.ts b/node_modules/@types/lodash/fp/dropRightWhile.d.ts new file mode 100644 index 0000000..1a5aa5f --- /dev/null +++ b/node_modules/@types/lodash/fp/dropRightWhile.d.ts @@ -0,0 +1,2 @@ +import { dropRightWhile } from "../fp"; +export = dropRightWhile; diff --git a/node_modules/@types/lodash/fp/dropWhile.d.ts b/node_modules/@types/lodash/fp/dropWhile.d.ts new file mode 100644 index 0000000..2cab8d8 --- /dev/null +++ b/node_modules/@types/lodash/fp/dropWhile.d.ts @@ -0,0 +1,2 @@ +import { dropWhile } from "../fp"; +export = dropWhile; diff --git a/node_modules/@types/lodash/fp/each.d.ts b/node_modules/@types/lodash/fp/each.d.ts new file mode 100644 index 0000000..af1d3b2 --- /dev/null +++ b/node_modules/@types/lodash/fp/each.d.ts @@ -0,0 +1,2 @@ +import { each } from "../fp"; +export = each; diff --git a/node_modules/@types/lodash/fp/eachRight.d.ts b/node_modules/@types/lodash/fp/eachRight.d.ts new file mode 100644 index 0000000..5ca2934 --- /dev/null +++ b/node_modules/@types/lodash/fp/eachRight.d.ts @@ -0,0 +1,2 @@ +import { eachRight } from "../fp"; +export = eachRight; diff --git a/node_modules/@types/lodash/fp/endsWith.d.ts b/node_modules/@types/lodash/fp/endsWith.d.ts new file mode 100644 index 0000000..7e1b243 --- /dev/null +++ b/node_modules/@types/lodash/fp/endsWith.d.ts @@ -0,0 +1,2 @@ +import { endsWith } from "../fp"; +export = endsWith; diff --git a/node_modules/@types/lodash/fp/entries.d.ts b/node_modules/@types/lodash/fp/entries.d.ts new file mode 100644 index 0000000..534c7bd --- /dev/null +++ b/node_modules/@types/lodash/fp/entries.d.ts @@ -0,0 +1,2 @@ +import { entries } from "../fp"; +export = entries; diff --git a/node_modules/@types/lodash/fp/entriesIn.d.ts b/node_modules/@types/lodash/fp/entriesIn.d.ts new file mode 100644 index 0000000..932b17f --- /dev/null +++ b/node_modules/@types/lodash/fp/entriesIn.d.ts @@ -0,0 +1,2 @@ +import { entriesIn } from "../fp"; +export = entriesIn; diff --git a/node_modules/@types/lodash/fp/eq.d.ts b/node_modules/@types/lodash/fp/eq.d.ts new file mode 100644 index 0000000..4778846 --- /dev/null +++ b/node_modules/@types/lodash/fp/eq.d.ts @@ -0,0 +1,2 @@ +import { eq } from "../fp"; +export = eq; diff --git a/node_modules/@types/lodash/fp/equals.d.ts b/node_modules/@types/lodash/fp/equals.d.ts new file mode 100644 index 0000000..18ec108 --- /dev/null +++ b/node_modules/@types/lodash/fp/equals.d.ts @@ -0,0 +1,2 @@ +import { equals } from "../fp"; +export = equals; diff --git a/node_modules/@types/lodash/fp/escape.d.ts b/node_modules/@types/lodash/fp/escape.d.ts new file mode 100644 index 0000000..36e7e87 --- /dev/null +++ b/node_modules/@types/lodash/fp/escape.d.ts @@ -0,0 +1,2 @@ +import { escape } from "../fp"; +export = escape; diff --git a/node_modules/@types/lodash/fp/escapeRegExp.d.ts b/node_modules/@types/lodash/fp/escapeRegExp.d.ts new file mode 100644 index 0000000..6adc20e --- /dev/null +++ b/node_modules/@types/lodash/fp/escapeRegExp.d.ts @@ -0,0 +1,2 @@ +import { escapeRegExp } from "../fp"; +export = escapeRegExp; diff --git a/node_modules/@types/lodash/fp/every.d.ts b/node_modules/@types/lodash/fp/every.d.ts new file mode 100644 index 0000000..7fbeaf7 --- /dev/null +++ b/node_modules/@types/lodash/fp/every.d.ts @@ -0,0 +1,2 @@ +import { every } from "../fp"; +export = every; diff --git a/node_modules/@types/lodash/fp/extend.d.ts b/node_modules/@types/lodash/fp/extend.d.ts new file mode 100644 index 0000000..cbe294e --- /dev/null +++ b/node_modules/@types/lodash/fp/extend.d.ts @@ -0,0 +1,2 @@ +import { extend } from "../fp"; +export = extend; diff --git a/node_modules/@types/lodash/fp/extendAll.d.ts b/node_modules/@types/lodash/fp/extendAll.d.ts new file mode 100644 index 0000000..92cb3d6 --- /dev/null +++ b/node_modules/@types/lodash/fp/extendAll.d.ts @@ -0,0 +1,2 @@ +import { extendAll } from "../fp"; +export = extendAll; diff --git a/node_modules/@types/lodash/fp/extendAllWith.d.ts b/node_modules/@types/lodash/fp/extendAllWith.d.ts new file mode 100644 index 0000000..712d1d8 --- /dev/null +++ b/node_modules/@types/lodash/fp/extendAllWith.d.ts @@ -0,0 +1,2 @@ +import { extendAllWith } from "../fp"; +export = extendAllWith; diff --git a/node_modules/@types/lodash/fp/extendWith.d.ts b/node_modules/@types/lodash/fp/extendWith.d.ts new file mode 100644 index 0000000..9681360 --- /dev/null +++ b/node_modules/@types/lodash/fp/extendWith.d.ts @@ -0,0 +1,2 @@ +import { extendWith } from "../fp"; +export = extendWith; diff --git a/node_modules/@types/lodash/fp/fill.d.ts b/node_modules/@types/lodash/fp/fill.d.ts new file mode 100644 index 0000000..5778015 --- /dev/null +++ b/node_modules/@types/lodash/fp/fill.d.ts @@ -0,0 +1,2 @@ +import { fill } from "../fp"; +export = fill; diff --git a/node_modules/@types/lodash/fp/filter.d.ts b/node_modules/@types/lodash/fp/filter.d.ts new file mode 100644 index 0000000..8619741 --- /dev/null +++ b/node_modules/@types/lodash/fp/filter.d.ts @@ -0,0 +1,2 @@ +import { filter } from "../fp"; +export = filter; diff --git a/node_modules/@types/lodash/fp/find.d.ts b/node_modules/@types/lodash/fp/find.d.ts new file mode 100644 index 0000000..06418fb --- /dev/null +++ b/node_modules/@types/lodash/fp/find.d.ts @@ -0,0 +1,2 @@ +import { find } from "../fp"; +export = find; diff --git a/node_modules/@types/lodash/fp/findFrom.d.ts b/node_modules/@types/lodash/fp/findFrom.d.ts new file mode 100644 index 0000000..64275d0 --- /dev/null +++ b/node_modules/@types/lodash/fp/findFrom.d.ts @@ -0,0 +1,2 @@ +import { findFrom } from "../fp"; +export = findFrom; diff --git a/node_modules/@types/lodash/fp/findIndex.d.ts b/node_modules/@types/lodash/fp/findIndex.d.ts new file mode 100644 index 0000000..77d1f7b --- /dev/null +++ b/node_modules/@types/lodash/fp/findIndex.d.ts @@ -0,0 +1,2 @@ +import { findIndex } from "../fp"; +export = findIndex; diff --git a/node_modules/@types/lodash/fp/findIndexFrom.d.ts b/node_modules/@types/lodash/fp/findIndexFrom.d.ts new file mode 100644 index 0000000..22330ad --- /dev/null +++ b/node_modules/@types/lodash/fp/findIndexFrom.d.ts @@ -0,0 +1,2 @@ +import { findIndexFrom } from "../fp"; +export = findIndexFrom; diff --git a/node_modules/@types/lodash/fp/findKey.d.ts b/node_modules/@types/lodash/fp/findKey.d.ts new file mode 100644 index 0000000..c5a225a --- /dev/null +++ b/node_modules/@types/lodash/fp/findKey.d.ts @@ -0,0 +1,2 @@ +import { findKey } from "../fp"; +export = findKey; diff --git a/node_modules/@types/lodash/fp/findLast.d.ts b/node_modules/@types/lodash/fp/findLast.d.ts new file mode 100644 index 0000000..b400c94 --- /dev/null +++ b/node_modules/@types/lodash/fp/findLast.d.ts @@ -0,0 +1,2 @@ +import { findLast } from "../fp"; +export = findLast; diff --git a/node_modules/@types/lodash/fp/findLastFrom.d.ts b/node_modules/@types/lodash/fp/findLastFrom.d.ts new file mode 100644 index 0000000..1f034df --- /dev/null +++ b/node_modules/@types/lodash/fp/findLastFrom.d.ts @@ -0,0 +1,2 @@ +import { findLastFrom } from "../fp"; +export = findLastFrom; diff --git a/node_modules/@types/lodash/fp/findLastIndex.d.ts b/node_modules/@types/lodash/fp/findLastIndex.d.ts new file mode 100644 index 0000000..51ee410 --- /dev/null +++ b/node_modules/@types/lodash/fp/findLastIndex.d.ts @@ -0,0 +1,2 @@ +import { findLastIndex } from "../fp"; +export = findLastIndex; diff --git a/node_modules/@types/lodash/fp/findLastIndexFrom.d.ts b/node_modules/@types/lodash/fp/findLastIndexFrom.d.ts new file mode 100644 index 0000000..08bd53a --- /dev/null +++ b/node_modules/@types/lodash/fp/findLastIndexFrom.d.ts @@ -0,0 +1,2 @@ +import { findLastIndexFrom } from "../fp"; +export = findLastIndexFrom; diff --git a/node_modules/@types/lodash/fp/findLastKey.d.ts b/node_modules/@types/lodash/fp/findLastKey.d.ts new file mode 100644 index 0000000..7437a9d --- /dev/null +++ b/node_modules/@types/lodash/fp/findLastKey.d.ts @@ -0,0 +1,2 @@ +import { findLastKey } from "../fp"; +export = findLastKey; diff --git a/node_modules/@types/lodash/fp/first.d.ts b/node_modules/@types/lodash/fp/first.d.ts new file mode 100644 index 0000000..4554ad0 --- /dev/null +++ b/node_modules/@types/lodash/fp/first.d.ts @@ -0,0 +1,2 @@ +import { first } from "../fp"; +export = first; diff --git a/node_modules/@types/lodash/fp/flatMap.d.ts b/node_modules/@types/lodash/fp/flatMap.d.ts new file mode 100644 index 0000000..eb6d804 --- /dev/null +++ b/node_modules/@types/lodash/fp/flatMap.d.ts @@ -0,0 +1,2 @@ +import { flatMap } from "../fp"; +export = flatMap; diff --git a/node_modules/@types/lodash/fp/flatMapDeep.d.ts b/node_modules/@types/lodash/fp/flatMapDeep.d.ts new file mode 100644 index 0000000..0ce4db4 --- /dev/null +++ b/node_modules/@types/lodash/fp/flatMapDeep.d.ts @@ -0,0 +1,2 @@ +import { flatMapDeep } from "../fp"; +export = flatMapDeep; diff --git a/node_modules/@types/lodash/fp/flatMapDepth.d.ts b/node_modules/@types/lodash/fp/flatMapDepth.d.ts new file mode 100644 index 0000000..b60af92 --- /dev/null +++ b/node_modules/@types/lodash/fp/flatMapDepth.d.ts @@ -0,0 +1,2 @@ +import { flatMapDepth } from "../fp"; +export = flatMapDepth; diff --git a/node_modules/@types/lodash/fp/flatten.d.ts b/node_modules/@types/lodash/fp/flatten.d.ts new file mode 100644 index 0000000..02c051f --- /dev/null +++ b/node_modules/@types/lodash/fp/flatten.d.ts @@ -0,0 +1,2 @@ +import { flatten } from "../fp"; +export = flatten; diff --git a/node_modules/@types/lodash/fp/flattenDeep.d.ts b/node_modules/@types/lodash/fp/flattenDeep.d.ts new file mode 100644 index 0000000..44b40e3 --- /dev/null +++ b/node_modules/@types/lodash/fp/flattenDeep.d.ts @@ -0,0 +1,2 @@ +import { flattenDeep } from "../fp"; +export = flattenDeep; diff --git a/node_modules/@types/lodash/fp/flattenDepth.d.ts b/node_modules/@types/lodash/fp/flattenDepth.d.ts new file mode 100644 index 0000000..f046f20 --- /dev/null +++ b/node_modules/@types/lodash/fp/flattenDepth.d.ts @@ -0,0 +1,2 @@ +import { flattenDepth } from "../fp"; +export = flattenDepth; diff --git a/node_modules/@types/lodash/fp/flip.d.ts b/node_modules/@types/lodash/fp/flip.d.ts new file mode 100644 index 0000000..e5b3b7d --- /dev/null +++ b/node_modules/@types/lodash/fp/flip.d.ts @@ -0,0 +1,2 @@ +import { flip } from "../fp"; +export = flip; diff --git a/node_modules/@types/lodash/fp/floor.d.ts b/node_modules/@types/lodash/fp/floor.d.ts new file mode 100644 index 0000000..167ab95 --- /dev/null +++ b/node_modules/@types/lodash/fp/floor.d.ts @@ -0,0 +1,2 @@ +import { floor } from "../fp"; +export = floor; diff --git a/node_modules/@types/lodash/fp/flow.d.ts b/node_modules/@types/lodash/fp/flow.d.ts new file mode 100644 index 0000000..97f0fb8 --- /dev/null +++ b/node_modules/@types/lodash/fp/flow.d.ts @@ -0,0 +1,2 @@ +import { flow } from "../fp"; +export = flow; diff --git a/node_modules/@types/lodash/fp/flowRight.d.ts b/node_modules/@types/lodash/fp/flowRight.d.ts new file mode 100644 index 0000000..f148fea --- /dev/null +++ b/node_modules/@types/lodash/fp/flowRight.d.ts @@ -0,0 +1,2 @@ +import { flowRight } from "../fp"; +export = flowRight; diff --git a/node_modules/@types/lodash/fp/forEach.d.ts b/node_modules/@types/lodash/fp/forEach.d.ts new file mode 100644 index 0000000..f8aa7a4 --- /dev/null +++ b/node_modules/@types/lodash/fp/forEach.d.ts @@ -0,0 +1,2 @@ +import { forEach } from "../fp"; +export = forEach; diff --git a/node_modules/@types/lodash/fp/forEachRight.d.ts b/node_modules/@types/lodash/fp/forEachRight.d.ts new file mode 100644 index 0000000..135a424 --- /dev/null +++ b/node_modules/@types/lodash/fp/forEachRight.d.ts @@ -0,0 +1,2 @@ +import { forEachRight } from "../fp"; +export = forEachRight; diff --git a/node_modules/@types/lodash/fp/forIn.d.ts b/node_modules/@types/lodash/fp/forIn.d.ts new file mode 100644 index 0000000..dab37b1 --- /dev/null +++ b/node_modules/@types/lodash/fp/forIn.d.ts @@ -0,0 +1,2 @@ +import { forIn } from "../fp"; +export = forIn; diff --git a/node_modules/@types/lodash/fp/forInRight.d.ts b/node_modules/@types/lodash/fp/forInRight.d.ts new file mode 100644 index 0000000..c560df0 --- /dev/null +++ b/node_modules/@types/lodash/fp/forInRight.d.ts @@ -0,0 +1,2 @@ +import { forInRight } from "../fp"; +export = forInRight; diff --git a/node_modules/@types/lodash/fp/forOwn.d.ts b/node_modules/@types/lodash/fp/forOwn.d.ts new file mode 100644 index 0000000..7099c48 --- /dev/null +++ b/node_modules/@types/lodash/fp/forOwn.d.ts @@ -0,0 +1,2 @@ +import { forOwn } from "../fp"; +export = forOwn; diff --git a/node_modules/@types/lodash/fp/forOwnRight.d.ts b/node_modules/@types/lodash/fp/forOwnRight.d.ts new file mode 100644 index 0000000..f1e3928 --- /dev/null +++ b/node_modules/@types/lodash/fp/forOwnRight.d.ts @@ -0,0 +1,2 @@ +import { forOwnRight } from "../fp"; +export = forOwnRight; diff --git a/node_modules/@types/lodash/fp/fromPairs.d.ts b/node_modules/@types/lodash/fp/fromPairs.d.ts new file mode 100644 index 0000000..b0d0082 --- /dev/null +++ b/node_modules/@types/lodash/fp/fromPairs.d.ts @@ -0,0 +1,2 @@ +import { fromPairs } from "../fp"; +export = fromPairs; diff --git a/node_modules/@types/lodash/fp/functions.d.ts b/node_modules/@types/lodash/fp/functions.d.ts new file mode 100644 index 0000000..727d68e --- /dev/null +++ b/node_modules/@types/lodash/fp/functions.d.ts @@ -0,0 +1,2 @@ +import { functions } from "../fp"; +export = functions; diff --git a/node_modules/@types/lodash/fp/functionsIn.d.ts b/node_modules/@types/lodash/fp/functionsIn.d.ts new file mode 100644 index 0000000..448746e --- /dev/null +++ b/node_modules/@types/lodash/fp/functionsIn.d.ts @@ -0,0 +1,2 @@ +import { functionsIn } from "../fp"; +export = functionsIn; diff --git a/node_modules/@types/lodash/fp/get.d.ts b/node_modules/@types/lodash/fp/get.d.ts new file mode 100644 index 0000000..ff3ab8b --- /dev/null +++ b/node_modules/@types/lodash/fp/get.d.ts @@ -0,0 +1,2 @@ +import { get } from "../fp"; +export = get; diff --git a/node_modules/@types/lodash/fp/getOr.d.ts b/node_modules/@types/lodash/fp/getOr.d.ts new file mode 100644 index 0000000..ce3d5bb --- /dev/null +++ b/node_modules/@types/lodash/fp/getOr.d.ts @@ -0,0 +1,2 @@ +import { getOr } from "../fp"; +export = getOr; diff --git a/node_modules/@types/lodash/fp/groupBy.d.ts b/node_modules/@types/lodash/fp/groupBy.d.ts new file mode 100644 index 0000000..813830a --- /dev/null +++ b/node_modules/@types/lodash/fp/groupBy.d.ts @@ -0,0 +1,2 @@ +import { groupBy } from "../fp"; +export = groupBy; diff --git a/node_modules/@types/lodash/fp/gt.d.ts b/node_modules/@types/lodash/fp/gt.d.ts new file mode 100644 index 0000000..517071f --- /dev/null +++ b/node_modules/@types/lodash/fp/gt.d.ts @@ -0,0 +1,2 @@ +import { gt } from "../fp"; +export = gt; diff --git a/node_modules/@types/lodash/fp/gte.d.ts b/node_modules/@types/lodash/fp/gte.d.ts new file mode 100644 index 0000000..5f6d85c --- /dev/null +++ b/node_modules/@types/lodash/fp/gte.d.ts @@ -0,0 +1,2 @@ +import { gte } from "../fp"; +export = gte; diff --git a/node_modules/@types/lodash/fp/has.d.ts b/node_modules/@types/lodash/fp/has.d.ts new file mode 100644 index 0000000..8cbda7f --- /dev/null +++ b/node_modules/@types/lodash/fp/has.d.ts @@ -0,0 +1,2 @@ +import { has } from "../fp"; +export = has; diff --git a/node_modules/@types/lodash/fp/hasIn.d.ts b/node_modules/@types/lodash/fp/hasIn.d.ts new file mode 100644 index 0000000..7e06a87 --- /dev/null +++ b/node_modules/@types/lodash/fp/hasIn.d.ts @@ -0,0 +1,2 @@ +import { hasIn } from "../fp"; +export = hasIn; diff --git a/node_modules/@types/lodash/fp/head.d.ts b/node_modules/@types/lodash/fp/head.d.ts new file mode 100644 index 0000000..4a7d5e5 --- /dev/null +++ b/node_modules/@types/lodash/fp/head.d.ts @@ -0,0 +1,2 @@ +import { head } from "../fp"; +export = head; diff --git a/node_modules/@types/lodash/fp/identical.d.ts b/node_modules/@types/lodash/fp/identical.d.ts new file mode 100644 index 0000000..954dff5 --- /dev/null +++ b/node_modules/@types/lodash/fp/identical.d.ts @@ -0,0 +1,2 @@ +import { identical } from "../fp"; +export = identical; diff --git a/node_modules/@types/lodash/fp/identity.d.ts b/node_modules/@types/lodash/fp/identity.d.ts new file mode 100644 index 0000000..97e613c --- /dev/null +++ b/node_modules/@types/lodash/fp/identity.d.ts @@ -0,0 +1,2 @@ +import { identity } from "../fp"; +export = identity; diff --git a/node_modules/@types/lodash/fp/inRange.d.ts b/node_modules/@types/lodash/fp/inRange.d.ts new file mode 100644 index 0000000..06ed312 --- /dev/null +++ b/node_modules/@types/lodash/fp/inRange.d.ts @@ -0,0 +1,2 @@ +import { inRange } from "../fp"; +export = inRange; diff --git a/node_modules/@types/lodash/fp/includes.d.ts b/node_modules/@types/lodash/fp/includes.d.ts new file mode 100644 index 0000000..afc9984 --- /dev/null +++ b/node_modules/@types/lodash/fp/includes.d.ts @@ -0,0 +1,2 @@ +import { includes } from "../fp"; +export = includes; diff --git a/node_modules/@types/lodash/fp/includesFrom.d.ts b/node_modules/@types/lodash/fp/includesFrom.d.ts new file mode 100644 index 0000000..13042d0 --- /dev/null +++ b/node_modules/@types/lodash/fp/includesFrom.d.ts @@ -0,0 +1,2 @@ +import { includesFrom } from "../fp"; +export = includesFrom; diff --git a/node_modules/@types/lodash/fp/indexBy.d.ts b/node_modules/@types/lodash/fp/indexBy.d.ts new file mode 100644 index 0000000..f3f75a4 --- /dev/null +++ b/node_modules/@types/lodash/fp/indexBy.d.ts @@ -0,0 +1,2 @@ +import { indexBy } from "../fp"; +export = indexBy; diff --git a/node_modules/@types/lodash/fp/indexOf.d.ts b/node_modules/@types/lodash/fp/indexOf.d.ts new file mode 100644 index 0000000..8078c46 --- /dev/null +++ b/node_modules/@types/lodash/fp/indexOf.d.ts @@ -0,0 +1,2 @@ +import { indexOf } from "../fp"; +export = indexOf; diff --git a/node_modules/@types/lodash/fp/indexOfFrom.d.ts b/node_modules/@types/lodash/fp/indexOfFrom.d.ts new file mode 100644 index 0000000..fe66609 --- /dev/null +++ b/node_modules/@types/lodash/fp/indexOfFrom.d.ts @@ -0,0 +1,2 @@ +import { indexOfFrom } from "../fp"; +export = indexOfFrom; diff --git a/node_modules/@types/lodash/fp/init.d.ts b/node_modules/@types/lodash/fp/init.d.ts new file mode 100644 index 0000000..2f37ecd --- /dev/null +++ b/node_modules/@types/lodash/fp/init.d.ts @@ -0,0 +1,2 @@ +import { init } from "../fp"; +export = init; diff --git a/node_modules/@types/lodash/fp/initial.d.ts b/node_modules/@types/lodash/fp/initial.d.ts new file mode 100644 index 0000000..446da06 --- /dev/null +++ b/node_modules/@types/lodash/fp/initial.d.ts @@ -0,0 +1,2 @@ +import { initial } from "../fp"; +export = initial; diff --git a/node_modules/@types/lodash/fp/intersection.d.ts b/node_modules/@types/lodash/fp/intersection.d.ts new file mode 100644 index 0000000..41d7915 --- /dev/null +++ b/node_modules/@types/lodash/fp/intersection.d.ts @@ -0,0 +1,2 @@ +import { intersection } from "../fp"; +export = intersection; diff --git a/node_modules/@types/lodash/fp/intersectionBy.d.ts b/node_modules/@types/lodash/fp/intersectionBy.d.ts new file mode 100644 index 0000000..a123ddd --- /dev/null +++ b/node_modules/@types/lodash/fp/intersectionBy.d.ts @@ -0,0 +1,2 @@ +import { intersectionBy } from "../fp"; +export = intersectionBy; diff --git a/node_modules/@types/lodash/fp/intersectionWith.d.ts b/node_modules/@types/lodash/fp/intersectionWith.d.ts new file mode 100644 index 0000000..9ad9941 --- /dev/null +++ b/node_modules/@types/lodash/fp/intersectionWith.d.ts @@ -0,0 +1,2 @@ +import { intersectionWith } from "../fp"; +export = intersectionWith; diff --git a/node_modules/@types/lodash/fp/invert.d.ts b/node_modules/@types/lodash/fp/invert.d.ts new file mode 100644 index 0000000..a41c2bc --- /dev/null +++ b/node_modules/@types/lodash/fp/invert.d.ts @@ -0,0 +1,2 @@ +import { invert } from "../fp"; +export = invert; diff --git a/node_modules/@types/lodash/fp/invertBy.d.ts b/node_modules/@types/lodash/fp/invertBy.d.ts new file mode 100644 index 0000000..e28f713 --- /dev/null +++ b/node_modules/@types/lodash/fp/invertBy.d.ts @@ -0,0 +1,2 @@ +import { invertBy } from "../fp"; +export = invertBy; diff --git a/node_modules/@types/lodash/fp/invertObj.d.ts b/node_modules/@types/lodash/fp/invertObj.d.ts new file mode 100644 index 0000000..2e16c4f --- /dev/null +++ b/node_modules/@types/lodash/fp/invertObj.d.ts @@ -0,0 +1,2 @@ +import { invertObj } from "../fp"; +export = invertObj; diff --git a/node_modules/@types/lodash/fp/invoke.d.ts b/node_modules/@types/lodash/fp/invoke.d.ts new file mode 100644 index 0000000..1a9ce3b --- /dev/null +++ b/node_modules/@types/lodash/fp/invoke.d.ts @@ -0,0 +1,2 @@ +import { invoke } from "../fp"; +export = invoke; diff --git a/node_modules/@types/lodash/fp/invokeArgs.d.ts b/node_modules/@types/lodash/fp/invokeArgs.d.ts new file mode 100644 index 0000000..8b498e0 --- /dev/null +++ b/node_modules/@types/lodash/fp/invokeArgs.d.ts @@ -0,0 +1,2 @@ +import { invokeArgs } from "../fp"; +export = invokeArgs; diff --git a/node_modules/@types/lodash/fp/invokeArgsMap.d.ts b/node_modules/@types/lodash/fp/invokeArgsMap.d.ts new file mode 100644 index 0000000..f5ba3e7 --- /dev/null +++ b/node_modules/@types/lodash/fp/invokeArgsMap.d.ts @@ -0,0 +1,2 @@ +import { invokeArgsMap } from "../fp"; +export = invokeArgsMap; diff --git a/node_modules/@types/lodash/fp/invokeMap.d.ts b/node_modules/@types/lodash/fp/invokeMap.d.ts new file mode 100644 index 0000000..9f0aea9 --- /dev/null +++ b/node_modules/@types/lodash/fp/invokeMap.d.ts @@ -0,0 +1,2 @@ +import { invokeMap } from "../fp"; +export = invokeMap; diff --git a/node_modules/@types/lodash/fp/isArguments.d.ts b/node_modules/@types/lodash/fp/isArguments.d.ts new file mode 100644 index 0000000..23c438c --- /dev/null +++ b/node_modules/@types/lodash/fp/isArguments.d.ts @@ -0,0 +1,2 @@ +import { isArguments } from "../fp"; +export = isArguments; diff --git a/node_modules/@types/lodash/fp/isArray.d.ts b/node_modules/@types/lodash/fp/isArray.d.ts new file mode 100644 index 0000000..dadecce --- /dev/null +++ b/node_modules/@types/lodash/fp/isArray.d.ts @@ -0,0 +1,2 @@ +import { isArray } from "../fp"; +export = isArray; diff --git a/node_modules/@types/lodash/fp/isArrayBuffer.d.ts b/node_modules/@types/lodash/fp/isArrayBuffer.d.ts new file mode 100644 index 0000000..3201834 --- /dev/null +++ b/node_modules/@types/lodash/fp/isArrayBuffer.d.ts @@ -0,0 +1,2 @@ +import { isArrayBuffer } from "../fp"; +export = isArrayBuffer; diff --git a/node_modules/@types/lodash/fp/isArrayLike.d.ts b/node_modules/@types/lodash/fp/isArrayLike.d.ts new file mode 100644 index 0000000..2be9b54 --- /dev/null +++ b/node_modules/@types/lodash/fp/isArrayLike.d.ts @@ -0,0 +1,2 @@ +import { isArrayLike } from "../fp"; +export = isArrayLike; diff --git a/node_modules/@types/lodash/fp/isArrayLikeObject.d.ts b/node_modules/@types/lodash/fp/isArrayLikeObject.d.ts new file mode 100644 index 0000000..709f513 --- /dev/null +++ b/node_modules/@types/lodash/fp/isArrayLikeObject.d.ts @@ -0,0 +1,2 @@ +import { isArrayLikeObject } from "../fp"; +export = isArrayLikeObject; diff --git a/node_modules/@types/lodash/fp/isBoolean.d.ts b/node_modules/@types/lodash/fp/isBoolean.d.ts new file mode 100644 index 0000000..605cb2c --- /dev/null +++ b/node_modules/@types/lodash/fp/isBoolean.d.ts @@ -0,0 +1,2 @@ +import { isBoolean } from "../fp"; +export = isBoolean; diff --git a/node_modules/@types/lodash/fp/isBuffer.d.ts b/node_modules/@types/lodash/fp/isBuffer.d.ts new file mode 100644 index 0000000..3d06b54 --- /dev/null +++ b/node_modules/@types/lodash/fp/isBuffer.d.ts @@ -0,0 +1,2 @@ +import { isBuffer } from "../fp"; +export = isBuffer; diff --git a/node_modules/@types/lodash/fp/isDate.d.ts b/node_modules/@types/lodash/fp/isDate.d.ts new file mode 100644 index 0000000..979594f --- /dev/null +++ b/node_modules/@types/lodash/fp/isDate.d.ts @@ -0,0 +1,2 @@ +import { isDate } from "../fp"; +export = isDate; diff --git a/node_modules/@types/lodash/fp/isElement.d.ts b/node_modules/@types/lodash/fp/isElement.d.ts new file mode 100644 index 0000000..26739ad --- /dev/null +++ b/node_modules/@types/lodash/fp/isElement.d.ts @@ -0,0 +1,2 @@ +import { isElement } from "../fp"; +export = isElement; diff --git a/node_modules/@types/lodash/fp/isEmpty.d.ts b/node_modules/@types/lodash/fp/isEmpty.d.ts new file mode 100644 index 0000000..ed9b33f --- /dev/null +++ b/node_modules/@types/lodash/fp/isEmpty.d.ts @@ -0,0 +1,2 @@ +import { isEmpty } from "../fp"; +export = isEmpty; diff --git a/node_modules/@types/lodash/fp/isEqual.d.ts b/node_modules/@types/lodash/fp/isEqual.d.ts new file mode 100644 index 0000000..0a51c5c --- /dev/null +++ b/node_modules/@types/lodash/fp/isEqual.d.ts @@ -0,0 +1,2 @@ +import { isEqual } from "../fp"; +export = isEqual; diff --git a/node_modules/@types/lodash/fp/isEqualWith.d.ts b/node_modules/@types/lodash/fp/isEqualWith.d.ts new file mode 100644 index 0000000..27fa441 --- /dev/null +++ b/node_modules/@types/lodash/fp/isEqualWith.d.ts @@ -0,0 +1,2 @@ +import { isEqualWith } from "../fp"; +export = isEqualWith; diff --git a/node_modules/@types/lodash/fp/isError.d.ts b/node_modules/@types/lodash/fp/isError.d.ts new file mode 100644 index 0000000..4adb988 --- /dev/null +++ b/node_modules/@types/lodash/fp/isError.d.ts @@ -0,0 +1,2 @@ +import { isError } from "../fp"; +export = isError; diff --git a/node_modules/@types/lodash/fp/isFinite.d.ts b/node_modules/@types/lodash/fp/isFinite.d.ts new file mode 100644 index 0000000..5641edc --- /dev/null +++ b/node_modules/@types/lodash/fp/isFinite.d.ts @@ -0,0 +1,2 @@ +import { isFinite } from "../fp"; +export = isFinite; diff --git a/node_modules/@types/lodash/fp/isFunction.d.ts b/node_modules/@types/lodash/fp/isFunction.d.ts new file mode 100644 index 0000000..3404e74 --- /dev/null +++ b/node_modules/@types/lodash/fp/isFunction.d.ts @@ -0,0 +1,2 @@ +import { isFunction } from "../fp"; +export = isFunction; diff --git a/node_modules/@types/lodash/fp/isInteger.d.ts b/node_modules/@types/lodash/fp/isInteger.d.ts new file mode 100644 index 0000000..310df93 --- /dev/null +++ b/node_modules/@types/lodash/fp/isInteger.d.ts @@ -0,0 +1,2 @@ +import { isInteger } from "../fp"; +export = isInteger; diff --git a/node_modules/@types/lodash/fp/isLength.d.ts b/node_modules/@types/lodash/fp/isLength.d.ts new file mode 100644 index 0000000..3073b67 --- /dev/null +++ b/node_modules/@types/lodash/fp/isLength.d.ts @@ -0,0 +1,2 @@ +import { isLength } from "../fp"; +export = isLength; diff --git a/node_modules/@types/lodash/fp/isMap.d.ts b/node_modules/@types/lodash/fp/isMap.d.ts new file mode 100644 index 0000000..e76745c --- /dev/null +++ b/node_modules/@types/lodash/fp/isMap.d.ts @@ -0,0 +1,2 @@ +import { isMap } from "../fp"; +export = isMap; diff --git a/node_modules/@types/lodash/fp/isMatch.d.ts b/node_modules/@types/lodash/fp/isMatch.d.ts new file mode 100644 index 0000000..58a0a2d --- /dev/null +++ b/node_modules/@types/lodash/fp/isMatch.d.ts @@ -0,0 +1,2 @@ +import { isMatch } from "../fp"; +export = isMatch; diff --git a/node_modules/@types/lodash/fp/isMatchWith.d.ts b/node_modules/@types/lodash/fp/isMatchWith.d.ts new file mode 100644 index 0000000..40ff3a6 --- /dev/null +++ b/node_modules/@types/lodash/fp/isMatchWith.d.ts @@ -0,0 +1,2 @@ +import { isMatchWith } from "../fp"; +export = isMatchWith; diff --git a/node_modules/@types/lodash/fp/isNaN.d.ts b/node_modules/@types/lodash/fp/isNaN.d.ts new file mode 100644 index 0000000..2f92885 --- /dev/null +++ b/node_modules/@types/lodash/fp/isNaN.d.ts @@ -0,0 +1,2 @@ +import { isNaN } from "../fp"; +export = isNaN; diff --git a/node_modules/@types/lodash/fp/isNative.d.ts b/node_modules/@types/lodash/fp/isNative.d.ts new file mode 100644 index 0000000..6e189a8 --- /dev/null +++ b/node_modules/@types/lodash/fp/isNative.d.ts @@ -0,0 +1,2 @@ +import { isNative } from "../fp"; +export = isNative; diff --git a/node_modules/@types/lodash/fp/isNil.d.ts b/node_modules/@types/lodash/fp/isNil.d.ts new file mode 100644 index 0000000..0baee7f --- /dev/null +++ b/node_modules/@types/lodash/fp/isNil.d.ts @@ -0,0 +1,2 @@ +import { isNil } from "../fp"; +export = isNil; diff --git a/node_modules/@types/lodash/fp/isNull.d.ts b/node_modules/@types/lodash/fp/isNull.d.ts new file mode 100644 index 0000000..5e5fad5 --- /dev/null +++ b/node_modules/@types/lodash/fp/isNull.d.ts @@ -0,0 +1,2 @@ +import { isNull } from "../fp"; +export = isNull; diff --git a/node_modules/@types/lodash/fp/isNumber.d.ts b/node_modules/@types/lodash/fp/isNumber.d.ts new file mode 100644 index 0000000..93368f1 --- /dev/null +++ b/node_modules/@types/lodash/fp/isNumber.d.ts @@ -0,0 +1,2 @@ +import { isNumber } from "../fp"; +export = isNumber; diff --git a/node_modules/@types/lodash/fp/isObject.d.ts b/node_modules/@types/lodash/fp/isObject.d.ts new file mode 100644 index 0000000..7e9e257 --- /dev/null +++ b/node_modules/@types/lodash/fp/isObject.d.ts @@ -0,0 +1,2 @@ +import { isObject } from "../fp"; +export = isObject; diff --git a/node_modules/@types/lodash/fp/isObjectLike.d.ts b/node_modules/@types/lodash/fp/isObjectLike.d.ts new file mode 100644 index 0000000..ba03ddc --- /dev/null +++ b/node_modules/@types/lodash/fp/isObjectLike.d.ts @@ -0,0 +1,2 @@ +import { isObjectLike } from "../fp"; +export = isObjectLike; diff --git a/node_modules/@types/lodash/fp/isPlainObject.d.ts b/node_modules/@types/lodash/fp/isPlainObject.d.ts new file mode 100644 index 0000000..87da4bd --- /dev/null +++ b/node_modules/@types/lodash/fp/isPlainObject.d.ts @@ -0,0 +1,2 @@ +import { isPlainObject } from "../fp"; +export = isPlainObject; diff --git a/node_modules/@types/lodash/fp/isRegExp.d.ts b/node_modules/@types/lodash/fp/isRegExp.d.ts new file mode 100644 index 0000000..47edf50 --- /dev/null +++ b/node_modules/@types/lodash/fp/isRegExp.d.ts @@ -0,0 +1,2 @@ +import { isRegExp } from "../fp"; +export = isRegExp; diff --git a/node_modules/@types/lodash/fp/isSafeInteger.d.ts b/node_modules/@types/lodash/fp/isSafeInteger.d.ts new file mode 100644 index 0000000..a32b12c --- /dev/null +++ b/node_modules/@types/lodash/fp/isSafeInteger.d.ts @@ -0,0 +1,2 @@ +import { isSafeInteger } from "../fp"; +export = isSafeInteger; diff --git a/node_modules/@types/lodash/fp/isSet.d.ts b/node_modules/@types/lodash/fp/isSet.d.ts new file mode 100644 index 0000000..85e4933 --- /dev/null +++ b/node_modules/@types/lodash/fp/isSet.d.ts @@ -0,0 +1,2 @@ +import { isSet } from "../fp"; +export = isSet; diff --git a/node_modules/@types/lodash/fp/isString.d.ts b/node_modules/@types/lodash/fp/isString.d.ts new file mode 100644 index 0000000..9a21494 --- /dev/null +++ b/node_modules/@types/lodash/fp/isString.d.ts @@ -0,0 +1,2 @@ +import { isString } from "../fp"; +export = isString; diff --git a/node_modules/@types/lodash/fp/isSymbol.d.ts b/node_modules/@types/lodash/fp/isSymbol.d.ts new file mode 100644 index 0000000..3d82e97 --- /dev/null +++ b/node_modules/@types/lodash/fp/isSymbol.d.ts @@ -0,0 +1,2 @@ +import { isSymbol } from "../fp"; +export = isSymbol; diff --git a/node_modules/@types/lodash/fp/isTypedArray.d.ts b/node_modules/@types/lodash/fp/isTypedArray.d.ts new file mode 100644 index 0000000..fce6c44 --- /dev/null +++ b/node_modules/@types/lodash/fp/isTypedArray.d.ts @@ -0,0 +1,2 @@ +import { isTypedArray } from "../fp"; +export = isTypedArray; diff --git a/node_modules/@types/lodash/fp/isUndefined.d.ts b/node_modules/@types/lodash/fp/isUndefined.d.ts new file mode 100644 index 0000000..ccb0100 --- /dev/null +++ b/node_modules/@types/lodash/fp/isUndefined.d.ts @@ -0,0 +1,2 @@ +import { isUndefined } from "../fp"; +export = isUndefined; diff --git a/node_modules/@types/lodash/fp/isWeakMap.d.ts b/node_modules/@types/lodash/fp/isWeakMap.d.ts new file mode 100644 index 0000000..11edaab --- /dev/null +++ b/node_modules/@types/lodash/fp/isWeakMap.d.ts @@ -0,0 +1,2 @@ +import { isWeakMap } from "../fp"; +export = isWeakMap; diff --git a/node_modules/@types/lodash/fp/isWeakSet.d.ts b/node_modules/@types/lodash/fp/isWeakSet.d.ts new file mode 100644 index 0000000..6d877e9 --- /dev/null +++ b/node_modules/@types/lodash/fp/isWeakSet.d.ts @@ -0,0 +1,2 @@ +import { isWeakSet } from "../fp"; +export = isWeakSet; diff --git a/node_modules/@types/lodash/fp/iteratee.d.ts b/node_modules/@types/lodash/fp/iteratee.d.ts new file mode 100644 index 0000000..0ec2832 --- /dev/null +++ b/node_modules/@types/lodash/fp/iteratee.d.ts @@ -0,0 +1,2 @@ +import { iteratee } from "../fp"; +export = iteratee; diff --git a/node_modules/@types/lodash/fp/join.d.ts b/node_modules/@types/lodash/fp/join.d.ts new file mode 100644 index 0000000..beee04c --- /dev/null +++ b/node_modules/@types/lodash/fp/join.d.ts @@ -0,0 +1,2 @@ +import { join } from "../fp"; +export = join; diff --git a/node_modules/@types/lodash/fp/juxt.d.ts b/node_modules/@types/lodash/fp/juxt.d.ts new file mode 100644 index 0000000..5e972d4 --- /dev/null +++ b/node_modules/@types/lodash/fp/juxt.d.ts @@ -0,0 +1,2 @@ +import { juxt } from "../fp"; +export = juxt; diff --git a/node_modules/@types/lodash/fp/kebabCase.d.ts b/node_modules/@types/lodash/fp/kebabCase.d.ts new file mode 100644 index 0000000..8231b15 --- /dev/null +++ b/node_modules/@types/lodash/fp/kebabCase.d.ts @@ -0,0 +1,2 @@ +import { kebabCase } from "../fp"; +export = kebabCase; diff --git a/node_modules/@types/lodash/fp/keyBy.d.ts b/node_modules/@types/lodash/fp/keyBy.d.ts new file mode 100644 index 0000000..e4b1381 --- /dev/null +++ b/node_modules/@types/lodash/fp/keyBy.d.ts @@ -0,0 +1,2 @@ +import { keyBy } from "../fp"; +export = keyBy; diff --git a/node_modules/@types/lodash/fp/keys.d.ts b/node_modules/@types/lodash/fp/keys.d.ts new file mode 100644 index 0000000..0323484 --- /dev/null +++ b/node_modules/@types/lodash/fp/keys.d.ts @@ -0,0 +1,2 @@ +import { keys } from "../fp"; +export = keys; diff --git a/node_modules/@types/lodash/fp/keysIn.d.ts b/node_modules/@types/lodash/fp/keysIn.d.ts new file mode 100644 index 0000000..f6f3482 --- /dev/null +++ b/node_modules/@types/lodash/fp/keysIn.d.ts @@ -0,0 +1,2 @@ +import { keysIn } from "../fp"; +export = keysIn; diff --git a/node_modules/@types/lodash/fp/last.d.ts b/node_modules/@types/lodash/fp/last.d.ts new file mode 100644 index 0000000..f74171a --- /dev/null +++ b/node_modules/@types/lodash/fp/last.d.ts @@ -0,0 +1,2 @@ +import { last } from "../fp"; +export = last; diff --git a/node_modules/@types/lodash/fp/lastIndexOf.d.ts b/node_modules/@types/lodash/fp/lastIndexOf.d.ts new file mode 100644 index 0000000..2d60e64 --- /dev/null +++ b/node_modules/@types/lodash/fp/lastIndexOf.d.ts @@ -0,0 +1,2 @@ +import { lastIndexOf } from "../fp"; +export = lastIndexOf; diff --git a/node_modules/@types/lodash/fp/lastIndexOfFrom.d.ts b/node_modules/@types/lodash/fp/lastIndexOfFrom.d.ts new file mode 100644 index 0000000..7a2f23e --- /dev/null +++ b/node_modules/@types/lodash/fp/lastIndexOfFrom.d.ts @@ -0,0 +1,2 @@ +import { lastIndexOfFrom } from "../fp"; +export = lastIndexOfFrom; diff --git a/node_modules/@types/lodash/fp/lowerCase.d.ts b/node_modules/@types/lodash/fp/lowerCase.d.ts new file mode 100644 index 0000000..1a5360f --- /dev/null +++ b/node_modules/@types/lodash/fp/lowerCase.d.ts @@ -0,0 +1,2 @@ +import { lowerCase } from "../fp"; +export = lowerCase; diff --git a/node_modules/@types/lodash/fp/lowerFirst.d.ts b/node_modules/@types/lodash/fp/lowerFirst.d.ts new file mode 100644 index 0000000..23ce925 --- /dev/null +++ b/node_modules/@types/lodash/fp/lowerFirst.d.ts @@ -0,0 +1,2 @@ +import { lowerFirst } from "../fp"; +export = lowerFirst; diff --git a/node_modules/@types/lodash/fp/lt.d.ts b/node_modules/@types/lodash/fp/lt.d.ts new file mode 100644 index 0000000..a309bdc --- /dev/null +++ b/node_modules/@types/lodash/fp/lt.d.ts @@ -0,0 +1,2 @@ +import { lt } from "../fp"; +export = lt; diff --git a/node_modules/@types/lodash/fp/lte.d.ts b/node_modules/@types/lodash/fp/lte.d.ts new file mode 100644 index 0000000..0d4af2c --- /dev/null +++ b/node_modules/@types/lodash/fp/lte.d.ts @@ -0,0 +1,2 @@ +import { lte } from "../fp"; +export = lte; diff --git a/node_modules/@types/lodash/fp/map.d.ts b/node_modules/@types/lodash/fp/map.d.ts new file mode 100644 index 0000000..17d014c --- /dev/null +++ b/node_modules/@types/lodash/fp/map.d.ts @@ -0,0 +1,2 @@ +import { map } from "../fp"; +export = map; diff --git a/node_modules/@types/lodash/fp/mapKeys.d.ts b/node_modules/@types/lodash/fp/mapKeys.d.ts new file mode 100644 index 0000000..acc6d75 --- /dev/null +++ b/node_modules/@types/lodash/fp/mapKeys.d.ts @@ -0,0 +1,2 @@ +import { mapKeys } from "../fp"; +export = mapKeys; diff --git a/node_modules/@types/lodash/fp/mapValues.d.ts b/node_modules/@types/lodash/fp/mapValues.d.ts new file mode 100644 index 0000000..abef821 --- /dev/null +++ b/node_modules/@types/lodash/fp/mapValues.d.ts @@ -0,0 +1,2 @@ +import { mapValues } from "../fp"; +export = mapValues; diff --git a/node_modules/@types/lodash/fp/matches.d.ts b/node_modules/@types/lodash/fp/matches.d.ts new file mode 100644 index 0000000..e9796de --- /dev/null +++ b/node_modules/@types/lodash/fp/matches.d.ts @@ -0,0 +1,2 @@ +import { matches } from "../fp"; +export = matches; diff --git a/node_modules/@types/lodash/fp/matchesProperty.d.ts b/node_modules/@types/lodash/fp/matchesProperty.d.ts new file mode 100644 index 0000000..81db8f7 --- /dev/null +++ b/node_modules/@types/lodash/fp/matchesProperty.d.ts @@ -0,0 +1,2 @@ +import { matchesProperty } from "../fp"; +export = matchesProperty; diff --git a/node_modules/@types/lodash/fp/max.d.ts b/node_modules/@types/lodash/fp/max.d.ts new file mode 100644 index 0000000..7b08dc5 --- /dev/null +++ b/node_modules/@types/lodash/fp/max.d.ts @@ -0,0 +1,2 @@ +import { max } from "../fp"; +export = max; diff --git a/node_modules/@types/lodash/fp/maxBy.d.ts b/node_modules/@types/lodash/fp/maxBy.d.ts new file mode 100644 index 0000000..68f30dd --- /dev/null +++ b/node_modules/@types/lodash/fp/maxBy.d.ts @@ -0,0 +1,2 @@ +import { maxBy } from "../fp"; +export = maxBy; diff --git a/node_modules/@types/lodash/fp/mean.d.ts b/node_modules/@types/lodash/fp/mean.d.ts new file mode 100644 index 0000000..a0b7e22 --- /dev/null +++ b/node_modules/@types/lodash/fp/mean.d.ts @@ -0,0 +1,2 @@ +import { mean } from "../fp"; +export = mean; diff --git a/node_modules/@types/lodash/fp/meanBy.d.ts b/node_modules/@types/lodash/fp/meanBy.d.ts new file mode 100644 index 0000000..d76afd7 --- /dev/null +++ b/node_modules/@types/lodash/fp/meanBy.d.ts @@ -0,0 +1,2 @@ +import { meanBy } from "../fp"; +export = meanBy; diff --git a/node_modules/@types/lodash/fp/memoize.d.ts b/node_modules/@types/lodash/fp/memoize.d.ts new file mode 100644 index 0000000..a60b79c --- /dev/null +++ b/node_modules/@types/lodash/fp/memoize.d.ts @@ -0,0 +1,2 @@ +import { memoize } from "../fp"; +export = memoize; diff --git a/node_modules/@types/lodash/fp/merge.d.ts b/node_modules/@types/lodash/fp/merge.d.ts new file mode 100644 index 0000000..f80117b --- /dev/null +++ b/node_modules/@types/lodash/fp/merge.d.ts @@ -0,0 +1,2 @@ +import { merge } from "../fp"; +export = merge; diff --git a/node_modules/@types/lodash/fp/mergeAll.d.ts b/node_modules/@types/lodash/fp/mergeAll.d.ts new file mode 100644 index 0000000..6b462d8 --- /dev/null +++ b/node_modules/@types/lodash/fp/mergeAll.d.ts @@ -0,0 +1,2 @@ +import { mergeAll } from "../fp"; +export = mergeAll; diff --git a/node_modules/@types/lodash/fp/mergeAllWith.d.ts b/node_modules/@types/lodash/fp/mergeAllWith.d.ts new file mode 100644 index 0000000..3d2f7f2 --- /dev/null +++ b/node_modules/@types/lodash/fp/mergeAllWith.d.ts @@ -0,0 +1,2 @@ +import { mergeAllWith } from "../fp"; +export = mergeAllWith; diff --git a/node_modules/@types/lodash/fp/mergeWith.d.ts b/node_modules/@types/lodash/fp/mergeWith.d.ts new file mode 100644 index 0000000..d1f541e --- /dev/null +++ b/node_modules/@types/lodash/fp/mergeWith.d.ts @@ -0,0 +1,2 @@ +import { mergeWith } from "../fp"; +export = mergeWith; diff --git a/node_modules/@types/lodash/fp/method.d.ts b/node_modules/@types/lodash/fp/method.d.ts new file mode 100644 index 0000000..f9f2ee8 --- /dev/null +++ b/node_modules/@types/lodash/fp/method.d.ts @@ -0,0 +1,2 @@ +import { method } from "../fp"; +export = method; diff --git a/node_modules/@types/lodash/fp/methodOf.d.ts b/node_modules/@types/lodash/fp/methodOf.d.ts new file mode 100644 index 0000000..a9e0e4f --- /dev/null +++ b/node_modules/@types/lodash/fp/methodOf.d.ts @@ -0,0 +1,2 @@ +import { methodOf } from "../fp"; +export = methodOf; diff --git a/node_modules/@types/lodash/fp/min.d.ts b/node_modules/@types/lodash/fp/min.d.ts new file mode 100644 index 0000000..7c80ab0 --- /dev/null +++ b/node_modules/@types/lodash/fp/min.d.ts @@ -0,0 +1,2 @@ +import { min } from "../fp"; +export = min; diff --git a/node_modules/@types/lodash/fp/minBy.d.ts b/node_modules/@types/lodash/fp/minBy.d.ts new file mode 100644 index 0000000..020a8f5 --- /dev/null +++ b/node_modules/@types/lodash/fp/minBy.d.ts @@ -0,0 +1,2 @@ +import { minBy } from "../fp"; +export = minBy; diff --git a/node_modules/@types/lodash/fp/multiply.d.ts b/node_modules/@types/lodash/fp/multiply.d.ts new file mode 100644 index 0000000..b3e5f3a --- /dev/null +++ b/node_modules/@types/lodash/fp/multiply.d.ts @@ -0,0 +1,2 @@ +import { multiply } from "../fp"; +export = multiply; diff --git a/node_modules/@types/lodash/fp/nAry.d.ts b/node_modules/@types/lodash/fp/nAry.d.ts new file mode 100644 index 0000000..882e4a3 --- /dev/null +++ b/node_modules/@types/lodash/fp/nAry.d.ts @@ -0,0 +1,2 @@ +import { nAry } from "../fp"; +export = nAry; diff --git a/node_modules/@types/lodash/fp/negate.d.ts b/node_modules/@types/lodash/fp/negate.d.ts new file mode 100644 index 0000000..a7693c1 --- /dev/null +++ b/node_modules/@types/lodash/fp/negate.d.ts @@ -0,0 +1,2 @@ +import { negate } from "../fp"; +export = negate; diff --git a/node_modules/@types/lodash/fp/noConflict.d.ts b/node_modules/@types/lodash/fp/noConflict.d.ts new file mode 100644 index 0000000..7694f5a --- /dev/null +++ b/node_modules/@types/lodash/fp/noConflict.d.ts @@ -0,0 +1,2 @@ +import { noConflict } from "../fp"; +export = noConflict; diff --git a/node_modules/@types/lodash/fp/noop.d.ts b/node_modules/@types/lodash/fp/noop.d.ts new file mode 100644 index 0000000..5b6a27b --- /dev/null +++ b/node_modules/@types/lodash/fp/noop.d.ts @@ -0,0 +1,2 @@ +import { noop } from "../fp"; +export = noop; diff --git a/node_modules/@types/lodash/fp/now.d.ts b/node_modules/@types/lodash/fp/now.d.ts new file mode 100644 index 0000000..fdbbd2b --- /dev/null +++ b/node_modules/@types/lodash/fp/now.d.ts @@ -0,0 +1,2 @@ +import { now } from "../fp"; +export = now; diff --git a/node_modules/@types/lodash/fp/nth.d.ts b/node_modules/@types/lodash/fp/nth.d.ts new file mode 100644 index 0000000..e3987e1 --- /dev/null +++ b/node_modules/@types/lodash/fp/nth.d.ts @@ -0,0 +1,2 @@ +import { nth } from "../fp"; +export = nth; diff --git a/node_modules/@types/lodash/fp/nthArg.d.ts b/node_modules/@types/lodash/fp/nthArg.d.ts new file mode 100644 index 0000000..216c9bb --- /dev/null +++ b/node_modules/@types/lodash/fp/nthArg.d.ts @@ -0,0 +1,2 @@ +import { nthArg } from "../fp"; +export = nthArg; diff --git a/node_modules/@types/lodash/fp/omit.d.ts b/node_modules/@types/lodash/fp/omit.d.ts new file mode 100644 index 0000000..1cd1b7f --- /dev/null +++ b/node_modules/@types/lodash/fp/omit.d.ts @@ -0,0 +1,2 @@ +import { omit } from "../fp"; +export = omit; diff --git a/node_modules/@types/lodash/fp/omitAll.d.ts b/node_modules/@types/lodash/fp/omitAll.d.ts new file mode 100644 index 0000000..dab5cfa --- /dev/null +++ b/node_modules/@types/lodash/fp/omitAll.d.ts @@ -0,0 +1,2 @@ +import { omitAll } from "../fp"; +export = omitAll; diff --git a/node_modules/@types/lodash/fp/omitBy.d.ts b/node_modules/@types/lodash/fp/omitBy.d.ts new file mode 100644 index 0000000..8be4f5b --- /dev/null +++ b/node_modules/@types/lodash/fp/omitBy.d.ts @@ -0,0 +1,2 @@ +import { omitBy } from "../fp"; +export = omitBy; diff --git a/node_modules/@types/lodash/fp/once.d.ts b/node_modules/@types/lodash/fp/once.d.ts new file mode 100644 index 0000000..24d859c --- /dev/null +++ b/node_modules/@types/lodash/fp/once.d.ts @@ -0,0 +1,2 @@ +import { once } from "../fp"; +export = once; diff --git a/node_modules/@types/lodash/fp/orderBy.d.ts b/node_modules/@types/lodash/fp/orderBy.d.ts new file mode 100644 index 0000000..9443fcf --- /dev/null +++ b/node_modules/@types/lodash/fp/orderBy.d.ts @@ -0,0 +1,2 @@ +import { orderBy } from "../fp"; +export = orderBy; diff --git a/node_modules/@types/lodash/fp/over.d.ts b/node_modules/@types/lodash/fp/over.d.ts new file mode 100644 index 0000000..1bd2502 --- /dev/null +++ b/node_modules/@types/lodash/fp/over.d.ts @@ -0,0 +1,2 @@ +import { over } from "../fp"; +export = over; diff --git a/node_modules/@types/lodash/fp/overArgs.d.ts b/node_modules/@types/lodash/fp/overArgs.d.ts new file mode 100644 index 0000000..c054c92 --- /dev/null +++ b/node_modules/@types/lodash/fp/overArgs.d.ts @@ -0,0 +1,2 @@ +import { overArgs } from "../fp"; +export = overArgs; diff --git a/node_modules/@types/lodash/fp/overEvery.d.ts b/node_modules/@types/lodash/fp/overEvery.d.ts new file mode 100644 index 0000000..1cf8b40 --- /dev/null +++ b/node_modules/@types/lodash/fp/overEvery.d.ts @@ -0,0 +1,2 @@ +import { overEvery } from "../fp"; +export = overEvery; diff --git a/node_modules/@types/lodash/fp/overSome.d.ts b/node_modules/@types/lodash/fp/overSome.d.ts new file mode 100644 index 0000000..6b098b7 --- /dev/null +++ b/node_modules/@types/lodash/fp/overSome.d.ts @@ -0,0 +1,2 @@ +import { overSome } from "../fp"; +export = overSome; diff --git a/node_modules/@types/lodash/fp/pad.d.ts b/node_modules/@types/lodash/fp/pad.d.ts new file mode 100644 index 0000000..a551977 --- /dev/null +++ b/node_modules/@types/lodash/fp/pad.d.ts @@ -0,0 +1,2 @@ +import { pad } from "../fp"; +export = pad; diff --git a/node_modules/@types/lodash/fp/padChars.d.ts b/node_modules/@types/lodash/fp/padChars.d.ts new file mode 100644 index 0000000..74d1aab --- /dev/null +++ b/node_modules/@types/lodash/fp/padChars.d.ts @@ -0,0 +1,2 @@ +import { padChars } from "../fp"; +export = padChars; diff --git a/node_modules/@types/lodash/fp/padCharsEnd.d.ts b/node_modules/@types/lodash/fp/padCharsEnd.d.ts new file mode 100644 index 0000000..3a468dc --- /dev/null +++ b/node_modules/@types/lodash/fp/padCharsEnd.d.ts @@ -0,0 +1,2 @@ +import { padCharsEnd } from "../fp"; +export = padCharsEnd; diff --git a/node_modules/@types/lodash/fp/padCharsStart.d.ts b/node_modules/@types/lodash/fp/padCharsStart.d.ts new file mode 100644 index 0000000..a225235 --- /dev/null +++ b/node_modules/@types/lodash/fp/padCharsStart.d.ts @@ -0,0 +1,2 @@ +import { padCharsStart } from "../fp"; +export = padCharsStart; diff --git a/node_modules/@types/lodash/fp/padEnd.d.ts b/node_modules/@types/lodash/fp/padEnd.d.ts new file mode 100644 index 0000000..5c4e4d8 --- /dev/null +++ b/node_modules/@types/lodash/fp/padEnd.d.ts @@ -0,0 +1,2 @@ +import { padEnd } from "../fp"; +export = padEnd; diff --git a/node_modules/@types/lodash/fp/padStart.d.ts b/node_modules/@types/lodash/fp/padStart.d.ts new file mode 100644 index 0000000..a4fca5d --- /dev/null +++ b/node_modules/@types/lodash/fp/padStart.d.ts @@ -0,0 +1,2 @@ +import { padStart } from "../fp"; +export = padStart; diff --git a/node_modules/@types/lodash/fp/parseInt.d.ts b/node_modules/@types/lodash/fp/parseInt.d.ts new file mode 100644 index 0000000..47aff97 --- /dev/null +++ b/node_modules/@types/lodash/fp/parseInt.d.ts @@ -0,0 +1,2 @@ +import { parseInt } from "../fp"; +export = parseInt; diff --git a/node_modules/@types/lodash/fp/partial.d.ts b/node_modules/@types/lodash/fp/partial.d.ts new file mode 100644 index 0000000..f5ebd72 --- /dev/null +++ b/node_modules/@types/lodash/fp/partial.d.ts @@ -0,0 +1,2 @@ +import { partial } from "../fp"; +export = partial; diff --git a/node_modules/@types/lodash/fp/partialRight.d.ts b/node_modules/@types/lodash/fp/partialRight.d.ts new file mode 100644 index 0000000..bc0fa1b --- /dev/null +++ b/node_modules/@types/lodash/fp/partialRight.d.ts @@ -0,0 +1,2 @@ +import { partialRight } from "../fp"; +export = partialRight; diff --git a/node_modules/@types/lodash/fp/partition.d.ts b/node_modules/@types/lodash/fp/partition.d.ts new file mode 100644 index 0000000..6ad41cd --- /dev/null +++ b/node_modules/@types/lodash/fp/partition.d.ts @@ -0,0 +1,2 @@ +import { partition } from "../fp"; +export = partition; diff --git a/node_modules/@types/lodash/fp/path.d.ts b/node_modules/@types/lodash/fp/path.d.ts new file mode 100644 index 0000000..db86d60 --- /dev/null +++ b/node_modules/@types/lodash/fp/path.d.ts @@ -0,0 +1,2 @@ +import { path } from "../fp"; +export = path; diff --git a/node_modules/@types/lodash/fp/pathEq.d.ts b/node_modules/@types/lodash/fp/pathEq.d.ts new file mode 100644 index 0000000..9f32875 --- /dev/null +++ b/node_modules/@types/lodash/fp/pathEq.d.ts @@ -0,0 +1,2 @@ +import { pathEq } from "../fp"; +export = pathEq; diff --git a/node_modules/@types/lodash/fp/pathOr.d.ts b/node_modules/@types/lodash/fp/pathOr.d.ts new file mode 100644 index 0000000..6cad6b1 --- /dev/null +++ b/node_modules/@types/lodash/fp/pathOr.d.ts @@ -0,0 +1,2 @@ +import { pathOr } from "../fp"; +export = pathOr; diff --git a/node_modules/@types/lodash/fp/paths.d.ts b/node_modules/@types/lodash/fp/paths.d.ts new file mode 100644 index 0000000..1e6eb89 --- /dev/null +++ b/node_modules/@types/lodash/fp/paths.d.ts @@ -0,0 +1,2 @@ +import { paths } from "../fp"; +export = paths; diff --git a/node_modules/@types/lodash/fp/pick.d.ts b/node_modules/@types/lodash/fp/pick.d.ts new file mode 100644 index 0000000..4772eca --- /dev/null +++ b/node_modules/@types/lodash/fp/pick.d.ts @@ -0,0 +1,2 @@ +import { pick } from "../fp"; +export = pick; diff --git a/node_modules/@types/lodash/fp/pickAll.d.ts b/node_modules/@types/lodash/fp/pickAll.d.ts new file mode 100644 index 0000000..38d2e3f --- /dev/null +++ b/node_modules/@types/lodash/fp/pickAll.d.ts @@ -0,0 +1,2 @@ +import { pickAll } from "../fp"; +export = pickAll; diff --git a/node_modules/@types/lodash/fp/pickBy.d.ts b/node_modules/@types/lodash/fp/pickBy.d.ts new file mode 100644 index 0000000..0b19262 --- /dev/null +++ b/node_modules/@types/lodash/fp/pickBy.d.ts @@ -0,0 +1,2 @@ +import { pickBy } from "../fp"; +export = pickBy; diff --git a/node_modules/@types/lodash/fp/pipe.d.ts b/node_modules/@types/lodash/fp/pipe.d.ts new file mode 100644 index 0000000..a53a048 --- /dev/null +++ b/node_modules/@types/lodash/fp/pipe.d.ts @@ -0,0 +1,2 @@ +import { pipe } from "../fp"; +export = pipe; diff --git a/node_modules/@types/lodash/fp/placeholder.d.ts b/node_modules/@types/lodash/fp/placeholder.d.ts new file mode 100644 index 0000000..ddaed8e --- /dev/null +++ b/node_modules/@types/lodash/fp/placeholder.d.ts @@ -0,0 +1,3 @@ +import _ = require("../index"); +declare const placeholder: _.__; +export = placeholder; diff --git a/node_modules/@types/lodash/fp/pluck.d.ts b/node_modules/@types/lodash/fp/pluck.d.ts new file mode 100644 index 0000000..c5c916f --- /dev/null +++ b/node_modules/@types/lodash/fp/pluck.d.ts @@ -0,0 +1,2 @@ +import { pluck } from "../fp"; +export = pluck; diff --git a/node_modules/@types/lodash/fp/prop.d.ts b/node_modules/@types/lodash/fp/prop.d.ts new file mode 100644 index 0000000..f2061e7 --- /dev/null +++ b/node_modules/@types/lodash/fp/prop.d.ts @@ -0,0 +1,2 @@ +import { prop } from "../fp"; +export = prop; diff --git a/node_modules/@types/lodash/fp/propEq.d.ts b/node_modules/@types/lodash/fp/propEq.d.ts new file mode 100644 index 0000000..5e3f4b4 --- /dev/null +++ b/node_modules/@types/lodash/fp/propEq.d.ts @@ -0,0 +1,2 @@ +import { propEq } from "../fp"; +export = propEq; diff --git a/node_modules/@types/lodash/fp/propOr.d.ts b/node_modules/@types/lodash/fp/propOr.d.ts new file mode 100644 index 0000000..feabcf6 --- /dev/null +++ b/node_modules/@types/lodash/fp/propOr.d.ts @@ -0,0 +1,2 @@ +import { propOr } from "../fp"; +export = propOr; diff --git a/node_modules/@types/lodash/fp/property.d.ts b/node_modules/@types/lodash/fp/property.d.ts new file mode 100644 index 0000000..aaa6c25 --- /dev/null +++ b/node_modules/@types/lodash/fp/property.d.ts @@ -0,0 +1,2 @@ +import { property } from "../fp"; +export = property; diff --git a/node_modules/@types/lodash/fp/propertyOf.d.ts b/node_modules/@types/lodash/fp/propertyOf.d.ts new file mode 100644 index 0000000..a4d5513 --- /dev/null +++ b/node_modules/@types/lodash/fp/propertyOf.d.ts @@ -0,0 +1,2 @@ +import { propertyOf } from "../fp"; +export = propertyOf; diff --git a/node_modules/@types/lodash/fp/props.d.ts b/node_modules/@types/lodash/fp/props.d.ts new file mode 100644 index 0000000..46addba --- /dev/null +++ b/node_modules/@types/lodash/fp/props.d.ts @@ -0,0 +1,2 @@ +import { props } from "../fp"; +export = props; diff --git a/node_modules/@types/lodash/fp/pull.d.ts b/node_modules/@types/lodash/fp/pull.d.ts new file mode 100644 index 0000000..801cf33 --- /dev/null +++ b/node_modules/@types/lodash/fp/pull.d.ts @@ -0,0 +1,2 @@ +import { pull } from "../fp"; +export = pull; diff --git a/node_modules/@types/lodash/fp/pullAll.d.ts b/node_modules/@types/lodash/fp/pullAll.d.ts new file mode 100644 index 0000000..042fe89 --- /dev/null +++ b/node_modules/@types/lodash/fp/pullAll.d.ts @@ -0,0 +1,2 @@ +import { pullAll } from "../fp"; +export = pullAll; diff --git a/node_modules/@types/lodash/fp/pullAllBy.d.ts b/node_modules/@types/lodash/fp/pullAllBy.d.ts new file mode 100644 index 0000000..5e5de1f --- /dev/null +++ b/node_modules/@types/lodash/fp/pullAllBy.d.ts @@ -0,0 +1,2 @@ +import { pullAllBy } from "../fp"; +export = pullAllBy; diff --git a/node_modules/@types/lodash/fp/pullAllWith.d.ts b/node_modules/@types/lodash/fp/pullAllWith.d.ts new file mode 100644 index 0000000..0c448bf --- /dev/null +++ b/node_modules/@types/lodash/fp/pullAllWith.d.ts @@ -0,0 +1,2 @@ +import { pullAllWith } from "../fp"; +export = pullAllWith; diff --git a/node_modules/@types/lodash/fp/pullAt.d.ts b/node_modules/@types/lodash/fp/pullAt.d.ts new file mode 100644 index 0000000..4bdffd9 --- /dev/null +++ b/node_modules/@types/lodash/fp/pullAt.d.ts @@ -0,0 +1,2 @@ +import { pullAt } from "../fp"; +export = pullAt; diff --git a/node_modules/@types/lodash/fp/random.d.ts b/node_modules/@types/lodash/fp/random.d.ts new file mode 100644 index 0000000..a69555c --- /dev/null +++ b/node_modules/@types/lodash/fp/random.d.ts @@ -0,0 +1,2 @@ +import { random } from "../fp"; +export = random; diff --git a/node_modules/@types/lodash/fp/range.d.ts b/node_modules/@types/lodash/fp/range.d.ts new file mode 100644 index 0000000..ace50ce --- /dev/null +++ b/node_modules/@types/lodash/fp/range.d.ts @@ -0,0 +1,2 @@ +import { range } from "../fp"; +export = range; diff --git a/node_modules/@types/lodash/fp/rangeRight.d.ts b/node_modules/@types/lodash/fp/rangeRight.d.ts new file mode 100644 index 0000000..20c8bae --- /dev/null +++ b/node_modules/@types/lodash/fp/rangeRight.d.ts @@ -0,0 +1,2 @@ +import { rangeRight } from "../fp"; +export = rangeRight; diff --git a/node_modules/@types/lodash/fp/rangeStep.d.ts b/node_modules/@types/lodash/fp/rangeStep.d.ts new file mode 100644 index 0000000..e5f4c89 --- /dev/null +++ b/node_modules/@types/lodash/fp/rangeStep.d.ts @@ -0,0 +1,2 @@ +import { rangeStep } from "../fp"; +export = rangeStep; diff --git a/node_modules/@types/lodash/fp/rangeStepRight.d.ts b/node_modules/@types/lodash/fp/rangeStepRight.d.ts new file mode 100644 index 0000000..6c7add4 --- /dev/null +++ b/node_modules/@types/lodash/fp/rangeStepRight.d.ts @@ -0,0 +1,2 @@ +import { rangeStepRight } from "../fp"; +export = rangeStepRight; diff --git a/node_modules/@types/lodash/fp/rearg.d.ts b/node_modules/@types/lodash/fp/rearg.d.ts new file mode 100644 index 0000000..5c407d1 --- /dev/null +++ b/node_modules/@types/lodash/fp/rearg.d.ts @@ -0,0 +1,2 @@ +import { rearg } from "../fp"; +export = rearg; diff --git a/node_modules/@types/lodash/fp/reduce.d.ts b/node_modules/@types/lodash/fp/reduce.d.ts new file mode 100644 index 0000000..e262f39 --- /dev/null +++ b/node_modules/@types/lodash/fp/reduce.d.ts @@ -0,0 +1,2 @@ +import { reduce } from "../fp"; +export = reduce; diff --git a/node_modules/@types/lodash/fp/reduceRight.d.ts b/node_modules/@types/lodash/fp/reduceRight.d.ts new file mode 100644 index 0000000..fa54fa3 --- /dev/null +++ b/node_modules/@types/lodash/fp/reduceRight.d.ts @@ -0,0 +1,2 @@ +import { reduceRight } from "../fp"; +export = reduceRight; diff --git a/node_modules/@types/lodash/fp/reject.d.ts b/node_modules/@types/lodash/fp/reject.d.ts new file mode 100644 index 0000000..d0a12af --- /dev/null +++ b/node_modules/@types/lodash/fp/reject.d.ts @@ -0,0 +1,2 @@ +import { reject } from "../fp"; +export = reject; diff --git a/node_modules/@types/lodash/fp/remove.d.ts b/node_modules/@types/lodash/fp/remove.d.ts new file mode 100644 index 0000000..e0da9b1 --- /dev/null +++ b/node_modules/@types/lodash/fp/remove.d.ts @@ -0,0 +1,2 @@ +import { remove } from "../fp"; +export = remove; diff --git a/node_modules/@types/lodash/fp/repeat.d.ts b/node_modules/@types/lodash/fp/repeat.d.ts new file mode 100644 index 0000000..1f757a2 --- /dev/null +++ b/node_modules/@types/lodash/fp/repeat.d.ts @@ -0,0 +1,2 @@ +import { repeat } from "../fp"; +export = repeat; diff --git a/node_modules/@types/lodash/fp/replace.d.ts b/node_modules/@types/lodash/fp/replace.d.ts new file mode 100644 index 0000000..c7a75d1 --- /dev/null +++ b/node_modules/@types/lodash/fp/replace.d.ts @@ -0,0 +1,2 @@ +import { replace } from "../fp"; +export = replace; diff --git a/node_modules/@types/lodash/fp/rest.d.ts b/node_modules/@types/lodash/fp/rest.d.ts new file mode 100644 index 0000000..b059d67 --- /dev/null +++ b/node_modules/@types/lodash/fp/rest.d.ts @@ -0,0 +1,2 @@ +import { rest } from "../fp"; +export = rest; diff --git a/node_modules/@types/lodash/fp/restFrom.d.ts b/node_modules/@types/lodash/fp/restFrom.d.ts new file mode 100644 index 0000000..218edbd --- /dev/null +++ b/node_modules/@types/lodash/fp/restFrom.d.ts @@ -0,0 +1,2 @@ +import { restFrom } from "../fp"; +export = restFrom; diff --git a/node_modules/@types/lodash/fp/result.d.ts b/node_modules/@types/lodash/fp/result.d.ts new file mode 100644 index 0000000..5a919dd --- /dev/null +++ b/node_modules/@types/lodash/fp/result.d.ts @@ -0,0 +1,2 @@ +import { result } from "../fp"; +export = result; diff --git a/node_modules/@types/lodash/fp/reverse.d.ts b/node_modules/@types/lodash/fp/reverse.d.ts new file mode 100644 index 0000000..f754d6a --- /dev/null +++ b/node_modules/@types/lodash/fp/reverse.d.ts @@ -0,0 +1,2 @@ +import { reverse } from "../fp"; +export = reverse; diff --git a/node_modules/@types/lodash/fp/round.d.ts b/node_modules/@types/lodash/fp/round.d.ts new file mode 100644 index 0000000..02f4e6f --- /dev/null +++ b/node_modules/@types/lodash/fp/round.d.ts @@ -0,0 +1,2 @@ +import { round } from "../fp"; +export = round; diff --git a/node_modules/@types/lodash/fp/runInContext.d.ts b/node_modules/@types/lodash/fp/runInContext.d.ts new file mode 100644 index 0000000..6041db7 --- /dev/null +++ b/node_modules/@types/lodash/fp/runInContext.d.ts @@ -0,0 +1,2 @@ +import { runInContext } from "../fp"; +export = runInContext; diff --git a/node_modules/@types/lodash/fp/sample.d.ts b/node_modules/@types/lodash/fp/sample.d.ts new file mode 100644 index 0000000..f2fcf1a --- /dev/null +++ b/node_modules/@types/lodash/fp/sample.d.ts @@ -0,0 +1,2 @@ +import { sample } from "../fp"; +export = sample; diff --git a/node_modules/@types/lodash/fp/sampleSize.d.ts b/node_modules/@types/lodash/fp/sampleSize.d.ts new file mode 100644 index 0000000..41a3cab --- /dev/null +++ b/node_modules/@types/lodash/fp/sampleSize.d.ts @@ -0,0 +1,2 @@ +import { sampleSize } from "../fp"; +export = sampleSize; diff --git a/node_modules/@types/lodash/fp/set.d.ts b/node_modules/@types/lodash/fp/set.d.ts new file mode 100644 index 0000000..57960cb --- /dev/null +++ b/node_modules/@types/lodash/fp/set.d.ts @@ -0,0 +1,2 @@ +import { set } from "../fp"; +export = set; diff --git a/node_modules/@types/lodash/fp/setWith.d.ts b/node_modules/@types/lodash/fp/setWith.d.ts new file mode 100644 index 0000000..800a494 --- /dev/null +++ b/node_modules/@types/lodash/fp/setWith.d.ts @@ -0,0 +1,2 @@ +import { setWith } from "../fp"; +export = setWith; diff --git a/node_modules/@types/lodash/fp/shuffle.d.ts b/node_modules/@types/lodash/fp/shuffle.d.ts new file mode 100644 index 0000000..7f07282 --- /dev/null +++ b/node_modules/@types/lodash/fp/shuffle.d.ts @@ -0,0 +1,2 @@ +import { shuffle } from "../fp"; +export = shuffle; diff --git a/node_modules/@types/lodash/fp/size.d.ts b/node_modules/@types/lodash/fp/size.d.ts new file mode 100644 index 0000000..657c8b7 --- /dev/null +++ b/node_modules/@types/lodash/fp/size.d.ts @@ -0,0 +1,2 @@ +import { size } from "../fp"; +export = size; diff --git a/node_modules/@types/lodash/fp/slice.d.ts b/node_modules/@types/lodash/fp/slice.d.ts new file mode 100644 index 0000000..fabbbe0 --- /dev/null +++ b/node_modules/@types/lodash/fp/slice.d.ts @@ -0,0 +1,2 @@ +import { slice } from "../fp"; +export = slice; diff --git a/node_modules/@types/lodash/fp/snakeCase.d.ts b/node_modules/@types/lodash/fp/snakeCase.d.ts new file mode 100644 index 0000000..a06ac45 --- /dev/null +++ b/node_modules/@types/lodash/fp/snakeCase.d.ts @@ -0,0 +1,2 @@ +import { snakeCase } from "../fp"; +export = snakeCase; diff --git a/node_modules/@types/lodash/fp/some.d.ts b/node_modules/@types/lodash/fp/some.d.ts new file mode 100644 index 0000000..870b231 --- /dev/null +++ b/node_modules/@types/lodash/fp/some.d.ts @@ -0,0 +1,2 @@ +import { some } from "../fp"; +export = some; diff --git a/node_modules/@types/lodash/fp/sortBy.d.ts b/node_modules/@types/lodash/fp/sortBy.d.ts new file mode 100644 index 0000000..72c5799 --- /dev/null +++ b/node_modules/@types/lodash/fp/sortBy.d.ts @@ -0,0 +1,2 @@ +import { sortBy } from "../fp"; +export = sortBy; diff --git a/node_modules/@types/lodash/fp/sortedIndex.d.ts b/node_modules/@types/lodash/fp/sortedIndex.d.ts new file mode 100644 index 0000000..35b57fe --- /dev/null +++ b/node_modules/@types/lodash/fp/sortedIndex.d.ts @@ -0,0 +1,2 @@ +import { sortedIndex } from "../fp"; +export = sortedIndex; diff --git a/node_modules/@types/lodash/fp/sortedIndexBy.d.ts b/node_modules/@types/lodash/fp/sortedIndexBy.d.ts new file mode 100644 index 0000000..f6968df --- /dev/null +++ b/node_modules/@types/lodash/fp/sortedIndexBy.d.ts @@ -0,0 +1,2 @@ +import { sortedIndexBy } from "../fp"; +export = sortedIndexBy; diff --git a/node_modules/@types/lodash/fp/sortedIndexOf.d.ts b/node_modules/@types/lodash/fp/sortedIndexOf.d.ts new file mode 100644 index 0000000..beeb6db --- /dev/null +++ b/node_modules/@types/lodash/fp/sortedIndexOf.d.ts @@ -0,0 +1,2 @@ +import { sortedIndexOf } from "../fp"; +export = sortedIndexOf; diff --git a/node_modules/@types/lodash/fp/sortedLastIndex.d.ts b/node_modules/@types/lodash/fp/sortedLastIndex.d.ts new file mode 100644 index 0000000..eea77a0 --- /dev/null +++ b/node_modules/@types/lodash/fp/sortedLastIndex.d.ts @@ -0,0 +1,2 @@ +import { sortedLastIndex } from "../fp"; +export = sortedLastIndex; diff --git a/node_modules/@types/lodash/fp/sortedLastIndexBy.d.ts b/node_modules/@types/lodash/fp/sortedLastIndexBy.d.ts new file mode 100644 index 0000000..6c8e4ee --- /dev/null +++ b/node_modules/@types/lodash/fp/sortedLastIndexBy.d.ts @@ -0,0 +1,2 @@ +import { sortedLastIndexBy } from "../fp"; +export = sortedLastIndexBy; diff --git a/node_modules/@types/lodash/fp/sortedLastIndexOf.d.ts b/node_modules/@types/lodash/fp/sortedLastIndexOf.d.ts new file mode 100644 index 0000000..a02caf3 --- /dev/null +++ b/node_modules/@types/lodash/fp/sortedLastIndexOf.d.ts @@ -0,0 +1,2 @@ +import { sortedLastIndexOf } from "../fp"; +export = sortedLastIndexOf; diff --git a/node_modules/@types/lodash/fp/sortedUniq.d.ts b/node_modules/@types/lodash/fp/sortedUniq.d.ts new file mode 100644 index 0000000..03d8e69 --- /dev/null +++ b/node_modules/@types/lodash/fp/sortedUniq.d.ts @@ -0,0 +1,2 @@ +import { sortedUniq } from "../fp"; +export = sortedUniq; diff --git a/node_modules/@types/lodash/fp/sortedUniqBy.d.ts b/node_modules/@types/lodash/fp/sortedUniqBy.d.ts new file mode 100644 index 0000000..466981a --- /dev/null +++ b/node_modules/@types/lodash/fp/sortedUniqBy.d.ts @@ -0,0 +1,2 @@ +import { sortedUniqBy } from "../fp"; +export = sortedUniqBy; diff --git a/node_modules/@types/lodash/fp/split.d.ts b/node_modules/@types/lodash/fp/split.d.ts new file mode 100644 index 0000000..8274d40 --- /dev/null +++ b/node_modules/@types/lodash/fp/split.d.ts @@ -0,0 +1,2 @@ +import { split } from "../fp"; +export = split; diff --git a/node_modules/@types/lodash/fp/spread.d.ts b/node_modules/@types/lodash/fp/spread.d.ts new file mode 100644 index 0000000..44eb90c --- /dev/null +++ b/node_modules/@types/lodash/fp/spread.d.ts @@ -0,0 +1,2 @@ +import { spread } from "../fp"; +export = spread; diff --git a/node_modules/@types/lodash/fp/spreadFrom.d.ts b/node_modules/@types/lodash/fp/spreadFrom.d.ts new file mode 100644 index 0000000..7eb840b --- /dev/null +++ b/node_modules/@types/lodash/fp/spreadFrom.d.ts @@ -0,0 +1,2 @@ +import { spreadFrom } from "../fp"; +export = spreadFrom; diff --git a/node_modules/@types/lodash/fp/startCase.d.ts b/node_modules/@types/lodash/fp/startCase.d.ts new file mode 100644 index 0000000..4f580aa --- /dev/null +++ b/node_modules/@types/lodash/fp/startCase.d.ts @@ -0,0 +1,2 @@ +import { startCase } from "../fp"; +export = startCase; diff --git a/node_modules/@types/lodash/fp/startsWith.d.ts b/node_modules/@types/lodash/fp/startsWith.d.ts new file mode 100644 index 0000000..f84397d --- /dev/null +++ b/node_modules/@types/lodash/fp/startsWith.d.ts @@ -0,0 +1,2 @@ +import { startsWith } from "../fp"; +export = startsWith; diff --git a/node_modules/@types/lodash/fp/stubArray.d.ts b/node_modules/@types/lodash/fp/stubArray.d.ts new file mode 100644 index 0000000..8ff910e --- /dev/null +++ b/node_modules/@types/lodash/fp/stubArray.d.ts @@ -0,0 +1,2 @@ +import { stubArray } from "../fp"; +export = stubArray; diff --git a/node_modules/@types/lodash/fp/stubFalse.d.ts b/node_modules/@types/lodash/fp/stubFalse.d.ts new file mode 100644 index 0000000..4cc0414 --- /dev/null +++ b/node_modules/@types/lodash/fp/stubFalse.d.ts @@ -0,0 +1,2 @@ +import { stubFalse } from "../fp"; +export = stubFalse; diff --git a/node_modules/@types/lodash/fp/stubObject.d.ts b/node_modules/@types/lodash/fp/stubObject.d.ts new file mode 100644 index 0000000..d7c8269 --- /dev/null +++ b/node_modules/@types/lodash/fp/stubObject.d.ts @@ -0,0 +1,2 @@ +import { stubObject } from "../fp"; +export = stubObject; diff --git a/node_modules/@types/lodash/fp/stubString.d.ts b/node_modules/@types/lodash/fp/stubString.d.ts new file mode 100644 index 0000000..cbfa449 --- /dev/null +++ b/node_modules/@types/lodash/fp/stubString.d.ts @@ -0,0 +1,2 @@ +import { stubString } from "../fp"; +export = stubString; diff --git a/node_modules/@types/lodash/fp/stubTrue.d.ts b/node_modules/@types/lodash/fp/stubTrue.d.ts new file mode 100644 index 0000000..0ed7e5b --- /dev/null +++ b/node_modules/@types/lodash/fp/stubTrue.d.ts @@ -0,0 +1,2 @@ +import { stubTrue } from "../fp"; +export = stubTrue; diff --git a/node_modules/@types/lodash/fp/subtract.d.ts b/node_modules/@types/lodash/fp/subtract.d.ts new file mode 100644 index 0000000..201301b --- /dev/null +++ b/node_modules/@types/lodash/fp/subtract.d.ts @@ -0,0 +1,2 @@ +import { subtract } from "../fp"; +export = subtract; diff --git a/node_modules/@types/lodash/fp/sum.d.ts b/node_modules/@types/lodash/fp/sum.d.ts new file mode 100644 index 0000000..6d7d020 --- /dev/null +++ b/node_modules/@types/lodash/fp/sum.d.ts @@ -0,0 +1,2 @@ +import { sum } from "../fp"; +export = sum; diff --git a/node_modules/@types/lodash/fp/sumBy.d.ts b/node_modules/@types/lodash/fp/sumBy.d.ts new file mode 100644 index 0000000..3f44c3f --- /dev/null +++ b/node_modules/@types/lodash/fp/sumBy.d.ts @@ -0,0 +1,2 @@ +import { sumBy } from "../fp"; +export = sumBy; diff --git a/node_modules/@types/lodash/fp/symmetricDifference.d.ts b/node_modules/@types/lodash/fp/symmetricDifference.d.ts new file mode 100644 index 0000000..cba1d1f --- /dev/null +++ b/node_modules/@types/lodash/fp/symmetricDifference.d.ts @@ -0,0 +1,2 @@ +import { symmetricDifference } from "../fp"; +export = symmetricDifference; diff --git a/node_modules/@types/lodash/fp/symmetricDifferenceBy.d.ts b/node_modules/@types/lodash/fp/symmetricDifferenceBy.d.ts new file mode 100644 index 0000000..8e9316c --- /dev/null +++ b/node_modules/@types/lodash/fp/symmetricDifferenceBy.d.ts @@ -0,0 +1,2 @@ +import { symmetricDifferenceBy } from "../fp"; +export = symmetricDifferenceBy; diff --git a/node_modules/@types/lodash/fp/symmetricDifferenceWith.d.ts b/node_modules/@types/lodash/fp/symmetricDifferenceWith.d.ts new file mode 100644 index 0000000..864ec01 --- /dev/null +++ b/node_modules/@types/lodash/fp/symmetricDifferenceWith.d.ts @@ -0,0 +1,2 @@ +import { symmetricDifferenceWith } from "../fp"; +export = symmetricDifferenceWith; diff --git a/node_modules/@types/lodash/fp/tail.d.ts b/node_modules/@types/lodash/fp/tail.d.ts new file mode 100644 index 0000000..df9bcdc --- /dev/null +++ b/node_modules/@types/lodash/fp/tail.d.ts @@ -0,0 +1,2 @@ +import { tail } from "../fp"; +export = tail; diff --git a/node_modules/@types/lodash/fp/take.d.ts b/node_modules/@types/lodash/fp/take.d.ts new file mode 100644 index 0000000..ab46aca --- /dev/null +++ b/node_modules/@types/lodash/fp/take.d.ts @@ -0,0 +1,2 @@ +import { take } from "../fp"; +export = take; diff --git a/node_modules/@types/lodash/fp/takeLast.d.ts b/node_modules/@types/lodash/fp/takeLast.d.ts new file mode 100644 index 0000000..027dcda --- /dev/null +++ b/node_modules/@types/lodash/fp/takeLast.d.ts @@ -0,0 +1,2 @@ +import { takeLast } from "../fp"; +export = takeLast; diff --git a/node_modules/@types/lodash/fp/takeLastWhile.d.ts b/node_modules/@types/lodash/fp/takeLastWhile.d.ts new file mode 100644 index 0000000..c6729c3 --- /dev/null +++ b/node_modules/@types/lodash/fp/takeLastWhile.d.ts @@ -0,0 +1,2 @@ +import { takeLastWhile } from "../fp"; +export = takeLastWhile; diff --git a/node_modules/@types/lodash/fp/takeRight.d.ts b/node_modules/@types/lodash/fp/takeRight.d.ts new file mode 100644 index 0000000..162c516 --- /dev/null +++ b/node_modules/@types/lodash/fp/takeRight.d.ts @@ -0,0 +1,2 @@ +import { takeRight } from "../fp"; +export = takeRight; diff --git a/node_modules/@types/lodash/fp/takeRightWhile.d.ts b/node_modules/@types/lodash/fp/takeRightWhile.d.ts new file mode 100644 index 0000000..b23f7a4 --- /dev/null +++ b/node_modules/@types/lodash/fp/takeRightWhile.d.ts @@ -0,0 +1,2 @@ +import { takeRightWhile } from "../fp"; +export = takeRightWhile; diff --git a/node_modules/@types/lodash/fp/takeWhile.d.ts b/node_modules/@types/lodash/fp/takeWhile.d.ts new file mode 100644 index 0000000..b8cb517 --- /dev/null +++ b/node_modules/@types/lodash/fp/takeWhile.d.ts @@ -0,0 +1,2 @@ +import { takeWhile } from "../fp"; +export = takeWhile; diff --git a/node_modules/@types/lodash/fp/tap.d.ts b/node_modules/@types/lodash/fp/tap.d.ts new file mode 100644 index 0000000..8ffbbd7 --- /dev/null +++ b/node_modules/@types/lodash/fp/tap.d.ts @@ -0,0 +1,2 @@ +import { tap } from "../fp"; +export = tap; diff --git a/node_modules/@types/lodash/fp/template.d.ts b/node_modules/@types/lodash/fp/template.d.ts new file mode 100644 index 0000000..3a37ed1 --- /dev/null +++ b/node_modules/@types/lodash/fp/template.d.ts @@ -0,0 +1,2 @@ +import { template } from "../fp"; +export = template; diff --git a/node_modules/@types/lodash/fp/throttle.d.ts b/node_modules/@types/lodash/fp/throttle.d.ts new file mode 100644 index 0000000..24d8b7f --- /dev/null +++ b/node_modules/@types/lodash/fp/throttle.d.ts @@ -0,0 +1,2 @@ +import { throttle } from "../fp"; +export = throttle; diff --git a/node_modules/@types/lodash/fp/thru.d.ts b/node_modules/@types/lodash/fp/thru.d.ts new file mode 100644 index 0000000..b972582 --- /dev/null +++ b/node_modules/@types/lodash/fp/thru.d.ts @@ -0,0 +1,2 @@ +import { thru } from "../fp"; +export = thru; diff --git a/node_modules/@types/lodash/fp/times.d.ts b/node_modules/@types/lodash/fp/times.d.ts new file mode 100644 index 0000000..3d9f0c6 --- /dev/null +++ b/node_modules/@types/lodash/fp/times.d.ts @@ -0,0 +1,2 @@ +import { times } from "../fp"; +export = times; diff --git a/node_modules/@types/lodash/fp/toArray.d.ts b/node_modules/@types/lodash/fp/toArray.d.ts new file mode 100644 index 0000000..4b18ce6 --- /dev/null +++ b/node_modules/@types/lodash/fp/toArray.d.ts @@ -0,0 +1,2 @@ +import { toArray } from "../fp"; +export = toArray; diff --git a/node_modules/@types/lodash/fp/toFinite.d.ts b/node_modules/@types/lodash/fp/toFinite.d.ts new file mode 100644 index 0000000..1d41996 --- /dev/null +++ b/node_modules/@types/lodash/fp/toFinite.d.ts @@ -0,0 +1,2 @@ +import { toFinite } from "../fp"; +export = toFinite; diff --git a/node_modules/@types/lodash/fp/toInteger.d.ts b/node_modules/@types/lodash/fp/toInteger.d.ts new file mode 100644 index 0000000..46ccaf9 --- /dev/null +++ b/node_modules/@types/lodash/fp/toInteger.d.ts @@ -0,0 +1,2 @@ +import { toInteger } from "../fp"; +export = toInteger; diff --git a/node_modules/@types/lodash/fp/toLength.d.ts b/node_modules/@types/lodash/fp/toLength.d.ts new file mode 100644 index 0000000..bb62924 --- /dev/null +++ b/node_modules/@types/lodash/fp/toLength.d.ts @@ -0,0 +1,2 @@ +import { toLength } from "../fp"; +export = toLength; diff --git a/node_modules/@types/lodash/fp/toLower.d.ts b/node_modules/@types/lodash/fp/toLower.d.ts new file mode 100644 index 0000000..64e6e36 --- /dev/null +++ b/node_modules/@types/lodash/fp/toLower.d.ts @@ -0,0 +1,2 @@ +import { toLower } from "../fp"; +export = toLower; diff --git a/node_modules/@types/lodash/fp/toNumber.d.ts b/node_modules/@types/lodash/fp/toNumber.d.ts new file mode 100644 index 0000000..262b91c --- /dev/null +++ b/node_modules/@types/lodash/fp/toNumber.d.ts @@ -0,0 +1,2 @@ +import { toNumber } from "../fp"; +export = toNumber; diff --git a/node_modules/@types/lodash/fp/toPairs.d.ts b/node_modules/@types/lodash/fp/toPairs.d.ts new file mode 100644 index 0000000..89334fc --- /dev/null +++ b/node_modules/@types/lodash/fp/toPairs.d.ts @@ -0,0 +1,2 @@ +import { toPairs } from "../fp"; +export = toPairs; diff --git a/node_modules/@types/lodash/fp/toPairsIn.d.ts b/node_modules/@types/lodash/fp/toPairsIn.d.ts new file mode 100644 index 0000000..278ff0b --- /dev/null +++ b/node_modules/@types/lodash/fp/toPairsIn.d.ts @@ -0,0 +1,2 @@ +import { toPairsIn } from "../fp"; +export = toPairsIn; diff --git a/node_modules/@types/lodash/fp/toPath.d.ts b/node_modules/@types/lodash/fp/toPath.d.ts new file mode 100644 index 0000000..9f2287c --- /dev/null +++ b/node_modules/@types/lodash/fp/toPath.d.ts @@ -0,0 +1,2 @@ +import { toPath } from "../fp"; +export = toPath; diff --git a/node_modules/@types/lodash/fp/toPlainObject.d.ts b/node_modules/@types/lodash/fp/toPlainObject.d.ts new file mode 100644 index 0000000..22fa070 --- /dev/null +++ b/node_modules/@types/lodash/fp/toPlainObject.d.ts @@ -0,0 +1,2 @@ +import { toPlainObject } from "../fp"; +export = toPlainObject; diff --git a/node_modules/@types/lodash/fp/toSafeInteger.d.ts b/node_modules/@types/lodash/fp/toSafeInteger.d.ts new file mode 100644 index 0000000..2f85078 --- /dev/null +++ b/node_modules/@types/lodash/fp/toSafeInteger.d.ts @@ -0,0 +1,2 @@ +import { toSafeInteger } from "../fp"; +export = toSafeInteger; diff --git a/node_modules/@types/lodash/fp/toString.d.ts b/node_modules/@types/lodash/fp/toString.d.ts new file mode 100644 index 0000000..ee6703c --- /dev/null +++ b/node_modules/@types/lodash/fp/toString.d.ts @@ -0,0 +1,2 @@ +import { toString } from "../fp"; +export = toString; diff --git a/node_modules/@types/lodash/fp/toUpper.d.ts b/node_modules/@types/lodash/fp/toUpper.d.ts new file mode 100644 index 0000000..6bf21c1 --- /dev/null +++ b/node_modules/@types/lodash/fp/toUpper.d.ts @@ -0,0 +1,2 @@ +import { toUpper } from "../fp"; +export = toUpper; diff --git a/node_modules/@types/lodash/fp/transform.d.ts b/node_modules/@types/lodash/fp/transform.d.ts new file mode 100644 index 0000000..ab0653c --- /dev/null +++ b/node_modules/@types/lodash/fp/transform.d.ts @@ -0,0 +1,2 @@ +import { transform } from "../fp"; +export = transform; diff --git a/node_modules/@types/lodash/fp/trim.d.ts b/node_modules/@types/lodash/fp/trim.d.ts new file mode 100644 index 0000000..f0f9b90 --- /dev/null +++ b/node_modules/@types/lodash/fp/trim.d.ts @@ -0,0 +1,2 @@ +import { trim } from "../fp"; +export = trim; diff --git a/node_modules/@types/lodash/fp/trimChars.d.ts b/node_modules/@types/lodash/fp/trimChars.d.ts new file mode 100644 index 0000000..929a493 --- /dev/null +++ b/node_modules/@types/lodash/fp/trimChars.d.ts @@ -0,0 +1,2 @@ +import { trimChars } from "../fp"; +export = trimChars; diff --git a/node_modules/@types/lodash/fp/trimCharsEnd.d.ts b/node_modules/@types/lodash/fp/trimCharsEnd.d.ts new file mode 100644 index 0000000..2f5609a --- /dev/null +++ b/node_modules/@types/lodash/fp/trimCharsEnd.d.ts @@ -0,0 +1,2 @@ +import { trimCharsEnd } from "../fp"; +export = trimCharsEnd; diff --git a/node_modules/@types/lodash/fp/trimCharsStart.d.ts b/node_modules/@types/lodash/fp/trimCharsStart.d.ts new file mode 100644 index 0000000..fb998f7 --- /dev/null +++ b/node_modules/@types/lodash/fp/trimCharsStart.d.ts @@ -0,0 +1,2 @@ +import { trimCharsStart } from "../fp"; +export = trimCharsStart; diff --git a/node_modules/@types/lodash/fp/trimEnd.d.ts b/node_modules/@types/lodash/fp/trimEnd.d.ts new file mode 100644 index 0000000..b666494 --- /dev/null +++ b/node_modules/@types/lodash/fp/trimEnd.d.ts @@ -0,0 +1,2 @@ +import { trimEnd } from "../fp"; +export = trimEnd; diff --git a/node_modules/@types/lodash/fp/trimStart.d.ts b/node_modules/@types/lodash/fp/trimStart.d.ts new file mode 100644 index 0000000..988227c --- /dev/null +++ b/node_modules/@types/lodash/fp/trimStart.d.ts @@ -0,0 +1,2 @@ +import { trimStart } from "../fp"; +export = trimStart; diff --git a/node_modules/@types/lodash/fp/truncate.d.ts b/node_modules/@types/lodash/fp/truncate.d.ts new file mode 100644 index 0000000..d38b7b1 --- /dev/null +++ b/node_modules/@types/lodash/fp/truncate.d.ts @@ -0,0 +1,2 @@ +import { truncate } from "../fp"; +export = truncate; diff --git a/node_modules/@types/lodash/fp/unapply.d.ts b/node_modules/@types/lodash/fp/unapply.d.ts new file mode 100644 index 0000000..c59b6b2 --- /dev/null +++ b/node_modules/@types/lodash/fp/unapply.d.ts @@ -0,0 +1,2 @@ +import { unapply } from "../fp"; +export = unapply; diff --git a/node_modules/@types/lodash/fp/unary.d.ts b/node_modules/@types/lodash/fp/unary.d.ts new file mode 100644 index 0000000..02e3195 --- /dev/null +++ b/node_modules/@types/lodash/fp/unary.d.ts @@ -0,0 +1,2 @@ +import { unary } from "../fp"; +export = unary; diff --git a/node_modules/@types/lodash/fp/unescape.d.ts b/node_modules/@types/lodash/fp/unescape.d.ts new file mode 100644 index 0000000..efcccf2 --- /dev/null +++ b/node_modules/@types/lodash/fp/unescape.d.ts @@ -0,0 +1,2 @@ +import { unescape } from "../fp"; +export = unescape; diff --git a/node_modules/@types/lodash/fp/union.d.ts b/node_modules/@types/lodash/fp/union.d.ts new file mode 100644 index 0000000..8e098ee --- /dev/null +++ b/node_modules/@types/lodash/fp/union.d.ts @@ -0,0 +1,2 @@ +import { union } from "../fp"; +export = union; diff --git a/node_modules/@types/lodash/fp/unionBy.d.ts b/node_modules/@types/lodash/fp/unionBy.d.ts new file mode 100644 index 0000000..f3882c6 --- /dev/null +++ b/node_modules/@types/lodash/fp/unionBy.d.ts @@ -0,0 +1,2 @@ +import { unionBy } from "../fp"; +export = unionBy; diff --git a/node_modules/@types/lodash/fp/unionWith.d.ts b/node_modules/@types/lodash/fp/unionWith.d.ts new file mode 100644 index 0000000..46e19fd --- /dev/null +++ b/node_modules/@types/lodash/fp/unionWith.d.ts @@ -0,0 +1,2 @@ +import { unionWith } from "../fp"; +export = unionWith; diff --git a/node_modules/@types/lodash/fp/uniq.d.ts b/node_modules/@types/lodash/fp/uniq.d.ts new file mode 100644 index 0000000..877d0d9 --- /dev/null +++ b/node_modules/@types/lodash/fp/uniq.d.ts @@ -0,0 +1,2 @@ +import { uniq } from "../fp"; +export = uniq; diff --git a/node_modules/@types/lodash/fp/uniqBy.d.ts b/node_modules/@types/lodash/fp/uniqBy.d.ts new file mode 100644 index 0000000..0e6522d --- /dev/null +++ b/node_modules/@types/lodash/fp/uniqBy.d.ts @@ -0,0 +1,2 @@ +import { uniqBy } from "../fp"; +export = uniqBy; diff --git a/node_modules/@types/lodash/fp/uniqWith.d.ts b/node_modules/@types/lodash/fp/uniqWith.d.ts new file mode 100644 index 0000000..165f45f --- /dev/null +++ b/node_modules/@types/lodash/fp/uniqWith.d.ts @@ -0,0 +1,2 @@ +import { uniqWith } from "../fp"; +export = uniqWith; diff --git a/node_modules/@types/lodash/fp/uniqueId.d.ts b/node_modules/@types/lodash/fp/uniqueId.d.ts new file mode 100644 index 0000000..57736d9 --- /dev/null +++ b/node_modules/@types/lodash/fp/uniqueId.d.ts @@ -0,0 +1,2 @@ +import { uniqueId } from "../fp"; +export = uniqueId; diff --git a/node_modules/@types/lodash/fp/unnest.d.ts b/node_modules/@types/lodash/fp/unnest.d.ts new file mode 100644 index 0000000..852e9a1 --- /dev/null +++ b/node_modules/@types/lodash/fp/unnest.d.ts @@ -0,0 +1,2 @@ +import { unnest } from "../fp"; +export = unnest; diff --git a/node_modules/@types/lodash/fp/unset.d.ts b/node_modules/@types/lodash/fp/unset.d.ts new file mode 100644 index 0000000..3e99247 --- /dev/null +++ b/node_modules/@types/lodash/fp/unset.d.ts @@ -0,0 +1,2 @@ +import { unset } from "../fp"; +export = unset; diff --git a/node_modules/@types/lodash/fp/unzip.d.ts b/node_modules/@types/lodash/fp/unzip.d.ts new file mode 100644 index 0000000..ba9d4cd --- /dev/null +++ b/node_modules/@types/lodash/fp/unzip.d.ts @@ -0,0 +1,2 @@ +import { unzip } from "../fp"; +export = unzip; diff --git a/node_modules/@types/lodash/fp/unzipWith.d.ts b/node_modules/@types/lodash/fp/unzipWith.d.ts new file mode 100644 index 0000000..599eadb --- /dev/null +++ b/node_modules/@types/lodash/fp/unzipWith.d.ts @@ -0,0 +1,2 @@ +import { unzipWith } from "../fp"; +export = unzipWith; diff --git a/node_modules/@types/lodash/fp/update.d.ts b/node_modules/@types/lodash/fp/update.d.ts new file mode 100644 index 0000000..76dfe48 --- /dev/null +++ b/node_modules/@types/lodash/fp/update.d.ts @@ -0,0 +1,2 @@ +import { update } from "../fp"; +export = update; diff --git a/node_modules/@types/lodash/fp/updateWith.d.ts b/node_modules/@types/lodash/fp/updateWith.d.ts new file mode 100644 index 0000000..6d6331d --- /dev/null +++ b/node_modules/@types/lodash/fp/updateWith.d.ts @@ -0,0 +1,2 @@ +import { updateWith } from "../fp"; +export = updateWith; diff --git a/node_modules/@types/lodash/fp/upperCase.d.ts b/node_modules/@types/lodash/fp/upperCase.d.ts new file mode 100644 index 0000000..10aadb2 --- /dev/null +++ b/node_modules/@types/lodash/fp/upperCase.d.ts @@ -0,0 +1,2 @@ +import { upperCase } from "../fp"; +export = upperCase; diff --git a/node_modules/@types/lodash/fp/upperFirst.d.ts b/node_modules/@types/lodash/fp/upperFirst.d.ts new file mode 100644 index 0000000..e2c9adf --- /dev/null +++ b/node_modules/@types/lodash/fp/upperFirst.d.ts @@ -0,0 +1,2 @@ +import { upperFirst } from "../fp"; +export = upperFirst; diff --git a/node_modules/@types/lodash/fp/useWith.d.ts b/node_modules/@types/lodash/fp/useWith.d.ts new file mode 100644 index 0000000..991905a --- /dev/null +++ b/node_modules/@types/lodash/fp/useWith.d.ts @@ -0,0 +1,2 @@ +import { useWith } from "../fp"; +export = useWith; diff --git a/node_modules/@types/lodash/fp/values.d.ts b/node_modules/@types/lodash/fp/values.d.ts new file mode 100644 index 0000000..75ec6fb --- /dev/null +++ b/node_modules/@types/lodash/fp/values.d.ts @@ -0,0 +1,2 @@ +import { values } from "../fp"; +export = values; diff --git a/node_modules/@types/lodash/fp/valuesIn.d.ts b/node_modules/@types/lodash/fp/valuesIn.d.ts new file mode 100644 index 0000000..6f4f3b4 --- /dev/null +++ b/node_modules/@types/lodash/fp/valuesIn.d.ts @@ -0,0 +1,2 @@ +import { valuesIn } from "../fp"; +export = valuesIn; diff --git a/node_modules/@types/lodash/fp/where.d.ts b/node_modules/@types/lodash/fp/where.d.ts new file mode 100644 index 0000000..41e21ec --- /dev/null +++ b/node_modules/@types/lodash/fp/where.d.ts @@ -0,0 +1,2 @@ +import { where } from "../fp"; +export = where; diff --git a/node_modules/@types/lodash/fp/whereEq.d.ts b/node_modules/@types/lodash/fp/whereEq.d.ts new file mode 100644 index 0000000..893316d --- /dev/null +++ b/node_modules/@types/lodash/fp/whereEq.d.ts @@ -0,0 +1,2 @@ +import { whereEq } from "../fp"; +export = whereEq; diff --git a/node_modules/@types/lodash/fp/without.d.ts b/node_modules/@types/lodash/fp/without.d.ts new file mode 100644 index 0000000..600890a --- /dev/null +++ b/node_modules/@types/lodash/fp/without.d.ts @@ -0,0 +1,2 @@ +import { without } from "../fp"; +export = without; diff --git a/node_modules/@types/lodash/fp/words.d.ts b/node_modules/@types/lodash/fp/words.d.ts new file mode 100644 index 0000000..2b06b26 --- /dev/null +++ b/node_modules/@types/lodash/fp/words.d.ts @@ -0,0 +1,2 @@ +import { words } from "../fp"; +export = words; diff --git a/node_modules/@types/lodash/fp/wrap.d.ts b/node_modules/@types/lodash/fp/wrap.d.ts new file mode 100644 index 0000000..d9c2a28 --- /dev/null +++ b/node_modules/@types/lodash/fp/wrap.d.ts @@ -0,0 +1,2 @@ +import { wrap } from "../fp"; +export = wrap; diff --git a/node_modules/@types/lodash/fp/xor.d.ts b/node_modules/@types/lodash/fp/xor.d.ts new file mode 100644 index 0000000..ac69bde --- /dev/null +++ b/node_modules/@types/lodash/fp/xor.d.ts @@ -0,0 +1,2 @@ +import { xor } from "../fp"; +export = xor; diff --git a/node_modules/@types/lodash/fp/xorBy.d.ts b/node_modules/@types/lodash/fp/xorBy.d.ts new file mode 100644 index 0000000..1232972 --- /dev/null +++ b/node_modules/@types/lodash/fp/xorBy.d.ts @@ -0,0 +1,2 @@ +import { xorBy } from "../fp"; +export = xorBy; diff --git a/node_modules/@types/lodash/fp/xorWith.d.ts b/node_modules/@types/lodash/fp/xorWith.d.ts new file mode 100644 index 0000000..ec93e40 --- /dev/null +++ b/node_modules/@types/lodash/fp/xorWith.d.ts @@ -0,0 +1,2 @@ +import { xorWith } from "../fp"; +export = xorWith; diff --git a/node_modules/@types/lodash/fp/zip.d.ts b/node_modules/@types/lodash/fp/zip.d.ts new file mode 100644 index 0000000..2a83e73 --- /dev/null +++ b/node_modules/@types/lodash/fp/zip.d.ts @@ -0,0 +1,2 @@ +import { zip } from "../fp"; +export = zip; diff --git a/node_modules/@types/lodash/fp/zipAll.d.ts b/node_modules/@types/lodash/fp/zipAll.d.ts new file mode 100644 index 0000000..af0b3ed --- /dev/null +++ b/node_modules/@types/lodash/fp/zipAll.d.ts @@ -0,0 +1,2 @@ +import { zipAll } from "../fp"; +export = zipAll; diff --git a/node_modules/@types/lodash/fp/zipObj.d.ts b/node_modules/@types/lodash/fp/zipObj.d.ts new file mode 100644 index 0000000..4f4c19a --- /dev/null +++ b/node_modules/@types/lodash/fp/zipObj.d.ts @@ -0,0 +1,2 @@ +import { zipObj } from "../fp"; +export = zipObj; diff --git a/node_modules/@types/lodash/fp/zipObject.d.ts b/node_modules/@types/lodash/fp/zipObject.d.ts new file mode 100644 index 0000000..f302d7b --- /dev/null +++ b/node_modules/@types/lodash/fp/zipObject.d.ts @@ -0,0 +1,2 @@ +import { zipObject } from "../fp"; +export = zipObject; diff --git a/node_modules/@types/lodash/fp/zipObjectDeep.d.ts b/node_modules/@types/lodash/fp/zipObjectDeep.d.ts new file mode 100644 index 0000000..6010634 --- /dev/null +++ b/node_modules/@types/lodash/fp/zipObjectDeep.d.ts @@ -0,0 +1,2 @@ +import { zipObjectDeep } from "../fp"; +export = zipObjectDeep; diff --git a/node_modules/@types/lodash/fp/zipWith.d.ts b/node_modules/@types/lodash/fp/zipWith.d.ts new file mode 100644 index 0000000..9faaf3c --- /dev/null +++ b/node_modules/@types/lodash/fp/zipWith.d.ts @@ -0,0 +1,2 @@ +import { zipWith } from "../fp"; +export = zipWith; diff --git a/node_modules/@types/lodash/fromPairs.d.ts b/node_modules/@types/lodash/fromPairs.d.ts new file mode 100644 index 0000000..1c2006c --- /dev/null +++ b/node_modules/@types/lodash/fromPairs.d.ts @@ -0,0 +1,2 @@ +import { fromPairs } from "./index"; +export = fromPairs; diff --git a/node_modules/@types/lodash/functions.d.ts b/node_modules/@types/lodash/functions.d.ts new file mode 100644 index 0000000..8698336 --- /dev/null +++ b/node_modules/@types/lodash/functions.d.ts @@ -0,0 +1,2 @@ +import { functions } from "./index"; +export = functions; diff --git a/node_modules/@types/lodash/functionsIn.d.ts b/node_modules/@types/lodash/functionsIn.d.ts new file mode 100644 index 0000000..9f72a78 --- /dev/null +++ b/node_modules/@types/lodash/functionsIn.d.ts @@ -0,0 +1,2 @@ +import { functionsIn } from "./index"; +export = functionsIn; diff --git a/node_modules/@types/lodash/get.d.ts b/node_modules/@types/lodash/get.d.ts new file mode 100644 index 0000000..5ea7a5a --- /dev/null +++ b/node_modules/@types/lodash/get.d.ts @@ -0,0 +1,2 @@ +import { get } from "./index"; +export = get; diff --git a/node_modules/@types/lodash/groupBy.d.ts b/node_modules/@types/lodash/groupBy.d.ts new file mode 100644 index 0000000..ef49718 --- /dev/null +++ b/node_modules/@types/lodash/groupBy.d.ts @@ -0,0 +1,2 @@ +import { groupBy } from "./index"; +export = groupBy; diff --git a/node_modules/@types/lodash/gt.d.ts b/node_modules/@types/lodash/gt.d.ts new file mode 100644 index 0000000..860134f --- /dev/null +++ b/node_modules/@types/lodash/gt.d.ts @@ -0,0 +1,2 @@ +import { gt } from "./index"; +export = gt; diff --git a/node_modules/@types/lodash/gte.d.ts b/node_modules/@types/lodash/gte.d.ts new file mode 100644 index 0000000..994e882 --- /dev/null +++ b/node_modules/@types/lodash/gte.d.ts @@ -0,0 +1,2 @@ +import { gte } from "./index"; +export = gte; diff --git a/node_modules/@types/lodash/has.d.ts b/node_modules/@types/lodash/has.d.ts new file mode 100644 index 0000000..fff1468 --- /dev/null +++ b/node_modules/@types/lodash/has.d.ts @@ -0,0 +1,2 @@ +import { has } from "./index"; +export = has; diff --git a/node_modules/@types/lodash/hasIn.d.ts b/node_modules/@types/lodash/hasIn.d.ts new file mode 100644 index 0000000..a898071 --- /dev/null +++ b/node_modules/@types/lodash/hasIn.d.ts @@ -0,0 +1,2 @@ +import { hasIn } from "./index"; +export = hasIn; diff --git a/node_modules/@types/lodash/head.d.ts b/node_modules/@types/lodash/head.d.ts new file mode 100644 index 0000000..0e16da1 --- /dev/null +++ b/node_modules/@types/lodash/head.d.ts @@ -0,0 +1,2 @@ +import { head } from "./index"; +export = head; diff --git a/node_modules/@types/lodash/identity.d.ts b/node_modules/@types/lodash/identity.d.ts new file mode 100644 index 0000000..6814a16 --- /dev/null +++ b/node_modules/@types/lodash/identity.d.ts @@ -0,0 +1,2 @@ +import { identity } from "./index"; +export = identity; diff --git a/node_modules/@types/lodash/inRange.d.ts b/node_modules/@types/lodash/inRange.d.ts new file mode 100644 index 0000000..d9c57c0 --- /dev/null +++ b/node_modules/@types/lodash/inRange.d.ts @@ -0,0 +1,2 @@ +import { inRange } from "./index"; +export = inRange; diff --git a/node_modules/@types/lodash/includes.d.ts b/node_modules/@types/lodash/includes.d.ts new file mode 100644 index 0000000..4edd226 --- /dev/null +++ b/node_modules/@types/lodash/includes.d.ts @@ -0,0 +1,2 @@ +import { includes } from "./index"; +export = includes; diff --git a/node_modules/@types/lodash/index.d.ts b/node_modules/@types/lodash/index.d.ts new file mode 100644 index 0000000..f205e86 --- /dev/null +++ b/node_modules/@types/lodash/index.d.ts @@ -0,0 +1,21 @@ +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// + +export = _; +export as namespace _; + +declare const _: _.LoDashStatic; +declare namespace _ { + // eslint-disable-next-line @typescript-eslint/no-empty-interface -- (This will be augmented) + interface LoDashStatic {} +} diff --git a/node_modules/@types/lodash/indexOf.d.ts b/node_modules/@types/lodash/indexOf.d.ts new file mode 100644 index 0000000..50b8f70 --- /dev/null +++ b/node_modules/@types/lodash/indexOf.d.ts @@ -0,0 +1,2 @@ +import { indexOf } from "./index"; +export = indexOf; diff --git a/node_modules/@types/lodash/initial.d.ts b/node_modules/@types/lodash/initial.d.ts new file mode 100644 index 0000000..3ce64eb --- /dev/null +++ b/node_modules/@types/lodash/initial.d.ts @@ -0,0 +1,2 @@ +import { initial } from "./index"; +export = initial; diff --git a/node_modules/@types/lodash/intersection.d.ts b/node_modules/@types/lodash/intersection.d.ts new file mode 100644 index 0000000..1fbe4e5 --- /dev/null +++ b/node_modules/@types/lodash/intersection.d.ts @@ -0,0 +1,2 @@ +import { intersection } from "./index"; +export = intersection; diff --git a/node_modules/@types/lodash/intersectionBy.d.ts b/node_modules/@types/lodash/intersectionBy.d.ts new file mode 100644 index 0000000..b4885da --- /dev/null +++ b/node_modules/@types/lodash/intersectionBy.d.ts @@ -0,0 +1,2 @@ +import { intersectionBy } from "./index"; +export = intersectionBy; diff --git a/node_modules/@types/lodash/intersectionWith.d.ts b/node_modules/@types/lodash/intersectionWith.d.ts new file mode 100644 index 0000000..bacccd0 --- /dev/null +++ b/node_modules/@types/lodash/intersectionWith.d.ts @@ -0,0 +1,2 @@ +import { intersectionWith } from "./index"; +export = intersectionWith; diff --git a/node_modules/@types/lodash/invert.d.ts b/node_modules/@types/lodash/invert.d.ts new file mode 100644 index 0000000..2287ea1 --- /dev/null +++ b/node_modules/@types/lodash/invert.d.ts @@ -0,0 +1,2 @@ +import { invert } from "./index"; +export = invert; diff --git a/node_modules/@types/lodash/invertBy.d.ts b/node_modules/@types/lodash/invertBy.d.ts new file mode 100644 index 0000000..5951600 --- /dev/null +++ b/node_modules/@types/lodash/invertBy.d.ts @@ -0,0 +1,2 @@ +import { invertBy } from "./index"; +export = invertBy; diff --git a/node_modules/@types/lodash/invoke.d.ts b/node_modules/@types/lodash/invoke.d.ts new file mode 100644 index 0000000..eea6b38 --- /dev/null +++ b/node_modules/@types/lodash/invoke.d.ts @@ -0,0 +1,2 @@ +import { invoke } from "./index"; +export = invoke; diff --git a/node_modules/@types/lodash/invokeMap.d.ts b/node_modules/@types/lodash/invokeMap.d.ts new file mode 100644 index 0000000..814cf05 --- /dev/null +++ b/node_modules/@types/lodash/invokeMap.d.ts @@ -0,0 +1,2 @@ +import { invokeMap } from "./index"; +export = invokeMap; diff --git a/node_modules/@types/lodash/isArguments.d.ts b/node_modules/@types/lodash/isArguments.d.ts new file mode 100644 index 0000000..5b22572 --- /dev/null +++ b/node_modules/@types/lodash/isArguments.d.ts @@ -0,0 +1,2 @@ +import { isArguments } from "./index"; +export = isArguments; diff --git a/node_modules/@types/lodash/isArray.d.ts b/node_modules/@types/lodash/isArray.d.ts new file mode 100644 index 0000000..a35ab5a --- /dev/null +++ b/node_modules/@types/lodash/isArray.d.ts @@ -0,0 +1,2 @@ +import { isArray } from "./index"; +export = isArray; diff --git a/node_modules/@types/lodash/isArrayBuffer.d.ts b/node_modules/@types/lodash/isArrayBuffer.d.ts new file mode 100644 index 0000000..ec7c68c --- /dev/null +++ b/node_modules/@types/lodash/isArrayBuffer.d.ts @@ -0,0 +1,2 @@ +import { isArrayBuffer } from "./index"; +export = isArrayBuffer; diff --git a/node_modules/@types/lodash/isArrayLike.d.ts b/node_modules/@types/lodash/isArrayLike.d.ts new file mode 100644 index 0000000..aa95c77 --- /dev/null +++ b/node_modules/@types/lodash/isArrayLike.d.ts @@ -0,0 +1,2 @@ +import { isArrayLike } from "./index"; +export = isArrayLike; diff --git a/node_modules/@types/lodash/isArrayLikeObject.d.ts b/node_modules/@types/lodash/isArrayLikeObject.d.ts new file mode 100644 index 0000000..736c91d --- /dev/null +++ b/node_modules/@types/lodash/isArrayLikeObject.d.ts @@ -0,0 +1,2 @@ +import { isArrayLikeObject } from "./index"; +export = isArrayLikeObject; diff --git a/node_modules/@types/lodash/isBoolean.d.ts b/node_modules/@types/lodash/isBoolean.d.ts new file mode 100644 index 0000000..96c306d --- /dev/null +++ b/node_modules/@types/lodash/isBoolean.d.ts @@ -0,0 +1,2 @@ +import { isBoolean } from "./index"; +export = isBoolean; diff --git a/node_modules/@types/lodash/isBuffer.d.ts b/node_modules/@types/lodash/isBuffer.d.ts new file mode 100644 index 0000000..b22d782 --- /dev/null +++ b/node_modules/@types/lodash/isBuffer.d.ts @@ -0,0 +1,2 @@ +import { isBuffer } from "./index"; +export = isBuffer; diff --git a/node_modules/@types/lodash/isDate.d.ts b/node_modules/@types/lodash/isDate.d.ts new file mode 100644 index 0000000..1269a69 --- /dev/null +++ b/node_modules/@types/lodash/isDate.d.ts @@ -0,0 +1,2 @@ +import { isDate } from "./index"; +export = isDate; diff --git a/node_modules/@types/lodash/isElement.d.ts b/node_modules/@types/lodash/isElement.d.ts new file mode 100644 index 0000000..e4510cd --- /dev/null +++ b/node_modules/@types/lodash/isElement.d.ts @@ -0,0 +1,2 @@ +import { isElement } from "./index"; +export = isElement; diff --git a/node_modules/@types/lodash/isEmpty.d.ts b/node_modules/@types/lodash/isEmpty.d.ts new file mode 100644 index 0000000..9e71bfa --- /dev/null +++ b/node_modules/@types/lodash/isEmpty.d.ts @@ -0,0 +1,2 @@ +import { isEmpty } from "./index"; +export = isEmpty; diff --git a/node_modules/@types/lodash/isEqual.d.ts b/node_modules/@types/lodash/isEqual.d.ts new file mode 100644 index 0000000..1e065fa --- /dev/null +++ b/node_modules/@types/lodash/isEqual.d.ts @@ -0,0 +1,2 @@ +import { isEqual } from "./index"; +export = isEqual; diff --git a/node_modules/@types/lodash/isEqualWith.d.ts b/node_modules/@types/lodash/isEqualWith.d.ts new file mode 100644 index 0000000..e14d005 --- /dev/null +++ b/node_modules/@types/lodash/isEqualWith.d.ts @@ -0,0 +1,2 @@ +import { isEqualWith } from "./index"; +export = isEqualWith; diff --git a/node_modules/@types/lodash/isError.d.ts b/node_modules/@types/lodash/isError.d.ts new file mode 100644 index 0000000..d9d5785 --- /dev/null +++ b/node_modules/@types/lodash/isError.d.ts @@ -0,0 +1,2 @@ +import { isError } from "./index"; +export = isError; diff --git a/node_modules/@types/lodash/isFinite.d.ts b/node_modules/@types/lodash/isFinite.d.ts new file mode 100644 index 0000000..7aba1dc --- /dev/null +++ b/node_modules/@types/lodash/isFinite.d.ts @@ -0,0 +1,2 @@ +import { isFinite } from "./index"; +export = isFinite; diff --git a/node_modules/@types/lodash/isFunction.d.ts b/node_modules/@types/lodash/isFunction.d.ts new file mode 100644 index 0000000..0a22d6c --- /dev/null +++ b/node_modules/@types/lodash/isFunction.d.ts @@ -0,0 +1,2 @@ +import { isFunction } from "./index"; +export = isFunction; diff --git a/node_modules/@types/lodash/isInteger.d.ts b/node_modules/@types/lodash/isInteger.d.ts new file mode 100644 index 0000000..40d33d3 --- /dev/null +++ b/node_modules/@types/lodash/isInteger.d.ts @@ -0,0 +1,2 @@ +import { isInteger } from "./index"; +export = isInteger; diff --git a/node_modules/@types/lodash/isLength.d.ts b/node_modules/@types/lodash/isLength.d.ts new file mode 100644 index 0000000..ee5a933 --- /dev/null +++ b/node_modules/@types/lodash/isLength.d.ts @@ -0,0 +1,2 @@ +import { isLength } from "./index"; +export = isLength; diff --git a/node_modules/@types/lodash/isMap.d.ts b/node_modules/@types/lodash/isMap.d.ts new file mode 100644 index 0000000..441c538 --- /dev/null +++ b/node_modules/@types/lodash/isMap.d.ts @@ -0,0 +1,2 @@ +import { isMap } from "./index"; +export = isMap; diff --git a/node_modules/@types/lodash/isMatch.d.ts b/node_modules/@types/lodash/isMatch.d.ts new file mode 100644 index 0000000..69d194a --- /dev/null +++ b/node_modules/@types/lodash/isMatch.d.ts @@ -0,0 +1,2 @@ +import { isMatch } from "./index"; +export = isMatch; diff --git a/node_modules/@types/lodash/isMatchWith.d.ts b/node_modules/@types/lodash/isMatchWith.d.ts new file mode 100644 index 0000000..932310a --- /dev/null +++ b/node_modules/@types/lodash/isMatchWith.d.ts @@ -0,0 +1,2 @@ +import { isMatchWith } from "./index"; +export = isMatchWith; diff --git a/node_modules/@types/lodash/isNaN.d.ts b/node_modules/@types/lodash/isNaN.d.ts new file mode 100644 index 0000000..970702b --- /dev/null +++ b/node_modules/@types/lodash/isNaN.d.ts @@ -0,0 +1,2 @@ +import { isNaN } from "./index"; +export = isNaN; diff --git a/node_modules/@types/lodash/isNative.d.ts b/node_modules/@types/lodash/isNative.d.ts new file mode 100644 index 0000000..3174f8a --- /dev/null +++ b/node_modules/@types/lodash/isNative.d.ts @@ -0,0 +1,2 @@ +import { isNative } from "./index"; +export = isNative; diff --git a/node_modules/@types/lodash/isNil.d.ts b/node_modules/@types/lodash/isNil.d.ts new file mode 100644 index 0000000..9e15819 --- /dev/null +++ b/node_modules/@types/lodash/isNil.d.ts @@ -0,0 +1,2 @@ +import { isNil } from "./index"; +export = isNil; diff --git a/node_modules/@types/lodash/isNull.d.ts b/node_modules/@types/lodash/isNull.d.ts new file mode 100644 index 0000000..e572c45 --- /dev/null +++ b/node_modules/@types/lodash/isNull.d.ts @@ -0,0 +1,2 @@ +import { isNull } from "./index"; +export = isNull; diff --git a/node_modules/@types/lodash/isNumber.d.ts b/node_modules/@types/lodash/isNumber.d.ts new file mode 100644 index 0000000..91c8359 --- /dev/null +++ b/node_modules/@types/lodash/isNumber.d.ts @@ -0,0 +1,2 @@ +import { isNumber } from "./index"; +export = isNumber; diff --git a/node_modules/@types/lodash/isObject.d.ts b/node_modules/@types/lodash/isObject.d.ts new file mode 100644 index 0000000..9a43544 --- /dev/null +++ b/node_modules/@types/lodash/isObject.d.ts @@ -0,0 +1,2 @@ +import { isObject } from "./index"; +export = isObject; diff --git a/node_modules/@types/lodash/isObjectLike.d.ts b/node_modules/@types/lodash/isObjectLike.d.ts new file mode 100644 index 0000000..a17d39c --- /dev/null +++ b/node_modules/@types/lodash/isObjectLike.d.ts @@ -0,0 +1,2 @@ +import { isObjectLike } from "./index"; +export = isObjectLike; diff --git a/node_modules/@types/lodash/isPlainObject.d.ts b/node_modules/@types/lodash/isPlainObject.d.ts new file mode 100644 index 0000000..4df85e2 --- /dev/null +++ b/node_modules/@types/lodash/isPlainObject.d.ts @@ -0,0 +1,2 @@ +import { isPlainObject } from "./index"; +export = isPlainObject; diff --git a/node_modules/@types/lodash/isRegExp.d.ts b/node_modules/@types/lodash/isRegExp.d.ts new file mode 100644 index 0000000..ed206d9 --- /dev/null +++ b/node_modules/@types/lodash/isRegExp.d.ts @@ -0,0 +1,2 @@ +import { isRegExp } from "./index"; +export = isRegExp; diff --git a/node_modules/@types/lodash/isSafeInteger.d.ts b/node_modules/@types/lodash/isSafeInteger.d.ts new file mode 100644 index 0000000..6bc6083 --- /dev/null +++ b/node_modules/@types/lodash/isSafeInteger.d.ts @@ -0,0 +1,2 @@ +import { isSafeInteger } from "./index"; +export = isSafeInteger; diff --git a/node_modules/@types/lodash/isSet.d.ts b/node_modules/@types/lodash/isSet.d.ts new file mode 100644 index 0000000..7967b50 --- /dev/null +++ b/node_modules/@types/lodash/isSet.d.ts @@ -0,0 +1,2 @@ +import { isSet } from "./index"; +export = isSet; diff --git a/node_modules/@types/lodash/isString.d.ts b/node_modules/@types/lodash/isString.d.ts new file mode 100644 index 0000000..757802e --- /dev/null +++ b/node_modules/@types/lodash/isString.d.ts @@ -0,0 +1,2 @@ +import { isString } from "./index"; +export = isString; diff --git a/node_modules/@types/lodash/isSymbol.d.ts b/node_modules/@types/lodash/isSymbol.d.ts new file mode 100644 index 0000000..e28b2b0 --- /dev/null +++ b/node_modules/@types/lodash/isSymbol.d.ts @@ -0,0 +1,2 @@ +import { isSymbol } from "./index"; +export = isSymbol; diff --git a/node_modules/@types/lodash/isTypedArray.d.ts b/node_modules/@types/lodash/isTypedArray.d.ts new file mode 100644 index 0000000..7f32601 --- /dev/null +++ b/node_modules/@types/lodash/isTypedArray.d.ts @@ -0,0 +1,2 @@ +import { isTypedArray } from "./index"; +export = isTypedArray; diff --git a/node_modules/@types/lodash/isUndefined.d.ts b/node_modules/@types/lodash/isUndefined.d.ts new file mode 100644 index 0000000..7a5c64f --- /dev/null +++ b/node_modules/@types/lodash/isUndefined.d.ts @@ -0,0 +1,2 @@ +import { isUndefined } from "./index"; +export = isUndefined; diff --git a/node_modules/@types/lodash/isWeakMap.d.ts b/node_modules/@types/lodash/isWeakMap.d.ts new file mode 100644 index 0000000..b0609da --- /dev/null +++ b/node_modules/@types/lodash/isWeakMap.d.ts @@ -0,0 +1,2 @@ +import { isWeakMap } from "./index"; +export = isWeakMap; diff --git a/node_modules/@types/lodash/isWeakSet.d.ts b/node_modules/@types/lodash/isWeakSet.d.ts new file mode 100644 index 0000000..6beda3d --- /dev/null +++ b/node_modules/@types/lodash/isWeakSet.d.ts @@ -0,0 +1,2 @@ +import { isWeakSet } from "./index"; +export = isWeakSet; diff --git a/node_modules/@types/lodash/iteratee.d.ts b/node_modules/@types/lodash/iteratee.d.ts new file mode 100644 index 0000000..493b39c --- /dev/null +++ b/node_modules/@types/lodash/iteratee.d.ts @@ -0,0 +1,2 @@ +import { iteratee } from "./index"; +export = iteratee; diff --git a/node_modules/@types/lodash/join.d.ts b/node_modules/@types/lodash/join.d.ts new file mode 100644 index 0000000..b2c5fb4 --- /dev/null +++ b/node_modules/@types/lodash/join.d.ts @@ -0,0 +1,2 @@ +import { join } from "./index"; +export = join; diff --git a/node_modules/@types/lodash/kebabCase.d.ts b/node_modules/@types/lodash/kebabCase.d.ts new file mode 100644 index 0000000..c088ef7 --- /dev/null +++ b/node_modules/@types/lodash/kebabCase.d.ts @@ -0,0 +1,2 @@ +import { kebabCase } from "./index"; +export = kebabCase; diff --git a/node_modules/@types/lodash/keyBy.d.ts b/node_modules/@types/lodash/keyBy.d.ts new file mode 100644 index 0000000..664a722 --- /dev/null +++ b/node_modules/@types/lodash/keyBy.d.ts @@ -0,0 +1,2 @@ +import { keyBy } from "./index"; +export = keyBy; diff --git a/node_modules/@types/lodash/keys.d.ts b/node_modules/@types/lodash/keys.d.ts new file mode 100644 index 0000000..7eb29a0 --- /dev/null +++ b/node_modules/@types/lodash/keys.d.ts @@ -0,0 +1,2 @@ +import { keys } from "./index"; +export = keys; diff --git a/node_modules/@types/lodash/keysIn.d.ts b/node_modules/@types/lodash/keysIn.d.ts new file mode 100644 index 0000000..c9eeee6 --- /dev/null +++ b/node_modules/@types/lodash/keysIn.d.ts @@ -0,0 +1,2 @@ +import { keysIn } from "./index"; +export = keysIn; diff --git a/node_modules/@types/lodash/last.d.ts b/node_modules/@types/lodash/last.d.ts new file mode 100644 index 0000000..cfdeb75 --- /dev/null +++ b/node_modules/@types/lodash/last.d.ts @@ -0,0 +1,2 @@ +import { last } from "./index"; +export = last; diff --git a/node_modules/@types/lodash/lastIndexOf.d.ts b/node_modules/@types/lodash/lastIndexOf.d.ts new file mode 100644 index 0000000..979d80d --- /dev/null +++ b/node_modules/@types/lodash/lastIndexOf.d.ts @@ -0,0 +1,2 @@ +import { lastIndexOf } from "./index"; +export = lastIndexOf; diff --git a/node_modules/@types/lodash/lowerCase.d.ts b/node_modules/@types/lodash/lowerCase.d.ts new file mode 100644 index 0000000..475297d --- /dev/null +++ b/node_modules/@types/lodash/lowerCase.d.ts @@ -0,0 +1,2 @@ +import { lowerCase } from "./index"; +export = lowerCase; diff --git a/node_modules/@types/lodash/lowerFirst.d.ts b/node_modules/@types/lodash/lowerFirst.d.ts new file mode 100644 index 0000000..0836228 --- /dev/null +++ b/node_modules/@types/lodash/lowerFirst.d.ts @@ -0,0 +1,2 @@ +import { lowerFirst } from "./index"; +export = lowerFirst; diff --git a/node_modules/@types/lodash/lt.d.ts b/node_modules/@types/lodash/lt.d.ts new file mode 100644 index 0000000..92cd4e2 --- /dev/null +++ b/node_modules/@types/lodash/lt.d.ts @@ -0,0 +1,2 @@ +import { lt } from "./index"; +export = lt; diff --git a/node_modules/@types/lodash/lte.d.ts b/node_modules/@types/lodash/lte.d.ts new file mode 100644 index 0000000..7c80f37 --- /dev/null +++ b/node_modules/@types/lodash/lte.d.ts @@ -0,0 +1,2 @@ +import { lte } from "./index"; +export = lte; diff --git a/node_modules/@types/lodash/map.d.ts b/node_modules/@types/lodash/map.d.ts new file mode 100644 index 0000000..2f783cb --- /dev/null +++ b/node_modules/@types/lodash/map.d.ts @@ -0,0 +1,2 @@ +import { map } from "./index"; +export = map; diff --git a/node_modules/@types/lodash/mapKeys.d.ts b/node_modules/@types/lodash/mapKeys.d.ts new file mode 100644 index 0000000..7c7e1b5 --- /dev/null +++ b/node_modules/@types/lodash/mapKeys.d.ts @@ -0,0 +1,2 @@ +import { mapKeys } from "./index"; +export = mapKeys; diff --git a/node_modules/@types/lodash/mapValues.d.ts b/node_modules/@types/lodash/mapValues.d.ts new file mode 100644 index 0000000..3e87ea6 --- /dev/null +++ b/node_modules/@types/lodash/mapValues.d.ts @@ -0,0 +1,2 @@ +import { mapValues } from "./index"; +export = mapValues; diff --git a/node_modules/@types/lodash/matches.d.ts b/node_modules/@types/lodash/matches.d.ts new file mode 100644 index 0000000..5bb3cc2 --- /dev/null +++ b/node_modules/@types/lodash/matches.d.ts @@ -0,0 +1,2 @@ +import { matches } from "./index"; +export = matches; diff --git a/node_modules/@types/lodash/matchesProperty.d.ts b/node_modules/@types/lodash/matchesProperty.d.ts new file mode 100644 index 0000000..7378498 --- /dev/null +++ b/node_modules/@types/lodash/matchesProperty.d.ts @@ -0,0 +1,2 @@ +import { matchesProperty } from "./index"; +export = matchesProperty; diff --git a/node_modules/@types/lodash/max.d.ts b/node_modules/@types/lodash/max.d.ts new file mode 100644 index 0000000..36d0646 --- /dev/null +++ b/node_modules/@types/lodash/max.d.ts @@ -0,0 +1,2 @@ +import { max } from "./index"; +export = max; diff --git a/node_modules/@types/lodash/maxBy.d.ts b/node_modules/@types/lodash/maxBy.d.ts new file mode 100644 index 0000000..d483d95 --- /dev/null +++ b/node_modules/@types/lodash/maxBy.d.ts @@ -0,0 +1,2 @@ +import { maxBy } from "./index"; +export = maxBy; diff --git a/node_modules/@types/lodash/mean.d.ts b/node_modules/@types/lodash/mean.d.ts new file mode 100644 index 0000000..983ad77 --- /dev/null +++ b/node_modules/@types/lodash/mean.d.ts @@ -0,0 +1,2 @@ +import { mean } from "./index"; +export = mean; diff --git a/node_modules/@types/lodash/meanBy.d.ts b/node_modules/@types/lodash/meanBy.d.ts new file mode 100644 index 0000000..67aebbb --- /dev/null +++ b/node_modules/@types/lodash/meanBy.d.ts @@ -0,0 +1,2 @@ +import { meanBy } from "./index"; +export = meanBy; diff --git a/node_modules/@types/lodash/memoize.d.ts b/node_modules/@types/lodash/memoize.d.ts new file mode 100644 index 0000000..6ff535b --- /dev/null +++ b/node_modules/@types/lodash/memoize.d.ts @@ -0,0 +1,2 @@ +import { memoize } from "./index"; +export = memoize; diff --git a/node_modules/@types/lodash/merge.d.ts b/node_modules/@types/lodash/merge.d.ts new file mode 100644 index 0000000..eb8bd95 --- /dev/null +++ b/node_modules/@types/lodash/merge.d.ts @@ -0,0 +1,2 @@ +import { merge } from "./index"; +export = merge; diff --git a/node_modules/@types/lodash/mergeWith.d.ts b/node_modules/@types/lodash/mergeWith.d.ts new file mode 100644 index 0000000..a58dd90 --- /dev/null +++ b/node_modules/@types/lodash/mergeWith.d.ts @@ -0,0 +1,2 @@ +import { mergeWith } from "./index"; +export = mergeWith; diff --git a/node_modules/@types/lodash/method.d.ts b/node_modules/@types/lodash/method.d.ts new file mode 100644 index 0000000..cc30588 --- /dev/null +++ b/node_modules/@types/lodash/method.d.ts @@ -0,0 +1,2 @@ +import { method } from "./index"; +export = method; diff --git a/node_modules/@types/lodash/methodOf.d.ts b/node_modules/@types/lodash/methodOf.d.ts new file mode 100644 index 0000000..af7f19a --- /dev/null +++ b/node_modules/@types/lodash/methodOf.d.ts @@ -0,0 +1,2 @@ +import { methodOf } from "./index"; +export = methodOf; diff --git a/node_modules/@types/lodash/min.d.ts b/node_modules/@types/lodash/min.d.ts new file mode 100644 index 0000000..e8ba597 --- /dev/null +++ b/node_modules/@types/lodash/min.d.ts @@ -0,0 +1,2 @@ +import { min } from "./index"; +export = min; diff --git a/node_modules/@types/lodash/minBy.d.ts b/node_modules/@types/lodash/minBy.d.ts new file mode 100644 index 0000000..74860f9 --- /dev/null +++ b/node_modules/@types/lodash/minBy.d.ts @@ -0,0 +1,2 @@ +import { minBy } from "./index"; +export = minBy; diff --git a/node_modules/@types/lodash/mixin.d.ts b/node_modules/@types/lodash/mixin.d.ts new file mode 100644 index 0000000..7984246 --- /dev/null +++ b/node_modules/@types/lodash/mixin.d.ts @@ -0,0 +1,2 @@ +import { mixin } from "./index"; +export = mixin; diff --git a/node_modules/@types/lodash/multiply.d.ts b/node_modules/@types/lodash/multiply.d.ts new file mode 100644 index 0000000..dea5786 --- /dev/null +++ b/node_modules/@types/lodash/multiply.d.ts @@ -0,0 +1,2 @@ +import { multiply } from './index'; +export = multiply; diff --git a/node_modules/@types/lodash/negate.d.ts b/node_modules/@types/lodash/negate.d.ts new file mode 100644 index 0000000..46d0596 --- /dev/null +++ b/node_modules/@types/lodash/negate.d.ts @@ -0,0 +1,2 @@ +import { negate } from "./index"; +export = negate; diff --git a/node_modules/@types/lodash/noConflict.d.ts b/node_modules/@types/lodash/noConflict.d.ts new file mode 100644 index 0000000..78b3c92 --- /dev/null +++ b/node_modules/@types/lodash/noConflict.d.ts @@ -0,0 +1,2 @@ +import { noConflict } from "./index"; +export = noConflict; diff --git a/node_modules/@types/lodash/noop.d.ts b/node_modules/@types/lodash/noop.d.ts new file mode 100644 index 0000000..bfaeb88 --- /dev/null +++ b/node_modules/@types/lodash/noop.d.ts @@ -0,0 +1,2 @@ +import { noop } from "./index"; +export = noop; diff --git a/node_modules/@types/lodash/now.d.ts b/node_modules/@types/lodash/now.d.ts new file mode 100644 index 0000000..00f807e --- /dev/null +++ b/node_modules/@types/lodash/now.d.ts @@ -0,0 +1,2 @@ +import { now } from "./index"; +export = now; diff --git a/node_modules/@types/lodash/nth.d.ts b/node_modules/@types/lodash/nth.d.ts new file mode 100644 index 0000000..ce1013f --- /dev/null +++ b/node_modules/@types/lodash/nth.d.ts @@ -0,0 +1,2 @@ +import { nth } from "./index"; +export = nth; diff --git a/node_modules/@types/lodash/nthArg.d.ts b/node_modules/@types/lodash/nthArg.d.ts new file mode 100644 index 0000000..2729d70 --- /dev/null +++ b/node_modules/@types/lodash/nthArg.d.ts @@ -0,0 +1,2 @@ +import { nthArg } from "./index"; +export = nthArg; diff --git a/node_modules/@types/lodash/omit.d.ts b/node_modules/@types/lodash/omit.d.ts new file mode 100644 index 0000000..5868a07 --- /dev/null +++ b/node_modules/@types/lodash/omit.d.ts @@ -0,0 +1,2 @@ +import { omit } from "./index"; +export = omit; diff --git a/node_modules/@types/lodash/omitBy.d.ts b/node_modules/@types/lodash/omitBy.d.ts new file mode 100644 index 0000000..41bf6b4 --- /dev/null +++ b/node_modules/@types/lodash/omitBy.d.ts @@ -0,0 +1,2 @@ +import { omitBy } from "./index"; +export = omitBy; diff --git a/node_modules/@types/lodash/once.d.ts b/node_modules/@types/lodash/once.d.ts new file mode 100644 index 0000000..4340e88 --- /dev/null +++ b/node_modules/@types/lodash/once.d.ts @@ -0,0 +1,2 @@ +import { once } from "./index"; +export = once; diff --git a/node_modules/@types/lodash/orderBy.d.ts b/node_modules/@types/lodash/orderBy.d.ts new file mode 100644 index 0000000..02320d5 --- /dev/null +++ b/node_modules/@types/lodash/orderBy.d.ts @@ -0,0 +1,2 @@ +import { orderBy } from "./index"; +export = orderBy; diff --git a/node_modules/@types/lodash/over.d.ts b/node_modules/@types/lodash/over.d.ts new file mode 100644 index 0000000..172c822 --- /dev/null +++ b/node_modules/@types/lodash/over.d.ts @@ -0,0 +1,2 @@ +import { over } from "./index"; +export = over; diff --git a/node_modules/@types/lodash/overArgs.d.ts b/node_modules/@types/lodash/overArgs.d.ts new file mode 100644 index 0000000..f8518f6 --- /dev/null +++ b/node_modules/@types/lodash/overArgs.d.ts @@ -0,0 +1,2 @@ +import { overArgs } from "./index"; +export = overArgs; diff --git a/node_modules/@types/lodash/overEvery.d.ts b/node_modules/@types/lodash/overEvery.d.ts new file mode 100644 index 0000000..b8328fb --- /dev/null +++ b/node_modules/@types/lodash/overEvery.d.ts @@ -0,0 +1,2 @@ +import { overEvery } from "./index"; +export = overEvery; diff --git a/node_modules/@types/lodash/overSome.d.ts b/node_modules/@types/lodash/overSome.d.ts new file mode 100644 index 0000000..2f17258 --- /dev/null +++ b/node_modules/@types/lodash/overSome.d.ts @@ -0,0 +1,2 @@ +import { overSome } from "./index"; +export = overSome; diff --git a/node_modules/@types/lodash/package.json b/node_modules/@types/lodash/package.json new file mode 100644 index 0000000..be35ec8 --- /dev/null +++ b/node_modules/@types/lodash/package.json @@ -0,0 +1,60 @@ +{ + "name": "@types/lodash", + "version": "4.14.202", + "description": "TypeScript definitions for lodash", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash", + "license": "MIT", + "contributors": [ + { + "name": "Brian Zengel", + "githubUsername": "bczengel", + "url": "https://github.com/bczengel" + }, + { + "name": "Ilya Mochalov", + "githubUsername": "chrootsu", + "url": "https://github.com/chrootsu" + }, + { + "name": "AJ Richardson", + "githubUsername": "aj-r", + "url": "https://github.com/aj-r" + }, + { + "name": "e-cloud", + "githubUsername": "e-cloud", + "url": "https://github.com/e-cloud" + }, + { + "name": "Georgii Dolzhykov", + "githubUsername": "thorn0", + "url": "https://github.com/thorn0" + }, + { + "name": "Jack Moore", + "githubUsername": "jtmthf", + "url": "https://github.com/jtmthf" + }, + { + "name": "Dominique Rau", + "githubUsername": "DomiR", + "url": "https://github.com/DomiR" + }, + { + "name": "William Chelman", + "githubUsername": "WilliamChelman", + "url": "https://github.com/WilliamChelman" + } + ], + "main": "", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/lodash" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "2ee5f60edd87342ef5a1583206f0bc89316579ce56fbb428ecc225da97131b77", + "typeScriptVersion": "4.5" +} \ No newline at end of file diff --git a/node_modules/@types/lodash/pad.d.ts b/node_modules/@types/lodash/pad.d.ts new file mode 100644 index 0000000..552667a --- /dev/null +++ b/node_modules/@types/lodash/pad.d.ts @@ -0,0 +1,2 @@ +import { pad } from "./index"; +export = pad; diff --git a/node_modules/@types/lodash/padEnd.d.ts b/node_modules/@types/lodash/padEnd.d.ts new file mode 100644 index 0000000..c81a7b0 --- /dev/null +++ b/node_modules/@types/lodash/padEnd.d.ts @@ -0,0 +1,2 @@ +import { padEnd } from "./index"; +export = padEnd; diff --git a/node_modules/@types/lodash/padStart.d.ts b/node_modules/@types/lodash/padStart.d.ts new file mode 100644 index 0000000..c119c35 --- /dev/null +++ b/node_modules/@types/lodash/padStart.d.ts @@ -0,0 +1,2 @@ +import { padStart } from "./index"; +export = padStart; diff --git a/node_modules/@types/lodash/parseInt.d.ts b/node_modules/@types/lodash/parseInt.d.ts new file mode 100644 index 0000000..de59e7b --- /dev/null +++ b/node_modules/@types/lodash/parseInt.d.ts @@ -0,0 +1,2 @@ +import { parseInt } from "./index"; +export = parseInt; diff --git a/node_modules/@types/lodash/partial.d.ts b/node_modules/@types/lodash/partial.d.ts new file mode 100644 index 0000000..d764f6e --- /dev/null +++ b/node_modules/@types/lodash/partial.d.ts @@ -0,0 +1,2 @@ +import { partial } from "./index"; +export = partial; diff --git a/node_modules/@types/lodash/partialRight.d.ts b/node_modules/@types/lodash/partialRight.d.ts new file mode 100644 index 0000000..ed60160 --- /dev/null +++ b/node_modules/@types/lodash/partialRight.d.ts @@ -0,0 +1,2 @@ +import { partialRight } from "./index"; +export = partialRight; diff --git a/node_modules/@types/lodash/partition.d.ts b/node_modules/@types/lodash/partition.d.ts new file mode 100644 index 0000000..f26ab15 --- /dev/null +++ b/node_modules/@types/lodash/partition.d.ts @@ -0,0 +1,2 @@ +import { partition } from "./index"; +export = partition; diff --git a/node_modules/@types/lodash/pick.d.ts b/node_modules/@types/lodash/pick.d.ts new file mode 100644 index 0000000..6d346f8 --- /dev/null +++ b/node_modules/@types/lodash/pick.d.ts @@ -0,0 +1,2 @@ +import { pick } from "./index"; +export = pick; diff --git a/node_modules/@types/lodash/pickBy.d.ts b/node_modules/@types/lodash/pickBy.d.ts new file mode 100644 index 0000000..5285ead --- /dev/null +++ b/node_modules/@types/lodash/pickBy.d.ts @@ -0,0 +1,2 @@ +import { pickBy } from "./index"; +export = pickBy; diff --git a/node_modules/@types/lodash/property.d.ts b/node_modules/@types/lodash/property.d.ts new file mode 100644 index 0000000..3ff96f0 --- /dev/null +++ b/node_modules/@types/lodash/property.d.ts @@ -0,0 +1,2 @@ +import { property } from "./index"; +export = property; diff --git a/node_modules/@types/lodash/propertyOf.d.ts b/node_modules/@types/lodash/propertyOf.d.ts new file mode 100644 index 0000000..27c628f --- /dev/null +++ b/node_modules/@types/lodash/propertyOf.d.ts @@ -0,0 +1,2 @@ +import { propertyOf } from "./index"; +export = propertyOf; diff --git a/node_modules/@types/lodash/pull.d.ts b/node_modules/@types/lodash/pull.d.ts new file mode 100644 index 0000000..b496ebd --- /dev/null +++ b/node_modules/@types/lodash/pull.d.ts @@ -0,0 +1,2 @@ +import { pull } from "./index"; +export = pull; diff --git a/node_modules/@types/lodash/pullAll.d.ts b/node_modules/@types/lodash/pullAll.d.ts new file mode 100644 index 0000000..22c81c4 --- /dev/null +++ b/node_modules/@types/lodash/pullAll.d.ts @@ -0,0 +1,2 @@ +import { pullAll } from "./index"; +export = pullAll; diff --git a/node_modules/@types/lodash/pullAllBy.d.ts b/node_modules/@types/lodash/pullAllBy.d.ts new file mode 100644 index 0000000..e0629ce --- /dev/null +++ b/node_modules/@types/lodash/pullAllBy.d.ts @@ -0,0 +1,2 @@ +import { pullAllBy } from "./index"; +export = pullAllBy; diff --git a/node_modules/@types/lodash/pullAllWith.d.ts b/node_modules/@types/lodash/pullAllWith.d.ts new file mode 100644 index 0000000..d3ce829 --- /dev/null +++ b/node_modules/@types/lodash/pullAllWith.d.ts @@ -0,0 +1,2 @@ +import { pullAllWith } from "./index"; +export = pullAllWith; diff --git a/node_modules/@types/lodash/pullAt.d.ts b/node_modules/@types/lodash/pullAt.d.ts new file mode 100644 index 0000000..47be382 --- /dev/null +++ b/node_modules/@types/lodash/pullAt.d.ts @@ -0,0 +1,2 @@ +import { pullAt } from "./index"; +export = pullAt; diff --git a/node_modules/@types/lodash/random.d.ts b/node_modules/@types/lodash/random.d.ts new file mode 100644 index 0000000..a68cc27 --- /dev/null +++ b/node_modules/@types/lodash/random.d.ts @@ -0,0 +1,2 @@ +import { random } from "./index"; +export = random; diff --git a/node_modules/@types/lodash/range.d.ts b/node_modules/@types/lodash/range.d.ts new file mode 100644 index 0000000..8f737ca --- /dev/null +++ b/node_modules/@types/lodash/range.d.ts @@ -0,0 +1,2 @@ +import { range } from "./index"; +export = range; diff --git a/node_modules/@types/lodash/rangeRight.d.ts b/node_modules/@types/lodash/rangeRight.d.ts new file mode 100644 index 0000000..cabd0ed --- /dev/null +++ b/node_modules/@types/lodash/rangeRight.d.ts @@ -0,0 +1,2 @@ +import { rangeRight } from "./index"; +export = rangeRight; diff --git a/node_modules/@types/lodash/rearg.d.ts b/node_modules/@types/lodash/rearg.d.ts new file mode 100644 index 0000000..7684e86 --- /dev/null +++ b/node_modules/@types/lodash/rearg.d.ts @@ -0,0 +1,2 @@ +import { rearg } from "./index"; +export = rearg; diff --git a/node_modules/@types/lodash/reduce.d.ts b/node_modules/@types/lodash/reduce.d.ts new file mode 100644 index 0000000..4765fcd --- /dev/null +++ b/node_modules/@types/lodash/reduce.d.ts @@ -0,0 +1,2 @@ +import { reduce } from "./index"; +export = reduce; diff --git a/node_modules/@types/lodash/reduceRight.d.ts b/node_modules/@types/lodash/reduceRight.d.ts new file mode 100644 index 0000000..1cfdb5f --- /dev/null +++ b/node_modules/@types/lodash/reduceRight.d.ts @@ -0,0 +1,2 @@ +import { reduceRight } from "./index"; +export = reduceRight; diff --git a/node_modules/@types/lodash/reject.d.ts b/node_modules/@types/lodash/reject.d.ts new file mode 100644 index 0000000..aabc141 --- /dev/null +++ b/node_modules/@types/lodash/reject.d.ts @@ -0,0 +1,2 @@ +import { reject } from "./index"; +export = reject; diff --git a/node_modules/@types/lodash/remove.d.ts b/node_modules/@types/lodash/remove.d.ts new file mode 100644 index 0000000..dca4718 --- /dev/null +++ b/node_modules/@types/lodash/remove.d.ts @@ -0,0 +1,2 @@ +import { remove } from "./index"; +export = remove; diff --git a/node_modules/@types/lodash/repeat.d.ts b/node_modules/@types/lodash/repeat.d.ts new file mode 100644 index 0000000..ca3c7fc --- /dev/null +++ b/node_modules/@types/lodash/repeat.d.ts @@ -0,0 +1,2 @@ +import { repeat } from "./index"; +export = repeat; diff --git a/node_modules/@types/lodash/replace.d.ts b/node_modules/@types/lodash/replace.d.ts new file mode 100644 index 0000000..7015411 --- /dev/null +++ b/node_modules/@types/lodash/replace.d.ts @@ -0,0 +1,2 @@ +import { replace } from "./index"; +export = replace; diff --git a/node_modules/@types/lodash/rest.d.ts b/node_modules/@types/lodash/rest.d.ts new file mode 100644 index 0000000..433a4fd --- /dev/null +++ b/node_modules/@types/lodash/rest.d.ts @@ -0,0 +1,2 @@ +import { rest } from "./index"; +export = rest; diff --git a/node_modules/@types/lodash/result.d.ts b/node_modules/@types/lodash/result.d.ts new file mode 100644 index 0000000..6578642 --- /dev/null +++ b/node_modules/@types/lodash/result.d.ts @@ -0,0 +1,2 @@ +import { result } from "./index"; +export = result; diff --git a/node_modules/@types/lodash/reverse.d.ts b/node_modules/@types/lodash/reverse.d.ts new file mode 100644 index 0000000..ecef173 --- /dev/null +++ b/node_modules/@types/lodash/reverse.d.ts @@ -0,0 +1,2 @@ +import { reverse } from "./index"; +export = reverse; diff --git a/node_modules/@types/lodash/round.d.ts b/node_modules/@types/lodash/round.d.ts new file mode 100644 index 0000000..ed2c179 --- /dev/null +++ b/node_modules/@types/lodash/round.d.ts @@ -0,0 +1,2 @@ +import { round } from "./index"; +export = round; diff --git a/node_modules/@types/lodash/runInContext.d.ts b/node_modules/@types/lodash/runInContext.d.ts new file mode 100644 index 0000000..9ee01f3 --- /dev/null +++ b/node_modules/@types/lodash/runInContext.d.ts @@ -0,0 +1,2 @@ +import { runInContext } from "./index"; +export = runInContext; diff --git a/node_modules/@types/lodash/sample.d.ts b/node_modules/@types/lodash/sample.d.ts new file mode 100644 index 0000000..c225178 --- /dev/null +++ b/node_modules/@types/lodash/sample.d.ts @@ -0,0 +1,2 @@ +import { sample } from "./index"; +export = sample; diff --git a/node_modules/@types/lodash/sampleSize.d.ts b/node_modules/@types/lodash/sampleSize.d.ts new file mode 100644 index 0000000..0f1ed89 --- /dev/null +++ b/node_modules/@types/lodash/sampleSize.d.ts @@ -0,0 +1,2 @@ +import { sampleSize } from "./index"; +export = sampleSize; diff --git a/node_modules/@types/lodash/set.d.ts b/node_modules/@types/lodash/set.d.ts new file mode 100644 index 0000000..09d0c24 --- /dev/null +++ b/node_modules/@types/lodash/set.d.ts @@ -0,0 +1,2 @@ +import { set } from "./index"; +export = set; diff --git a/node_modules/@types/lodash/setWith.d.ts b/node_modules/@types/lodash/setWith.d.ts new file mode 100644 index 0000000..d4e319a --- /dev/null +++ b/node_modules/@types/lodash/setWith.d.ts @@ -0,0 +1,2 @@ +import { setWith } from "./index"; +export = setWith; diff --git a/node_modules/@types/lodash/shuffle.d.ts b/node_modules/@types/lodash/shuffle.d.ts new file mode 100644 index 0000000..ff96f88 --- /dev/null +++ b/node_modules/@types/lodash/shuffle.d.ts @@ -0,0 +1,2 @@ +import { shuffle } from "./index"; +export = shuffle; diff --git a/node_modules/@types/lodash/size.d.ts b/node_modules/@types/lodash/size.d.ts new file mode 100644 index 0000000..13d492f --- /dev/null +++ b/node_modules/@types/lodash/size.d.ts @@ -0,0 +1,2 @@ +import { size } from "./index"; +export = size; diff --git a/node_modules/@types/lodash/slice.d.ts b/node_modules/@types/lodash/slice.d.ts new file mode 100644 index 0000000..311d2fa --- /dev/null +++ b/node_modules/@types/lodash/slice.d.ts @@ -0,0 +1,2 @@ +import { slice } from "./index"; +export = slice; diff --git a/node_modules/@types/lodash/snakeCase.d.ts b/node_modules/@types/lodash/snakeCase.d.ts new file mode 100644 index 0000000..8245a7d --- /dev/null +++ b/node_modules/@types/lodash/snakeCase.d.ts @@ -0,0 +1,2 @@ +import { snakeCase } from "./index"; +export = snakeCase; diff --git a/node_modules/@types/lodash/some.d.ts b/node_modules/@types/lodash/some.d.ts new file mode 100644 index 0000000..90ef478 --- /dev/null +++ b/node_modules/@types/lodash/some.d.ts @@ -0,0 +1,2 @@ +import { some } from "./index"; +export = some; diff --git a/node_modules/@types/lodash/sortBy.d.ts b/node_modules/@types/lodash/sortBy.d.ts new file mode 100644 index 0000000..5f3d4f2 --- /dev/null +++ b/node_modules/@types/lodash/sortBy.d.ts @@ -0,0 +1,2 @@ +import { sortBy } from "./index"; +export = sortBy; diff --git a/node_modules/@types/lodash/sortedIndex.d.ts b/node_modules/@types/lodash/sortedIndex.d.ts new file mode 100644 index 0000000..c9c7911 --- /dev/null +++ b/node_modules/@types/lodash/sortedIndex.d.ts @@ -0,0 +1,2 @@ +import { sortedIndex } from "./index"; +export = sortedIndex; diff --git a/node_modules/@types/lodash/sortedIndexBy.d.ts b/node_modules/@types/lodash/sortedIndexBy.d.ts new file mode 100644 index 0000000..fdbedac --- /dev/null +++ b/node_modules/@types/lodash/sortedIndexBy.d.ts @@ -0,0 +1,2 @@ +import { sortedIndexBy } from "./index"; +export = sortedIndexBy; diff --git a/node_modules/@types/lodash/sortedIndexOf.d.ts b/node_modules/@types/lodash/sortedIndexOf.d.ts new file mode 100644 index 0000000..a076c4a --- /dev/null +++ b/node_modules/@types/lodash/sortedIndexOf.d.ts @@ -0,0 +1,2 @@ +import { sortedIndexOf } from "./index"; +export = sortedIndexOf; diff --git a/node_modules/@types/lodash/sortedLastIndex.d.ts b/node_modules/@types/lodash/sortedLastIndex.d.ts new file mode 100644 index 0000000..808c2c0 --- /dev/null +++ b/node_modules/@types/lodash/sortedLastIndex.d.ts @@ -0,0 +1,2 @@ +import { sortedLastIndex } from "./index"; +export = sortedLastIndex; diff --git a/node_modules/@types/lodash/sortedLastIndexBy.d.ts b/node_modules/@types/lodash/sortedLastIndexBy.d.ts new file mode 100644 index 0000000..9f23b9b --- /dev/null +++ b/node_modules/@types/lodash/sortedLastIndexBy.d.ts @@ -0,0 +1,2 @@ +import { sortedLastIndexBy } from "./index"; +export = sortedLastIndexBy; diff --git a/node_modules/@types/lodash/sortedLastIndexOf.d.ts b/node_modules/@types/lodash/sortedLastIndexOf.d.ts new file mode 100644 index 0000000..abdeba0 --- /dev/null +++ b/node_modules/@types/lodash/sortedLastIndexOf.d.ts @@ -0,0 +1,2 @@ +import { sortedLastIndexOf } from "./index"; +export = sortedLastIndexOf; diff --git a/node_modules/@types/lodash/sortedUniq.d.ts b/node_modules/@types/lodash/sortedUniq.d.ts new file mode 100644 index 0000000..257d35a --- /dev/null +++ b/node_modules/@types/lodash/sortedUniq.d.ts @@ -0,0 +1,2 @@ +import { sortedUniq } from "./index"; +export = sortedUniq; diff --git a/node_modules/@types/lodash/sortedUniqBy.d.ts b/node_modules/@types/lodash/sortedUniqBy.d.ts new file mode 100644 index 0000000..316156e --- /dev/null +++ b/node_modules/@types/lodash/sortedUniqBy.d.ts @@ -0,0 +1,2 @@ +import { sortedUniqBy } from "./index"; +export = sortedUniqBy; diff --git a/node_modules/@types/lodash/split.d.ts b/node_modules/@types/lodash/split.d.ts new file mode 100644 index 0000000..8879eb0 --- /dev/null +++ b/node_modules/@types/lodash/split.d.ts @@ -0,0 +1,2 @@ +import { split } from "./index"; +export = split; diff --git a/node_modules/@types/lodash/spread.d.ts b/node_modules/@types/lodash/spread.d.ts new file mode 100644 index 0000000..4f816b2 --- /dev/null +++ b/node_modules/@types/lodash/spread.d.ts @@ -0,0 +1,2 @@ +import { spread } from "./index"; +export = spread; diff --git a/node_modules/@types/lodash/startCase.d.ts b/node_modules/@types/lodash/startCase.d.ts new file mode 100644 index 0000000..c201a11 --- /dev/null +++ b/node_modules/@types/lodash/startCase.d.ts @@ -0,0 +1,2 @@ +import { startCase } from "./index"; +export = startCase; diff --git a/node_modules/@types/lodash/startsWith.d.ts b/node_modules/@types/lodash/startsWith.d.ts new file mode 100644 index 0000000..a18b54f --- /dev/null +++ b/node_modules/@types/lodash/startsWith.d.ts @@ -0,0 +1,2 @@ +import { startsWith } from "./index"; +export = startsWith; diff --git a/node_modules/@types/lodash/stubFalse.d.ts b/node_modules/@types/lodash/stubFalse.d.ts new file mode 100644 index 0000000..fea47b7 --- /dev/null +++ b/node_modules/@types/lodash/stubFalse.d.ts @@ -0,0 +1,2 @@ +import { stubFalse } from "./index"; +export = stubFalse; diff --git a/node_modules/@types/lodash/stubTrue.d.ts b/node_modules/@types/lodash/stubTrue.d.ts new file mode 100644 index 0000000..f2d4cf0 --- /dev/null +++ b/node_modules/@types/lodash/stubTrue.d.ts @@ -0,0 +1,2 @@ +import { stubTrue } from "./index"; +export = stubTrue; diff --git a/node_modules/@types/lodash/subtract.d.ts b/node_modules/@types/lodash/subtract.d.ts new file mode 100644 index 0000000..6502fe2 --- /dev/null +++ b/node_modules/@types/lodash/subtract.d.ts @@ -0,0 +1,2 @@ +import { subtract } from "./index"; +export = subtract; diff --git a/node_modules/@types/lodash/sum.d.ts b/node_modules/@types/lodash/sum.d.ts new file mode 100644 index 0000000..4e01cb4 --- /dev/null +++ b/node_modules/@types/lodash/sum.d.ts @@ -0,0 +1,2 @@ +import { sum } from "./index"; +export = sum; diff --git a/node_modules/@types/lodash/sumBy.d.ts b/node_modules/@types/lodash/sumBy.d.ts new file mode 100644 index 0000000..92c4342 --- /dev/null +++ b/node_modules/@types/lodash/sumBy.d.ts @@ -0,0 +1,2 @@ +import { sumBy } from "./index"; +export = sumBy; diff --git a/node_modules/@types/lodash/tail.d.ts b/node_modules/@types/lodash/tail.d.ts new file mode 100644 index 0000000..2d80b44 --- /dev/null +++ b/node_modules/@types/lodash/tail.d.ts @@ -0,0 +1,2 @@ +import { tail } from "./index"; +export = tail; diff --git a/node_modules/@types/lodash/take.d.ts b/node_modules/@types/lodash/take.d.ts new file mode 100644 index 0000000..be99122 --- /dev/null +++ b/node_modules/@types/lodash/take.d.ts @@ -0,0 +1,2 @@ +import { take } from "./index"; +export = take; diff --git a/node_modules/@types/lodash/takeRight.d.ts b/node_modules/@types/lodash/takeRight.d.ts new file mode 100644 index 0000000..9d78866 --- /dev/null +++ b/node_modules/@types/lodash/takeRight.d.ts @@ -0,0 +1,2 @@ +import { takeRight } from "./index"; +export = takeRight; diff --git a/node_modules/@types/lodash/takeRightWhile.d.ts b/node_modules/@types/lodash/takeRightWhile.d.ts new file mode 100644 index 0000000..3b293de --- /dev/null +++ b/node_modules/@types/lodash/takeRightWhile.d.ts @@ -0,0 +1,2 @@ +import { takeRightWhile } from "./index"; +export = takeRightWhile; diff --git a/node_modules/@types/lodash/takeWhile.d.ts b/node_modules/@types/lodash/takeWhile.d.ts new file mode 100644 index 0000000..088234a --- /dev/null +++ b/node_modules/@types/lodash/takeWhile.d.ts @@ -0,0 +1,2 @@ +import { takeWhile } from "./index"; +export = takeWhile; diff --git a/node_modules/@types/lodash/tap.d.ts b/node_modules/@types/lodash/tap.d.ts new file mode 100644 index 0000000..e15a13c --- /dev/null +++ b/node_modules/@types/lodash/tap.d.ts @@ -0,0 +1,2 @@ +import { tap } from "./index"; +export = tap; diff --git a/node_modules/@types/lodash/template.d.ts b/node_modules/@types/lodash/template.d.ts new file mode 100644 index 0000000..854e753 --- /dev/null +++ b/node_modules/@types/lodash/template.d.ts @@ -0,0 +1,2 @@ +import { template } from "./index"; +export = template; diff --git a/node_modules/@types/lodash/throttle.d.ts b/node_modules/@types/lodash/throttle.d.ts new file mode 100644 index 0000000..2650896 --- /dev/null +++ b/node_modules/@types/lodash/throttle.d.ts @@ -0,0 +1,2 @@ +import { throttle } from "./index"; +export = throttle; diff --git a/node_modules/@types/lodash/thru.d.ts b/node_modules/@types/lodash/thru.d.ts new file mode 100644 index 0000000..0447e12 --- /dev/null +++ b/node_modules/@types/lodash/thru.d.ts @@ -0,0 +1,2 @@ +import { thru } from "./index"; +export = thru; diff --git a/node_modules/@types/lodash/times.d.ts b/node_modules/@types/lodash/times.d.ts new file mode 100644 index 0000000..7fda4de --- /dev/null +++ b/node_modules/@types/lodash/times.d.ts @@ -0,0 +1,2 @@ +import { times } from "./index"; +export = times; diff --git a/node_modules/@types/lodash/toArray.d.ts b/node_modules/@types/lodash/toArray.d.ts new file mode 100644 index 0000000..dd94c8a --- /dev/null +++ b/node_modules/@types/lodash/toArray.d.ts @@ -0,0 +1,2 @@ +import { toArray } from "./index"; +export = toArray; diff --git a/node_modules/@types/lodash/toFinite.d.ts b/node_modules/@types/lodash/toFinite.d.ts new file mode 100644 index 0000000..c575b47 --- /dev/null +++ b/node_modules/@types/lodash/toFinite.d.ts @@ -0,0 +1,2 @@ +import { toFinite } from "./index"; +export = toFinite; diff --git a/node_modules/@types/lodash/toInteger.d.ts b/node_modules/@types/lodash/toInteger.d.ts new file mode 100644 index 0000000..021a9c0 --- /dev/null +++ b/node_modules/@types/lodash/toInteger.d.ts @@ -0,0 +1,2 @@ +import { toInteger } from "./index"; +export = toInteger; diff --git a/node_modules/@types/lodash/toLength.d.ts b/node_modules/@types/lodash/toLength.d.ts new file mode 100644 index 0000000..41a4098 --- /dev/null +++ b/node_modules/@types/lodash/toLength.d.ts @@ -0,0 +1,2 @@ +import { toLength } from "./index"; +export = toLength; diff --git a/node_modules/@types/lodash/toLower.d.ts b/node_modules/@types/lodash/toLower.d.ts new file mode 100644 index 0000000..766c173 --- /dev/null +++ b/node_modules/@types/lodash/toLower.d.ts @@ -0,0 +1,2 @@ +import { toLower } from "./index"; +export = toLower; diff --git a/node_modules/@types/lodash/toNumber.d.ts b/node_modules/@types/lodash/toNumber.d.ts new file mode 100644 index 0000000..a6c5e1f --- /dev/null +++ b/node_modules/@types/lodash/toNumber.d.ts @@ -0,0 +1,2 @@ +import { toNumber } from "./index"; +export = toNumber; diff --git a/node_modules/@types/lodash/toPairs.d.ts b/node_modules/@types/lodash/toPairs.d.ts new file mode 100644 index 0000000..4a7846e --- /dev/null +++ b/node_modules/@types/lodash/toPairs.d.ts @@ -0,0 +1,2 @@ +import { toPairs } from "./index"; +export = toPairs; diff --git a/node_modules/@types/lodash/toPairsIn.d.ts b/node_modules/@types/lodash/toPairsIn.d.ts new file mode 100644 index 0000000..82d71b3 --- /dev/null +++ b/node_modules/@types/lodash/toPairsIn.d.ts @@ -0,0 +1,2 @@ +import { toPairsIn } from "./index"; +export = toPairsIn; diff --git a/node_modules/@types/lodash/toPath.d.ts b/node_modules/@types/lodash/toPath.d.ts new file mode 100644 index 0000000..ff354e5 --- /dev/null +++ b/node_modules/@types/lodash/toPath.d.ts @@ -0,0 +1,2 @@ +import { toPath } from "./index"; +export = toPath; diff --git a/node_modules/@types/lodash/toPlainObject.d.ts b/node_modules/@types/lodash/toPlainObject.d.ts new file mode 100644 index 0000000..0561ab6 --- /dev/null +++ b/node_modules/@types/lodash/toPlainObject.d.ts @@ -0,0 +1,2 @@ +import { toPlainObject } from "./index"; +export = toPlainObject; diff --git a/node_modules/@types/lodash/toSafeInteger.d.ts b/node_modules/@types/lodash/toSafeInteger.d.ts new file mode 100644 index 0000000..6bb24d8 --- /dev/null +++ b/node_modules/@types/lodash/toSafeInteger.d.ts @@ -0,0 +1,2 @@ +import { toSafeInteger } from "./index"; +export = toSafeInteger; diff --git a/node_modules/@types/lodash/toString.d.ts b/node_modules/@types/lodash/toString.d.ts new file mode 100644 index 0000000..7765d10 --- /dev/null +++ b/node_modules/@types/lodash/toString.d.ts @@ -0,0 +1,2 @@ +import { toString } from "./index"; +export = toString; diff --git a/node_modules/@types/lodash/toUpper.d.ts b/node_modules/@types/lodash/toUpper.d.ts new file mode 100644 index 0000000..af43041 --- /dev/null +++ b/node_modules/@types/lodash/toUpper.d.ts @@ -0,0 +1,2 @@ +import { toUpper } from "./index"; +export = toUpper; diff --git a/node_modules/@types/lodash/transform.d.ts b/node_modules/@types/lodash/transform.d.ts new file mode 100644 index 0000000..05e6543 --- /dev/null +++ b/node_modules/@types/lodash/transform.d.ts @@ -0,0 +1,2 @@ +import { transform } from "./index"; +export = transform; diff --git a/node_modules/@types/lodash/trim.d.ts b/node_modules/@types/lodash/trim.d.ts new file mode 100644 index 0000000..7d0bf90 --- /dev/null +++ b/node_modules/@types/lodash/trim.d.ts @@ -0,0 +1,2 @@ +import { trim } from "./index"; +export = trim; diff --git a/node_modules/@types/lodash/trimEnd.d.ts b/node_modules/@types/lodash/trimEnd.d.ts new file mode 100644 index 0000000..b80c844 --- /dev/null +++ b/node_modules/@types/lodash/trimEnd.d.ts @@ -0,0 +1,2 @@ +import { trimEnd } from "./index"; +export = trimEnd; diff --git a/node_modules/@types/lodash/trimStart.d.ts b/node_modules/@types/lodash/trimStart.d.ts new file mode 100644 index 0000000..a040712 --- /dev/null +++ b/node_modules/@types/lodash/trimStart.d.ts @@ -0,0 +1,2 @@ +import { trimStart } from "./index"; +export = trimStart; diff --git a/node_modules/@types/lodash/truncate.d.ts b/node_modules/@types/lodash/truncate.d.ts new file mode 100644 index 0000000..0ae065b --- /dev/null +++ b/node_modules/@types/lodash/truncate.d.ts @@ -0,0 +1,2 @@ +import { truncate } from "./index"; +export = truncate; diff --git a/node_modules/@types/lodash/unary.d.ts b/node_modules/@types/lodash/unary.d.ts new file mode 100644 index 0000000..4456997 --- /dev/null +++ b/node_modules/@types/lodash/unary.d.ts @@ -0,0 +1,2 @@ +import { unary } from "./index"; +export = unary; diff --git a/node_modules/@types/lodash/unescape.d.ts b/node_modules/@types/lodash/unescape.d.ts new file mode 100644 index 0000000..71ba85d --- /dev/null +++ b/node_modules/@types/lodash/unescape.d.ts @@ -0,0 +1,2 @@ +import { unescape } from "./index"; +export = unescape; diff --git a/node_modules/@types/lodash/union.d.ts b/node_modules/@types/lodash/union.d.ts new file mode 100644 index 0000000..7b12e92 --- /dev/null +++ b/node_modules/@types/lodash/union.d.ts @@ -0,0 +1,2 @@ +import { union } from "./index"; +export = union; diff --git a/node_modules/@types/lodash/unionBy.d.ts b/node_modules/@types/lodash/unionBy.d.ts new file mode 100644 index 0000000..0cb1992 --- /dev/null +++ b/node_modules/@types/lodash/unionBy.d.ts @@ -0,0 +1,2 @@ +import { unionBy } from "./index"; +export = unionBy; diff --git a/node_modules/@types/lodash/unionWith.d.ts b/node_modules/@types/lodash/unionWith.d.ts new file mode 100644 index 0000000..9888092 --- /dev/null +++ b/node_modules/@types/lodash/unionWith.d.ts @@ -0,0 +1,2 @@ +import { unionWith } from "./index"; +export = unionWith; diff --git a/node_modules/@types/lodash/uniq.d.ts b/node_modules/@types/lodash/uniq.d.ts new file mode 100644 index 0000000..6c105ac --- /dev/null +++ b/node_modules/@types/lodash/uniq.d.ts @@ -0,0 +1,2 @@ +import { uniq } from "./index"; +export = uniq; diff --git a/node_modules/@types/lodash/uniqBy.d.ts b/node_modules/@types/lodash/uniqBy.d.ts new file mode 100644 index 0000000..7101b0e --- /dev/null +++ b/node_modules/@types/lodash/uniqBy.d.ts @@ -0,0 +1,2 @@ +import { uniqBy } from "./index"; +export = uniqBy; diff --git a/node_modules/@types/lodash/uniqWith.d.ts b/node_modules/@types/lodash/uniqWith.d.ts new file mode 100644 index 0000000..72c3f8f --- /dev/null +++ b/node_modules/@types/lodash/uniqWith.d.ts @@ -0,0 +1,2 @@ +import { uniqWith } from "./index"; +export = uniqWith; diff --git a/node_modules/@types/lodash/uniqueId.d.ts b/node_modules/@types/lodash/uniqueId.d.ts new file mode 100644 index 0000000..4ea55f9 --- /dev/null +++ b/node_modules/@types/lodash/uniqueId.d.ts @@ -0,0 +1,2 @@ +import { uniqueId } from "./index"; +export = uniqueId; diff --git a/node_modules/@types/lodash/unset.d.ts b/node_modules/@types/lodash/unset.d.ts new file mode 100644 index 0000000..1eac8dd --- /dev/null +++ b/node_modules/@types/lodash/unset.d.ts @@ -0,0 +1,2 @@ +import { unset } from "./index"; +export = unset; diff --git a/node_modules/@types/lodash/unzip.d.ts b/node_modules/@types/lodash/unzip.d.ts new file mode 100644 index 0000000..7e320a2 --- /dev/null +++ b/node_modules/@types/lodash/unzip.d.ts @@ -0,0 +1,2 @@ +import { unzip } from "./index"; +export = unzip; diff --git a/node_modules/@types/lodash/unzipWith.d.ts b/node_modules/@types/lodash/unzipWith.d.ts new file mode 100644 index 0000000..2bf5394 --- /dev/null +++ b/node_modules/@types/lodash/unzipWith.d.ts @@ -0,0 +1,2 @@ +import { unzipWith } from "./index"; +export = unzipWith; diff --git a/node_modules/@types/lodash/update.d.ts b/node_modules/@types/lodash/update.d.ts new file mode 100644 index 0000000..d072c0f --- /dev/null +++ b/node_modules/@types/lodash/update.d.ts @@ -0,0 +1,2 @@ +import { update } from "./index"; +export = update; diff --git a/node_modules/@types/lodash/updateWith.d.ts b/node_modules/@types/lodash/updateWith.d.ts new file mode 100644 index 0000000..4417542 --- /dev/null +++ b/node_modules/@types/lodash/updateWith.d.ts @@ -0,0 +1,2 @@ +import { updateWith } from "./index"; +export = updateWith; diff --git a/node_modules/@types/lodash/upperCase.d.ts b/node_modules/@types/lodash/upperCase.d.ts new file mode 100644 index 0000000..c33598a --- /dev/null +++ b/node_modules/@types/lodash/upperCase.d.ts @@ -0,0 +1,2 @@ +import { upperCase } from "./index"; +export = upperCase; diff --git a/node_modules/@types/lodash/upperFirst.d.ts b/node_modules/@types/lodash/upperFirst.d.ts new file mode 100644 index 0000000..1f1b2a7 --- /dev/null +++ b/node_modules/@types/lodash/upperFirst.d.ts @@ -0,0 +1,2 @@ +import { upperFirst } from "./index"; +export = upperFirst; diff --git a/node_modules/@types/lodash/values.d.ts b/node_modules/@types/lodash/values.d.ts new file mode 100644 index 0000000..2015ebf --- /dev/null +++ b/node_modules/@types/lodash/values.d.ts @@ -0,0 +1,2 @@ +import { values } from "./index"; +export = values; diff --git a/node_modules/@types/lodash/valuesIn.d.ts b/node_modules/@types/lodash/valuesIn.d.ts new file mode 100644 index 0000000..6f8d6a3 --- /dev/null +++ b/node_modules/@types/lodash/valuesIn.d.ts @@ -0,0 +1,2 @@ +import { valuesIn } from "./index"; +export = valuesIn; diff --git a/node_modules/@types/lodash/without.d.ts b/node_modules/@types/lodash/without.d.ts new file mode 100644 index 0000000..bbdfe16 --- /dev/null +++ b/node_modules/@types/lodash/without.d.ts @@ -0,0 +1,2 @@ +import { without } from "./index"; +export = without; diff --git a/node_modules/@types/lodash/words.d.ts b/node_modules/@types/lodash/words.d.ts new file mode 100644 index 0000000..22da6cb --- /dev/null +++ b/node_modules/@types/lodash/words.d.ts @@ -0,0 +1,2 @@ +import { words } from "./index"; +export = words; diff --git a/node_modules/@types/lodash/wrap.d.ts b/node_modules/@types/lodash/wrap.d.ts new file mode 100644 index 0000000..3c20f28 --- /dev/null +++ b/node_modules/@types/lodash/wrap.d.ts @@ -0,0 +1,2 @@ +import { wrap } from "./index"; +export = wrap; diff --git a/node_modules/@types/lodash/xor.d.ts b/node_modules/@types/lodash/xor.d.ts new file mode 100644 index 0000000..894735c --- /dev/null +++ b/node_modules/@types/lodash/xor.d.ts @@ -0,0 +1,2 @@ +import { xor } from "./index"; +export = xor; diff --git a/node_modules/@types/lodash/xorBy.d.ts b/node_modules/@types/lodash/xorBy.d.ts new file mode 100644 index 0000000..6a08c6a --- /dev/null +++ b/node_modules/@types/lodash/xorBy.d.ts @@ -0,0 +1,2 @@ +import { xorBy } from "./index"; +export = xorBy; diff --git a/node_modules/@types/lodash/xorWith.d.ts b/node_modules/@types/lodash/xorWith.d.ts new file mode 100644 index 0000000..7cdcaf3 --- /dev/null +++ b/node_modules/@types/lodash/xorWith.d.ts @@ -0,0 +1,2 @@ +import { xorWith } from "./index"; +export = xorWith; diff --git a/node_modules/@types/lodash/zip.d.ts b/node_modules/@types/lodash/zip.d.ts new file mode 100644 index 0000000..e7467cd --- /dev/null +++ b/node_modules/@types/lodash/zip.d.ts @@ -0,0 +1,2 @@ +import { zip } from "./index"; +export = zip; diff --git a/node_modules/@types/lodash/zipObject.d.ts b/node_modules/@types/lodash/zipObject.d.ts new file mode 100644 index 0000000..ad049fd --- /dev/null +++ b/node_modules/@types/lodash/zipObject.d.ts @@ -0,0 +1,2 @@ +import { zipObject } from "./index"; +export = zipObject; diff --git a/node_modules/@types/lodash/zipObjectDeep.d.ts b/node_modules/@types/lodash/zipObjectDeep.d.ts new file mode 100644 index 0000000..2a483e8 --- /dev/null +++ b/node_modules/@types/lodash/zipObjectDeep.d.ts @@ -0,0 +1,2 @@ +import { zipObjectDeep } from "./index"; +export = zipObjectDeep; diff --git a/node_modules/@types/lodash/zipWith.d.ts b/node_modules/@types/lodash/zipWith.d.ts new file mode 100644 index 0000000..4869374 --- /dev/null +++ b/node_modules/@types/lodash/zipWith.d.ts @@ -0,0 +1,2 @@ +import { zipWith } from "./index"; +export = zipWith; diff --git a/node_modules/@types/screeps/LICENSE b/node_modules/@types/screeps/LICENSE new file mode 100644 index 0000000..9e841e7 --- /dev/null +++ b/node_modules/@types/screeps/LICENSE @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE diff --git a/node_modules/@types/screeps/README.md b/node_modules/@types/screeps/README.md new file mode 100644 index 0000000..1a3a7e5 --- /dev/null +++ b/node_modules/@types/screeps/README.md @@ -0,0 +1,15 @@ +# Installation +> `npm install --save @types/screeps` + +# Summary +This package contains type definitions for screeps (https://github.com/screeps/screeps). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/screeps. + +### Additional Details + * Last updated: Wed, 22 Nov 2023 00:24:48 GMT + * Dependencies: none + +# Credits +These definitions were written by [Nhan Ho](https://github.com/NhanHo), [Bryan](https://github.com/bryanbecker), [Resi Respati](https://github.com/resir014), [Adam Laycock](https://github.com/Arcath), [Dominic Marcuse](https://github.com/dmarcuse), [Skyler Kehren](https://github.com/pyrodogg), [Kieran Carnegie](https://github.com/kotarou), and [Mofeng](https://github.com/DiamondMofeng). diff --git a/node_modules/@types/screeps/index.d.ts b/node_modules/@types/screeps/index.d.ts new file mode 100644 index 0000000..5ee3217 --- /dev/null +++ b/node_modules/@types/screeps/index.d.ts @@ -0,0 +1,5780 @@ +// Please contribute types to https://github.com/screepers/typed-screeps + +// Game Constants + +declare const OK: OK; +declare const ERR_NOT_OWNER: ERR_NOT_OWNER; +declare const ERR_NO_PATH: ERR_NO_PATH; +declare const ERR_NAME_EXISTS: ERR_NAME_EXISTS; +declare const ERR_BUSY: ERR_BUSY; +declare const ERR_NOT_FOUND: ERR_NOT_FOUND; +declare const ERR_NOT_ENOUGH_RESOURCES: ERR_NOT_ENOUGH_RESOURCES; +declare const ERR_NOT_ENOUGH_ENERGY: ERR_NOT_ENOUGH_ENERGY; +declare const ERR_INVALID_TARGET: ERR_INVALID_TARGET; +declare const ERR_FULL: ERR_FULL; +declare const ERR_NOT_IN_RANGE: ERR_NOT_IN_RANGE; +declare const ERR_INVALID_ARGS: ERR_INVALID_ARGS; +declare const ERR_TIRED: ERR_TIRED; +declare const ERR_NO_BODYPART: ERR_NO_BODYPART; +declare const ERR_NOT_ENOUGH_EXTENSIONS: ERR_NOT_ENOUGH_EXTENSIONS; +declare const ERR_RCL_NOT_ENOUGH: ERR_RCL_NOT_ENOUGH; +declare const ERR_GCL_NOT_ENOUGH: ERR_GCL_NOT_ENOUGH; + +declare const FIND_EXIT_TOP: FIND_EXIT_TOP; +declare const FIND_EXIT_RIGHT: FIND_EXIT_RIGHT; +declare const FIND_EXIT_BOTTOM: FIND_EXIT_BOTTOM; +declare const FIND_EXIT_LEFT: FIND_EXIT_LEFT; +declare const FIND_EXIT: FIND_EXIT; +declare const FIND_CREEPS: FIND_CREEPS; +declare const FIND_MY_CREEPS: FIND_MY_CREEPS; +declare const FIND_HOSTILE_CREEPS: FIND_HOSTILE_CREEPS; +declare const FIND_SOURCES_ACTIVE: FIND_SOURCES_ACTIVE; +declare const FIND_SOURCES: FIND_SOURCES; +declare const FIND_DROPPED_RESOURCES: FIND_DROPPED_RESOURCES; +declare const FIND_STRUCTURES: FIND_STRUCTURES; +declare const FIND_MY_STRUCTURES: FIND_MY_STRUCTURES; +declare const FIND_HOSTILE_STRUCTURES: FIND_HOSTILE_STRUCTURES; +declare const FIND_FLAGS: FIND_FLAGS; +declare const FIND_CONSTRUCTION_SITES: FIND_CONSTRUCTION_SITES; +declare const FIND_MY_SPAWNS: FIND_MY_SPAWNS; +declare const FIND_HOSTILE_SPAWNS: FIND_HOSTILE_SPAWNS; +declare const FIND_MY_CONSTRUCTION_SITES: FIND_MY_CONSTRUCTION_SITES; +declare const FIND_HOSTILE_CONSTRUCTION_SITES: FIND_HOSTILE_CONSTRUCTION_SITES; +declare const FIND_MINERALS: FIND_MINERALS; +declare const FIND_NUKES: FIND_NUKES; +declare const FIND_TOMBSTONES: FIND_TOMBSTONES; +declare const FIND_POWER_CREEPS: FIND_POWER_CREEPS; +declare const FIND_MY_POWER_CREEPS: FIND_MY_POWER_CREEPS; +declare const FIND_HOSTILE_POWER_CREEPS: FIND_HOSTILE_POWER_CREEPS; +declare const FIND_DEPOSITS: FIND_DEPOSITS; +declare const FIND_RUINS: FIND_RUINS; + +declare const TOP: TOP; +declare const TOP_RIGHT: TOP_RIGHT; +declare const RIGHT: RIGHT; +declare const BOTTOM_RIGHT: BOTTOM_RIGHT; +declare const BOTTOM: BOTTOM; +declare const BOTTOM_LEFT: BOTTOM_LEFT; +declare const LEFT: LEFT; +declare const TOP_LEFT: TOP_LEFT; + +declare const COLOR_RED: COLOR_RED; +declare const COLOR_PURPLE: COLOR_PURPLE; +declare const COLOR_BLUE: COLOR_BLUE; +declare const COLOR_CYAN: COLOR_CYAN; +declare const COLOR_GREEN: COLOR_GREEN; +declare const COLOR_YELLOW: COLOR_YELLOW; +declare const COLOR_ORANGE: COLOR_ORANGE; +declare const COLOR_BROWN: COLOR_BROWN; +declare const COLOR_GREY: COLOR_GREY; +declare const COLOR_WHITE: COLOR_WHITE; +declare const COLORS_ALL: ColorConstant[]; + +declare const CREEP_SPAWN_TIME: 3; +declare const CREEP_LIFE_TIME: 1500; +declare const CREEP_CLAIM_LIFE_TIME: 600; +declare const CREEP_CORPSE_RATE: 0.2; + +declare const OBSTACLE_OBJECT_TYPES: [ + "spawn", + "creep", + "powerCreep", + "source", + "mineral", + "deposit", + "controller", + "constructedWall", + "extension", + "link", + "storage", + "tower", + "observer", + "powerSpawn", + "powerBank", + "lab", + "terminal", + "nuker", + "factory", + "invaderCore", +]; + +declare const ENERGY_REGEN_TIME: 300; +declare const ENERGY_DECAY: 1000; + +declare const REPAIR_COST: 0.01; + +declare const RAMPART_DECAY_AMOUNT: 300; +declare const RAMPART_DECAY_TIME: 100; +declare const RAMPART_HITS: 1; +declare const RAMPART_HITS_MAX: { + [rcl: number]: number; + 2: 300000; + 3: 1000000; + 4: 3000000; + 5: 10000000; + 6: 30000000; + 7: 100000000; + 8: 300000000; +}; + +declare const SPAWN_HITS: 5000; +declare const SPAWN_ENERGY_START: 300; +declare const SPAWN_ENERGY_CAPACITY: 300; + +declare const SOURCE_ENERGY_CAPACITY: 3000; +declare const SOURCE_ENERGY_NEUTRAL_CAPACITY: 1500; +declare const SOURCE_ENERGY_KEEPER_CAPACITY: 4000; + +declare const WALL_HITS: 1; +declare const WALL_HITS_MAX: 300000000; + +declare const EXTENSION_HITS: 1000; +declare const EXTENSION_ENERGY_CAPACITY: { + [rcl: number]: number; + 0: 50; + 1: 50; + 2: 50; + 3: 50; + 4: 50; + 5: 50; + 6: 50; + 7: 100; + 8: 200; +}; + +declare const ROAD_HITS: 5000; +declare const ROAD_WEAROUT: 1; +declare const ROAD_WEAROUT_POWER_CREEP: 100; +declare const ROAD_DECAY_AMOUNT: 100; +declare const ROAD_DECAY_TIME: 1000; + +declare const LINK_HITS: 1000; +declare const LINK_HITS_MAX: 1000; +declare const LINK_CAPACITY: 800; +declare const LINK_COOLDOWN: 1; +declare const LINK_LOSS_RATIO: 0.03; + +declare const STORAGE_CAPACITY: 1000000; +declare const STORAGE_HITS: 10000; + +declare const FACTORY_HITS: 1000; +declare const FACTORY_CAPACITY: 50000; + +declare const BODYPART_COST: Record; + +declare const BODYPARTS_ALL: BodyPartConstant[]; + +declare const CARRY_CAPACITY: 50; +declare const HARVEST_POWER: 2; +declare const HARVEST_MINERAL_POWER: 1; +declare const HARVEST_DEPOSIT_POWER: 1; +declare const REPAIR_POWER: 100; +declare const DISMANTLE_POWER: 50; +declare const BUILD_POWER: 5; +declare const ATTACK_POWER: 30; +declare const UPGRADE_CONTROLLER_POWER: 1; +declare const RANGED_ATTACK_POWER: 10; +declare const HEAL_POWER: 12; +declare const RANGED_HEAL_POWER: 4; +declare const DISMANTLE_COST: 0.005; + +declare const MOVE: MOVE; +declare const WORK: WORK; +declare const CARRY: CARRY; +declare const ATTACK: ATTACK; +declare const RANGED_ATTACK: RANGED_ATTACK; +declare const TOUGH: TOUGH; +declare const HEAL: HEAL; +declare const CLAIM: CLAIM; + +declare const CONSTRUCTION_COST: Record; + +declare const CONSTRUCTION_COST_ROAD_SWAMP_RATIO: 5; +declare const CONSTRUCTION_COST_ROAD_WALL_RATIO: 150; + +declare const STRUCTURE_EXTENSION: STRUCTURE_EXTENSION; +declare const STRUCTURE_RAMPART: STRUCTURE_RAMPART; +declare const STRUCTURE_ROAD: STRUCTURE_ROAD; +declare const STRUCTURE_SPAWN: STRUCTURE_SPAWN; +declare const STRUCTURE_LINK: STRUCTURE_LINK; +declare const STRUCTURE_WALL: STRUCTURE_WALL; +declare const STRUCTURE_KEEPER_LAIR: STRUCTURE_KEEPER_LAIR; +declare const STRUCTURE_CONTROLLER: STRUCTURE_CONTROLLER; +declare const STRUCTURE_STORAGE: STRUCTURE_STORAGE; +declare const STRUCTURE_TOWER: STRUCTURE_TOWER; +declare const STRUCTURE_OBSERVER: STRUCTURE_OBSERVER; +declare const STRUCTURE_POWER_BANK: STRUCTURE_POWER_BANK; +declare const STRUCTURE_POWER_SPAWN: STRUCTURE_POWER_SPAWN; +declare const STRUCTURE_EXTRACTOR: STRUCTURE_EXTRACTOR; +declare const STRUCTURE_LAB: STRUCTURE_LAB; +declare const STRUCTURE_TERMINAL: STRUCTURE_TERMINAL; +declare const STRUCTURE_CONTAINER: STRUCTURE_CONTAINER; +declare const STRUCTURE_NUKER: STRUCTURE_NUKER; +declare const STRUCTURE_FACTORY: STRUCTURE_FACTORY; +declare const STRUCTURE_INVADER_CORE: STRUCTURE_INVADER_CORE; +declare const STRUCTURE_PORTAL: STRUCTURE_PORTAL; + +declare const RESOURCE_ENERGY: RESOURCE_ENERGY; +declare const RESOURCE_POWER: RESOURCE_POWER; +declare const RESOURCE_OPS: RESOURCE_OPS; +declare const RESOURCE_UTRIUM: RESOURCE_UTRIUM; +declare const RESOURCE_LEMERGIUM: RESOURCE_LEMERGIUM; +declare const RESOURCE_KEANIUM: RESOURCE_KEANIUM; +declare const RESOURCE_GHODIUM: RESOURCE_GHODIUM; +declare const RESOURCE_ZYNTHIUM: RESOURCE_ZYNTHIUM; +declare const RESOURCE_OXYGEN: RESOURCE_OXYGEN; +declare const RESOURCE_HYDROGEN: RESOURCE_HYDROGEN; +declare const RESOURCE_CATALYST: RESOURCE_CATALYST; +declare const RESOURCE_HYDROXIDE: RESOURCE_HYDROXIDE; +declare const RESOURCE_ZYNTHIUM_KEANITE: RESOURCE_ZYNTHIUM_KEANITE; +declare const RESOURCE_UTRIUM_LEMERGITE: RESOURCE_UTRIUM_LEMERGITE; +declare const RESOURCE_UTRIUM_HYDRIDE: RESOURCE_UTRIUM_HYDRIDE; +declare const RESOURCE_UTRIUM_OXIDE: RESOURCE_UTRIUM_OXIDE; +declare const RESOURCE_KEANIUM_HYDRIDE: RESOURCE_KEANIUM_HYDRIDE; +declare const RESOURCE_KEANIUM_OXIDE: RESOURCE_KEANIUM_OXIDE; +declare const RESOURCE_LEMERGIUM_HYDRIDE: RESOURCE_LEMERGIUM_HYDRIDE; +declare const RESOURCE_LEMERGIUM_OXIDE: RESOURCE_LEMERGIUM_OXIDE; +declare const RESOURCE_ZYNTHIUM_HYDRIDE: RESOURCE_ZYNTHIUM_HYDRIDE; +declare const RESOURCE_ZYNTHIUM_OXIDE: RESOURCE_ZYNTHIUM_OXIDE; +declare const RESOURCE_GHODIUM_HYDRIDE: RESOURCE_GHODIUM_HYDRIDE; +declare const RESOURCE_GHODIUM_OXIDE: RESOURCE_GHODIUM_OXIDE; +declare const RESOURCE_UTRIUM_ACID: RESOURCE_UTRIUM_ACID; +declare const RESOURCE_UTRIUM_ALKALIDE: RESOURCE_UTRIUM_ALKALIDE; +declare const RESOURCE_KEANIUM_ACID: RESOURCE_KEANIUM_ACID; +declare const RESOURCE_KEANIUM_ALKALIDE: RESOURCE_KEANIUM_ALKALIDE; +declare const RESOURCE_LEMERGIUM_ACID: RESOURCE_LEMERGIUM_ACID; +declare const RESOURCE_LEMERGIUM_ALKALIDE: RESOURCE_LEMERGIUM_ALKALIDE; +declare const RESOURCE_ZYNTHIUM_ACID: RESOURCE_ZYNTHIUM_ACID; +declare const RESOURCE_ZYNTHIUM_ALKALIDE: RESOURCE_ZYNTHIUM_ALKALIDE; +declare const RESOURCE_GHODIUM_ACID: RESOURCE_GHODIUM_ACID; +declare const RESOURCE_GHODIUM_ALKALIDE: RESOURCE_GHODIUM_ALKALIDE; +declare const RESOURCE_CATALYZED_UTRIUM_ACID: RESOURCE_CATALYZED_UTRIUM_ACID; +declare const RESOURCE_CATALYZED_UTRIUM_ALKALIDE: RESOURCE_CATALYZED_UTRIUM_ALKALIDE; +declare const RESOURCE_CATALYZED_KEANIUM_ACID: RESOURCE_CATALYZED_KEANIUM_ACID; +declare const RESOURCE_CATALYZED_KEANIUM_ALKALIDE: RESOURCE_CATALYZED_KEANIUM_ALKALIDE; +declare const RESOURCE_CATALYZED_LEMERGIUM_ACID: RESOURCE_CATALYZED_LEMERGIUM_ACID; +declare const RESOURCE_CATALYZED_LEMERGIUM_ALKALIDE: RESOURCE_CATALYZED_LEMERGIUM_ALKALIDE; +declare const RESOURCE_CATALYZED_ZYNTHIUM_ACID: RESOURCE_CATALYZED_ZYNTHIUM_ACID; +declare const RESOURCE_CATALYZED_ZYNTHIUM_ALKALIDE: RESOURCE_CATALYZED_ZYNTHIUM_ALKALIDE; +declare const RESOURCE_CATALYZED_GHODIUM_ACID: RESOURCE_CATALYZED_GHODIUM_ACID; +declare const RESOURCE_CATALYZED_GHODIUM_ALKALIDE: RESOURCE_CATALYZED_GHODIUM_ALKALIDE; + +declare const RESOURCE_BIOMASS: RESOURCE_BIOMASS; +declare const RESOURCE_METAL: RESOURCE_METAL; +declare const RESOURCE_MIST: RESOURCE_MIST; +declare const RESOURCE_SILICON: RESOURCE_SILICON; + +declare const RESOURCE_UTRIUM_BAR: RESOURCE_UTRIUM_BAR; +declare const RESOURCE_LEMERGIUM_BAR: RESOURCE_LEMERGIUM_BAR; +declare const RESOURCE_ZYNTHIUM_BAR: RESOURCE_ZYNTHIUM_BAR; +declare const RESOURCE_KEANIUM_BAR: RESOURCE_KEANIUM_BAR; +declare const RESOURCE_GHODIUM_MELT: RESOURCE_GHODIUM_MELT; +declare const RESOURCE_OXIDANT: RESOURCE_OXIDANT; +declare const RESOURCE_REDUCTANT: RESOURCE_REDUCTANT; +declare const RESOURCE_PURIFIER: RESOURCE_PURIFIER; +declare const RESOURCE_BATTERY: RESOURCE_BATTERY; + +declare const RESOURCE_COMPOSITE: RESOURCE_COMPOSITE; +declare const RESOURCE_CRYSTAL: RESOURCE_CRYSTAL; +declare const RESOURCE_LIQUID: RESOURCE_LIQUID; + +declare const RESOURCE_WIRE: RESOURCE_WIRE; +declare const RESOURCE_SWITCH: RESOURCE_SWITCH; +declare const RESOURCE_TRANSISTOR: RESOURCE_TRANSISTOR; +declare const RESOURCE_MICROCHIP: RESOURCE_MICROCHIP; +declare const RESOURCE_CIRCUIT: RESOURCE_CIRCUIT; +declare const RESOURCE_DEVICE: RESOURCE_DEVICE; + +declare const RESOURCE_CELL: RESOURCE_CELL; +declare const RESOURCE_PHLEGM: RESOURCE_PHLEGM; +declare const RESOURCE_TISSUE: RESOURCE_TISSUE; +declare const RESOURCE_MUSCLE: RESOURCE_MUSCLE; +declare const RESOURCE_ORGANOID: RESOURCE_ORGANOID; +declare const RESOURCE_ORGANISM: RESOURCE_ORGANISM; + +declare const RESOURCE_ALLOY: RESOURCE_ALLOY; +declare const RESOURCE_TUBE: RESOURCE_TUBE; +declare const RESOURCE_FIXTURES: RESOURCE_FIXTURES; +declare const RESOURCE_FRAME: RESOURCE_FRAME; +declare const RESOURCE_HYDRAULICS: RESOURCE_HYDRAULICS; +declare const RESOURCE_MACHINE: RESOURCE_MACHINE; + +declare const RESOURCE_CONDENSATE: RESOURCE_CONDENSATE; +declare const RESOURCE_CONCENTRATE: RESOURCE_CONCENTRATE; +declare const RESOURCE_EXTRACT: RESOURCE_EXTRACT; +declare const RESOURCE_SPIRIT: RESOURCE_SPIRIT; +declare const RESOURCE_EMANATION: RESOURCE_EMANATION; +declare const RESOURCE_ESSENCE: RESOURCE_ESSENCE; + +declare const RESOURCES_ALL: ResourceConstant[]; + +declare const SUBSCRIPTION_TOKEN: SUBSCRIPTION_TOKEN; +declare const CPU_UNLOCK: CPU_UNLOCK; +declare const PIXEL: PIXEL; +declare const ACCESS_KEY: ACCESS_KEY; + +declare const PIXEL_CPU_COST: 10000; + +declare const CONTROLLER_LEVELS: { [level: number]: number }; +declare const CONTROLLER_STRUCTURES: Record; + +declare const CONTROLLER_DOWNGRADE: { [level: number]: number }; +declare const CONTROLLER_DOWNGRADE_RESTORE: number; +declare const CONTROLLER_DOWNGRADE_SAFEMODE_THRESHOLD: number; +declare const CONTROLLER_CLAIM_DOWNGRADE: number; +declare const CONTROLLER_RESERVE: number; +declare const CONTROLLER_RESERVE_MAX: number; +declare const CONTROLLER_MAX_UPGRADE_PER_TICK: number; +declare const CONTROLLER_ATTACK_BLOCKED_UPGRADE: number; +declare const CONTROLLER_NUKE_BLOCKED_UPGRADE: number; + +declare const SAFE_MODE_DURATION: 20000; +declare const SAFE_MODE_COOLDOWN: 50000; +declare const SAFE_MODE_COST: 1000; + +declare const TOWER_HITS: number; +declare const TOWER_CAPACITY: number; +declare const TOWER_ENERGY_COST: number; +declare const TOWER_POWER_ATTACK: number; +declare const TOWER_POWER_HEAL: number; +declare const TOWER_POWER_REPAIR: number; +declare const TOWER_OPTIMAL_RANGE: number; +declare const TOWER_FALLOFF_RANGE: number; +declare const TOWER_FALLOFF: number; + +declare const OBSERVER_HITS: number; +declare const OBSERVER_RANGE: number; + +declare const POWER_BANK_HITS: number; +declare const POWER_BANK_CAPACITY_MAX: number; +declare const POWER_BANK_CAPACITY_MIN: number; +declare const POWER_BANK_CAPACITY_CRIT: number; +declare const POWER_BANK_DECAY: number; +declare const POWER_BANK_HIT_BACK: number; + +declare const POWER_SPAWN_HITS: number; +declare const POWER_SPAWN_ENERGY_CAPACITY: number; +declare const POWER_SPAWN_POWER_CAPACITY: number; +declare const POWER_SPAWN_ENERGY_RATIO: number; + +declare const EXTRACTOR_HITS: number; +declare const EXTRACTOR_COOLDOWN: number; + +declare const LAB_HITS: number; +declare const LAB_MINERAL_CAPACITY: number; +declare const LAB_ENERGY_CAPACITY: number; +declare const LAB_BOOST_ENERGY: number; +declare const LAB_BOOST_MINERAL: number; +declare const LAB_COOLDOWN: number; +declare const LAB_REACTION_AMOUNT: number; + +declare const GCL_POW: number; +declare const GCL_MULTIPLY: number; +declare const GCL_NOVICE: number; + +declare const MODE_SIMULATION: string; +declare const MODE_SURVIVAL: string; +declare const MODE_WORLD: string; +declare const MODE_ARENA: string; + +declare const TERRAIN_MASK_WALL: TERRAIN_MASK_WALL; +declare const TERRAIN_MASK_SWAMP: TERRAIN_MASK_SWAMP; +declare const TERRAIN_MASK_LAVA: TERRAIN_MASK_LAVA; + +declare const MAX_CONSTRUCTION_SITES: number; +declare const MAX_CREEP_SIZE: number; + +declare const MINERAL_REGEN_TIME: number; +declare const MINERAL_MIN_AMOUNT: Record; +declare const MINERAL_RANDOM_FACTOR: number; + +declare const MINERAL_DENSITY: { + [level: number]: number; + 1: number; + 2: number; + 3: number; + 4: number; +}; + +declare const MINERAL_DENSITY_PROBABILITY: { + [level: number]: number; + 1: number; + 2: number; + 3: number; + 4: number; +}; + +declare const MINERAL_DENSITY_CHANGE: number; + +declare const DENSITY_LOW: number; +declare const DENSITY_MODERATE: number; +declare const DENSITY_HIGH: number; +declare const DENSITY_ULTRA: number; + +declare const DEPOSIT_EXHAUST_MULTIPLY: number; +declare const DEPOSIT_EXHAUST_POW: number; +declare const DEPOSIT_DECAY_TIME: number; + +declare const TERMINAL_CAPACITY: number; +declare const TERMINAL_COOLDOWN: number; +declare const TERMINAL_HITS: number; +declare const TERMINAL_SEND_COST: number; +declare const TERMINAL_MIN_SEND: number; + +declare const CONTAINER_HITS: number; +declare const CONTAINER_CAPACITY: number; +declare const CONTAINER_DECAY: number; +declare const CONTAINER_DECAY_TIME: number; +declare const CONTAINER_DECAY_TIME_OWNED: number; + +declare const NUKER_HITS: number; +declare const NUKER_COOLDOWN: number; +declare const NUKER_ENERGY_CAPACITY: number; +declare const NUKER_GHODIUM_CAPACITY: number; +declare const NUKE_LAND_TIME: number; +declare const NUKE_RANGE: number; +declare const NUKE_DAMAGE: { + [range: number]: number; + 0: number; + 1: number; + 4: number; +}; + +declare const REACTIONS: { + [resource: string]: { [resource: string]: string }; + H: { + O: "OH"; + L: "LH"; + K: "KH"; + U: "UH"; + Z: "ZH"; + G: "GH"; + }; + O: { + H: "OH"; + L: "LO"; + K: "KO"; + U: "UO"; + Z: "ZO"; + G: "GO"; + }; + Z: { + K: "ZK"; + H: "ZH"; + O: "ZO"; + }; + L: { + U: "UL"; + H: "LH"; + O: "LO"; + }; + K: { + Z: "ZK"; + H: "KH"; + O: "KO"; + }; + G: { + H: "GH"; + O: "GO"; + }; + U: { + L: "UL"; + H: "UH"; + O: "UO"; + }; + OH: { + UH: "UH2O"; + UO: "UHO2"; + ZH: "ZH2O"; + ZO: "ZHO2"; + KH: "KH2O"; + KO: "KHO2"; + LH: "LH2O"; + LO: "LHO2"; + GH: "GH2O"; + GO: "GHO2"; + }; + X: { + UH2O: "XUH2O"; + UHO2: "XUHO2"; + LH2O: "XLH2O"; + LHO2: "XLHO2"; + KH2O: "XKH2O"; + KHO2: "XKHO2"; + ZH2O: "XZH2O"; + ZHO2: "XZHO2"; + GH2O: "XGH2O"; + GHO2: "XGHO2"; + }; + ZK: { + UL: "G"; + }; + UL: { + ZK: "G"; + }; + LH: { + OH: "LH2O"; + }; + ZH: { + OH: "ZH2O"; + }; + GH: { + OH: "GH2O"; + }; + KH: { + OH: "KH2O"; + }; + UH: { + OH: "UH2O"; + }; + LO: { + OH: "LHO2"; + }; + ZO: { + OH: "ZHO2"; + }; + KO: { + OH: "KHO2"; + }; + UO: { + OH: "UHO2"; + }; + GO: { + OH: "GHO2"; + }; + LH2O: { + X: "XLH2O"; + }; + KH2O: { + X: "XKH2O"; + }; + ZH2O: { + X: "XZH2O"; + }; + UH2O: { + X: "XUH2O"; + }; + GH2O: { + X: "XGH2O"; + }; + LHO2: { + X: "XLHO2"; + }; + UHO2: { + X: "XUHO2"; + }; + KHO2: { + X: "XKHO2"; + }; + ZHO2: { + X: "XZHO2"; + }; + GHO2: { + X: "XGHO2"; + }; +}; + +declare const REACTION_TIME: { + OH: 20; + ZK: 5; + UL: 5; + G: 5; + UH: 10; + UH2O: 5; + XUH2O: 60; + UO: 10; + UHO2: 5; + XUHO2: 60; + KH: 10; + KH2O: 5; + XKH2O: 60; + KO: 10; + KHO2: 5; + XKHO2: 60; + LH: 15; + LH2O: 10; + XLH2O: 65; + LO: 10; + LHO2: 5; + XLHO2: 60; + ZH: 20; + ZH2O: 40; + XZH2O: 160; + ZO: 10; + ZHO2: 5; + XZHO2: 60; + GH: 10; + GH2O: 15; + XGH2O: 80; + GO: 10; + GHO2: 30; + XGHO2: 150; +}; + +declare const BOOSTS: { + [part: string]: { [boost: string]: { [action: string]: number } }; + work: { + UO: { + harvest: 3; + }; + UHO2: { + harvest: 5; + }; + XUHO2: { + harvest: 7; + }; + LH: { + build: 1.5; + repair: 1.5; + }; + LH2O: { + build: 1.8; + repair: 1.8; + }; + XLH2O: { + build: 2; + repair: 2; + }; + ZH: { + dismantle: 2; + }; + ZH2O: { + dismantle: 3; + }; + XZH2O: { + dismantle: 4; + }; + GH: { + upgradeController: 1.5; + }; + GH2O: { + upgradeController: 1.8; + }; + XGH2O: { + upgradeController: 2; + }; + }; + attack: { + UH: { + attack: 2; + }; + UH2O: { + attack: 3; + }; + XUH2O: { + attack: 4; + }; + }; + ranged_attack: { + KO: { + rangedAttack: 2; + rangedMassAttack: 2; + }; + KHO2: { + rangedAttack: 3; + rangedMassAttack: 3; + }; + XKHO2: { + rangedAttack: 4; + rangedMassAttack: 4; + }; + }; + heal: { + LO: { + heal: 2; + rangedHeal: 2; + }; + LHO2: { + heal: 3; + rangedHeal: 3; + }; + XLHO2: { + heal: 4; + rangedHeal: 4; + }; + }; + carry: { + KH: { + capacity: 2; + }; + KH2O: { + capacity: 3; + }; + XKH2O: { + capacity: 4; + }; + }; + move: { + ZO: { + fatigue: 2; + }; + ZHO2: { + fatigue: 3; + }; + XZHO2: { + fatigue: 4; + }; + }; + tough: { + GO: { + damage: 0.7; + }; + GHO2: { + damage: 0.5; + }; + XGHO2: { + damage: 0.3; + }; + }; +}; + +declare const INTERSHARD_RESOURCES: InterShardResourceConstant[]; + +declare const COMMODITIES: Record< + CommodityConstant | MineralConstant | RESOURCE_GHODIUM | RESOURCE_ENERGY, + { + level?: number; + amount: number; + cooldown: number; + components: Record< + DepositConstant | CommodityConstant | MineralConstant | RESOURCE_ENERGY | RESOURCE_GHODIUM, + number + >; + } +>; + +declare const LOOK_CREEPS: LOOK_CREEPS; +declare const LOOK_ENERGY: LOOK_ENERGY; +declare const LOOK_RESOURCES: LOOK_RESOURCES; +declare const LOOK_SOURCES: LOOK_SOURCES; +declare const LOOK_MINERALS: LOOK_MINERALS; +declare const LOOK_DEPOSITS: LOOK_DEPOSITS; +declare const LOOK_STRUCTURES: LOOK_STRUCTURES; +declare const LOOK_FLAGS: LOOK_FLAGS; +declare const LOOK_CONSTRUCTION_SITES: LOOK_CONSTRUCTION_SITES; +declare const LOOK_NUKES: LOOK_NUKES; +declare const LOOK_TERRAIN: LOOK_TERRAIN; +declare const LOOK_TOMBSTONES: LOOK_TOMBSTONES; +declare const LOOK_POWER_CREEPS: LOOK_POWER_CREEPS; +declare const LOOK_RUINS: LOOK_RUINS; + +declare const ORDER_SELL: ORDER_SELL; +declare const ORDER_BUY: ORDER_BUY; + +declare const MARKET_MAX_ORDERS: 300; +declare const MARKET_ORDER_LIFE_TIME: 2592000000; // 1000*60*60*24*30 + +declare const INVADERS_ENERGY_GOAL: number; + +declare const SYSTEM_USERNAME: string; + +declare const TOMBSTONE_DECAY_PER_PART: 5; +declare const TOMBSTONE_DECAY_POWER_CREEP: 500; + +declare const RUIN_DECAY: 500; +declare const RUIN_DECAY_STRUCTURES: { + powerBank: 10; +}; + +declare const EVENT_ATTACK: EVENT_ATTACK; +declare const EVENT_OBJECT_DESTROYED: EVENT_OBJECT_DESTROYED; +declare const EVENT_ATTACK_CONTROLLER: EVENT_ATTACK_CONTROLLER; +declare const EVENT_BUILD: EVENT_BUILD; +declare const EVENT_HARVEST: EVENT_HARVEST; +declare const EVENT_HEAL: EVENT_HEAL; +declare const EVENT_REPAIR: EVENT_REPAIR; +declare const EVENT_RESERVE_CONTROLLER: EVENT_RESERVE_CONTROLLER; +declare const EVENT_UPGRADE_CONTROLLER: EVENT_UPGRADE_CONTROLLER; +declare const EVENT_EXIT: EVENT_EXIT; +declare const EVENT_POWER: EVENT_POWER; +declare const EVENT_TRANSFER: EVENT_TRANSFER; + +declare const EVENT_ATTACK_TYPE_MELEE: EVENT_ATTACK_TYPE_MELEE; +declare const EVENT_ATTACK_TYPE_RANGED: EVENT_ATTACK_TYPE_RANGED; +declare const EVENT_ATTACK_TYPE_RANGED_MASS: EVENT_ATTACK_TYPE_RANGED_MASS; +declare const EVENT_ATTACK_TYPE_DISMANTLE: EVENT_ATTACK_TYPE_DISMANTLE; +declare const EVENT_ATTACK_TYPE_HIT_BACK: EVENT_ATTACK_TYPE_HIT_BACK; +declare const EVENT_ATTACK_TYPE_NUKE: EVENT_ATTACK_TYPE_NUKE; + +declare const EVENT_HEAL_TYPE_MELEE: EVENT_HEAL_TYPE_MELEE; +declare const EVENT_HEAL_TYPE_RANGED: EVENT_HEAL_TYPE_RANGED; + +declare const POWER_LEVEL_MULTIPLY: 1000; +declare const POWER_LEVEL_POW: 2; +declare const POWER_CREEP_SPAWN_COOLDOWN: 28800000; // 8 * 3600 * 1000 +declare const POWER_CREEP_DELETE_COOLDOWN: 86400000; // 24 * 3600 * 1000 +declare const POWER_CREEP_MAX_LEVEL: 25; +declare const POWER_CREEP_LIFE_TIME: 5000; + +declare const POWER_CLASS: { + OPERATOR: "operator"; +}; + +declare const PWR_GENERATE_OPS: PWR_GENERATE_OPS; +declare const PWR_OPERATE_SPAWN: PWR_OPERATE_SPAWN; +declare const PWR_OPERATE_TOWER: PWR_OPERATE_TOWER; +declare const PWR_OPERATE_STORAGE: PWR_OPERATE_STORAGE; +declare const PWR_OPERATE_LAB: PWR_OPERATE_LAB; +declare const PWR_OPERATE_EXTENSION: PWR_OPERATE_EXTENSION; +declare const PWR_OPERATE_OBSERVER: PWR_OPERATE_OBSERVER; +declare const PWR_OPERATE_TERMINAL: PWR_OPERATE_TERMINAL; +declare const PWR_DISRUPT_SPAWN: PWR_DISRUPT_SPAWN; +declare const PWR_DISRUPT_TOWER: PWR_DISRUPT_TOWER; +declare const PWR_DISRUPT_SOURCE: PWR_DISRUPT_SOURCE; +declare const PWR_SHIELD: PWR_SHIELD; +declare const PWR_REGEN_SOURCE: PWR_REGEN_SOURCE; +declare const PWR_REGEN_MINERAL: PWR_REGEN_MINERAL; +declare const PWR_DISRUPT_TERMINAL: PWR_DISRUPT_TERMINAL; +declare const PWR_OPERATE_POWER: PWR_OPERATE_POWER; +declare const PWR_FORTIFY: PWR_FORTIFY; +declare const PWR_OPERATE_CONTROLLER: PWR_OPERATE_CONTROLLER; +declare const PWR_OPERATE_FACTORY: PWR_OPERATE_FACTORY; + +declare const EFFECT_INVULNERABILITY: EFFECT_INVULNERABILITY; +declare const EFFECT_COLLAPSE_TIMER: EFFECT_COLLAPSE_TIMER; + +declare const INVADER_CORE_HITS: 1000000; +declare const INVADER_CORE_CREEP_SPAWN_TIME: { + 0: 0; + 1: 0; + 2: 6; + 3: 3; + 4: 2; + 5: 1; +}; +declare const INVADER_CORE_EXPAND_TIME: 15000; +declare const INVADER_CORE_CONTROLLER_POWER: 100; +declare const INVADER_CORE_CONTROLLER_DOWNGRADE: 5000; +declare const STRONGHOLD_RAMPART_HITS: { 0: 0; 1: 50000; 2: 200000; 3: 500000; 4: 1000000; 5: 2000000 }; +declare const STRONGHOLD_DECAY_TICKS: 150000; + +declare const POWER_INFO: { + [powerID: number]: { + className: PowerClassConstant; + level: number[]; + cooldown: number; + effect?: number[]; + range?: number; + ops?: number | number[]; + duration?: number | number[]; + }; + [PWR_GENERATE_OPS]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 50; + effect: [1, 2, 4, 6, 8]; + }; + [PWR_OPERATE_SPAWN]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 300; + duration: 1000; + range: 3; + ops: 100; + effect: [0.9, 0.7, 0.5, 0.35, 0.2]; + }; + [PWR_OPERATE_TOWER]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 10; + duration: 100; + range: 3; + ops: 10; + effect: [1.1, 1.2, 1.3, 1.4, 1.5]; + }; + [PWR_OPERATE_STORAGE]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 800; + duration: 1000; + range: 3; + ops: 100; + effect: [500000, 1000000, 2000000, 4000000, 7000000]; + }; + [PWR_OPERATE_LAB]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 50; + duration: 1000; + range: 3; + ops: 10; + effect: [2, 4, 6, 8, 10]; + }; + [PWR_OPERATE_EXTENSION]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 50; + range: 3; + ops: 2; + effect: [0.2, 0.4, 0.6, 0.8, 1.0]; + }; + [PWR_OPERATE_OBSERVER]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 400; + duration: [200, 400, 600, 800, 1000]; + range: 3; + ops: 10; + }; + [PWR_OPERATE_TERMINAL]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 500; + duration: 1000; + range: 3; + ops: 100; + effect: [0.9, 0.8, 0.7, 0.6, 0.5]; + }; + [PWR_DISRUPT_SPAWN]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 5; + range: 20; + ops: 10; + duration: [1, 2, 3, 4, 5]; + }; + [PWR_DISRUPT_TOWER]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 0; + duration: 5; + range: 50; + ops: 10; + effect: [0.9, 0.8, 0.7, 0.6, 0.5]; + }; + [PWR_DISRUPT_SOURCE]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 100; + range: 3; + ops: 100; + duration: [100, 200, 300, 400, 500]; + }; + [PWR_SHIELD]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + effect: [5000, 10000, 15000, 20000, 25000]; + duration: 50; + cooldown: 20; + energy: 100; + }; + [PWR_REGEN_SOURCE]: { + className: POWER_CLASS["OPERATOR"]; + level: [10, 11, 12, 14, 22]; + cooldown: 100; + duration: 300; + range: 3; + effect: [50, 100, 150, 200, 250]; + period: 15; + }; + [PWR_REGEN_MINERAL]: { + className: POWER_CLASS["OPERATOR"]; + level: [10, 11, 12, 14, 22]; + cooldown: 100; + duration: 100; + range: 3; + effect: [2, 4, 6, 8, 10]; + period: 10; + }; + [PWR_DISRUPT_TERMINAL]: { + className: POWER_CLASS["OPERATOR"]; + level: [20, 21, 22, 23, 24]; + cooldown: 8; + duration: 10; + range: 50; + ops: [50, 40, 30, 20, 10]; + }; + [PWR_FORTIFY]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 5; + range: 3; + ops: 5; + duration: [1, 2, 3, 4, 5]; + }; + [PWR_OPERATE_POWER]: { + className: POWER_CLASS["OPERATOR"]; + level: [10, 11, 12, 14, 22]; + cooldown: 800; + range: 3; + duration: 1000; + ops: 200; + effect: [1, 2, 3, 4, 5]; + }; + [PWR_OPERATE_CONTROLLER]: { + className: POWER_CLASS["OPERATOR"]; + level: [20, 21, 22, 23, 24]; + cooldown: 800; + range: 3; + duration: 1000; + ops: 200; + effect: [10, 20, 30, 40, 50]; + }; + [PWR_OPERATE_FACTORY]: { + className: POWER_CLASS["OPERATOR"]; + level: [0, 2, 7, 14, 22]; + cooldown: 1000; + range: 3; + duration: 1000; + ops: 100; + }; +}; +/** + * A site of a structure which is currently under construction. + */ +interface ConstructionSite extends RoomObject { + readonly prototype: ConstructionSite; + /** + * A unique object identifier. You can use `Game.getObjectById` method to retrieve an object instance by its `id`. + */ + id: Id; + /** + * Whether this is your own construction site. + */ + my: boolean; + /** + * An object with the structure’s owner info. + */ + owner: Owner; + /** + * The current construction progress. + */ + progress: number; + /** + * The total construction progress needed for the structure to be built. + */ + progressTotal: number; + /** + * One of the `STRUCTURE_*` constants. + */ + structureType: T; + /** + * Remove the construction site. + * @returns Result Code: OK, ERR_NOT_OWNER + */ + remove(): number; +} + +interface ConstructionSiteConstructor extends _Constructor, _ConstructorById {} + +declare const ConstructionSite: ConstructionSiteConstructor; +/** + * Creeps are your units. + * Creeps can move, harvest energy, construct structures, attack another creeps, and perform other actions. + * Each creep consists of up to 50 body parts with the following possible types: + */ +interface Creep extends RoomObject { + readonly prototype: Creep; + + /** + * An array describing the creep's body. + */ + body: BodyPartDefinition[]; + /** + * An object with the creep's cargo contents. + * @deprecated Is an alias for Creep.store + */ + carry: StoreDefinition; + /** + * The total amount of resources the creep can carry. + * @deprecated alias for Creep.store.getCapacity + */ + carryCapacity: number; + /** + * The movement fatigue indicator. If it is greater than zero, the creep cannot move. + */ + fatigue: number; + /** + * The current amount of hit points of the creep. + */ + hits: number; + /** + * The maximum amount of hit points of the creep. + */ + hitsMax: number; + /** + * A unique object identifier. You can use `Game.getObjectById` method to retrieve an object instance by its `id`. + */ + id: Id; + /** + * A shorthand to `Memory.creeps[creep.name]`. You can use it for quick access the creep’s specific memory data object. + */ + memory: CreepMemory; + /** + * Whether it is your creep or foe. + */ + my: boolean; + /** + * Creep’s name. You can choose the name while creating a new creep, and it cannot be changed later. This name is a hash key to access the creep via the `Game.creeps` object. + */ + name: string; + /** + * An object with the creep’s owner info. + */ + owner: Owner; + /** + * The link to the Room object. Always defined because creeps give visibility into the room they're in. + */ + room: Room; + /** + * Whether this creep is still being spawned. + */ + spawning: boolean; + /** + * The text message that the creep was saying at the last tick. + */ + saying: string; + /** + * A Store object that contains cargo of this creep. + */ + store: StoreDefinition; + /** + * The remaining amount of game ticks after which the creep will die. + * + * Will be `undefined` if the creep is still spawning. + */ + ticksToLive: number | undefined; + /** + * Attack another creep or structure in a short-ranged attack. Needs the + * ATTACK body part. If the target is inside a rampart, then the rampart is + * attacked instead. + * + * The target has to be at adjacent square to the creep. If the target is a + * creep with ATTACK body parts and is not inside a rampart, it will + * automatically hit back at the attacker. + * + * @returns Result Code: OK, ERR_NOT_OWNER, ERR_BUSY, ERR_INVALID_TARGET, ERR_NOT_IN_RANGE, ERR_NO_BODYPART + */ + attack(target: AnyCreep | Structure): CreepActionReturnCode; + /** + * Decreases the controller's downgrade or reservation timer for 1 tick per + * every 5 `CLAIM` body parts (so the creep must have at least 5x`CLAIM`). + * + * The controller under attack cannot be upgraded for the next 1,000 ticks. + * The target has to be at adjacent square to the creep. + * + * @returns Result Code: OK, ERR_NOT_OWNER, ERR_BUSY, ERR_INVALID_TARGET, ERR_NOT_IN_RANGE, ERR_NO_BODYPART, ERR_TIRED + */ + attackController(target: StructureController): CreepActionReturnCode; + /** + * Build a structure at the target construction site using carried energy. + * Needs WORK and CARRY body parts. + * + * The target has to be within 3 squares range of the creep. + * + * @param target The target construction site to be built. + * @returns Result Code: OK, ERR_NOT_OWNER, ERR_BUSY, ERR_NOT_ENOUGH_RESOURCES, ERR_INVALID_TARGET, ERR_NOT_IN_RANGE, ERR_NO_BODYPART, ERR_RCL_NOT_ENOUGH + */ + build(target: ConstructionSite): CreepActionReturnCode | ERR_NOT_ENOUGH_RESOURCES | ERR_RCL_NOT_ENOUGH; + /** + * Cancel the order given during the current game tick. + * @param methodName The name of a creep's method to be cancelled. + * @returns Result Code: OK, ERR_NOT_FOUND + */ + cancelOrder(methodName: string): OK | ERR_NOT_FOUND; + /** + * Requires the CLAIM body part. + * + * If applied to a neutral controller, claims it under your control. + * If applied to a hostile controller, decreases its downgrade or reservation timer depending on the CLAIM body parts count. + * + * The target has to be at adjacent square to the creep. + * @param target The target controller object. + * @returns Result Code: OK, ERR_NOT_OWNER, ERR_BUSY, ERR_INVALID_TARGET, ERR_FULL, ERR_NOT_IN_RANGE, ERR_NO_BODYPART, ERR_GCL_NOT_ENOUGH + */ + claimController(target: StructureController): CreepActionReturnCode | ERR_FULL | ERR_GCL_NOT_ENOUGH; + /** + * Dismantles any (even hostile) structure returning 50% of the energy spent on its repair. + * + * Requires the WORK body part. If the creep has an empty CARRY body part, the energy is put into it; otherwise it is dropped on the ground. + * + * The target has to be at adjacent square to the creep. + * @param target The target structure. + */ + dismantle(target: Structure): CreepActionReturnCode; + /** + * Drop this resource on the ground. + * @param resourceType One of the RESOURCE_* constants. + * @param amount The amount of resource units to be dropped. If omitted, all the available carried amount is used. + */ + drop(resourceType: ResourceConstant, amount?: number): OK | ERR_NOT_OWNER | ERR_BUSY | ERR_NOT_ENOUGH_RESOURCES; + /** + * Add one more available safe mode activation to a room controller. The creep has to be at adjacent square to the target room controller and have 1000 ghodium resource. + * @param target The target room controller. + * @returns Result Code: OK, ERR_NOT_OWNER, ERR_BUSY, ERR_NOT_ENOUGH_RESOURCES, ERR_INVALID_TARGET, ERR_NOT_IN_RANGE + */ + generateSafeMode(target: StructureController): CreepActionReturnCode; + /** + * Get the quantity of live body parts of the given type. Fully damaged parts do not count. + * @param type A body part type, one of the following body part constants: MOVE, WORK, CARRY, ATTACK, RANGED_ATTACK, HEAL, TOUGH, CLAIM + */ + getActiveBodyparts(type: BodyPartConstant): number; + /** + * Harvest energy from the source or resource from minerals or deposits. + * + * Needs the WORK body part. + * + * If the creep has an empty CARRY body part, the harvested resource is put into it; otherwise it is dropped on the ground. + * + * The target has to be at an adjacent square to the creep. + * @param target The source object to be harvested. + */ + harvest(target: Source | Mineral | Deposit): CreepActionReturnCode | ERR_NOT_FOUND | ERR_NOT_ENOUGH_RESOURCES; + /** + * Heal self or another creep. It will restore the target creep’s damaged body parts function and increase the hits counter. + * + * Needs the HEAL body part. + * + * The target has to be at adjacent square to the creep. + * @param target The target creep object. + */ + heal(target: AnyCreep): CreepActionReturnCode; + /** + * Move the creep one square in the specified direction or towards a creep that is pulling it. + * + * Requires the MOVE body part if not being pulled. + * @param direction The direction to move in (`TOP`, `TOP_LEFT`...) + */ + move(direction: DirectionConstant): CreepMoveReturnCode; + move(target: Creep): OK | ERR_NOT_OWNER | ERR_BUSY | ERR_NOT_IN_RANGE | ERR_INVALID_ARGS; + /** + * Move the creep using the specified predefined path. Needs the MOVE body part. + * @param path A path value as returned from Room.findPath or RoomPosition.findPathTo methods. Both array form and serialized string form are accepted. + */ + moveByPath(path: PathStep[] | RoomPosition[] | string): CreepMoveReturnCode | ERR_NOT_FOUND | ERR_INVALID_ARGS; + /** + * Find the optimal path to the target within the same room and move to it. + * A shorthand to consequent calls of pos.findPathTo() and move() methods. + * If the target is in another room, then the corresponding exit will be used as a target. + * + * Needs the MOVE body part. + * @param x X position of the target in the room. + * @param y Y position of the target in the room. + * @param opts An object containing pathfinding options flags (see Room.findPath for more info) or one of the following: reusePath, serializeMemory, noPathFinding + */ + moveTo(x: number, y: number, opts?: MoveToOpts): CreepMoveReturnCode | ERR_NO_PATH | ERR_INVALID_TARGET; + /** + * Find the optimal path to the target within the same room and move to it. + * A shorthand to consequent calls of pos.findPathTo() and move() methods. + * If the target is in another room, then the corresponding exit will be used as a target. + * + * Needs the MOVE body part. + * @param target Can be a RoomPosition object or any object containing RoomPosition. + * @param opts An object containing pathfinding options flags (see Room.findPath for more info) or one of the following: reusePath, serializeMemory, noPathFinding + */ + moveTo( + target: RoomPosition | { pos: RoomPosition }, + opts?: MoveToOpts, + ): CreepMoveReturnCode | ERR_NO_PATH | ERR_INVALID_TARGET | ERR_NOT_FOUND; + /** + * Toggle auto notification when the creep is under attack. The notification will be sent to your account email. Turned on by default. + * @param enabled Whether to enable notification or disable. + */ + notifyWhenAttacked(enabled: boolean): OK | ERR_NOT_OWNER | ERR_BUSY | ERR_INVALID_ARGS; + /** + * Pick up an item (a dropped piece of energy). Needs the CARRY body part. The target has to be at adjacent square to the creep or at the same square. + * @param target The target object to be picked up. + */ + pickup(target: Resource): CreepActionReturnCode | ERR_FULL; + /** + * Allow another creep to follow this creep. The fatigue generated for the target's move will be added to the creep instead of the target. + * + * Requires the MOVE body part. The target must be adjacent to the creep. The creep must move elsewhere, and the target must move towards the creep. + * @param target The target creep to be pulled. + */ + pull(target: Creep): OK | ERR_NOT_OWNER | ERR_BUSY | ERR_INVALID_TARGET | ERR_NOT_IN_RANGE | ERR_NO_BODYPART; + /** + * A ranged attack against another creep or structure. + * + * Needs the RANGED_ATTACK body part. If the target is inside a rampart, the rampart is attacked instead. + * + * The target has to be within 3 squares range of the creep. + * @param target The target object to be attacked. + */ + rangedAttack(target: AnyCreep | Structure): CreepActionReturnCode; + /** + * Heal another creep at a distance. + * + * It will restore the target creep’s damaged body parts function and increase the hits counter. + * + * Needs the HEAL body part. The target has to be within 3 squares range of the creep. + * @param target The target creep object. + */ + rangedHeal(target: AnyCreep): CreepActionReturnCode; + /** + * A ranged attack against all hostile creeps or structures within 3 squares range. + * + * Needs the RANGED_ATTACK body part. + * + * The attack power depends on the range to each target. Friendly units are not affected. + */ + rangedMassAttack(): OK | ERR_NOT_OWNER | ERR_BUSY | ERR_NO_BODYPART; + /** + * Repair a damaged structure using carried energy. Needs the WORK and CARRY body parts. The target has to be within 3 squares range of the creep. + * @param target The target structure to be repaired. + */ + repair(target: Structure): CreepActionReturnCode | ERR_NOT_ENOUGH_RESOURCES; + /** + * Temporarily block a neutral controller from claiming by other players. + * + * Each tick, this command increases the counter of the period during which the controller is unavailable by 1 tick per each CLAIM body part. + * + * The maximum reservation period to maintain is 5,000 ticks. + * + * The target has to be at adjacent square to the creep.... + * @param target The target controller object to be reserved. + * @return Result code: OK, ERR_NOT_OWNER, ERR_BUSY, ERR_INVALID_TARGET, ERR_NOT_IN_RANGE, ERR_NO_BODYPART + */ + reserveController(target: StructureController): CreepActionReturnCode; + /** + * Display a visual speech balloon above the creep with the specified message. + * + * The message will disappear after a few seconds. Useful for debugging purposes. + * + * Only the creep's owner can see the speech message unless toPublic is true. + * @param message The message to be displayed. Maximum length is 10 characters. + * @param set to 'true' to allow other players to see this message. Default is 'false'. + */ + say(message: string, toPublic?: boolean): OK | ERR_NOT_OWNER | ERR_BUSY; + /** + * Sign a controller with a random text visible to all players. This text will appear in the room UI, in the world map, and can be accessed via the API. + * You can sign unowned and hostile controllers. The target has to be at adjacent square to the creep. Pass an empty string to remove the sign. + * @param target The target controller object to be signed. + * @param text The sign text. The maximum text length is 100 characters. + * @returns Result Code: OK, ERR_BUSY, ERR_INVALID_TARGET, ERR_NOT_IN_RANGE + */ + signController(target: StructureController, text: string): OK | ERR_BUSY | ERR_INVALID_TARGET | ERR_NOT_IN_RANGE; + /** + * Kill the creep immediately. + */ + suicide(): OK | ERR_NOT_OWNER | ERR_BUSY; + /** + * Transfer resource from the creep to another object. The target has to be at adjacent square to the creep. + * @param target The target object. + * @param resourceType One of the RESOURCE_* constants + * @param amount The amount of resources to be transferred. If omitted, all the available carried amount is used. + */ + transfer(target: AnyCreep | Structure, resourceType: ResourceConstant, amount?: number): ScreepsReturnCode; + /** + * Upgrade your controller to the next level using carried energy. + * + * Upgrading controllers raises your Global Control Level in parallel. + * + * Needs WORK and CARRY body parts. + * + * The target has to be at adjacent square to the creep. + * + * A fully upgraded level 8 controller can't be upgraded with the power over 15 energy units per tick regardless of creeps power. + * + * The cumulative effect of all the creeps performing upgradeController in the current tick is taken into account. + * @param target The target controller object to be upgraded. + */ + upgradeController(target: StructureController): ScreepsReturnCode; + /** + * Withdraw resources from a structure, a tombstone or a ruin. + * + * The target has to be at adjacent square to the creep. + * + * Multiple creeps can withdraw from the same structure in the same tick. + * + * Your creeps can withdraw resources from hostile structures as well, in case if there is no hostile rampart on top of it. + * @param target The target object. + * @param resourceType The target One of the RESOURCE_* constants.. + * @param amount The amount of resources to be transferred. If omitted, all the available amount is used. + */ + withdraw(target: Structure | Tombstone | Ruin, resourceType: ResourceConstant, amount?: number): ScreepsReturnCode; +} + +interface CreepConstructor extends _Constructor, _ConstructorById {} + +declare const Creep: CreepConstructor; +/** + * A rare resource deposit needed for producing commodities. + * Can be harvested by creeps with a WORK body part. + * Each harvest operation triggers a cooldown period, which becomes longer and longer over time. + */ +interface Deposit extends RoomObject { + /** + * A unique object identificator. + * You can use {@link Game.getObjectById} method to retrieve an object instance by its id. + */ + id: Id; + /** + * The deposit type, one of the following constants: + * * `RESOURCE_MIST` + * * `RESOURCE_BIOMASS` + * * `RESOURCE_METAL` + * * `RESOURCE_SILICON` + */ + depositType: DepositConstant; + /** + * The amount of game ticks until the next harvest action is possible. + */ + cooldown: number; + /** + * The cooldown of the last harvest operation on this deposit. + */ + lastCooldown: number; + /** + * The amount of game ticks when this deposit will disappear. + */ + ticksToDecay: number; +} + +interface DepositConstructor extends _Constructor, _ConstructorById {} + +declare const Deposit: DepositConstructor; +/** + * A flag. Flags can be used to mark particular spots in a room. Flags are visible to their owners only. + */ +interface Flag extends RoomObject { + readonly prototype: Flag; + + /** + * Flag color. One of the `COLOR_*` constants. + */ + color: ColorConstant; + /** + * A shorthand to Memory.flags[flag.name]. You can use it for quick access the flag's specific memory data object. + */ + memory: FlagMemory; + /** + * Flag’s name. + * + * You can choose the name while creating a new flag, and it cannot be changed later. + * + * This name is a hash key to access the flag via the `Game.flags` object. The maximum name length is 60 characters. + */ + name: string; + /** + * Flag secondary color. One of the `COLOR_*` constants. + */ + secondaryColor: ColorConstant; + /** + * Remove the flag. + * @returns Result Code: OK + */ + remove(): OK; + /** + * Set new color of the flag. + * @param color One of the following constants: COLOR_WHITE, COLOR_GREY, COLOR_RED, COLOR_PURPLE, COLOR_BLUE, COLOR_CYAN, COLOR_GREEN, COLOR_YELLOW, COLOR_ORANGE, COLOR_BROWN + * @param secondaryColor Secondary color of the flag. One of the COLOR_* constants. + * @returns Result Code: OK, ERR_INVALID_ARGS + */ + setColor(color: ColorConstant, secondaryColor?: ColorConstant): OK | ERR_INVALID_ARGS; + /** + * Set new position of the flag. + * @param x The X position in the room. + * @param y The Y position in the room. + * @returns Result Code: OK, ERR_INVALID_TARGET + */ + setPosition(x: number, y: number): OK | ERR_INVALID_ARGS; + /** + * Set new position of the flag. + * @param pos Can be a RoomPosition object or any object containing RoomPosition. + * @returns Result Code: OK, ERR_INVALID_TARGET + */ + setPosition(pos: RoomPosition | { pos: RoomPosition }): OK | ERR_INVALID_ARGS; +} + +interface FlagConstructor extends _Constructor { + new( + name: string, + color: ColorConstant, + secondaryColor: ColorConstant, + roomName: string, + x: number, + y: number, + ): Flag; + (name: string, color: ColorConstant, secondaryColor: ColorConstant, roomName: string, x: number, y: number): Flag; +} + +declare const Flag: FlagConstructor; +/** + * The main global game object containing all the gameplay information. + */ +interface Game { + /** + * An object containing information about your CPU usage. + */ + cpu: CPU; + /** + * A hash containing all your creeps with creep names as hash keys. + */ + creeps: { [creepName: string]: Creep }; + /** + * A hash containing all your flags with flag names as hash keys. + */ + flags: { [flagName: string]: Flag }; + /** + * Your Global Control Level. + */ + gcl: GlobalControlLevel; + /** + * Your clobal Power Level + */ + gpl: GlobalPowerLevel; + /** + * A global object representing world GameMap. + */ + map: GameMap; + /** + * A global object representing the in-game market. + */ + market: Market; + /** + * A hash containing all your power creeps with their names as hash keys. Even power creeps not spawned in the world can be accessed here. + */ + powerCreeps: { [creepName: string]: PowerCreep }; + /** + * An object with your global resources that are bound to the account, like pixels or cpu unlocks. Each object key is a resource constant, values are resources amounts. + */ + resources: { [key: string]: any }; + /** + * A hash containing all the rooms available to you with room names as hash keys. + * A room is visible if you have a creep or an owned structure in it. + */ + rooms: { [roomName: string]: Room }; + /** + * A hash containing all your spawns with spawn names as hash keys. + */ + spawns: { [spawnName: string]: StructureSpawn }; + /** + * A hash containing all your structures with structure id as hash keys. + */ + structures: { [structureId: string]: Structure }; + + /** + * A hash containing all your construction sites with their id as hash keys. + */ + constructionSites: { [constructionSiteId: string]: ConstructionSite }; + + /** + * An object describing the world shard where your script is currently being executed in. + */ + shard: Shard; + + /** + * System game tick counter. It is automatically incremented on every tick. + */ + time: number; + + /** + * Get an object with the specified unique ID. It may be a game object of any type. Only objects from the rooms which are visible to you can be accessed. + * @param id The unique identifier. + * @returns an object instance or null if it cannot be found. + */ + getObjectById>(id: T): fromId | null; + getObjectById(id: Id): T | null; + + /** + * Get an object with the specified unique ID. It may be a game object of any type. Only objects from the rooms which are visible to you can be accessed. + * @param id The unique identifier. + * @returns an object instance or null if it cannot be found. + * @deprecated Use Id, instead of strings, to increase type safety + */ + // tslint:disable-next-line:unified-signatures + getObjectById(id: string): T | null; + + /** + * Send a custom message at your profile email. + * + * This way, you can set up notifications to yourself on any occasion within the game. + * + * You can schedule up to 20 notifications during one game tick. Not available in the Simulation Room. + * @param message Custom text which will be sent in the message. Maximum length is 1000 characters. + * @param groupInterval If set to 0 (default), the notification will be scheduled immediately. + * Otherwise, it will be grouped with other notifications and mailed out later using the specified time in minutes. + */ + notify(message: string, groupInterval?: number): undefined; +} + +declare var Game: Game; +interface _HasId { + id: Id; +} + +interface _HasRoomPosition { + pos: RoomPosition; +} + +interface GlobalControlLevel { + /** + * The current level. + */ + level: number; + /** + * The current progress to the next level. + */ + progress: number; + /** + * The progress required to reach the next level. + */ + progressTotal: number; +} + +interface GlobalPowerLevel { + /** + * The current level. + */ + level: number; + /** + * The current progress to the next level. + */ + progress: number; + /** + * The progress required to reach the next level. + */ + progressTotal: number; +} + +interface Shard { + /** + * The name of the shard. + */ + name: string; + /** + * Currently always equals to normal. + */ + type: "normal"; + /** + * Whether this shard belongs to the PTR. + */ + ptr: boolean; +} + +interface CPU { + /** + * Your assigned CPU limit for the current shard. + */ + limit: number; + /** + * An amount of available CPU time at the current game tick. Usually it is higher than `Game.cpu.limit`. + */ + tickLimit: number; + /** + * An amount of unused CPU accumulated in your bucket. + * @see http://docs.screeps.com/cpu-limit.html#Bucket + */ + bucket: number; + /** + * An object with limits for each shard with shard names as keys. You can use `setShardLimits` method to re-assign them. + */ + shardLimits: CPUShardLimits; + /** + * Whether full CPU is currently unlocked for your account. + */ + unlocked: boolean; + /** + * The time in milliseconds since UNIX epoch time until full CPU is unlocked for your account. + * This property is not defined when full CPU is not unlocked for your account or it's unlocked with a subscription. + */ + unlockedTime: number | undefined; + + /** + * Get amount of CPU time used from the beginning of the current game tick. Always returns 0 in the Simulation mode. + */ + getUsed(): number; + /** + * Allocate CPU limits to different shards. Total amount of CPU should remain equal to `Game.cpu.shardLimits`. + * This method can be used only once per 12 hours. + * + * @param limits An object with CPU values for each shard in the same format as `Game.cpu.shardLimits`. + * @returns One of the following codes: `OK | ERR_BUSY | ERR_INVALID_ARGS` + */ + setShardLimits(limits: CPUShardLimits): OK | ERR_BUSY | ERR_INVALID_ARGS; + + /** + * Use this method to get heap statistics for your virtual machine. + * + * This method will be undefined if you are not using IVM. + * + * The return value is almost identical to the Node.js function v8.getHeapStatistics(). + * This function returns one additional property: externally_allocated_size which is the total amount of currently + * allocated memory which is not included in the v8 heap but counts against this isolate's memory limit. + * ArrayBuffer instances over a certain size are externally allocated and will be counted here. + */ + getHeapStatistics?(): HeapStatistics; + + /** + * This method will be undefined if you are not using IVM. + * + * Reset your runtime environment and wipe all data in heap memory. + * Player code execution stops immediately. + */ + halt?(): never; + /** + * Generate 1 pixel resource unit for 10000 CPU from your bucket. + */ + generatePixel(): OK | ERR_NOT_ENOUGH_RESOURCES; + + /** + * Unlock full CPU for your account for additional 24 hours. + * This method will consume 1 CPU unlock bound to your account (See `Game.resources`). + * If full CPU is not currently unlocked for your account, it may take some time (up to 5 minutes) before unlock is applied to your account. + */ + unlock(): OK | ERR_NOT_ENOUGH_RESOURCES | ERR_FULL; +} + +interface HeapStatistics { + total_heap_size: number; + total_heap_size_executable: number; + total_physical_size: number; + total_available_size: number; + used_heap_size: number; + heap_size_limit: number; + malloced_memory: number; + peak_malloced_memory: number; + does_zap_garbage: 0 | 1; + externally_allocated_size: number; +} + +/** + * Describes one part of a creep’s body. + */ +type BodyPartDefinition = T extends any ? { + /** + * One of the `RESOURCE_*` constants. + * + * If the body part is boosted, this property specifies the mineral type which is used for boosting. + */ + boost?: keyof (typeof BOOSTS)[T]; + /** + * One of the body part types constants. + */ + type: T; + /** + * The remaining amount of hit points of this body part. + */ + hits: number; + } + : never; + +interface Owner { + /** + * The name of the owner user. + */ + username: string; +} +interface ReservationDefinition { + username: string; + ticksToEnd: number; +} +interface SignDefinition { + username: string; + text: string; + time: number; + datetime: Date; +} + +interface CPUShardLimits { + [shard: string]: number; +} + +/** A general purpose Store, which has a limited capacity */ +type StoreDefinition = Store; + +/** A general purpose Store, which has an unlimited capacity */ +type StoreDefinitionUnlimited = Store; + +// type SD = { +// [P in K]: number; +// energy: number; +// } + +type ExitsInformation = Partial>; + +interface AllLookAtTypes { + constructionSite: ConstructionSite; + creep: Creep; + energy: Resource; + exit: any; // TODO what type is this? + flag: Flag; + mineral: Mineral; + deposit: Deposit; + nuke: Nuke; + resource: Resource; + source: Source; + structure: Structure; + terrain: Terrain; + tombstone: Tombstone; + powerCreep: PowerCreep; + ruin: Ruin; +} + +type LookAtTypes = Partial; + +type LookAtResult = Pick & { type: K }; + +type LookAtResultWithPos = LookAtResult & { + x: number; + y: number; +}; + +interface LookAtResultMatrix { + [y: number]: { + [x: number]: Array>; + }; +} + +interface LookForAtAreaResultMatrix { + [y: number]: { + [x: number]: Array>; + }; +} + +type LookForAtAreaResult = { type: K } & { [P in K]: T }; + +type LookForAtAreaResultWithPos = LookForAtAreaResult & { + x: number; + y: number; +}; + +type LookForAtAreaResultArray = Array< + LookForAtAreaResultWithPos +>; + +interface FindTypes { + [key: number]: + | RoomPosition + | AnyCreep + | Source + | Resource + | Structure + | Flag + | ConstructionSite + | Mineral + | Nuke + | Tombstone + | Deposit + | Ruin; + 1: RoomPosition; // FIND_EXIT_TOP + 3: RoomPosition; // FIND_EXIT_RIGHT + 5: RoomPosition; // FIND_EXIT_BOTTOM + 7: RoomPosition; // FIND_EXIT_LEFT + 10: RoomPosition; // FIND_EXIT + 101: Creep; // FIND_CREEPS + 102: Creep; // FIND_MY_CREEPS + 103: Creep; // FIND_HOSTILE_CREEPS + 104: Source; // FIND_SOURCES_ACTIVE + 105: Source; // FIND_SOURCES + 106: Resource; // FIND_DROPPED_RESOURCES + 107: AnyStructure; // FIND_STRUCTURES + 108: AnyOwnedStructure; // FIND_MY_STRUCTURES + 109: AnyOwnedStructure; // FIND_HOSTILE_STRUCTURES + 110: Flag; // FIND_FLAGS + 111: ConstructionSite; // FIND_CONSTRUCTION_SITES + 112: StructureSpawn; // FIND_MY_SPAWNS + 113: StructureSpawn; // FIND_HOSTILE_SPAWNS + 114: ConstructionSite; // FIND_MY_CONSTRUCTION_SITES + 115: ConstructionSite; // FIND_HOSTILE_CONSTRUCTION_SITES + 116: Mineral; // FIND_MINERALS + 117: Nuke; // FIND_NUKES + 118: Tombstone; // FIND_TOMBSTONES + 119: PowerCreep; // FIND_POWER_CREEPS + 120: PowerCreep; // FIND_MY_POWER_CREEPS + 121: PowerCreep; // FIND_HOSTILE_POWER_CREEPS + 122: Deposit; // FIND_DEPOSITS + 123: Ruin; // FIND_RUINS +} + +interface FindPathOpts { + /** + * Treat squares with creeps as walkable. Can be useful with too many moving creeps around or in some other cases. The default + * value is false. + */ + ignoreCreeps?: boolean; + + /** + * Treat squares with destructible structures (constructed walls, ramparts, spawns, extensions) as walkable. Use this flag when + * you need to move through a territory blocked by hostile structures. If a creep with an ATTACK body part steps on such a square, + * it automatically attacks the structure. The default value is false. + */ + ignoreDestructibleStructures?: boolean; + + /** + * Ignore road structures. Enabling this option can speed up the search. The default value is false. This is only used when the + * new PathFinder is enabled. + */ + ignoreRoads?: boolean; + + /** + * You can use this callback to modify a CostMatrix for any room during the search. The callback accepts two arguments, roomName + * and costMatrix. Use the costMatrix instance to make changes to the positions costs. If you return a new matrix from this callback, + * it will be used instead of the built-in cached one. This option is only used when the new PathFinder is enabled. + * + * @param roomName The name of the room. + * @param costMatrix The current CostMatrix + * @returns The new CostMatrix to use + */ + // tslint:disable-next-line: invalid-void + // eslint-disable-next-line @typescript-eslint/no-invalid-void-type + costCallback?: (roomName: string, costMatrix: CostMatrix) => void | CostMatrix; + + /** + * An array of the room's objects or RoomPosition objects which should be treated as walkable tiles during the search. This option + * cannot be used when the new PathFinder is enabled (use costCallback option instead). + */ + ignore?: any[] | RoomPosition[]; + + /** + * An array of the room's objects or RoomPosition objects which should be treated as obstacles during the search. This option cannot + * be used when the new PathFinder is enabled (use costCallback option instead). + */ + avoid?: any[] | RoomPosition[]; + + /** + * The maximum limit of possible pathfinding operations. You can limit CPU time used for the search based on ratio 1 op ~ 0.001 CPU. + * The default value is 2000. + */ + maxOps?: number; + + /** + * Weight to apply to the heuristic in the A* formula F = G + weight * H. Use this option only if you understand the underlying + * A* algorithm mechanics! The default value is 1.2. + */ + heuristicWeight?: number; + + /** + * If true, the result path will be serialized using Room.serializePath. The default is false. + */ + serialize?: boolean; + + /** + * The maximum allowed rooms to search. The default (and maximum) is 16. This is only used when the new PathFinder is enabled. + */ + maxRooms?: number; + + /** + * Path to within (range) tiles of target tile. The default is to path to the tile that the target is on (0). + */ + range?: number; + + /** + * Cost for walking on plain positions. The default is 1. + */ + plainCost?: number; + + /** + * Cost for walking on swamp positions. The default is 5. + */ + swampCost?: number; +} + +interface MoveToOpts extends FindPathOpts { + /** + * This option enables reusing the path found along multiple game ticks. It allows to save CPU time, but can result in a slightly + * slower creep reaction behavior. The path is stored into the creep's memory to the `_move` property. The `reusePath` value defines + * the amount of ticks which the path should be reused for. The default value is 5. Increase the amount to save more CPU, decrease + * to make the movement more consistent. Set to 0 if you want to disable path reusing. + */ + reusePath?: number; + + /** + * If `reusePath` is enabled and this option is set to true, the path will be stored in memory in the short serialized form using + * `Room.serializePath`. The default value is true. + */ + serializeMemory?: boolean; + + /** + * If this option is set to true, `moveTo` method will return `ERR_NOT_FOUND` if there is no memorized path to reuse. This can + * significantly save CPU time in some cases. The default value is false. + */ + noPathFinding?: boolean; + + /** + * Draw a line along the creep’s path using `RoomVisual.poly`. You can provide either an empty object or custom style parameters. + */ + visualizePathStyle?: PolyStyle; +} + +interface PathStep { + x: number; + dx: number; + y: number; + dy: number; + direction: DirectionConstant; +} + +/** + * An object with survival game info + */ +interface SurvivalGameInfo { + /** + * Current score. + */ + score: number; + /** + * Time to the next wave of invaders. + */ + timeToWave: number; + /** + * The number of the next wave. + */ + wave: number; +} + +interface _Constructor { + readonly prototype: T; +} + +interface _ConstructorById extends _Constructor { + new(id: Id): T; + (id: Id): T; +} + +declare namespace Tag { + const OpaqueTagSymbol: unique symbol; + + class OpaqueTag { + private [OpaqueTagSymbol]: T; + } +} +type Id = string & Tag.OpaqueTag; +type fromId = T extends Id ? R : never; +/** + * `InterShardMemory` object provides an interface for communicating between shards. + * Your script is executed separatedly on each shard, and their `Memory` objects are isolated from each other. + * In order to pass messages and data between shards, you need to use `InterShardMemory` instead. + * + * Every shard can have its own data string that can be accessed by all other shards. + * A shard can write only to its own data, other shards' data is read-only. + * + * This data has nothing to do with `Memory` contents, it's a separate data container. + */ +interface InterShardMemory { + /** + * Returns the string contents of the current shard's data. + */ + getLocal(): string; + /** + * Replace the current shard's data with the new value + * @param value New data value in string format. + */ + setLocal(value: string): void; + /** + * Returns the string contents of another shard's data, null if shard exists but data is not set. + * + * @param shard Shard name. + * @throws Error if shard name is invalid + */ + getRemote(shard: string): string | null; +} + +declare const InterShardMemory: InterShardMemory; +/* + * This file creates literal versions of many of the constants + * It should be kept in sync with constants.ts + */ + +// Extras + +type Terrain = "plain" | "swamp" | "wall"; + +type ExitKey = "1" | "3" | "5" | "7"; + +type AnyCreep = Creep | PowerCreep; + +type FindClosestByPathAlgorithm = "astar" | "dijkstra"; + +// Return Codes + +type ScreepsReturnCode = + | OK + | ERR_NOT_OWNER + | ERR_NO_PATH + | ERR_BUSY + | ERR_NAME_EXISTS + | ERR_NOT_FOUND + | ERR_NOT_ENOUGH_RESOURCES + | ERR_NOT_ENOUGH_ENERGY + | ERR_INVALID_TARGET + | ERR_FULL + | ERR_NOT_IN_RANGE + | ERR_INVALID_ARGS + | ERR_TIRED + | ERR_NO_BODYPART + | ERR_NOT_ENOUGH_EXTENSIONS + | ERR_RCL_NOT_ENOUGH + | ERR_GCL_NOT_ENOUGH; + +type OK = 0; +type ERR_NOT_OWNER = -1; +type ERR_NO_PATH = -2; +type ERR_NAME_EXISTS = -3; +type ERR_BUSY = -4; +type ERR_NOT_FOUND = -5; +type ERR_NOT_ENOUGH_RESOURCES = -6; +type ERR_NOT_ENOUGH_ENERGY = -6; +type ERR_INVALID_TARGET = -7; +type ERR_FULL = -8; +type ERR_NOT_IN_RANGE = -9; +type ERR_INVALID_ARGS = -10; +type ERR_TIRED = -11; +type ERR_NO_BODYPART = -12; +type ERR_NOT_ENOUGH_EXTENSIONS = -6; +type ERR_RCL_NOT_ENOUGH = -14; +type ERR_GCL_NOT_ENOUGH = -15; + +type CreepActionReturnCode = + | OK + | ERR_NOT_OWNER + | ERR_BUSY + | ERR_INVALID_TARGET + | ERR_NOT_IN_RANGE + | ERR_NO_BODYPART + | ERR_TIRED; + +type CreepMoveReturnCode = OK | ERR_NOT_OWNER | ERR_BUSY | ERR_TIRED | ERR_NO_BODYPART; + +// Find Constants + +type ExitConstant = FIND_EXIT_TOP | FIND_EXIT_RIGHT | FIND_EXIT_BOTTOM | FIND_EXIT_LEFT; + +type FindConstant = + | FIND_EXIT_TOP + | FIND_EXIT_RIGHT + | FIND_EXIT_BOTTOM + | FIND_EXIT_LEFT + | FIND_EXIT + | FIND_CREEPS + | FIND_MY_CREEPS + | FIND_HOSTILE_CREEPS + | FIND_SOURCES_ACTIVE + | FIND_SOURCES + | FIND_DROPPED_RESOURCES + | FIND_STRUCTURES + | FIND_MY_STRUCTURES + | FIND_HOSTILE_STRUCTURES + | FIND_FLAGS + | FIND_CONSTRUCTION_SITES + | FIND_MY_SPAWNS + | FIND_HOSTILE_SPAWNS + | FIND_MY_CONSTRUCTION_SITES + | FIND_HOSTILE_CONSTRUCTION_SITES + | FIND_MINERALS + | FIND_NUKES + | FIND_TOMBSTONES + | FIND_POWER_CREEPS + | FIND_MY_POWER_CREEPS + | FIND_HOSTILE_POWER_CREEPS + | FIND_DEPOSITS + | FIND_RUINS; + +type FIND_EXIT_TOP = 1; +type FIND_EXIT_RIGHT = 3; +type FIND_EXIT_BOTTOM = 5; +type FIND_EXIT_LEFT = 7; +type FIND_EXIT = 10; +type FIND_CREEPS = 101; +type FIND_MY_CREEPS = 102; +type FIND_HOSTILE_CREEPS = 103; +type FIND_SOURCES_ACTIVE = 104; +type FIND_SOURCES = 105; +type FIND_DROPPED_RESOURCES = 106; +type FIND_STRUCTURES = 107; +type FIND_MY_STRUCTURES = 108; +type FIND_HOSTILE_STRUCTURES = 109; +type FIND_FLAGS = 110; +type FIND_CONSTRUCTION_SITES = 111; +type FIND_MY_SPAWNS = 112; +type FIND_HOSTILE_SPAWNS = 113; +type FIND_MY_CONSTRUCTION_SITES = 114; +type FIND_HOSTILE_CONSTRUCTION_SITES = 115; +type FIND_MINERALS = 116; +type FIND_NUKES = 117; +type FIND_TOMBSTONES = 118; +type FIND_POWER_CREEPS = 119; +type FIND_MY_POWER_CREEPS = 120; +type FIND_HOSTILE_POWER_CREEPS = 121; +type FIND_DEPOSITS = 122; +type FIND_RUINS = 123; + +// Filter Options + +interface FilterOptions { + filter: FilterFunction | FilterObject | string; +} +type FilterFunction = (object: T) => object is S; +interface FilterObject { + [key: string]: any; +} + +// Body Part Constants + +type BodyPartConstant = MOVE | WORK | CARRY | ATTACK | RANGED_ATTACK | TOUGH | HEAL | CLAIM; + +type MOVE = "move"; +type WORK = "work"; +type CARRY = "carry"; +type ATTACK = "attack"; +type RANGED_ATTACK = "ranged_attack"; +type TOUGH = "tough"; +type HEAL = "heal"; +type CLAIM = "claim"; + +// Look Constants + +type LookConstant = + | LOOK_CREEPS + | LOOK_ENERGY + | LOOK_RESOURCES + | LOOK_SOURCES + | LOOK_MINERALS + | LOOK_DEPOSITS + | LOOK_STRUCTURES + | LOOK_FLAGS + | LOOK_CONSTRUCTION_SITES + | LOOK_NUKES + | LOOK_TERRAIN + | LOOK_TOMBSTONES + | LOOK_POWER_CREEPS + | LOOK_RUINS; + +type LOOK_CONSTRUCTION_SITES = "constructionSite"; +type LOOK_CREEPS = "creep"; +type LOOK_ENERGY = "energy"; +type LOOK_FLAGS = "flag"; +type LOOK_MINERALS = "mineral"; +type LOOK_DEPOSITS = "deposit"; +type LOOK_NUKES = "nuke"; +type LOOK_RESOURCES = "resource"; +type LOOK_SOURCES = "source"; +type LOOK_STRUCTURES = "structure"; +type LOOK_TERRAIN = "terrain"; +type LOOK_TOMBSTONES = "tombstone"; +type LOOK_POWER_CREEPS = "powerCreep"; +type LOOK_RUINS = "ruin"; + +type ORDER_SELL = "sell"; +type ORDER_BUY = "buy"; + +// Direction Constants + +type DirectionConstant = TOP | TOP_RIGHT | RIGHT | BOTTOM_RIGHT | BOTTOM | BOTTOM_LEFT | LEFT | TOP_LEFT; + +type TOP = 1; +type TOP_RIGHT = 2; +type RIGHT = 3; +type BOTTOM_RIGHT = 4; +type BOTTOM = 5; +type BOTTOM_LEFT = 6; +type LEFT = 7; +type TOP_LEFT = 8; + +// Color Constants + +type ColorConstant = + | COLOR_RED + | COLOR_PURPLE + | COLOR_BLUE + | COLOR_CYAN + | COLOR_GREEN + | COLOR_YELLOW + | COLOR_ORANGE + | COLOR_BROWN + | COLOR_GREY + | COLOR_WHITE; + +type COLOR_RED = 1; +type COLOR_PURPLE = 2; +type COLOR_BLUE = 3; +type COLOR_CYAN = 4; +type COLOR_GREEN = 5; +type COLOR_YELLOW = 6; +type COLOR_ORANGE = 7; +type COLOR_BROWN = 8; +type COLOR_GREY = 9; +type COLOR_WHITE = 10; + +// Structure Constants + +type BuildableStructureConstant = + | STRUCTURE_EXTENSION + | STRUCTURE_RAMPART + | STRUCTURE_ROAD + | STRUCTURE_SPAWN + | STRUCTURE_LINK + | STRUCTURE_WALL + | STRUCTURE_STORAGE + | STRUCTURE_TOWER + | STRUCTURE_OBSERVER + | STRUCTURE_POWER_SPAWN + | STRUCTURE_EXTRACTOR + | STRUCTURE_LAB + | STRUCTURE_TERMINAL + | STRUCTURE_CONTAINER + | STRUCTURE_NUKER + | STRUCTURE_FACTORY; + +type StructureConstant = + | BuildableStructureConstant + | STRUCTURE_KEEPER_LAIR + | STRUCTURE_CONTROLLER + | STRUCTURE_POWER_BANK + | STRUCTURE_PORTAL + | STRUCTURE_INVADER_CORE; + +type STRUCTURE_EXTENSION = "extension"; +type STRUCTURE_RAMPART = "rampart"; +type STRUCTURE_ROAD = "road"; +type STRUCTURE_SPAWN = "spawn"; +type STRUCTURE_LINK = "link"; +type STRUCTURE_WALL = "constructedWall"; +type STRUCTURE_KEEPER_LAIR = "keeperLair"; +type STRUCTURE_CONTROLLER = "controller"; +type STRUCTURE_STORAGE = "storage"; +type STRUCTURE_TOWER = "tower"; +type STRUCTURE_OBSERVER = "observer"; +type STRUCTURE_POWER_BANK = "powerBank"; +type STRUCTURE_POWER_SPAWN = "powerSpawn"; +type STRUCTURE_EXTRACTOR = "extractor"; +type STRUCTURE_LAB = "lab"; +type STRUCTURE_TERMINAL = "terminal"; +type STRUCTURE_CONTAINER = "container"; +type STRUCTURE_NUKER = "nuker"; +type STRUCTURE_FACTORY = "factory"; +type STRUCTURE_INVADER_CORE = "invaderCore"; +type STRUCTURE_PORTAL = "portal"; + +// Terrain mask constants +type TERRAIN_MASK_WALL = 1; +type TERRAIN_MASK_SWAMP = 2; +type TERRAIN_MASK_LAVA = 4; + +// Resource Constants + +type ResourceConstant = + | RESOURCE_ENERGY + | RESOURCE_POWER + | RESOURCE_OPS + | MineralConstant + | MineralCompoundConstant + | DepositConstant + | CommodityConstant; + +type _ResourceConstantSansEnergy = Exclude; + +/** The raw harvestable minerals */ +type MineralConstant = + | RESOURCE_UTRIUM + | RESOURCE_LEMERGIUM + | RESOURCE_KEANIUM + | RESOURCE_ZYNTHIUM + | RESOURCE_OXYGEN + | RESOURCE_HYDROGEN + | RESOURCE_CATALYST; + +/** The compounds which can't boost */ +type MineralBaseCompoundsConstant = + | RESOURCE_HYDROXIDE + | RESOURCE_ZYNTHIUM_KEANITE + | RESOURCE_UTRIUM_LEMERGITE + | RESOURCE_GHODIUM; + +/** The boosts (from tier 1 to tier 3) */ +type MineralBoostConstant = + | RESOURCE_UTRIUM_HYDRIDE + | RESOURCE_UTRIUM_OXIDE + | RESOURCE_KEANIUM_HYDRIDE + | RESOURCE_KEANIUM_OXIDE + | RESOURCE_LEMERGIUM_HYDRIDE + | RESOURCE_LEMERGIUM_OXIDE + | RESOURCE_ZYNTHIUM_HYDRIDE + | RESOURCE_ZYNTHIUM_OXIDE + | RESOURCE_GHODIUM_HYDRIDE + | RESOURCE_GHODIUM_OXIDE + | RESOURCE_UTRIUM_ACID + | RESOURCE_UTRIUM_ALKALIDE + | RESOURCE_KEANIUM_ACID + | RESOURCE_KEANIUM_ALKALIDE + | RESOURCE_LEMERGIUM_ACID + | RESOURCE_LEMERGIUM_ALKALIDE + | RESOURCE_ZYNTHIUM_ACID + | RESOURCE_ZYNTHIUM_ALKALIDE + | RESOURCE_GHODIUM_ACID + | RESOURCE_GHODIUM_ALKALIDE + | RESOURCE_CATALYZED_UTRIUM_ACID + | RESOURCE_CATALYZED_UTRIUM_ALKALIDE + | RESOURCE_CATALYZED_KEANIUM_ACID + | RESOURCE_CATALYZED_KEANIUM_ALKALIDE + | RESOURCE_CATALYZED_LEMERGIUM_ACID + | RESOURCE_CATALYZED_LEMERGIUM_ALKALIDE + | RESOURCE_CATALYZED_ZYNTHIUM_ACID + | RESOURCE_CATALYZED_ZYNTHIUM_ALKALIDE + | RESOURCE_CATALYZED_GHODIUM_ACID + | RESOURCE_CATALYZED_GHODIUM_ALKALIDE; + +/** All the mineral compounds */ +type MineralCompoundConstant = MineralBaseCompoundsConstant | MineralBoostConstant; + +/** The raw deposits */ +type DepositConstant = RESOURCE_MIST | RESOURCE_BIOMASS | RESOURCE_METAL | RESOURCE_SILICON; + +/** The commodities, produced by the Factory */ +type CommodityConstant = + | RESOURCE_UTRIUM_BAR + | RESOURCE_LEMERGIUM_BAR + | RESOURCE_ZYNTHIUM_BAR + | RESOURCE_KEANIUM_BAR + | RESOURCE_GHODIUM_MELT + | RESOURCE_OXIDANT + | RESOURCE_REDUCTANT + | RESOURCE_PURIFIER + | RESOURCE_BATTERY + | RESOURCE_COMPOSITE + | RESOURCE_CRYSTAL + | RESOURCE_LIQUID + | RESOURCE_WIRE + | RESOURCE_SWITCH + | RESOURCE_TRANSISTOR + | RESOURCE_MICROCHIP + | RESOURCE_CIRCUIT + | RESOURCE_DEVICE + | RESOURCE_CELL + | RESOURCE_PHLEGM + | RESOURCE_TISSUE + | RESOURCE_MUSCLE + | RESOURCE_ORGANOID + | RESOURCE_ORGANISM + | RESOURCE_ALLOY + | RESOURCE_TUBE + | RESOURCE_FIXTURES + | RESOURCE_FRAME + | RESOURCE_HYDRAULICS + | RESOURCE_MACHINE + | RESOURCE_CONDENSATE + | RESOURCE_CONCENTRATE + | RESOURCE_EXTRACT + | RESOURCE_SPIRIT + | RESOURCE_EMANATION + | RESOURCE_ESSENCE; + +type InterShardResourceConstant = SUBSCRIPTION_TOKEN | CPU_UNLOCK | PIXEL | ACCESS_KEY; +type MarketResourceConstant = ResourceConstant | InterShardResourceConstant; + +type RESOURCE_ENERGY = "energy"; +type RESOURCE_POWER = "power"; +type RESOURCE_OPS = "ops"; + +type RESOURCE_BIOMASS = "biomass"; +type RESOURCE_METAL = "metal"; +type RESOURCE_MIST = "mist"; +type RESOURCE_SILICON = "silicon"; + +type RESOURCE_UTRIUM = "U"; +type RESOURCE_LEMERGIUM = "L"; +type RESOURCE_KEANIUM = "K"; +type RESOURCE_ZYNTHIUM = "Z"; +type RESOURCE_OXYGEN = "O"; +type RESOURCE_HYDROGEN = "H"; +type RESOURCE_CATALYST = "X"; + +type RESOURCE_HYDROXIDE = "OH"; +type RESOURCE_ZYNTHIUM_KEANITE = "ZK"; +type RESOURCE_UTRIUM_LEMERGITE = "UL"; +type RESOURCE_GHODIUM = "G"; + +type RESOURCE_UTRIUM_HYDRIDE = "UH"; +type RESOURCE_UTRIUM_OXIDE = "UO"; +type RESOURCE_KEANIUM_HYDRIDE = "KH"; +type RESOURCE_KEANIUM_OXIDE = "KO"; +type RESOURCE_LEMERGIUM_HYDRIDE = "LH"; +type RESOURCE_LEMERGIUM_OXIDE = "LO"; +type RESOURCE_ZYNTHIUM_HYDRIDE = "ZH"; +type RESOURCE_ZYNTHIUM_OXIDE = "ZO"; +type RESOURCE_GHODIUM_HYDRIDE = "GH"; +type RESOURCE_GHODIUM_OXIDE = "GO"; + +type RESOURCE_UTRIUM_ACID = "UH2O"; +type RESOURCE_UTRIUM_ALKALIDE = "UHO2"; +type RESOURCE_KEANIUM_ACID = "KH2O"; +type RESOURCE_KEANIUM_ALKALIDE = "KHO2"; +type RESOURCE_LEMERGIUM_ACID = "LH2O"; +type RESOURCE_LEMERGIUM_ALKALIDE = "LHO2"; +type RESOURCE_ZYNTHIUM_ACID = "ZH2O"; +type RESOURCE_ZYNTHIUM_ALKALIDE = "ZHO2"; +type RESOURCE_GHODIUM_ACID = "GH2O"; +type RESOURCE_GHODIUM_ALKALIDE = "GHO2"; + +type RESOURCE_CATALYZED_UTRIUM_ACID = "XUH2O"; +type RESOURCE_CATALYZED_UTRIUM_ALKALIDE = "XUHO2"; +type RESOURCE_CATALYZED_KEANIUM_ACID = "XKH2O"; +type RESOURCE_CATALYZED_KEANIUM_ALKALIDE = "XKHO2"; +type RESOURCE_CATALYZED_LEMERGIUM_ACID = "XLH2O"; +type RESOURCE_CATALYZED_LEMERGIUM_ALKALIDE = "XLHO2"; +type RESOURCE_CATALYZED_ZYNTHIUM_ACID = "XZH2O"; +type RESOURCE_CATALYZED_ZYNTHIUM_ALKALIDE = "XZHO2"; +type RESOURCE_CATALYZED_GHODIUM_ACID = "XGH2O"; +type RESOURCE_CATALYZED_GHODIUM_ALKALIDE = "XGHO2"; + +type RESOURCE_UTRIUM_BAR = "utrium_bar"; +type RESOURCE_LEMERGIUM_BAR = "lemergium_bar"; +type RESOURCE_ZYNTHIUM_BAR = "zynthium_bar"; +type RESOURCE_KEANIUM_BAR = "keanium_bar"; +type RESOURCE_GHODIUM_MELT = "ghodium_melt"; +type RESOURCE_OXIDANT = "oxidant"; +type RESOURCE_REDUCTANT = "reductant"; +type RESOURCE_PURIFIER = "purifier"; +type RESOURCE_BATTERY = "battery"; + +type RESOURCE_COMPOSITE = "composite"; +type RESOURCE_CRYSTAL = "crystal"; +type RESOURCE_LIQUID = "liquid"; + +type RESOURCE_WIRE = "wire"; +type RESOURCE_SWITCH = "switch"; +type RESOURCE_TRANSISTOR = "transistor"; +type RESOURCE_MICROCHIP = "microchip"; +type RESOURCE_CIRCUIT = "circuit"; +type RESOURCE_DEVICE = "device"; + +type RESOURCE_CELL = "cell"; +type RESOURCE_PHLEGM = "phlegm"; +type RESOURCE_TISSUE = "tissue"; +type RESOURCE_MUSCLE = "muscle"; +type RESOURCE_ORGANOID = "organoid"; +type RESOURCE_ORGANISM = "organism"; + +type RESOURCE_ALLOY = "alloy"; +type RESOURCE_TUBE = "tube"; +type RESOURCE_FIXTURES = "fixtures"; +type RESOURCE_FRAME = "frame"; +type RESOURCE_HYDRAULICS = "hydraulics"; +type RESOURCE_MACHINE = "machine"; + +type RESOURCE_CONDENSATE = "condensate"; +type RESOURCE_CONCENTRATE = "concentrate"; +type RESOURCE_EXTRACT = "extract"; +type RESOURCE_SPIRIT = "spirit"; +type RESOURCE_EMANATION = "emanation"; +type RESOURCE_ESSENCE = "essence"; + +type SUBSCRIPTION_TOKEN = "token"; +type CPU_UNLOCK = "cpuUnlock"; +type PIXEL = "pixel"; +type ACCESS_KEY = "accessKey"; + +type TOMBSTONE_DECAY_PER_PART = 5; + +type EventConstant = + | EVENT_ATTACK + | EVENT_OBJECT_DESTROYED + | EVENT_ATTACK_CONTROLLER + | EVENT_BUILD + | EVENT_HARVEST + | EVENT_HEAL + | EVENT_REPAIR + | EVENT_RESERVE_CONTROLLER + | EVENT_UPGRADE_CONTROLLER + | EVENT_EXIT + | EVENT_POWER + | EVENT_TRANSFER; + +type EVENT_ATTACK = 1; +type EVENT_OBJECT_DESTROYED = 2; +type EVENT_ATTACK_CONTROLLER = 3; +type EVENT_BUILD = 4; +type EVENT_HARVEST = 5; +type EVENT_HEAL = 6; +type EVENT_REPAIR = 7; +type EVENT_RESERVE_CONTROLLER = 8; +type EVENT_UPGRADE_CONTROLLER = 9; +type EVENT_EXIT = 10; +type EVENT_POWER = 11; +type EVENT_TRANSFER = 12; + +type EventAttackType = + | EVENT_ATTACK_TYPE_MELEE + | EVENT_ATTACK_TYPE_RANGED + | EVENT_ATTACK_TYPE_RANGED_MASS + | EVENT_ATTACK_TYPE_DISMANTLE + | EVENT_ATTACK_TYPE_HIT_BACK + | EVENT_ATTACK_TYPE_NUKE; + +type EVENT_ATTACK_TYPE_MELEE = 1; +type EVENT_ATTACK_TYPE_RANGED = 2; +type EVENT_ATTACK_TYPE_RANGED_MASS = 3; +type EVENT_ATTACK_TYPE_DISMANTLE = 4; +type EVENT_ATTACK_TYPE_HIT_BACK = 5; +type EVENT_ATTACK_TYPE_NUKE = 6; + +type EventHealType = EVENT_HEAL_TYPE_MELEE | EVENT_HEAL_TYPE_RANGED; + +type EVENT_HEAL_TYPE_MELEE = 1; +type EVENT_HEAL_TYPE_RANGED = 2; + +type EventDestroyType = "creep" | StructureConstant; + +type EventItem = + | { + event: EVENT_ATTACK; + objectId: string; + data: EventData[EVENT_ATTACK]; + } + | { + event: EVENT_OBJECT_DESTROYED; + objectId: string; + data: EventData[EVENT_OBJECT_DESTROYED]; + } + | { + event: EVENT_ATTACK_CONTROLLER; + objectId: string; + data: EventData[EVENT_ATTACK_CONTROLLER]; + } + | { + event: EVENT_BUILD; + objectId: string; + data: EventData[EVENT_BUILD]; + } + | { + event: EVENT_HARVEST; + objectId: string; + data: EventData[EVENT_HARVEST]; + } + | { + event: EVENT_HEAL; + objectId: string; + data: EventData[EVENT_HEAL]; + } + | { + event: EVENT_REPAIR; + objectId: string; + data: EventData[EVENT_REPAIR]; + } + | { + event: EVENT_RESERVE_CONTROLLER; + objectId: string; + data: EventData[EVENT_RESERVE_CONTROLLER]; + } + | { + event: EVENT_UPGRADE_CONTROLLER; + objectId: string; + data: EventData[EVENT_UPGRADE_CONTROLLER]; + } + | { + event: EVENT_EXIT; + objectId: string; + data: EventData[EVENT_EXIT]; + } + | { + event: EVENT_POWER; + objectId: string; + data: EventData[EVENT_POWER]; + } + | { + event: EVENT_TRANSFER; + objectId: string; + data: EventData[EVENT_TRANSFER]; + }; + +interface EventData { + [EVENT_ATTACK]: { + targetId: string; + damage: number; + attackType: EventAttackType; + }; + [EVENT_OBJECT_DESTROYED]: { + type: EventDestroyType; + }; + [EVENT_ATTACK_CONTROLLER]: null; + [EVENT_BUILD]: { + targetId: string; + amount: number; + energySpent: number; + }; + [EVENT_HARVEST]: { + targetId: string; + amount: number; + }; + [EVENT_HEAL]: { + targetId: string; + amount: number; + healType: EventHealType; + }; + [EVENT_REPAIR]: { + targetId: string; + amount: number; + energySpent: number; + }; + [EVENT_RESERVE_CONTROLLER]: { + amount: number; + }; + [EVENT_UPGRADE_CONTROLLER]: { + amount: number; + energySpent: number; + }; + [EVENT_EXIT]: { + room: string; + x: number; + y: number; + }; + [EVENT_POWER]: { + targetId: string; + power: PowerConstant; + }; + [EVENT_TRANSFER]: { + targetId: string; + resourceType: ResourceConstant; + amount: number; + }; +} + +type PowerClassConstant = POWER_CLASS["OPERATOR"]; + +interface POWER_CLASS { + OPERATOR: "operator"; +} + +type PowerConstant = + | PWR_GENERATE_OPS + | PWR_OPERATE_SPAWN + | PWR_OPERATE_TOWER + | PWR_OPERATE_STORAGE + | PWR_OPERATE_LAB + | PWR_OPERATE_EXTENSION + | PWR_OPERATE_OBSERVER + | PWR_OPERATE_TERMINAL + | PWR_OPERATE_SPAWN + | PWR_OPERATE_TOWER + | PWR_DISRUPT_SPAWN + | PWR_DISRUPT_TOWER + | PWR_DISRUPT_SOURCE + | PWR_SHIELD + | PWR_REGEN_SOURCE + | PWR_REGEN_MINERAL + | PWR_DISRUPT_TERMINAL + | PWR_OPERATE_POWER + | PWR_FORTIFY + | PWR_OPERATE_CONTROLLER + | PWR_OPERATE_FACTORY; + +type PWR_GENERATE_OPS = 1; +type PWR_OPERATE_SPAWN = 2; +type PWR_OPERATE_TOWER = 3; +type PWR_OPERATE_STORAGE = 4; +type PWR_OPERATE_LAB = 5; +type PWR_OPERATE_EXTENSION = 6; +type PWR_OPERATE_OBSERVER = 7; +type PWR_OPERATE_TERMINAL = 8; +type PWR_DISRUPT_SPAWN = 9; +type PWR_DISRUPT_TOWER = 10; +type PWR_DISRUPT_SOURCE = 11; +type PWR_SHIELD = 12; +type PWR_REGEN_SOURCE = 13; +type PWR_REGEN_MINERAL = 14; +type PWR_DISRUPT_TERMINAL = 15; +type PWR_OPERATE_POWER = 16; +type PWR_FORTIFY = 17; +type PWR_OPERATE_CONTROLLER = 18; +type PWR_OPERATE_FACTORY = 19; + +type EffectConstant = EFFECT_INVULNERABILITY | EFFECT_COLLAPSE_TIMER; + +type EFFECT_INVULNERABILITY = 1001; +type EFFECT_COLLAPSE_TIMER = 1002; +/** + * The options that can be accepted by `findRoute()` and friends. + */ +interface RouteOptions { + routeCallback: (roomName: string, fromRoomName: string) => any; +} + +interface RoomStatusPermanent { + status: "normal" | "closed"; + timestamp: null; +} + +interface RoomStatusTemporary { + status: "novice" | "respawn"; + timestamp: number; +} + +type RoomStatus = RoomStatusPermanent | RoomStatusTemporary; + +/** + * A global object representing world map. Use it to navigate between rooms. The object is accessible via Game.map property. + */ +interface GameMap { + /** + * List all exits available from the room with the given name. + * @param roomName The room name. + * @returns The exits information or null if the room not found. + */ + describeExits(roomName: string): ExitsInformation; + /** + * Find the exit direction from the given room en route to another room. + * @param fromRoom Start room name or room object. + * @param toRoom Finish room name or room object. + * @param opts (optional) An object with the pathfinding options. + * @returns The room direction constant, one of the following: + * FIND_EXIT_TOP, FIND_EXIT_RIGHT, FIND_EXIT_BOTTOM, FIND_EXIT_LEFT + * Or one of the following Result codes: + * ERR_NO_PATH, ERR_INVALID_ARGS + */ + findExit( + fromRoom: string | Room, + toRoom: string | Room, + opts?: RouteOptions, + ): ExitConstant | ERR_NO_PATH | ERR_INVALID_ARGS; + /** + * Find route from the given room to another room. + * @param fromRoom Start room name or room object. + * @param toRoom Finish room name or room object. + * @param opts (optional) An object with the pathfinding options. + * @returns the route array or ERR_NO_PATH code + */ + findRoute( + fromRoom: string | Room, + toRoom: string | Room, + opts?: RouteOptions, + ): + | Array<{ + exit: ExitConstant; + room: string; + }> + | ERR_NO_PATH; + /** + * Get the linear distance (in rooms) between two rooms. You can use this function to estimate the energy cost of + * sending resources through terminals, or using observers and nukes. + * @param roomName1 The name of the first room. + * @param roomName2 The name of the second room. + * @param continuous Whether to treat the world map continuous on borders. Set to true if you + * want to calculate the trade or terminal send cost. Default is false. + */ + getRoomLinearDistance(roomName1: string, roomName2: string, continuous?: boolean): number; + /** + * Get terrain type at the specified room position. This method works for any room in the world even if you have no access to it. + * @param x X position in the room. + * @param y Y position in the room. + * @param roomName The room name. + * @deprecated use `Game.map.getRoomTerrain` instead + */ + getTerrainAt(x: number, y: number, roomName: string): Terrain; + /** + * Get terrain type at the specified room position. This method works for any room in the world even if you have no access to it. + * @param pos The position object. + * @deprecated use `Game.map.getRoomTerrain` instead + */ + getTerrainAt(pos: RoomPosition): Terrain; + /** + * Get room terrain for the specified room. This method works for any room in the world even if you have no access to it. + * @param roomName String name of the room. + */ + getRoomTerrain(roomName: string): RoomTerrain; + /** + * Returns the world size as a number of rooms between world corners. For example, for a world with rooms from W50N50 to E50S50 this method will return 102. + */ + getWorldSize(): number; + + /** + * Check if the room is available to move into. + * @param roomName The room name. + * @returns A boolean value. + * @deprecated Use `Game.map.getRoomStatus` instead + */ + isRoomAvailable(roomName: string): boolean; + + /** + * Get the room status to determine if it's available, or in a reserved area. + * @param roomName The room name. + * @returns An object with the following properties {status: "normal" | "closed" | "novice" | "respawn", timestamp: number} + */ + getRoomStatus(roomName: string): RoomStatus; + + /** + * Map visuals provide a way to show various visual debug info on the game map. + * You can use the `Game.map.visual` object to draw simple shapes that are visible only to you. + * + * Map visuals are not stored in the database, their only purpose is to display something in your browser. + * All drawings will persist for one tick and will disappear if not updated. + * All `Game.map.visual` calls have no added CPU cost (their cost is natural and mostly related to simple JSON.serialize calls). + * However, there is a usage limit: you cannot post more than 1000 KB of serialized data. + * + * All draw coordinates are measured in global game coordinates (`RoomPosition`). + */ + visual: MapVisual; +} + +// No static is available + +interface MapVisual { + /** + * Draw a line. + * @param pos1 The start position object. + * @param pos2 The finish position object. + * @param style The optional style + * @returns The MapVisual object, for chaining. + */ + line(pos1: RoomPosition, pos2: RoomPosition, style?: MapLineStyle): MapVisual; + + /** + * Draw a circle. + * @param pos The position object of the center. + * @param style The optional style + * @returns The MapVisual object, for chaining. + */ + circle(pos: RoomPosition, style?: MapCircleStyle): MapVisual; + + /** + * Draw a rectangle. + * @param topLeftPos The position object of the top-left corner. + * @param width The width of the rectangle. + * @param height The height of the rectangle. + * @param style The optional style + * @returns The MapVisual object, for chaining. + */ + rect(topLeftPos: RoomPosition, width: number, height: number, style?: MapPolyStyle): MapVisual; + + /** + * Draw a polyline. + * @param points An array of points. Every item should be a `RoomPosition` object. + * @param style The optional style + * @returns The MapVisual object, for chaining. + */ + poly(points: RoomPosition[], style?: MapPolyStyle): MapVisual; + + /** + * Draw a text label. You can use any valid Unicode characters, including emoji. + * @param text The text message. + * @param pos The position object of the label baseline. + * @param style The optional style + * @returns The MapVisual object, for chaining + */ + text(text: string, pos: RoomPosition, style?: MapTextStyle): MapVisual; + + /** + * Remove all visuals from the map. + * @returns The MapVisual object, for chaining + */ + clear(): MapVisual; + + /** + * Get the stored size of all visuals added on the map in the current tick. It must not exceed 1024,000 (1000 KB). + * @returns The size of the visuals in bytes. + */ + getSize(): number; + + /** + * Returns a compact representation of all visuals added on the map in the current tick. + * @returns A string with visuals data. There's not much you can do with the string besides store them for later. + */ + export(): string; + + /** + * Add previously exported (with `Game.map.visual.export`) map visuals to the map visual data of the current tick. + * @param data The string returned from `Game.map.visual.export`. + * @returns The MapVisual object itself, so that you can chain calls. + */ + import(data: string): MapVisual; +} + +interface MapLineStyle { + /** + * Line width, default is 0.1. + */ + width?: number; + /** + * Line color in the following format: #ffffff (hex triplet). Default is #ffffff. + */ + color?: string; + /** + * Opacity value, default is 0.5. + */ + opacity?: number; + /** + * Either undefined (solid line), dashed, or dotted. Default is undefined. + */ + lineStyle?: "dashed" | "dotted" | "solid" | undefined; +} + +interface MapPolyStyle { + /** + * Fill color in the following format: #ffffff (hex triplet). Default is undefined (no fill). + */ + fill?: string | undefined; + /** + * Opacity value, default is 0.5. + */ + opacity?: number; + /** + * Stroke color in the following format: #ffffff (hex triplet). Default is #ffffff. + */ + stroke?: string; + /** + * Stroke line width, default is 0.5. + */ + strokeWidth?: number; + /** + * Either undefined (solid line), dashed, or dotted. Default is undefined. + */ + lineStyle?: "dashed" | "dotted" | "solid" | undefined; +} + +interface MapCircleStyle extends MapPolyStyle { + /** + * Circle radius, default is 10. + */ + radius?: number; +} + +interface MapTextStyle { + /** + * Font color in the following format: #ffffff (hex triplet). Default is #ffffff. + */ + color?: string; + /** + * The font family, default is sans-serif + */ + fontFamily?: string; + /** + * The font size in game coordinates, default is 10 + */ + fontSize?: number; + /** + * The font style ('normal', 'italic' or 'oblique') + */ + fontStyle?: string; + /** + * The font variant ('normal' or 'small-caps') + */ + fontVariant?: string; + /** + * Stroke color in the following format: #ffffff (hex triplet). Default is undefined (no stroke). + */ + stroke?: string | undefined; + /** + * Stroke width, default is 0.15. + */ + strokeWidth?: number; + /** + * Background color in the following format: #ffffff (hex triplet). Default is undefined (no background). When background is enabled, text vertical align is set to middle (default is baseline). + */ + backgroundColor?: string | undefined; + /** + * Background rectangle padding, default is 2. + */ + backgroundPadding?: number; + /** + * Text align, either center, left, or right. Default is center. + */ + align?: "center" | "left" | "right"; + /** + * Opacity value, default is 0.5. + */ + opacity?: number; +} +/** + * A global object representing the in-game market. You can use this object to track resource transactions to/from your + * terminals, and your buy/sell orders. The object is accessible via the singleton Game.market property. + */ +interface Market { + /** + * Your current credits balance. + */ + credits: number; + /** + * An array of the last 100 incoming transactions to your terminals + */ + incomingTransactions: Transaction[]; + /** + * An object with your active and inactive buy/sell orders on the market. + */ + orders: { [key: string]: Order }; + /** + * An array of the last 100 outgoing transactions from your terminals + */ + outgoingTransactions: Transaction[]; + /** + * Estimate the energy transaction cost of StructureTerminal.send and Market.deal methods. The formula: + * + * ``` + * Math.ceil( amount * (Math.log(0.1*linearDistanceBetweenRooms + 0.9) + 0.1) ) + * ``` + * + * @param amount Amount of resources to be sent. + * @param roomName1 The name of the first room. + * @param roomName2 The name of the second room. + * @returns The amount of energy required to perform the transaction. + */ + calcTransactionCost(amount: number, roomName1: string, roomName2: string): number; + /** + * Cancel a previously created order. The 5% fee is not returned. + * @param orderId The order ID as provided in Game.market.orders + * @returns Result Code: OK, ERR_INVALID_ARGS + */ + cancelOrder(orderId: string): ScreepsReturnCode; + /** + * Change the price of an existing order. If `newPrice` is greater than old price, you will be charged `(newPrice-oldPrice)*remainingAmount*0.05` credits. + * @param orderId The order ID as provided in Game.market.orders + * @param newPrice The new order price. + * @returns Result Code: OK, ERR_NOT_OWNER, ERR_NOT_ENOUGH_RESOURCES, ERR_INVALID_ARGS + */ + changeOrderPrice(orderId: string, newPrice: number): ScreepsReturnCode; + /** + * Create a market order in your terminal. You will be charged `price*amount*0.05` credits when the order is placed. + * + * The maximum orders count is 300 per player. You can create an order at any time with any amount, + * it will be automatically activated and deactivated depending on the resource/credits availability. + * + * An order expires in 30 days after its creation, and the remaining market fee is returned. + */ + createOrder(params: { + type: ORDER_BUY | ORDER_SELL; + resourceType: MarketResourceConstant; + price: number; + totalAmount: number; + roomName?: string; + }): ScreepsReturnCode; + /** + * Execute a trade deal from your Terminal to another player's Terminal using the specified buy/sell order. + * + * Your Terminal will be charged energy units of transfer cost regardless of the order resource type. + * You can use Game.market.calcTransactionCost method to estimate it. + * + * When multiple players try to execute the same deal, the one with the shortest distance takes precedence. + */ + deal(orderId: string, amount: number, targetRoomName?: string): ScreepsReturnCode; + /** + * Add more capacity to an existing order. It will affect `remainingAmount` and `totalAmount` properties. You will be charged `price*addAmount*0.05` credits. + * Extending the order doesn't update its expiration time. + * @param orderId The order ID as provided in Game.market.orders + * @param addAmount How much capacity to add. Cannot be a negative value. + * @returns One of the following codes: `OK`, `ERR_NOT_ENOUGH_RESOURCES`, `ERR_INVALID_ARGS` + */ + extendOrder(orderId: string, addAmount: number): ScreepsReturnCode; + /** + * Get other players' orders currently active on the market. + * @param filter (optional) An object or function that will filter the resulting list using the lodash.filter method. + * @returns An array of objects containing order information. + */ + getAllOrders(filter?: OrderFilter | ((o: Order) => boolean)): Order[]; + /** + * Get daily price history of the specified resource on the market for the last 14 days. + * @param resource One of the RESOURCE_* constants. If undefined, returns history data for all resources. Optional + * @returns An array of objects with resource info. + */ + getHistory(resource?: MarketResourceConstant): PriceHistory[]; + /** + * Retrieve info for specific market order. + * @param orderId The order ID. + * @returns An object with the order info. See `getAllOrders` for properties explanation. + */ + getOrderById(id: string): Order | null; +} + +// No static is available + +interface Transaction { + transactionId: string; + time: number; + sender?: { username: string }; + recipient?: { username: string }; + resourceType: MarketResourceConstant; + amount: number; + from: string; + to: string; + description: string; + order?: TransactionOrder; +} + +interface Order { + id: string; + created: number; + active?: boolean; + type: string; + resourceType: MarketResourceConstant; + roomName?: string; + amount: number; + remainingAmount: number; + totalAmount?: number; + price: number; +} + +interface TransactionOrder { + id: string; + type: string; + price: number; +} + +interface OrderFilter { + id?: string; + created?: number; + type?: string; + resourceType?: MarketResourceConstant; + roomName?: string; + amount?: number; + remainingAmount?: number; + price?: number; +} + +interface PriceHistory { + resourceType: MarketResourceConstant; + date: string; + transactions: number; + volume: number; + avgPrice: number; + stddevPrice: number; +} +interface Memory { + creeps: { [name: string]: CreepMemory }; + powerCreeps: { [name: string]: PowerCreepMemory }; + flags: { [name: string]: FlagMemory }; + rooms: { [name: string]: RoomMemory }; + spawns: { [name: string]: SpawnMemory }; +} + +interface CreepMemory {} +interface FlagMemory {} +interface PowerCreepMemory {} +interface RoomMemory {} +interface SpawnMemory {} + +declare const Memory: Memory; +/** + * A mineral deposit object. Can be harvested by creeps with a WORK body part using the extractor structure. + * @see http://docs.screeps.com/api/#Mineral + */ +interface Mineral extends RoomObject { + /** + * The prototype is stored in the Mineral.prototype global object. You can use it to extend game objects behaviour globally. + */ + readonly prototype: Mineral; + /** + * The density of this mineral deposit, one of the `DENSITY_*` constants. + */ + density: number; + /** + * The remaining amount of resources. + */ + mineralAmount: number; + /** + * The resource type, one of the `RESOURCE_*` constants. + */ + mineralType: T; + /** + * A unique object identifier. You can use `Game.getObjectById` method to retrieve an object instance by its `id`. + */ + id: Id; + /** + * The remaining time after which the deposit will be refilled if is recharging, otherwise undefined. + */ + ticksToRegeneration?: number; +} + +interface MineralConstructor extends _Constructor, _ConstructorById {} + +declare const Mineral: MineralConstructor; +/** + * A nuke landing position. This object cannot be removed or modified. You can find incoming nukes in the room using the FIND_NUKES constant. + */ +interface Nuke extends RoomObject { + readonly prototype: Nuke; + + /** + * A unique object identifier. You can use Game.getObjectById method to retrieve an object instance by its id. + */ + id: Id; + /** + * The name of the room where this nuke has been launched from. + */ + launchRoomName: string; + /** + * The remaining landing time. + */ + timeToLand: number; +} + +interface NukeConstructor extends _Constructor, _ConstructorById {} + +declare const Nuke: NukeConstructor; +/** + * Contains powerful methods for pathfinding in the game world. Support exists for custom navigation costs and paths which span multiple rooms. + * Additionally PathFinder can search for paths through rooms you can't see, although you won't be able to detect any dynamic obstacles like creeps or buildings. + */ +interface PathFinder { + /** + * Container for custom navigation cost data. + */ + CostMatrix: CostMatrix; + + /** + * Find an optimal path between origin and goal. + * + * @param origin The start position. + * @param goal goal A RoomPosition, an object containing a RoomPosition and range or an array of either. + * @param opts An object containing additional pathfinding flags. + */ + search( + origin: RoomPosition, + goal: + | RoomPosition + | { pos: RoomPosition; range: number } + | Array, + opts?: PathFinderOpts, + ): PathFinderPath; + /** + * Specify whether to use this new experimental pathfinder in game objects methods. + * This method should be invoked every tick. It affects the following methods behavior: + * * `Room.findPath` + * * `RoomPosition.findPathTo` + * * `RoomPosition.findClosestByPath` + * * `Creep.moveTo` + * + * @deprecated This method is deprecated and will be removed soon. + * @param isEnabled Whether to activate the new pathfinder or deactivate. + */ + use(isEnabled: boolean): undefined; +} + +/** + * An object containing: + * path - An array of RoomPosition objects. + * ops - Total number of operations performed before this path was calculated. + * cost - The total cost of the path as derived from `plainCost`, `swampCost` and any given CostMatrix instances. + * incomplete - If the pathfinder fails to find a complete path, this will be true. + * Note that `path` will still be populated with a partial path which represents the closest path it could find given the search parameters. + */ +interface PathFinderPath { + /** + * An array of RoomPosition objects. + */ + path: RoomPosition[]; + /** + * Total number of operations performed before this path was calculated. + */ + ops: number; + /** + * The total cost of the path as derived from `plainCost`, `swampCost` and any given CostMatrix instances. + */ + cost: number; + /** + * If the pathfinder fails to find a complete path, this will be true. + * + * Note that `path` will still be populated with a partial path which represents the closest path it could find given the search parameters. + */ + incomplete: boolean; +} + +/** + * An object containing additional pathfinding flags. + */ +interface PathFinderOpts { + /** + * Cost for walking on plain positions. The default is 1. + */ + plainCost?: number; + /** + * Cost for walking on swamp positions. The default is 5. + */ + swampCost?: number; + /** + * Instead of searching for a path to the goals this will search for a path away from the goals. + * The cheapest path that is out of range of every goal will be returned. The default is false. + */ + flee?: boolean; + /** + * The maximum allowed pathfinding operations. You can limit CPU time used for the search based on ratio 1 op ~ 0.001 CPU. The default value is 2000. + */ + maxOps?: number; + /** + * The maximum allowed rooms to search. The default (and maximum) is 16. + */ + maxRooms?: number; + /** + * The maximum allowed cost of the path returned. If at any point the pathfinder detects that it is impossible to find + * a path with a cost less than or equal to maxCost it will immediately halt the search. The default is Infinity. + */ + maxCost?: number; + /** + * Weight to apply to the heuristic in the A* formula F = G + weight * H. Use this option only if you understand + * the underlying A* algorithm mechanics! The default value is 1. + */ + heuristicWeight?: number; + + /** + * Request from the pathfinder to generate a CostMatrix for a certain room. The callback accepts one argument, roomName. + * This callback will only be called once per room per search. If you are running multiple pathfinding operations in a + * single room and in a single tick you may consider caching your CostMatrix to speed up your code. Please read the + * CostMatrix documentation below for more information on CostMatrix. + * + * @param roomName The name of the room the pathfinder needs a cost matrix for. + */ + roomCallback?(roomName: string): boolean | CostMatrix; +} + +/** + * Container for custom navigation cost data. + */ +interface CostMatrix { + /** + * Creates a new CostMatrix containing 0's for all positions. + */ + new(): CostMatrix; + /** + * Set the cost of a position in this CostMatrix. + * @param x X position in the room. + * @param y Y position in the room. + * @param cost Cost of this position. Must be a whole number. A cost of 0 will use the terrain cost for that tile. A cost greater than or equal to 255 will be treated as unwalkable. + */ + set(x: number, y: number, cost: number): undefined; + /** + * Get the cost of a position in this CostMatrix. + * @param x X position in the room. + * @param y Y position in the room. + */ + get(x: number, y: number): number; + /** + * Copy this CostMatrix into a new CostMatrix with the same data. + */ + clone(): CostMatrix; + /** + * Returns a compact representation of this CostMatrix which can be stored via JSON.stringify. + */ + serialize(): number[]; + /** + * Static method which deserializes a new CostMatrix using the return value of serialize. + * @param val Whatever serialize returned + */ + deserialize(val: number[]): CostMatrix; +} + +declare const PathFinder: PathFinder; +/** + * Power Creeps are immortal "heroes" that are tied to your account and can be respawned in any PowerSpawn after death. + * You can upgrade their abilities ("powers") up to your account Global Power Level (see `Game.gpl`). + */ +interface PowerCreep extends RoomObject { + /** + * An object with the creep's cargo contents. + * @deprecated An alias for Creep.store. + */ + carry: StoreDefinition; + /** + * The total amount of resources the creep can carry. + * @deprecated An alias for Creep.store.getCapacity(). + */ + carryCapacity: number; + /** + * The power creep's class, one of the `POWER_CLASS` constants. + */ + className: PowerClassConstant; + /** + * A timestamp when this creeep is marked to be permanently deleted from the account, or undefined otherwise. + */ + deleteTime: number | undefined; + /** + * The current amount of hit points of the creep. + */ + hits: number; + /** + * The maximum amount of hit points of the creep. + */ + hitsMax: number; + /** + * A unique identifier. You can use `Game.getObjectById` method to retrieve an object instance by its id. + */ + id: Id; + /** + * The power creep's level. + */ + level: number; + /** + * A shorthand to `Memory.powerCreeps[creep.name]`. You can use it for quick access to the creep's specific memory data object. + */ + memory: PowerCreepMemory; + /** + * Whether it is your creep or foe. + */ + my: boolean; + /** + * Power creep name. You can choose the name while creating a new power creep, and `rename` it while unspawned. This name is a hash key to access the creep via the `Game.powerCreeps` object. + */ + name: string; + /** + * An object with the creep's owner information. + */ + owner: Owner; + /** + * A Store object that contains cargo of this creep. + */ + store: StoreDefinition; + /** + * An object with the creep's available powers. + */ + powers: PowerCreepPowers; + /** + * The text message that the creep was saying at the last tick. + */ + saying: string; + /** + * The name of the shard where the power creeps is spawned, or undefined. + */ + shard: string | undefined; + /** + * The timestamp when spawning or deleting this creep will become available. Undefined if the power creep is spawned in the world. + * Note: This is a timestamp, not ticks as powerCreeps are not shard dependent. + */ + spawnCooldownTime: number | undefined; + /** + * The remaining amount of game ticks after which the creep will die and become unspawned. Undefined if the creep is not spawned in the world. + */ + ticksToLive: number | undefined; + /** + * @param methodName Cancel the order given during the current game tick. + */ + cancelOrder(methodName: string): OK | ERR_NOT_OWNER | ERR_BUSY | ERR_NOT_FOUND; + /** + * Delete the power creep permanently from your account. + * It should NOT be spawned in the world. The creep is not deleted immediately, but a 24-hour delete time is started (see `deleteTime`). + * You can cancel deletion by calling `delete(true)`. + */ + delete(cancel?: boolean): OK | ERR_NOT_OWNER | ERR_BUSY; + /** + * Drop this resource on the ground. + * @param resourceType One of the RESOURCE_* constants. + * @param amount The amount of resource units to be dropped. If omitted, all the available carried amount is used. + */ + drop(resourceType: ResourceConstant, amount?: number): OK | ERR_NOT_OWNER | ERR_BUSY | ERR_NOT_ENOUGH_RESOURCES; + /** + * Enable power usage in this room. The room controller should be at adjacent tile. + * @param controller The room controller + */ + enableRoom(controller: StructureController): OK | ERR_NOT_OWNER | ERR_INVALID_TARGET | ERR_NOT_IN_RANGE; + /** + * Move the creep one square in the specified direction or towards a creep that is pulling it. + * + * Requires the MOVE body part if not being pulled. + * @param direction The direction to move in (`TOP`, `TOP_LEFT`...) + */ + move(direction: DirectionConstant): CreepMoveReturnCode; + move(target: Creep): OK | ERR_NOT_OWNER | ERR_BUSY | ERR_NOT_IN_RANGE | ERR_INVALID_ARGS; + /** + * Move the creep using the specified predefined path. Needs the MOVE body part. + * @param path A path value as returned from Room.findPath or RoomPosition.findPathTo methods. Both array form and serialized string form are accepted. + */ + moveByPath(path: PathStep[] | RoomPosition[] | string): CreepMoveReturnCode | ERR_NOT_FOUND | ERR_INVALID_ARGS; + /** + * Find the optimal path to the target within the same room and move to it. + * A shorthand to consequent calls of pos.findPathTo() and move() methods. + * If the target is in another room, then the corresponding exit will be used as a target. + * + * Needs the MOVE body part. + * @param x X position of the target in the room. + * @param y Y position of the target in the room. + * @param opts An object containing pathfinding options flags (see Room.findPath for more info) or one of the following: reusePath, serializeMemory, noPathFinding + */ + moveTo(x: number, y: number, opts?: MoveToOpts): CreepMoveReturnCode | ERR_NO_PATH | ERR_INVALID_TARGET; + /** + * Find the optimal path to the target within the same room and move to it. + * A shorthand to consequent calls of pos.findPathTo() and move() methods. + * If the target is in another room, then the corresponding exit will be used as a target. + * + * Needs the MOVE body part. + * @param target Can be a RoomPosition object or any object containing RoomPosition. + * @param opts An object containing pathfinding options flags (see Room.findPath for more info) or one of the following: reusePath, serializeMemory, noPathFinding + */ + moveTo( + target: RoomPosition | { pos: RoomPosition }, + opts?: MoveToOpts, + ): CreepMoveReturnCode | ERR_NO_PATH | ERR_INVALID_TARGET | ERR_NOT_FOUND; + /** + * Toggle auto notification when the creep is under attack. The notification will be sent to your account email. Turned on by default. + * @param enabled Whether to enable notification or disable. + */ + notifyWhenAttacked(enabled: boolean): OK | ERR_NOT_OWNER | ERR_BUSY | ERR_INVALID_ARGS; + /** + * Pick up an item (a dropped piece of energy). Needs the CARRY body part. The target has to be at adjacent square to the creep or at the same square. + * @param target The target object to be picked up. + */ + pickup(target: Resource): CreepActionReturnCode | ERR_FULL; + /** + * Rename the power creep. It must not be spawned in the world. + */ + rename(name: string): OK | ERR_NOT_OWNER | ERR_NAME_EXISTS | ERR_BUSY; + /** + * Instantly restore time to live to the maximum using a Power Spawn or a Power Bank nearby. It has to be at adjacent tile. + * @param target The target structure + */ + renew( + target: StructurePowerBank | StructurePowerSpawn, + ): OK | ERR_NOT_OWNER | ERR_BUSY | ERR_INVALID_TARGET | ERR_NOT_IN_RANGE; + /** + * Display a visual speech balloon above the creep with the specified message. + * + * The message will disappear after a few seconds. Useful for debugging purposes. + * + * Only the creep's owner can see the speech message unless toPublic is true. + * @param message The message to be displayed. Maximum length is 10 characters. + * @param set to 'true' to allow other players to see this message. Default is 'false'. + */ + say(message: string, toPublic?: boolean): OK | ERR_NOT_OWNER | ERR_BUSY; + /** + * Spawn this power creep in the specified Power Spawn. + * @param powerSpawn Your Power Spawn structure + */ + spawn( + powerSpawn: StructurePowerSpawn, + ): OK | ERR_NOT_OWNER | ERR_BUSY | ERR_INVALID_TARGET | ERR_TIRED | ERR_RCL_NOT_ENOUGH; + /** + * Kill the power creep immediately. It will not be destroyed permanently, but will become unspawned, so that you can `spawn` it again. + */ + suicide(): OK | ERR_NOT_OWNER | ERR_BUSY; + /** + * Transfer resource from the creep to another object. The target has to be at adjacent square to the creep. + * @param target The target object. + * @param resourceType One of the RESOURCE_* constants + * @param amount The amount of resources to be transferred. If omitted, all the available carried amount is used. + */ + transfer(target: AnyCreep | Structure, resourceType: ResourceConstant, amount?: number): ScreepsReturnCode; + /** + * Upgrade the creep, adding a new power ability to it or increasing the level of the existing power. You need one free Power Level in your account to perform this action. + */ + upgrade(power: PowerConstant): OK | ERR_NOT_OWNER | ERR_NOT_ENOUGH_RESOURCES | ERR_FULL | ERR_INVALID_ARGS; + /** + * Apply one of the creep's powers on the specified target. + */ + usePower(power: PowerConstant, target?: RoomObject): ScreepsReturnCode; + /** + * Withdraw resources from a structure, tombstone, or ruin. + * + * The target has to be at adjacent square to the creep. + * + * Multiple creeps can withdraw from the same structure in the same tick. + * + * Your creeps can withdraw resources from hostile structures as well, in case if there is no hostile rampart on top of it. + * @param target The target object. + * @param resourceType The target One of the RESOURCE_* constants.. + * @param amount The amount of resources to be transferred. If omitted, all the available amount is used. + */ + withdraw(target: Structure | Tombstone | Ruin, resourceType: ResourceConstant, amount?: number): ScreepsReturnCode; +} + +interface PowerCreepConstructor extends _Constructor, _ConstructorById { + /** + * A static method to create new Power Creep instance in your account. It will be added in an unspawned state, + * use spawn method to spawn it in the world. + * + * You need one free Power Level in your account to perform this action. + * + * @param name The name of the power creep. + * @param className The class of the new power creep, one of the `POWER_CLASS` constants + */ + create(name: string, className: PowerClassConstant): OK | ERR_NAME_EXISTS | ERR_NOT_ENOUGH_RESOURCES; +} + +declare const PowerCreep: PowerCreepConstructor; + +/** + * Available powers, an object with power ID as a key, and the following properties + */ +interface PowerCreepPowers { + [powerID: number]: { + /** + * Current level of the power + */ + level: number; + /** + * Cooldown ticks remaining, or undefined if the power creep is not spawned in the world. + */ + cooldown: number | undefined; + }; +} +/** + * RawMemory object allows to implement your own memory stringifier instead of built-in serializer based on JSON.stringify. + */ +interface RawMemory { + /** + * An object with asynchronous memory segments available on this tick. Each object key is the segment ID with data in string values. + * Use RawMemory.setActiveSegments to fetch segments on the next tick. Segments data is saved automatically in the end of the tick. + */ + segments: { [segmentId: number]: string }; + + /** + * An object with a memory segment of another player available on this tick. Use `setActiveForeignSegment` to fetch segments on the next tick. + */ + foreignSegment: { + username: string; + id: number; + data: string; + }; + + /** + * @deprecated Use `InterShardMemory` instead. + * + * A string with a shared memory segment available on every world shard. Maximum string length is 100 KB. + * + * **Warning:** this segment is not safe for concurrent usage! All shards have shared access to the same instance of + * data. When the segment contents is changed by two shards simultaneously, you may lose some data, since the segment + * string value is written all at once atomically. You must implement your own system to determine when each shard is + * allowed to rewrite the inter-shard memory, e.g. based on mutual exclusions. + */ + interShardSegment: string; + + /** + * Get a raw string representation of the Memory object. + */ + get(): string; + /** + * Set new memory value. + * @param value New memory value as a string. + */ + set(value: string): undefined; + /** + * Request memory segments using the list of their IDs. Memory segments will become available on the next tick in RawMemory.segments object. + * @param ids An array of segment IDs. Each ID should be a number from 0 to 99. Maximum 10 segments can be active at the same time. Subsequent calls of setActiveSegments override previous ones. + */ + setActiveSegments(ids: number[]): undefined; + /** + * Request a memory segment of another user. + * + * The segment should be marked by its owner as public using `setPublicSegments`. + * + * The segment data will become available on the next tick in `foreignSegment` object. + * + * You can only have access to one foreign segment at the same time. + * + * @param username The name of another user. Pass `null` to clear the foreign segment. + * @param id The ID of the requested segment from 0 to 99. If undefined, the user's default public segment is requested as set by `setDefaultPublicSegment`. + */ + setActiveForeignSegment(username: string | null, id?: number): undefined; + /** + * Set the specified segment as your default public segment. It will be returned if no id parameter is passed to `setActiveForeignSegment` by another user. + * + * @param id The ID of the requested segment from 0 to 99. Pass `null` to clear the foreign segment. + */ + setDefaultPublicSegment(id: number | null): undefined; + /** + * Set specified segments as public. Other users will be able to request access to them using `setActiveForeignSegment`. + * + * @param ids An array of segment IDs. Each ID should be a number from 0 to 99. Subsequent calls of `setPublicSegments` override previous ones. + */ + setPublicSegments(ids: number[]): undefined; +} + +declare const RawMemory: RawMemory; +/** + * A dropped piece of resource. It will decay after a while if not picked up. Dropped resource pile decays for ceil(amount/1000) units per tick. + */ + +interface Resource extends RoomObject { + readonly prototype: Resource; + + /** + * The amount of resource units containing. + */ + amount: number; + /** + * A unique object identifier. You can use `Game.getObjectById` method to retrieve an object instance by its `id`. + */ + id: Id; + /** + * One of the `RESOURCE_*` constants. + */ + resourceType: T; +} + +interface ResourceConstructor extends _Constructor, _ConstructorById {} + +declare const Resource: ResourceConstructor; +/** + * Any object with a position in a room. Almost all game objects prototypes + * are derived from RoomObject. + */ + +interface RoomObject { + readonly prototype: RoomObject; + /** + * Applied effects, an array of objects with the following properties: + */ + effects: RoomObjectEffect[]; + /** + * An object representing the position of this object in the room. + */ + pos: RoomPosition; + /** + * The link to the Room object. May be undefined in case if an object is a + * flag or a construction site and is placed in a room that is not visible + * to you. + */ + room: Room | undefined; +} + +interface RoomObjectConstructor extends _Constructor { + new(x: number, y: number, roomName: string): RoomObject; + (x: number, y: number, roomName: string): RoomObject; +} + +declare const RoomObject: RoomObjectConstructor; + +/** + * Discriminated union of possible effects on `effect` + */ +type RoomObjectEffect = NaturalEffect | PowerEffect; + +/** + * Natural effect applied to room object + */ +interface NaturalEffect { + /** + * Effect ID of the applied effect. `EFFECT_*` constant. + */ + effect: EffectConstant; + /** + * How many ticks will the effect last. + */ + ticksRemaining: number; +} + +/** + * Effect applied to room object as result of a `PowerCreep.usePower`. + */ +interface PowerEffect { + /** + * Power level of the applied effect. + */ + level: number; + /** + * Effect ID of the applied effect. `PWR_*` constant. + */ + effect: PowerConstant; + /** + * @deprecated Power ID of the applied effect. `PWR_*` constant. No longer documented, will be removed. + */ + power: PowerConstant; + /** + * How many ticks will the effect last. + */ + ticksRemaining: number; +} +/** + * An object representing the specified position in the room. + * + * Every object in the room contains RoomPosition as the pos property. + * + * The position object of a custom location can be obtained using the Room.getPositionAt() method or using the constructor. + */ +interface RoomPosition { + readonly prototype: RoomPosition; + + /** + * The name of the room. + */ + roomName: string; + /** + * X position in the room. + */ + x: number; + /** + * Y position in the room. + */ + y: number; + /** + * Create new ConstructionSite at the specified location. + * @param structureType One of the following constants: + * * STRUCTURE_EXTENSION + * * STRUCTURE_RAMPART + * * STRUCTURE_ROAD + * * STRUCTURE_SPAWN + * * STRUCTURE_WALL + * * STRUCTURE_LINK + */ + createConstructionSite(structureType: BuildableStructureConstant): ScreepsReturnCode; + /** + * Create new ConstructionSite at the specified location. + * @param structureType One of the following constants: + * * STRUCTURE_EXTENSION + * * STRUCTURE_RAMPART + * * STRUCTURE_ROAD + * * STRUCTURE_SPAWN + * * STRUCTURE_WALL + * * STRUCTURE_LINK + * @param name The name of the structure, for structures that support it (currently only spawns). + */ + createConstructionSite(structureType: STRUCTURE_SPAWN, name?: string): ScreepsReturnCode; + /** + * Create new Flag at the specified location. + * @param name The name of a new flag. + * It should be unique, i.e. the Game.flags object should not contain another flag with the same name (hash key). + * If not defined, a random name will be generated. + * @param color The color of a new flag. Should be one of the COLOR_* constants + * @param secondaryColor The secondary color of a new flag. Should be one of the COLOR_* constants. The default value is equal to color. + * @returns The name of the flag if created, or one of the following error codes: ERR_NAME_EXISTS, ERR_INVALID_ARGS + */ + createFlag( + name?: string, + color?: ColorConstant, + secondaryColor?: ColorConstant, + ): ERR_NAME_EXISTS | ERR_INVALID_ARGS | string; + /** + * Find the object with the shortest path from the given position. Uses A* search algorithm and Dijkstra's algorithm. + * @param type Any of the FIND_* constants. + * @param opts An object containing pathfinding options (see Room.findPath), or one of the following: filter, algorithm + * @returns An instance of a RoomObject. + */ + findClosestByPath( + type: K, + opts?: FindPathOpts & Partial> & { algorithm?: FindClosestByPathAlgorithm }, + ): S | null; + findClosestByPath( + type: FIND_STRUCTURES | FIND_MY_STRUCTURES | FIND_HOSTILE_STRUCTURES, + opts?: FindPathOpts & Partial> & { algorithm?: FindClosestByPathAlgorithm }, + ): S | null; + /** + * Find the object with the shortest path from the given position. Uses A* search algorithm and Dijkstra's algorithm. + * @param objects An array of RoomPositions or objects with a RoomPosition + * @param opts An object containing pathfinding options (see Room.findPath), or one of the following: filter, algorithm + * @returns One of the supplied objects + */ + findClosestByPath( + objects: T[], + opts?: FindPathOpts & { + filter?: ((object: T) => boolean) | FilterObject | string; + algorithm?: FindClosestByPathAlgorithm; + }, + ): T | null; + /** + * Find the object with the shortest linear distance from the given position. + * @param type Any of the FIND_* constants. + * @param opts An object containing pathfinding options (see Room.findPath), or one of the following: filter, algorithm + */ + findClosestByRange(type: K, opts?: FilterOptions): S | null; + findClosestByRange( + type: FIND_STRUCTURES | FIND_MY_STRUCTURES | FIND_HOSTILE_STRUCTURES, + opts?: FilterOptions, + ): S | null; + /** + * Find the object with the shortest linear distance from the given position. + * @param objects An array of RoomPositions or objects with a RoomPosition. + * @param opts An object containing pathfinding options (see Room.findPath), or one of the following: filter, algorithm + */ + findClosestByRange( + objects: T[], + opts?: { filter: any | string }, + ): T | null; + /** + * Find all objects in the specified linear range. + * @param type Any of the FIND_* constants. + * @param range The range distance. + * @param opts See Room.find. + */ + findInRange( + type: K, + range: number, + opts?: FilterOptions, + ): S[]; + findInRange( + type: FIND_STRUCTURES | FIND_MY_STRUCTURES | FIND_HOSTILE_STRUCTURES, + range: number, + opts?: FilterOptions, + ): S[]; + /** + * Find all objects in the specified linear range. + * @param objects An array of room's objects or RoomPosition objects that the search should be executed against. + * @param range The range distance. + * @param opts See Room.find. + */ + findInRange( + objects: T[], + range: number, + opts?: { filter?: any | string }, + ): T[]; + /** + * Find an optimal path to the specified position using A* search algorithm. + * + * This method is a shorthand for Room.findPath. If the target is in another room, then the corresponding exit will be used as a target. + * @param x X position in the room. + * @param y Y position in the room. + * @param opts An object containing pathfinding options flags (see Room.findPath for more details). + */ + findPathTo(x: number, y: number, opts?: FindPathOpts): PathStep[]; + /** + * Find an optimal path to the specified position using A* search algorithm. + * + * This method is a shorthand for Room.findPath. If the target is in another room, then the corresponding exit will be used as a target. + * @param target Can be a RoomPosition object or any object containing RoomPosition. + * @param opts An object containing pathfinding options flags (see Room.findPath for more details). + */ + findPathTo(target: RoomPosition | _HasRoomPosition, opts?: FindPathOpts): PathStep[]; + /** + * Get linear direction to the specified position. + * @param x X position in the room. + * @param y Y position in the room. + */ + getDirectionTo(x: number, y: number): DirectionConstant; + /** + * Get linear direction to the specified position. + * @param target Can be a RoomPosition object or any object containing RoomPosition. + */ + getDirectionTo(target: RoomPosition | _HasRoomPosition): DirectionConstant; + /** + * Get linear range to the specified position. + * @param x X position in the room. + * @param y Y position in the room. + */ + getRangeTo(x: number, y: number): number; + /** + * Get linear range to the specified position. + * @param target Can be a RoomPosition object or any object containing RoomPosition. + */ + getRangeTo(target: RoomPosition | { pos: RoomPosition }): number; + /** + * Check whether this position is in the given range of another position. + * @param x X position in the room. + * @param y Y position in the room. + * @param range The range distance. + */ + inRangeTo(x: number, y: number, range: number): boolean; + /** + * Check whether this position is in the given range of another position. + * @param toPos The target position. + * @param range The range distance. + */ + inRangeTo(target: RoomPosition | { pos: RoomPosition }, range: number): boolean; + /** + * Check whether this position is the same as the specified position. + * @param x X position in the room. + * @param y Y position in the room. + */ + isEqualTo(x: number, y: number): boolean; + /** + * Check whether this position is the same as the specified position. + * @param target Can be a RoomPosition object or any object containing RoomPosition. + */ + isEqualTo(target: RoomPosition | { pos: RoomPosition }): boolean; + /** + * Check whether this position is on the adjacent square to the specified position. The same as inRangeTo(target, 1). + * @param x X position in the room. + * @param y Y position in the room. + */ + isNearTo(x: number, y: number): boolean; + /** + * Check whether this position is on the adjacent square to the specified position. The same as inRangeTo(target, 1). + * @param target Can be a RoomPosition object or any object containing RoomPosition. + */ + isNearTo(target: RoomPosition | { pos: RoomPosition }): boolean; + /** + * Get the list of objects at the specified room position. + */ + look(): LookAtResult[]; + /** + * Get an object with the given type at the specified room position. + * @param type One of the following string constants: constructionSite, creep, exit, flag, resource, source, structure, terrain + */ + lookFor(type: T): Array; +} + +interface RoomPositionConstructor extends _Constructor { + /** + * You can create new RoomPosition object using its constructor. + * @param x X position in the room. + * @param y Y position in the room. + * @param roomName The room name. + */ + new(x: number, y: number, roomName: string): RoomPosition; + (x: number, y: number, roomName: string): RoomPosition; +} + +declare const RoomPosition: RoomPositionConstructor; +/** + * Result of Object that contains all terrain for a room + */ +interface RoomTerrain { + /** + * Get terrain type at the specified room position. This method works for any room in the world even if you have no access to it. + * @param x X position in the room. + * @param y Y position in the room. + * @return number Number of terrain mask like: TERRAIN_MASK_SWAMP | TERRAIN_MASK_WALL + */ + get(x: number, y: number): 0 | TERRAIN_MASK_WALL | TERRAIN_MASK_SWAMP; +} + +interface RoomTerrainConstructor extends _Constructor { + /** + * Get room terrain for the specified room. This method works for any room in the world even if you have no access to it. + * @param roomName String name of the room. + */ + new(roomName: string): RoomTerrain; +} +declare class RoomVisual { + /** + * You can create new RoomVisual object using its constructor. + * @param roomName The room name. If undefined, visuals will be posted to all rooms simultaneously. + */ + constructor(roomName?: string); + + /** + * The name of the room. + */ + roomName: string; + + /** + * Draw a line. + * @param x1 The start X coordinate. + * @param y1 The start Y coordinate. + * @param x2 The finish X coordinate. + * @param y2 The finish Y coordinate. + * @param style The (optional) style. + * @returns The RoomVisual object, for chaining. + */ + line(x1: number, y1: number, x2: number, y2: number, style?: LineStyle): RoomVisual; + + /** + * Draw a line. + * @param pos1 The start position object. + * @param pos2 The finish position object. + * @param style The (optional) style. + * @returns The RoomVisual object, for chaining. + */ + line(pos1: RoomPosition, pos2: RoomPosition, style?: LineStyle): RoomVisual; + + /** + * Draw a circle. + * @param x The X coordinate of the center. + * @param y The Y coordinate of the center. + * @param style The (optional) style. + * @returns The RoomVisual object, for chaining. + */ + circle(x: number, y: number, style?: CircleStyle): RoomVisual; + + /** + * Draw a circle. + * @param pos The position object of the center. + * @param style An object describing the style. + * @returns The RoomVisual object itself, so that you can chain calls. + */ + circle(pos: RoomPosition, style?: CircleStyle): RoomVisual; + + /** + * Draw a rectangle. + * @param x The X coordinate of the top-left corner. + * @param y The Y coordinate of the top-left corner. + * @param w The width of the rectangle. + * @param h The height of the rectangle. + * @param style The (optional) style. + * @returns The RoomVisual object, for chaining. + */ + rect(x: number, y: number, w: number, h: number, style?: PolyStyle): RoomVisual; + + /** + * Draw a line. + * @param topLeftPos The position object of the top-left corner. + * @param width The width of the rectangle. + * @param height The height of the rectangle. + * @param style An object describing the style. + * @returns The RoomVisual object itself, so that you can chain calls. + */ + rect(topLeftPos: RoomPosition, width: number, height: number, style?: PolyStyle): RoomVisual; + /** + * Draw a polygon. + * @param points An array of points. Every array item should be either an array with 2 numbers (i.e. [10,15]), or a RoomPosition object. + * @param style The (optional) style. + * @returns The RoomVisual object, for chaining. + */ + poly(points: Array<[number, number] | RoomPosition>, style?: PolyStyle): RoomVisual; + + /** + * Draw a text label. + * @param text The text message. + * @param x The X coordinate of the label baseline center point. + * @param y The Y coordinate of the label baseline center point. + * @param style The (optional) text style. + * @returns The RoomVisual object, for chaining. + */ + text(text: string, x: number, y: number, style?: TextStyle): RoomVisual; + + /** + * Draw a text label. You can use any valid Unicode characters, including emoji. + * @param text The text message. + * @param pos The position object of the center. + * @param style An object describing the style. + * @returns The RoomVisual object itself, so that you can chain calls. + */ + text(text: string, pos: RoomPosition, style?: TextStyle): RoomVisual; + + /** + * Remove all visuals from the room. + * @returns The RoomVisual object, for chaining. + */ + clear(): RoomVisual; + + /** + * Get the stored size of all visuals added in the room in the current tick. + * It must not exceed 512,000 (500 KB). + * @returns The size of the visuals in bytes. + */ + getSize(): number; + + /** + * Returns a compact representation of all visuals added in the room in the current tick. + * @returns A string with visuals data. There's not much you can do with the string besides store them for later. + */ + export(): string; + + /** + * Add previously exported (with `RoomVisual.export`) room visuals to the room visual data of the current tick. + * @param data The string returned from `RoomVisual.export`. + * @returns The RoomVisual object itself, so that you can chain calls. + */ + import(data: string): RoomVisual; +} + +interface LineStyle { + /** + * Line width, default is 0.1. + */ + width?: number; + /** + * Line color in any web format, default is #ffffff(white). + */ + color?: string; + /** + * Opacity value, default is 0.5. + */ + opacity?: number; + /** + * Either undefined (solid line), dashed, or dotted.Default is undefined. + */ + lineStyle?: "dashed" | "dotted" | "solid" | undefined; +} + +interface PolyStyle { + /** + * Fill color in any web format, default is undefined (no fill). + */ + fill?: string | undefined; + /** + * Opacity value, default is 0.5. + */ + opacity?: number; + /** + * Stroke color in any web format, default is #ffffff (white). + */ + stroke?: string; + /** + * Stroke line width, default is 0.1. + */ + strokeWidth?: number; + /** + * Either undefined (solid line), dashed, or dotted. Default is undefined. + */ + lineStyle?: "dashed" | "dotted" | "solid" | undefined; +} + +interface CircleStyle extends PolyStyle { + /** + * Circle radius, default is 0.15. + */ + radius?: number; +} + +interface TextStyle { + /** + * Font color in any web format, default is #ffffff(white). + */ + color?: string; + /** + * Either a number or a string in one of the following forms: + * 0.7 - relative size in game coordinates + * 20px - absolute size in pixels + * 0.7 serif + * bold italic 1.5 Times New Roman + */ + font?: number | string; + /** + * Stroke color in any web format, default is undefined (no stroke). + */ + stroke?: string | undefined; + /** + * Stroke width, default is 0.15. + */ + strokeWidth?: number; + /** + * Background color in any web format, default is undefined (no background).When background is enabled, text vertical align is set to middle (default is baseline). + */ + backgroundColor?: string | undefined; + + /** + * Background rectangle padding, default is 0.3. + */ + backgroundPadding?: number; + align?: "center" | "left" | "right"; + /** + * Opacity value, default is 1.0. + */ + opacity?: number; +} +/** + * An object representing the room in which your units and structures are in. + * + * It can be used to look around, find paths, etc. + * + * Every object in the room contains its linked Room instance in the room property. + */ +interface Room { + readonly prototype: Room; + + /** + * The Controller structure of this room, if present, otherwise undefined. + */ + controller?: StructureController; + /** + * Total amount of energy available in all spawns and extensions in the room. + */ + energyAvailable: number; + /** + * Total amount of energyCapacity of all spawns and extensions in the room. + */ + energyCapacityAvailable: number; + /** + * Returns an array of events happened on the previous tick in this room. + */ + getEventLog(raw?: boolean): EventItem[]; + /** + * A shorthand to `Memory.rooms[room.name]`. You can use it for quick access the room’s specific memory data object. + */ + memory: RoomMemory; + /** + * One of the `MODE_*` constants. + */ + mode: string; + /** + * The name of the room. + */ + readonly name: string; + /** + * The Storage structure of this room, if present, otherwise undefined. + */ + storage?: StructureStorage; + /** + * The Terminal structure of this room, if present, otherwise undefined. + */ + terminal?: StructureTerminal; + /** + * A RoomVisual object for this room. You can use this object to draw simple shapes (lines, circles, text labels) in the room. + */ + visual: RoomVisual; + /** + * Create new ConstructionSite at the specified location. + * @param x The X position. + * @param y The Y position. + * @param structureType One of the following constants: STRUCTURE_EXTENSION, STRUCTURE_RAMPART, STRUCTURE_ROAD, STRUCTURE_SPAWN, STRUCTURE_WALL, STRUCTURE_LINK + * @returns Result Code: OK, ERR_INVALID_TARGET, ERR_INVALID_ARGS, ERR_RCL_NOT_ENOUGH + */ + createConstructionSite(x: number, y: number, structureType: BuildableStructureConstant): ScreepsReturnCode; + /** + * Create new ConstructionSite at the specified location. + * @param pos Can be a RoomPosition object or any object containing RoomPosition. + * @param structureType One of the following constants: STRUCTURE_EXTENSION, STRUCTURE_RAMPART, STRUCTURE_ROAD, STRUCTURE_SPAWN, STRUCTURE_WALL, STRUCTURE_LINK + * @returns Result Code: OK, ERR_INVALID_TARGET, ERR_INVALID_ARGS, ERR_RCL_NOT_ENOUGH + */ + createConstructionSite(pos: RoomPosition | _HasRoomPosition, structureType: StructureConstant): ScreepsReturnCode; + /** + * Create new ConstructionSite at the specified location. + * @param x The X position. + * @param y The Y position. + * @param structureType One of the following constants: STRUCTURE_EXTENSION, STRUCTURE_RAMPART, STRUCTURE_ROAD, STRUCTURE_SPAWN, STRUCTURE_WALL, STRUCTURE_LINK + * @param name The name of the structure, for structures that support it (currently only spawns). + * @returns Result Code: OK, ERR_INVALID_TARGET, ERR_INVALID_ARGS, ERR_RCL_NOT_ENOUGH + */ + createConstructionSite(x: number, y: number, structureType: STRUCTURE_SPAWN, name?: string): ScreepsReturnCode; + /** + * Create new ConstructionSite at the specified location. + * @param pos Can be a RoomPosition object or any object containing RoomPosition. + * @param structureType One of the following constants: STRUCTURE_EXTENSION, STRUCTURE_RAMPART, STRUCTURE_ROAD, STRUCTURE_SPAWN, STRUCTURE_WALL, STRUCTURE_LINK + * @param name The name of the structure, for structures that support it (currently only spawns). + * @returns Result Code: OK, ERR_INVALID_TARGET, ERR_INVALID_ARGS, ERR_RCL_NOT_ENOUGH + */ + createConstructionSite( + pos: RoomPosition | _HasRoomPosition, + structureType: STRUCTURE_SPAWN, + name?: string, + ): ScreepsReturnCode; + /** + * Create new Flag at the specified location. + * @param x The X position. + * @param y The Y position. + * @param name (optional) The name of a new flag. + * + * It should be unique, i.e. the Game.flags object should not contain another flag with the same name (hash key). + * + * If not defined, a random name will be generated. + * + * The maximum length is 60 characters. + * @param color The color of a new flag. Should be one of the COLOR_* constants. The default value is COLOR_WHITE. + * @param secondaryColor The secondary color of a new flag. Should be one of the COLOR_* constants. The default value is equal to color. + * @returns The name of a new flag, or one of the following error codes: ERR_NAME_EXISTS, ERR_INVALID_ARGS + */ + createFlag( + x: number, + y: number, + name?: string, + color?: ColorConstant, + secondaryColor?: ColorConstant, + ): ERR_NAME_EXISTS | ERR_INVALID_ARGS | string; + /** + * Create new Flag at the specified location. + * @param pos Can be a RoomPosition object or any object containing RoomPosition. + * @param name (optional) The name of a new flag. + * + * It should be unique, i.e. the Game.flags object should not contain another flag with the same name (hash key). + * + * If not defined, a random name will be generated. + * + * The maximum length is 60 characters. + * @param color The color of a new flag. Should be one of the COLOR_* constants. The default value is COLOR_WHITE. + * @param secondaryColor The secondary color of a new flag. Should be one of the COLOR_* constants. The default value is equal to color. + * @returns The name of a new flag, or one of the following error codes: ERR_NAME_EXISTS, ERR_INVALID_ARGS + */ + createFlag( + pos: RoomPosition | { pos: RoomPosition }, + name?: string, + color?: ColorConstant, + secondaryColor?: ColorConstant, + ): ERR_NAME_EXISTS | ERR_INVALID_ARGS | string; + /** + * Find all objects of the specified type in the room. + * @param type One of the following constants: + * * FIND_CREEPS + * * FIND_MY_CREEPS + * * FIND_HOSTILE_CREEPS + * * FIND_MY_SPAWNS + * * FIND_HOSTILE_SPAWNS + * * FIND_SOURCES + * * FIND_SOURCES_ACTIVE + * * FIND_DROPPED_RESOURCES + * * FIND_STRUCTURES + * * FIND_MY_STRUCTURES + * * FIND_HOSTILE_STRUCTURES + * * FIND_FLAGS + * * FIND_CONSTRUCTION_SITES + * * FIND_EXIT_TOP + * * FIND_EXIT_RIGHT + * * FIND_EXIT_BOTTOM + * * FIND_EXIT_LEFT + * * FIND_EXIT + * @param opts An object with additional options + * @returns An array with the objects found. + */ + find(type: K, opts?: FilterOptions): S[]; + find( + type: FIND_STRUCTURES | FIND_MY_STRUCTURES | FIND_HOSTILE_STRUCTURES, + opts?: FilterOptions, + ): S[]; + /** + * Find the exit direction en route to another room. + * @param room Another room name or room object. + * @returns The room direction constant, one of the following: FIND_EXIT_TOP, FIND_EXIT_RIGHT, FIND_EXIT_BOTTOM, FIND_EXIT_LEFT + * Or one of the following error codes: ERR_NO_PATH, ERR_INVALID_ARGS + */ + findExitTo(room: string | Room): ExitConstant | ERR_NO_PATH | ERR_INVALID_ARGS; + /** + * Find an optimal path inside the room between fromPos and toPos using A* search algorithm. + * @param fromPos The start position. + * @param toPos The end position. + * @param opts (optional) An object containing additonal pathfinding flags + * @returns An array with path steps + */ + findPath(fromPos: RoomPosition, toPos: RoomPosition, opts?: FindPathOpts): PathStep[]; + /** + * Creates a RoomPosition object at the specified location. + * @param x The X position. + * @param y The Y position. + * @returns A RoomPosition object or null if it cannot be obtained. + */ + getPositionAt(x: number, y: number): RoomPosition | null; + /** + * Get a Room.Terrain object which provides fast access to static terrain data. + * This method works for any room in the world even if you have no access to it. + */ + getTerrain(): RoomTerrain; + /** + * Get the list of objects at the specified room position. + * @param x The X position. + * @param y The Y position. + * @returns An array with objects at the specified position + */ + lookAt(x: number, y: number): LookAtResult[]; + /** + * Get the list of objects at the specified room position. + * @param target Can be a RoomPosition object or any object containing RoomPosition. + * @returns An array with objects at the specified position + */ + lookAt(target: RoomPosition | { pos: RoomPosition }): LookAtResult[]; + /** + * Get the list of objects at the specified room area. This method is more CPU efficient in comparison to multiple lookAt calls. + * @param top The top Y boundary of the area. + * @param left The left X boundary of the area. + * @param bottom The bottom Y boundary of the area. + * @param right The right X boundary of the area. + * @param asArray Set to true if you want to get the result as a plain array. + * @returns An object with all the objects in the specified area + */ + lookAtArea(top: number, left: number, bottom: number, right: number, asArray?: false): LookAtResultMatrix; + /** + * Get the list of objects at the specified room area. This method is more CPU efficient in comparison to multiple lookAt calls. + * @param top The top Y boundary of the area. + * @param left The left X boundary of the area. + * @param bottom The bottom Y boundary of the area. + * @param right The right X boundary of the area. + * @param asArray Set to true if you want to get the result as a plain array. + * @returns An object with all the objects in the specified area + */ + lookAtArea(top: number, left: number, bottom: number, right: number, asArray: true): LookAtResultWithPos[]; + /** + * Get the objects at the given position. + * @param type One of the LOOK_* constants. + * @param x The X position. + * @param y The Y position. + * @returns An array of Creep at the given position. + */ + lookForAt(type: T, x: number, y: number): Array; + /** + * Get the objects at the given RoomPosition. + * @param type One of the LOOK_* constants. + * @param target Can be a RoomPosition object or any object containing RoomPosition. + * @returns An array of Creeps at the specified position if found. + */ + lookForAt( + type: T, + target: RoomPosition | _HasRoomPosition, + ): Array; + /** + * Get the given objets in the supplied area. + * @param type One of the LOOK_* constants + * @param top The top (Y) boundry of the area. + * @param left The left (X) boundry of the area. + * @param bottom The bottom (Y) boundry of the area. + * @param right The right(X) boundry of the area. + * @param asArray Flatten the results into an array? + * @returns An object with the sstructure object[X coord][y coord] as an array of found objects. + */ + lookForAtArea( + type: T, + top: number, + left: number, + bottom: number, + right: number, + asArray?: false, + ): LookForAtAreaResultMatrix; + /** + * Get the given objets in the supplied area. + * @param type One of the LOOK_* constants + * @param top The top (Y) boundry of the area. + * @param left The left (X) boundry of the area. + * @param bottom The bottom (Y) boundry of the area. + * @param right The right(X) boundry of the area. + * @param asArray Flatten the results into an array? + * @returns An array of found objects with an x & y property for their position + */ + lookForAtArea( + type: T, + top: number, + left: number, + bottom: number, + right: number, + asArray: true, + ): LookForAtAreaResultArray; + + /** + * Serialize a path array into a short string representation, which is suitable to store in memory. + * @param path A path array retrieved from Room.findPath. + * @returns A serialized string form of the given path. + */ + + /** + * Deserialize a short string path representation into an array form. + * @param path A serialized path string. + * @returns A path array. + */ +} + +interface RoomConstructor extends _Constructor { + new(id: string): Room; + + Terrain: RoomTerrainConstructor; + + /** + * Serialize a path array into a short string representation, which is suitable to store in memory. + * @param path A path array retrieved from `Room.findPath`. + * @returns A serialized string form of the given path. + */ + serializePath(path: PathStep[]): string; + /** + * Deserialize a short string path representation into an array form. + * @param path A serialized path string. + * @returns A path array. + */ + deserializePath(path: string): PathStep[]; +} + +declare const Room: RoomConstructor; +/** + * A destroyed structure. This is a walkable object. + *
    + *
  • Decay: 500 ticks except some special cases
  • + *
+ */ +interface Ruin extends RoomObject { + /** + * A unique object identificator. + * You can use {@link Game.getObjectById} method to retrieve an object instance by its id. + */ + id: Id; + /** + * Time of destruction. + */ + destroyTime: number; + /** + * An object with the ruin contents. + */ + store: StoreDefinitionUnlimited; + /** + * The amount of game ticks before this ruin decays. + */ + ticksToDecay: number; + /** + * An object containing the destroyed structure. + */ + structure: AnyStructure; +} + +interface RuinConstructor extends _Constructor, _ConstructorById {} + +declare const Ruin: RuinConstructor; +/** + * An energy source object. Can be harvested by creeps with a WORK body part. + */ +interface Source extends RoomObject { + /** + * The prototype is stored in the Source.prototype global object. You can use it to extend game objects behaviour globally: + */ + readonly prototype: Source; + /** + * The remaining amount of energy. + */ + energy: number; + /** + * The total amount of energy in the source. Equals to 3000 in most cases. + */ + energyCapacity: number; + /** + * A unique object identifier. You can use Game.getObjectById method to retrieve an object instance by its id. + */ + id: Id; + /** + * If you can get an instance of Source, you can see it. + * If you can see a Source, you can see the room it's in. + */ + room: Room; + /** + * The remaining time after which the source will be refilled. + */ + ticksToRegeneration: number; +} + +interface SourceConstructor extends _Constructor, _ConstructorById {} + +declare const Source: SourceConstructor; +/** + * Spawns are your colony centers. This structure can create, renew, and recycle + * creeps. All your spawns are accessible through `Game.spawns` hash list. + * Spawns auto-regenerate a little amount of energy each tick, so that you can + * easily recover even if all your creeps died. + */ +interface StructureSpawn extends OwnedStructure { + readonly prototype: StructureSpawn; + /** + * The amount of energy containing in the spawn. + * @deprecated An alias for .store[RESOURCE_ENERGY]. + */ + energy: number; + /** + * The total amount of energy the spawn can contain + * @deprecated An alias for .store.getCapacity(RESOURCE_ENERGY). + */ + energyCapacity: number; + /** + * A shorthand to `Memory.spawns[spawn.name]`. You can use it for quick access + * the spawn’s specific memory data object. + * + * @see http://docs.screeps.com/global-objects.html#Memory-object + */ + memory: SpawnMemory; + /** + * Spawn's name. You choose the name upon creating a new spawn, and it cannot + * be changed later. This name is a hash key to access the spawn via the + * `Game.spawns` object. + */ + name: string; + /** + * If the spawn is in process of spawning a new creep, this object will contain the new creep’s information, or null otherwise. + */ + spawning: Spawning | null; + /** + * A Store object that contains cargo of this structure. + */ + store: Store; + /** + * Check if a creep can be created. + * + * @deprecated This method is deprecated and will be removed soon. Please use `StructureSpawn.spawnCreep` with `dryRun` flag instead. + * @param body An array describing the new creep’s body. Should contain 1 to 50 elements with one of these constants: WORK, MOVE, CARRY, ATTACK, RANGED_ATTACK, HEAL, TOUGH, CLAIM + * @param name The name of a new creep. + * + * It should be unique creep name, i.e. the Game.creeps object should not contain another creep with the same name (hash key). + * + * If not defined, a random name will be generated. + */ + canCreateCreep(body: BodyPartConstant[], name?: string): ScreepsReturnCode; + /** + * Start the creep spawning process. + * + * @deprecated This method is deprecated and will be removed soon. Please use `StructureSpawn.spawnCreep` instead. + * @param body An array describing the new creep’s body. Should contain 1 to 50 elements with one of these constants: WORK, MOVE, CARRY, ATTACK, RANGED_ATTACK, HEAL, TOUGH, CLAIM + * @param name The name of a new creep. + * + * It should be unique creep name, i.e. the Game.creeps object should not contain another creep with the same name (hash key). + * + * If not defined, a random name will be generated. + * @param memory The memory of a new creep. If provided, it will be immediately stored into Memory.creeps[name]. + * @returns The name of a new creep or one of these error codes: + * ``` + * ERR_NOT_OWNER -1 You are not the owner of this spawn. + * ERR_NAME_EXISTS -3 There is a creep with the same name already. + * ERR_BUSY -4 The spawn is already in process of spawning another creep. + * ERR_NOT_ENOUGH_ENERGY -6 The spawn and its extensions contain not enough energy to create a creep with the given body. + * ERR_INVALID_ARGS -10 Body is not properly described. + * ERR_RCL_NOT_ENOUGH -14 Your Room Controller level is not enough to use this spawn. + * ``` + */ + createCreep(body: BodyPartConstant[], name?: string, memory?: CreepMemory): ScreepsReturnCode | string; + + /** + * Start the creep spawning process. The required energy amount can be withdrawn from all spawns and extensions in the room. + * + * @param body An array describing the new creep’s body. Should contain 1 to 50 elements with one of these constants: + * * WORK + * * MOVE + * * CARRY + * * ATTACK + * * RANGED_ATTACK + * * HEAL + * * TOUGH + * * CLAIM + * @param name The name of a new creep. It must be a unique creep name, i.e. the Game.creeps object should not contain another creep with the same name (hash key). + * @param opts An object with additional options for the spawning process. + * @returns One of the following codes: + * ``` + * OK 0 The operation has been scheduled successfully. + * ERR_NOT_OWNER -1 You are not the owner of this spawn. + * ERR_NAME_EXISTS -3 There is a creep with the same name already. + * ERR_BUSY -4 The spawn is already in process of spawning another creep. + * ERR_NOT_ENOUGH_ENERGY -6 The spawn and its extensions contain not enough energy to create a creep with the given body. + * ERR_INVALID_ARGS -10 Body is not properly described or name was not provided. + * ERR_RCL_NOT_ENOUGH -14 Your Room Controller level is insufficient to use this spawn. + * ``` + */ + spawnCreep(body: BodyPartConstant[], name: string, opts?: SpawnOptions): ScreepsReturnCode; + + /** + * Destroy this spawn immediately. + */ + destroy(): ScreepsReturnCode; + /** + * Check whether this structure can be used. If the room controller level is not enough, then this method will return false, and the structure will be highlighted with red in the game. + */ + isActive(): boolean; + /** + * Toggle auto notification when the spawn is under attack. The notification will be sent to your account email. Turned on by default. + * @param enabled Whether to enable notification or disable. + */ + notifyWhenAttacked(enabled: boolean): ScreepsReturnCode; + /** + * Increase the remaining time to live of the target creep. + * + * The target should be at adjacent square. + * + * The spawn should not be busy with the spawning process. + * + * Each execution increases the creep's timer by amount of ticks according to this formula: floor(600/body_size). + * + * Energy required for each execution is determined using this formula: ceil(creep_cost/2.5/body_size). + * @param target The target creep object. + */ + renewCreep(target: Creep): ScreepsReturnCode; + /** + * Kill the creep and drop up to 100% of resources spent on its spawning and boosting depending on remaining life time. The target should be at adjacent square. + * @param target The target creep object. + */ + recycleCreep(target: Creep): ScreepsReturnCode; +} + +interface StructureSpawnConstructor extends _Constructor, _ConstructorById { + Spawning: SpawningConstructor; +} + +declare const StructureSpawn: StructureSpawnConstructor; +declare const Spawn: StructureSpawnConstructor; // legacy alias +// declare type Spawn = StructureSpawn; + +interface Spawning { + readonly prototype: Spawning; + + /** + * An array with the spawn directions + * @see http://docs.screeps.com/api/#StructureSpawn.Spawning.setDirections + */ + directions: DirectionConstant[]; + + /** + * The name of the creep + */ + name: string; + + /** + * Time needed in total to complete the spawning. + */ + needTime: number; + + /** + * Remaining time to go. + */ + remainingTime: number; + + /** + * A link to the spawn + */ + spawn: StructureSpawn; + + /** + * Cancel spawning immediately. Energy spent on spawning is not returned. + */ + cancel(): ScreepsReturnCode & (OK | ERR_NOT_OWNER); + + /** + * Set desired directions where the creep should move when spawned. + * @param directions An array with the spawn directions + */ + setDirections(directions: DirectionConstant[]): ScreepsReturnCode & (OK | ERR_NOT_OWNER | ERR_INVALID_ARGS); +} + +/** + * An object with additional options for the spawning process. + */ +interface SpawnOptions { + /** + * Memory of the new creep. If provided, it will be immediately stored into Memory.creeps[name]. + */ + memory?: CreepMemory; + /** + * Array of spawns/extensions from which to draw energy for the spawning process. + * Structures will be used according to the array order. + */ + energyStructures?: Array; + /** + * If dryRun is true, the operation will only check if it is possible to create a creep. + */ + dryRun?: boolean; + /** + * Set desired directions where the creep should move when spawned. + * An array with the direction constants. + */ + directions?: DirectionConstant[]; +} + +interface SpawningConstructor extends _Constructor { + new(id: Id): Spawning; + (id: Id): Spawning; +} +interface StoreBase { + /** + * Returns capacity of this store for the specified resource. For a general purpose store, it returns total capacity if `resource` is undefined. + * @param resource The type of the resource. + * @returns Returns capacity number, or `null` in case of an invalid `resource` for this store type. + */ + getCapacity( + resource?: R, + ): UNLIMITED_STORE extends true ? null + : R extends undefined ? ResourceConstant extends POSSIBLE_RESOURCES ? number + : null + : R extends POSSIBLE_RESOURCES ? number + : null; + /** + * Returns the capacity used by the specified resource, or total used capacity for general purpose stores if `resource` is undefined. + * @param resource The type of the resource. + * @returns Returns used capacity number, or `null` in case of a not valid `resource` for this store type. + */ + getUsedCapacity( + resource?: R, + ): R extends undefined ? ResourceConstant extends POSSIBLE_RESOURCES ? number + : null + : R extends POSSIBLE_RESOURCES ? number + : null; + /** + * Returns free capacity for the store. For a limited store, it returns the capacity available for the specified resource if `resource` is defined and valid for this store. + * @param resource The type of the resource. + * @returns Returns available capacity number, or `null` in case of an invalid `resource` for this store type. + */ + getFreeCapacity( + resource?: R, + ): R extends undefined ? ResourceConstant extends POSSIBLE_RESOURCES ? number + : null + : R extends POSSIBLE_RESOURCES ? number + : null; +} + +type Store = + & StoreBase< + POSSIBLE_RESOURCES, + UNLIMITED_STORE + > + & { [P in POSSIBLE_RESOURCES]: number } + & { [P in Exclude]: 0 }; + +interface GenericStoreBase { + /** + * Returns capacity of this store for the specified resource. For a general purpose store, it returns total capacity if `resource` is undefined. + * @param resource The type of the resource. + * @returns Returns capacity number, or `null` in case of an invalid `resource` for this store type. + */ + getCapacity(resource?: ResourceConstant): number | null; + /** + * Returns the capacity used by the specified resource, or total used capacity for general purpose stores if `resource` is undefined. + * @param resource The type of the resource. + * @returns Returns used capacity number, or `null` in case of a not valid `resource` for this store type. + */ + getUsedCapacity(resource?: ResourceConstant): number | null; + /** + * Returns free capacity for the store. For a limited store, it returns the capacity available for the specified resource if `resource` is defined and valid for this store. + * @param resource The type of the resource. + * @returns Returns available capacity number, or `null` in case of an invalid `resource` for this store type. + */ + getFreeCapacity(resource?: ResourceConstant): number | null; +} + +type GenericStore = GenericStoreBase & { [P in ResourceConstant]: number }; +/** + * Parent object for structure classes + */ +interface Structure extends RoomObject { + readonly prototype: Structure; + + /** + * The current amount of hit points of the structure. + */ + hits: number; + /** + * The total amount of hit points of the structure. + */ + hitsMax: number; + /** + * A unique object identifier. You can use Game.getObjectById method to retrieve an object instance by its id. + */ + id: Id; + /** + * If you can get an instance of a Structure, you can see it. + * If you can see the Structure, you can see the room it's in. + */ + room: Room; + /** + * One of the STRUCTURE_* constants. + */ + structureType: T; + /** + * Destroy this structure immediately. + */ + destroy(): ScreepsReturnCode; + /** + * Check whether this structure can be used. If the room controller level is not enough, then this method will return false, and the structure will be highlighted with red in the game. + */ + isActive(): boolean; + /** + * Toggle auto notification when the structure is under attack. The notification will be sent to your account email. Turned on by default. + * @param enabled Whether to enable notification or disable. + */ + notifyWhenAttacked(enabled: boolean): ScreepsReturnCode; +} + +interface StructureConstructor extends _Constructor, _ConstructorById {} + +declare const Structure: StructureConstructor; + +/** + * The base prototype for a structure that has an owner. Such structures can be + * found using `FIND_MY_STRUCTURES` and `FIND_HOSTILE_STRUCTURES` constants. + */ +interface OwnedStructure extends Structure { + readonly prototype: OwnedStructure; + + /** + * Whether this is your own structure. Walls and roads don't have this property as they are considered neutral structures. + */ + my: boolean; + /** + * An object with the structure’s owner info (if present) containing the following properties: username + */ + owner: T extends STRUCTURE_CONTROLLER ? Owner | undefined : Owner; + /** + * The link to the Room object. Is always present because owned structures give visibility. + */ + room: Room; +} + +interface OwnedStructureConstructor extends _Constructor, _ConstructorById {} + +declare const OwnedStructure: OwnedStructureConstructor; + +/** + * Claim this structure to take control over the room. The controller structure + * cannot be damaged or destroyed. It can be addressed by `Room.controller` + * property. + */ +interface StructureController extends OwnedStructure { + readonly prototype: StructureController; + + /** + * Whether using power is enabled in this room. + * + * Use `PowerCreep.enableRoom()` to turn powers on. + */ + isPowerEnabled: boolean; + /** + * Current controller level, from 0 to 8. + */ + level: number; + /** + * The current progress of upgrading the controller to the next level. + */ + progress: number; + /** + * The progress needed to reach the next level. + */ + progressTotal: number; + /** + * An object with the controller reservation info if present: username, ticksToEnd + */ + reservation: ReservationDefinition | undefined; + /** + * How many ticks of safe mode are remaining, or undefined. + */ + safeMode?: number; + /** + * Safe mode activations available to use. + */ + safeModeAvailable: number; + /** + * During this period in ticks new safe mode activations will be blocked, undefined if cooldown is inactive. + */ + safeModeCooldown?: number; + /** + * An object with the controller sign info if present + */ + sign: SignDefinition | undefined; + /** + * The amount of game ticks when this controller will lose one level. This timer can be reset by using Creep.upgradeController. + */ + ticksToDowngrade: number; + /** + * The amount of game ticks while this controller cannot be upgraded due to attack. + */ + upgradeBlocked: number; + /** + * Activate safe mode if available. + * @returns Result Code: OK, ERR_NOT_OWNER, ERR_BUSY, ERR_NOT_ENOUGH_RESOURCES, ERR_TIRED + */ + activateSafeMode(): ScreepsReturnCode; + /** + * Make your claimed controller neutral again. + */ + unclaim(): ScreepsReturnCode; +} + +interface StructureControllerConstructor + extends _Constructor, _ConstructorById +{} + +declare const StructureController: StructureControllerConstructor; + +/** + * Contains energy which can be spent on spawning bigger creeps. Extensions can + * be placed anywhere in the room, any spawns will be able to use them regardless + * of distance. + */ +interface StructureExtension extends OwnedStructure { + readonly prototype: StructureExtension; + + /** + * The amount of energy containing in the extension. + * @deprecated An alias for .store[RESOURCE_ENERGY]. + */ + energy: number; + /** + * The total amount of energy the extension can contain. + * @deprecated An alias for .store.getCapacity(RESOURCE_ENERGY). + */ + energyCapacity: number; + + /** + * A Store object that contains cargo of this structure. + */ + store: Store; +} + +interface StructureExtensionConstructor + extends _Constructor, _ConstructorById +{} + +declare const StructureExtension: StructureExtensionConstructor; + +/** + * Remotely transfers energy to another Link in the same room. + */ +interface StructureLink extends OwnedStructure { + readonly prototype: StructureLink; + + /** + * The amount of game ticks the link has to wait until the next transfer is possible. + */ + cooldown: number; + /** + * The amount of energy containing in the link. + * @deprecated An alias for .store[RESOURCE_ENERGY]. + */ + energy: number; + /** + * The total amount of energy the link can contain. + * @deprecated An alias for .store.getCapacity(RESOURCE_ENERGY). + */ + energyCapacity: number; + /** + * A Store object that contains cargo of this structure. + */ + store: Store; + /** + * Transfer energy from the link to another link or a creep. + * + * If the target is a creep, it has to be at adjacent square to the link. + * + * If the target is a link, it can be at any location in the same room. + * + * Remote transfer process implies 3% energy loss and cooldown delay depending on the distance. + * @param target The target object. + * @param amount The amount of energy to be transferred. If omitted, all the available energy is used. + */ + transferEnergy(target: Creep | StructureLink, amount?: number): ScreepsReturnCode; +} + +interface StructureLinkConstructor extends _Constructor, _ConstructorById {} + +declare const StructureLink: StructureLinkConstructor; + +/** + * Non-player structure. Spawns NPC Source Keepers that guards energy sources + * and minerals in some rooms. This structure cannot be destroyed. + */ +interface StructureKeeperLair extends OwnedStructure { + readonly prototype: StructureKeeperLair; + + /** + * Time to spawning of the next Source Keeper. + */ + ticksToSpawn?: number; +} + +interface StructureKeeperLairConstructor + extends _Constructor, _ConstructorById +{} + +declare const StructureKeeperLair: StructureKeeperLairConstructor; + +/** + * Provides visibility into a distant room from your script. + */ +interface StructureObserver extends OwnedStructure { + readonly prototype: StructureObserver; + + /** + * Provide visibility into a distant room from your script. The target room object will be available on the next tick. The maximum range is 5 rooms. + * @param roomName The room to observe. + */ + observeRoom(roomName: string): ScreepsReturnCode; +} + +interface StructureObserverConstructor extends _Constructor, _ConstructorById {} + +declare const StructureObserver: StructureObserverConstructor; + +/** + * Non-player structure. Contains power resource which can be obtained by destroying the structure. Hits the attacker creep back on each attack. + */ +interface StructurePowerBank extends OwnedStructure { + readonly prototype: StructurePowerBank; + + /** + * The amount of power containing. + */ + power: number; + /** + * The amount of game ticks when this structure will disappear. + */ + ticksToDecay: number; +} + +interface StructurePowerBankConstructor + extends _Constructor, _ConstructorById +{} + +declare const StructurePowerBank: StructurePowerBankConstructor; + +/** + * Non-player structure. Contains power resource which can be obtained by + * destroying the structure. Hits the attacker creep back on each attack. + */ +interface StructurePowerSpawn extends OwnedStructure { + readonly prototype: StructurePowerSpawn; + /** + * The amount of energy containing in this structure. + * @deprecated An alias for .store[RESOURCE_ENERGY]. + */ + energy: number; + /** + * The total amount of energy this structure can contain. + * @deprecated An alias for .store.getCapacity(RESOURCE_ENERGY). + */ + energyCapacity: number; + /** + * The amount of power containing in this structure. + * @deprecated An alias for .store[RESOURCE_POWER]. + */ + power: number; + /** + * The total amount of power this structure can contain. + * @deprecated An alias for .store.getCapacity(RESOURCE_POWER). + */ + powerCapacity: number; + /** */ + store: Store; + + /** + * Register power resource units into your account. Registered power allows to develop power creeps skills. Consumes 1 power resource unit and 50 energy resource units. + */ + processPower(): ScreepsReturnCode; +} + +interface StructurePowerSpawnConstructor + extends _Constructor, _ConstructorById +{} + +declare const StructurePowerSpawn: StructurePowerSpawnConstructor; + +/** + * Blocks movement of hostile creeps, and defends your creeps and structures on + * the same tile. Can be used as a controllable gate. + */ +interface StructureRampart extends OwnedStructure { + readonly prototype: StructureRampart; + + /** + * The amount of game ticks when this rampart will lose some hit points. + */ + ticksToDecay: number; + + /** + * If false (default), only your creeps can step on the same square. If true, any hostile creeps can pass through. + */ + isPublic: boolean; + + /** + * Make this rampart public to allow other players' creeps to pass through. + * @param isPublic Whether this rampart should be public or non-public + */ + setPublic(isPublic: boolean): undefined; +} + +interface StructureRampartConstructor extends _Constructor, _ConstructorById {} + +declare const StructureRampart: StructureRampartConstructor; + +/** + * Decreases movement cost to 1. Using roads allows creating creeps with less + * `MOVE` body parts. + */ +interface StructureRoad extends Structure { + readonly prototype: StructureRoad; + + /** + * The amount of game ticks when this road will lose some hit points. + */ + ticksToDecay: number; +} + +interface StructureRoadConstructor extends _Constructor, _ConstructorById {} + +declare const StructureRoad: StructureRoadConstructor; + +/** + * A structure that can store huge amount of resource units. Only one structure + * per room is allowed that can be addressed by `Room.storage` property. + */ +interface StructureStorage extends OwnedStructure { + readonly prototype: StructureStorage; + + /** + * An object with the storage contents. + */ + store: StoreDefinition; + /** + * The total amount of resources the storage can contain. + * @deprecated An alias for .store.getCapacity(). + */ + storeCapacity: number; +} + +interface StructureStorageConstructor extends _Constructor, _ConstructorById {} + +declare const StructureStorage: StructureStorageConstructor; + +/** + * Remotely attacks or heals creeps, or repairs structures. Can be targeted to + * any object in the room. However, its effectiveness highly depends on the + * distance. Each action consumes energy. + */ +interface StructureTower extends OwnedStructure { + readonly prototype: StructureTower; + + /** + * The amount of energy containing in this structure. + * @deprecated An alias for .store[RESOURCE_ENERGY]. + */ + energy: number; + /** + * The total amount of energy this structure can contain. + * @deprecated An alias for .store.getCapacity(RESOURCE_ENERGY). + */ + energyCapacity: number; + /** + * A Store object that contains cargo of this structure. + */ + store: Store; + + /** + * Remotely attack any creep or structure in the room. Consumes 10 energy units per tick. Attack power depends on the distance to the target: from 600 hits at range 10 to 300 hits at range 40. + * @param target The target creep. + */ + attack(target: AnyCreep | Structure): ScreepsReturnCode; + /** + * Remotely heal any creep in the room. Consumes 10 energy units per tick. Heal power depends on the distance to the target: from 400 hits at range 10 to 200 hits at range 40. + * @param target The target creep. + */ + heal(target: AnyCreep): ScreepsReturnCode; + /** + * Remotely repair any structure in the room. Consumes 10 energy units per tick. Repair power depends on the distance to the target: from 600 hits at range 10 to 300 hits at range 40. + * @param target The target structure. + */ + repair(target: Structure): ScreepsReturnCode; +} + +interface StructureTowerConstructor extends _Constructor, _ConstructorById {} + +declare const StructureTower: StructureTowerConstructor; + +/** + * Blocks movement of all creeps. + */ +interface StructureWall extends Structure { + readonly prototype: StructureWall; + /** + * The amount of game ticks when the wall will disappear (only for automatically placed border walls at the start of the game). + */ + ticksToLive: number; +} + +interface StructureWallConstructor extends _Constructor, _ConstructorById {} + +declare const StructureWall: StructureWallConstructor; + +/** + * Allows to harvest mineral deposits. + */ +interface StructureExtractor extends OwnedStructure { + readonly prototype: StructureExtractor; + /** + * The amount of game ticks until the next harvest action is possible. + */ + cooldown: number; +} + +interface StructureExtractorConstructor + extends _Constructor, _ConstructorById +{} + +declare const StructureExtractor: StructureExtractorConstructor; + +/** + * Produces mineral compounds from base minerals and boosts creeps. + */ +interface StructureLab extends OwnedStructure { + readonly prototype: StructureLab; + /** + * The amount of game ticks the lab has to wait until the next reaction is possible. + */ + cooldown: number; + /** + * The amount of energy containing in the lab. Energy is used for boosting creeps. + * @deprecated An alias for .store[RESOURCE_ENERGY]. + */ + energy: number; + /** + * The total amount of energy the lab can contain. + * @deprecated An alias for .store.getCapacity(RESOURCE_ENERGY). + */ + energyCapacity: number; + /** + * The amount of mineral resources containing in the lab. + * @deprecated An alias for lab.store[lab.mineralType]. + */ + mineralAmount: number; + /** + * The type of minerals containing in the lab. Labs can contain only one mineral type at the same time. + * Null in case there is no mineral resource in the lab. + */ + mineralType: MineralConstant | MineralCompoundConstant | null; + /** + * The total amount of minerals the lab can contain. + * @deprecated An alias for lab.store.getCapacity(lab.mineralType || yourMineral). + */ + mineralCapacity: number; + /** + * A Store object that contains cargo of this structure. + */ + store: Store; + /** + * Boosts creep body part using the containing mineral compound. The creep has to be at adjacent square to the lab. Boosting one body part consumes 30 mineral units and 20 energy units. + * @param creep The target creep. + * @param bodyPartsCount The number of body parts of the corresponding type to be boosted. + * + * Body parts are always counted left-to-right for TOUGH, and right-to-left for other types. + * + * If undefined, all the eligible body parts are boosted. + */ + boostCreep(creep: Creep, bodyPartsCount?: number): ScreepsReturnCode; + /** + * Immediately remove boosts from the creep and drop 50% of the mineral compounds used to boost it onto the ground regardless of the creep's remaining time to live. + * The creep has to be at adjacent square to the lab. + * Unboosting requires cooldown time equal to the total sum of the reactions needed to produce all the compounds applied to the creep. + * @param creep The target creep. + */ + unboostCreep(creep: Creep): ScreepsReturnCode; + /** + * Breaks mineral compounds back into reagents. The same output labs can be used by many source labs. + * @param lab1 The first result lab. + * @param lab2 The second result lab. + */ + reverseReaction(lab1: StructureLab, lab2: StructureLab): ScreepsReturnCode; + /** + * Produce mineral compounds using reagents from two another labs. Each lab has to be within 2 squares range. The same input labs can be used by many output labs + * @param lab1 The first source lab. + * @param lab2 The second source lab. + */ + runReaction(lab1: StructureLab, lab2: StructureLab): ScreepsReturnCode; +} + +interface StructureLabConstructor extends _Constructor, _ConstructorById {} + +declare const StructureLab: StructureLabConstructor; + +/** + * Sends any resources to a Terminal in another room. + */ +interface StructureTerminal extends OwnedStructure { + readonly prototype: StructureTerminal; + /** + * The remaining amount of ticks while this terminal cannot be used to make StructureTerminal.send or Game.market.deal calls. + */ + cooldown: number; + /** + * A Store object that contains cargo of this structure. + */ + store: StoreDefinition; + /** + * The total amount of resources the storage can contain. + * @deprecated An alias for .store.getCapacity(). + */ + storeCapacity: number; + /** + * Sends resource to a Terminal in another room with the specified name. + * @param resourceType One of the RESOURCE_* constants. + * @param amount The amount of resources to be sent. + * @param destination The name of the target room. You don't have to gain visibility in this room. + * @param description The description of the transaction. It is visible to the recipient. The maximum length is 100 characters. + */ + send(resourceType: ResourceConstant, amount: number, destination: string, description?: string): ScreepsReturnCode; +} + +interface StructureTerminalConstructor extends _Constructor, _ConstructorById {} + +declare const StructureTerminal: StructureTerminalConstructor; + +/** + * Contains up to 2,000 resource units. Can be constructed in neutral rooms. Decays for 5,000 hits per 100 ticks. + */ +interface StructureContainer extends Structure { + readonly prototype: StructureContainer; + /** + * An object with the structure contents. Each object key is one of the RESOURCE_* constants, values are resources + * amounts. Use _.sum(structure.store) to get the total amount of contents + */ + store: StoreDefinition; + /** + * The total amount of resources the structure can contain. + * @deprecated An alias for .store.getCapacity(). + */ + storeCapacity: number; + /** + * The amount of game ticks when this container will lose some hit points. + */ + ticksToDecay: number; +} + +interface StructureContainerConstructor + extends _Constructor, _ConstructorById +{} + +declare const StructureContainer: StructureContainerConstructor; + +/** + * Launches a nuke to another room dealing huge damage to the landing area. + * Each launch has a cooldown and requires energy and ghodium resources. Launching + * creates a Nuke object at the target room position which is visible to any player + * until it is landed. Incoming nuke cannot be moved or cancelled. Nukes cannot + * be launched from or to novice rooms. + */ +interface StructureNuker extends OwnedStructure { + readonly prototype: StructureNuker; + /** + * The amount of energy contained in this structure. + * @deprecated An alias for .store[RESOURCE_ENERGY]. + */ + energy: number; + /** + * The total amount of energy this structure can contain. + * @deprecated An alias for .store.getCapacity(RESOURCE_ENERGY). + */ + energyCapacity: number; + /** + * The amount of energy contained in this structure. + * @deprecated An alias for .store[RESOURCE_GHODIUM]. + */ + ghodium: number; + /** + * The total amount of energy this structure can contain. + * @deprecated An alias for .store.getCapacity(RESOURCE_GHODIUM). + */ + ghodiumCapacity: number; + /** + * The amount of game ticks the link has to wait until the next transfer is possible. + */ + cooldown: number; + /** + * A Store object that contains cargo of this structure. + */ + store: Store; + /** + * Launch a nuke to the specified position. + * @param pos The target room position. + */ + launchNuke(pos: RoomPosition): ScreepsReturnCode; +} + +interface StructureNukerConstructor extends _Constructor, _ConstructorById {} + +declare const StructureNuker: StructureNukerConstructor; + +/** + * A non-player structure. + * Instantly teleports your creeps to a distant room acting as a room exit tile. + * Portals appear randomly in the central room of each sector. + */ +interface StructurePortal extends Structure { + readonly prototype: StructurePortal; + /** + * If this is an inter-room portal, then this property contains a RoomPosition object leading to the point in the destination room. + * If this is an inter-shard portal, then this property contains an object with shard and room string properties. + * Exact coordinates are undetermined, the creep will appear at any free spot in the destination room. + */ + destination: RoomPosition | { shard: string; room: string }; + /** + * The amount of game ticks when the portal disappears, or undefined when the portal is stable. + */ + ticksToDecay: number | undefined; +} + +interface StructurePortalConstructor extends _Constructor, _ConstructorById {} + +declare const StructurePortal: StructurePortalConstructor; + +/** + * A structure which produces trade commodities from base minerals and other commodities. + */ +interface StructureFactory extends OwnedStructure { + readonly prototype: StructureFactory; + /** + * The amount of game ticks the factory has to wait until the next produce is possible. + */ + cooldown: number; + /** + * The level of the factory. + * Can be set by applying the PWR_OPERATE_FACTORY power to a newly built factory. + * Once set, the level cannot be changed. + */ + level?: number; + /** + * An object with the structure contents. + */ + store: StoreDefinition; + /** + * Produces the specified commodity. + * All ingredients should be available in the factory store. + */ + produce(resource: CommodityConstant | MineralConstant | RESOURCE_ENERGY | RESOURCE_GHODIUM): ScreepsReturnCode; +} + +interface StructureFactoryConstructor extends _Constructor, _ConstructorById {} + +declare const StructureFactory: StructureFactoryConstructor; + +/** + * A structure which is a control center of NPC Strongholds, and also rules all invaders in the sector. + */ +interface StructureInvaderCore extends OwnedStructure { + readonly prototype: StructureInvaderCore; + /** + * The level of the stronghold. The amount and quality of the loot depends on the level. + */ + level: number; + /** + * Shows the timer for a not yet deployed stronghold, undefined otherwise. + */ + ticksToDeploy: number; + /** + * If the core is in process of spawning a new creep, this object will contain a `StructureSpawn.Spawning` object, or `null` otherwise. + */ + spawning: Spawning | null; +} + +interface StructureInvaderCoreConstructor + extends _Constructor, _ConstructorById +{} + +declare const StructureInvaderCore: StructureInvaderCoreConstructor; + +/** + * A discriminated union on Structure.type of all owned structure types + */ +type AnyOwnedStructure = + | StructureController + | StructureExtension + | StructureExtractor + | StructureFactory + | StructureInvaderCore + | StructureKeeperLair + | StructureLab + | StructureLink + | StructureNuker + | StructureObserver + | StructurePowerBank + | StructurePowerSpawn + | StructureRampart + | StructureSpawn + | StructureStorage + | StructureTerminal + | StructureTower; + +type AnyStoreStructure = + | StructureExtension + | StructureFactory + | StructureLab + | StructureLink + | StructureNuker + | StructurePowerSpawn + | StructureSpawn + | StructureStorage + | StructureTerminal + | StructureTower + | StructureContainer; + +/** + * A discriminated union on Structure.type of all structure types + */ +type AnyStructure = AnyOwnedStructure | StructureContainer | StructurePortal | StructureRoad | StructureWall; + +/** + * Map of structure constant to the concrete structure class + */ +interface ConcreteStructureMap { + [STRUCTURE_EXTENSION]: StructureExtension; + [STRUCTURE_RAMPART]: StructureRampart; + [STRUCTURE_ROAD]: StructureRoad; + [STRUCTURE_SPAWN]: StructureSpawn; + [STRUCTURE_LINK]: StructureLink; + [STRUCTURE_WALL]: StructureWall; + [STRUCTURE_STORAGE]: StructureStorage; + [STRUCTURE_TOWER]: StructureTower; + [STRUCTURE_OBSERVER]: StructureObserver; + [STRUCTURE_POWER_SPAWN]: StructurePowerSpawn; + [STRUCTURE_EXTRACTOR]: StructureExtractor; + [STRUCTURE_LAB]: StructureLab; + [STRUCTURE_TERMINAL]: StructureTerminal; + [STRUCTURE_CONTAINER]: StructureContainer; + [STRUCTURE_NUKER]: StructureNuker; + [STRUCTURE_FACTORY]: StructureFactory; + [STRUCTURE_KEEPER_LAIR]: StructureKeeperLair; + [STRUCTURE_CONTROLLER]: StructureController; + [STRUCTURE_POWER_BANK]: StructurePowerBank; + [STRUCTURE_PORTAL]: StructurePortal; + [STRUCTURE_INVADER_CORE]: StructureInvaderCore; +} + +/** + * Conditional type for all concrete implementations of Structure. + * Unlike Structure, ConcreteStructure gives you the actual concrete class that extends Structure. + */ +type ConcreteStructure = ConcreteStructureMap[T]; +/** + * A remnant of dead creeps. This is a walkable structure. + *
    + *
  • Decay: 5 ticks per body part of the deceased creep
  • + *
+ */ +interface Tombstone extends RoomObject { + /** + * A unique object identificator. + * You can use {@link Game.getObjectById} method to retrieve an object instance by its id. + */ + id: Id; + /** + * Time of death. + */ + deathTime: number; + /** + * An object with the tombstone contents. + * Each object key is one of the RESOURCE_* constants, values are resources amounts. + * RESOURCE_ENERGY is always defined and equals to 0 when empty, + * other resources are undefined when empty. + * You can use lodash.sum to get the total amount of contents. + */ + store: StoreDefinitionUnlimited; + /** + * The amount of game ticks before this tombstone decays. + */ + ticksToDecay: number; + /** + * An object containing the deceased creep. + */ + creep: AnyCreep; +} + +interface TombstoneConstructor extends _Constructor, _ConstructorById {} + +declare const Tombstone: TombstoneConstructor; diff --git a/node_modules/@types/screeps/package.json b/node_modules/@types/screeps/package.json new file mode 100644 index 0000000..4d1d8d1 --- /dev/null +++ b/node_modules/@types/screeps/package.json @@ -0,0 +1,60 @@ +{ + "name": "@types/screeps", + "version": "3.3.7", + "description": "TypeScript definitions for screeps", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/screeps", + "license": "MIT", + "contributors": [ + { + "name": "Nhan Ho", + "githubUsername": "NhanHo", + "url": "https://github.com/NhanHo" + }, + { + "name": "Bryan", + "githubUsername": "bryanbecker", + "url": "https://github.com/bryanbecker" + }, + { + "name": "Resi Respati", + "githubUsername": "resir014", + "url": "https://github.com/resir014" + }, + { + "name": "Adam Laycock", + "githubUsername": "Arcath", + "url": "https://github.com/Arcath" + }, + { + "name": "Dominic Marcuse", + "githubUsername": "dmarcuse", + "url": "https://github.com/dmarcuse" + }, + { + "name": "Skyler Kehren", + "githubUsername": "pyrodogg", + "url": "https://github.com/pyrodogg" + }, + { + "name": "Kieran Carnegie", + "githubUsername": "kotarou", + "url": "https://github.com/kotarou" + }, + { + "name": "Mofeng", + "githubUsername": "DiamondMofeng", + "url": "https://github.com/DiamondMofeng" + } + ], + "main": "", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/screeps" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "549fce8dbafcbfa7bdf219a5f2937c40737f76d6e947a9f2b9d88b9b5b5e5b89", + "typeScriptVersion": "4.6" +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..d8a6fb0 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,23 @@ +{ + "name": "scripts", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "@types/lodash": "^4.14.202", + "@types/screeps": "^3.3.7" + } + }, + "node_modules/@types/lodash": { + "version": "4.14.202", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz", + "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==" + }, + "node_modules/@types/screeps": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/@types/screeps/-/screeps-3.3.7.tgz", + "integrity": "sha512-XS1dh2+MqPQoBvmLNrR8YwxiueSBx8B9RShrH9E+c6gfxBy8VTNaqrbPNtGnqLImHzwCSRNAZiMAF+iUejeZMw==" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..2a9b11a --- /dev/null +++ b/package.json @@ -0,0 +1,6 @@ +{ + "dependencies": { + "@types/lodash": "^4.14.202", + "@types/screeps": "^3.3.7" + } +} diff --git a/screeps.com/default/main.js b/screeps.com/default/main.js new file mode 100644 index 0000000..1482a91 --- /dev/null +++ b/screeps.com/default/main.js @@ -0,0 +1,3 @@ +module.exports.loop = function () { + +} \ No newline at end of file diff --git a/screeps.com/tutorial-1/main.js b/screeps.com/tutorial-1/main.js new file mode 100644 index 0000000..281f8ba --- /dev/null +++ b/screeps.com/tutorial-1/main.js @@ -0,0 +1,3 @@ +module.exports.loop = function () { + +}