cypress 4.3.0 → 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +15 -6
- package/lib/cli.js +57 -54
- package/lib/cypress.js +8 -9
- package/lib/errors.js +216 -84
- package/lib/exec/info.js +17 -13
- package/lib/exec/open.js +4 -1
- package/lib/exec/run.js +20 -24
- package/lib/exec/spawn.js +56 -53
- package/lib/exec/versions.js +9 -6
- package/lib/exec/xvfb.js +29 -27
- package/lib/fs.js +1 -1
- package/lib/logger.js +26 -10
- package/lib/tasks/cache.js +19 -16
- package/lib/tasks/download.js +100 -73
- package/lib/tasks/install.js +125 -73
- package/lib/tasks/state.js +35 -19
- package/lib/tasks/unzip.js +38 -44
- package/lib/tasks/verify.js +101 -64
- package/lib/util.js +112 -107
- package/package.json +2 -11
- package/types/blob-util/index.d.ts +97 -0
- package/types/bluebird/index.d.ts +1261 -0
- package/types/chai/index.d.ts +1944 -0
- package/types/chai-jquery/index.d.ts +2587 -0
- package/types/cy-blob-util.d.ts +13 -0
- package/types/cy-bluebird.d.ts +11 -0
- package/types/cy-chai.d.ts +10 -0
- package/types/cy-minimatch.d.ts +96 -0
- package/types/cy-moment.d.ts +7 -0
- package/types/cypress-eventemitter.d.ts +8 -0
- package/types/cypress-expect.d.ts +3 -0
- package/types/cypress-global-vars.d.ts +24 -0
- package/types/cypress-npm-api.d.ts +13 -215
- package/types/cypress-type-helpers.d.ts +2 -0
- package/types/cypress.d.ts +4792 -0
- package/types/index.d.ts +33 -4856
- package/types/jquery/JQuery.d.ts +12942 -0
- package/types/jquery/JQueryStatic.d.ts +13521 -0
- package/types/jquery/index.d.ts +34 -0
- package/types/jquery/legacy.d.ts +204 -0
- package/types/jquery/misc.d.ts +6661 -0
- package/types/lodash/add.d.ts +2 -0
- package/types/lodash/after.d.ts +2 -0
- package/types/lodash/ary.d.ts +2 -0
- package/types/lodash/assign.d.ts +2 -0
- package/types/lodash/assignIn.d.ts +2 -0
- package/types/lodash/assignInWith.d.ts +2 -0
- package/types/lodash/assignWith.d.ts +2 -0
- package/types/lodash/at.d.ts +2 -0
- package/types/lodash/attempt.d.ts +2 -0
- package/types/lodash/before.d.ts +2 -0
- package/types/lodash/bind.d.ts +2 -0
- package/types/lodash/bindAll.d.ts +2 -0
- package/types/lodash/bindKey.d.ts +2 -0
- package/types/lodash/camelCase.d.ts +2 -0
- package/types/lodash/capitalize.d.ts +2 -0
- package/types/lodash/castArray.d.ts +2 -0
- package/types/lodash/ceil.d.ts +2 -0
- package/types/lodash/chain.d.ts +2 -0
- package/types/lodash/chunk.d.ts +2 -0
- package/types/lodash/clamp.d.ts +2 -0
- package/types/lodash/clone.d.ts +2 -0
- package/types/lodash/cloneDeep.d.ts +2 -0
- package/types/lodash/cloneDeepWith.d.ts +2 -0
- package/types/lodash/cloneWith.d.ts +2 -0
- package/types/lodash/common/array.d.ts +3713 -0
- package/types/lodash/common/collection.d.ts +2587 -0
- package/types/lodash/common/common.d.ts +270 -0
- package/types/lodash/common/date.d.ts +27 -0
- package/types/lodash/common/function.d.ts +1489 -0
- package/types/lodash/common/lang.d.ts +1936 -0
- package/types/lodash/common/math.d.ts +532 -0
- package/types/lodash/common/number.d.ts +178 -0
- package/types/lodash/common/object.d.ts +4109 -0
- package/types/lodash/common/seq.d.ts +196 -0
- package/types/lodash/common/string.d.ts +1059 -0
- package/types/lodash/common/util.d.ts +1521 -0
- package/types/lodash/compact.d.ts +2 -0
- package/types/lodash/concat.d.ts +2 -0
- package/types/lodash/cond.d.ts +2 -0
- package/types/lodash/conformsTo.d.ts +2 -0
- package/types/lodash/constant.d.ts +2 -0
- package/types/lodash/countBy.d.ts +2 -0
- package/types/lodash/create.d.ts +2 -0
- package/types/lodash/curry.d.ts +2 -0
- package/types/lodash/curryRight.d.ts +2 -0
- package/types/lodash/debounce.d.ts +2 -0
- package/types/lodash/deburr.d.ts +2 -0
- package/types/lodash/defaultTo.d.ts +2 -0
- package/types/lodash/defaults.d.ts +2 -0
- package/types/lodash/defaultsDeep.d.ts +2 -0
- package/types/lodash/defer.d.ts +2 -0
- package/types/lodash/delay.d.ts +2 -0
- package/types/lodash/difference.d.ts +2 -0
- package/types/lodash/differenceBy.d.ts +2 -0
- package/types/lodash/differenceWith.d.ts +2 -0
- package/types/lodash/divide.d.ts +2 -0
- package/types/lodash/drop.d.ts +2 -0
- package/types/lodash/dropRight.d.ts +2 -0
- package/types/lodash/dropRightWhile.d.ts +2 -0
- package/types/lodash/dropWhile.d.ts +2 -0
- package/types/lodash/each.d.ts +2 -0
- package/types/lodash/eachRight.d.ts +2 -0
- package/types/lodash/endsWith.d.ts +2 -0
- package/types/lodash/entries.d.ts +2 -0
- package/types/lodash/entriesIn.d.ts +2 -0
- package/types/lodash/eq.d.ts +2 -0
- package/types/lodash/escape.d.ts +2 -0
- package/types/lodash/escapeRegExp.d.ts +2 -0
- package/types/lodash/every.d.ts +2 -0
- package/types/lodash/extend.d.ts +2 -0
- package/types/lodash/extendWith.d.ts +2 -0
- package/types/lodash/fill.d.ts +2 -0
- package/types/lodash/filter.d.ts +2 -0
- package/types/lodash/find.d.ts +2 -0
- package/types/lodash/findIndex.d.ts +2 -0
- package/types/lodash/findKey.d.ts +2 -0
- package/types/lodash/findLast.d.ts +2 -0
- package/types/lodash/findLastIndex.d.ts +2 -0
- package/types/lodash/findLastKey.d.ts +2 -0
- package/types/lodash/first.d.ts +2 -0
- package/types/lodash/flatMap.d.ts +2 -0
- package/types/lodash/flatMapDeep.d.ts +2 -0
- package/types/lodash/flatMapDepth.d.ts +2 -0
- package/types/lodash/flatten.d.ts +2 -0
- package/types/lodash/flattenDeep.d.ts +2 -0
- package/types/lodash/flattenDepth.d.ts +2 -0
- package/types/lodash/flip.d.ts +2 -0
- package/types/lodash/floor.d.ts +2 -0
- package/types/lodash/flow.d.ts +2 -0
- package/types/lodash/flowRight.d.ts +2 -0
- package/types/lodash/forEach.d.ts +2 -0
- package/types/lodash/forEachRight.d.ts +2 -0
- package/types/lodash/forIn.d.ts +2 -0
- package/types/lodash/forInRight.d.ts +2 -0
- package/types/lodash/forOwn.d.ts +2 -0
- package/types/lodash/forOwnRight.d.ts +2 -0
- package/types/lodash/fp/F.d.ts +2 -0
- package/types/lodash/fp/T.d.ts +2 -0
- package/types/lodash/fp/__.d.ts +3 -0
- package/types/lodash/fp/add.d.ts +2 -0
- package/types/lodash/fp/after.d.ts +2 -0
- package/types/lodash/fp/all.d.ts +2 -0
- package/types/lodash/fp/allPass.d.ts +2 -0
- package/types/lodash/fp/always.d.ts +2 -0
- package/types/lodash/fp/any.d.ts +2 -0
- package/types/lodash/fp/anyPass.d.ts +2 -0
- package/types/lodash/fp/apply.d.ts +2 -0
- package/types/lodash/fp/ary.d.ts +2 -0
- package/types/lodash/fp/assign.d.ts +2 -0
- package/types/lodash/fp/assignAll.d.ts +2 -0
- package/types/lodash/fp/assignAllWith.d.ts +2 -0
- package/types/lodash/fp/assignIn.d.ts +2 -0
- package/types/lodash/fp/assignInAll.d.ts +2 -0
- package/types/lodash/fp/assignInAllWith.d.ts +2 -0
- package/types/lodash/fp/assignInWith.d.ts +2 -0
- package/types/lodash/fp/assignWith.d.ts +2 -0
- package/types/lodash/fp/assoc.d.ts +2 -0
- package/types/lodash/fp/assocPath.d.ts +2 -0
- package/types/lodash/fp/at.d.ts +2 -0
- package/types/lodash/fp/attempt.d.ts +2 -0
- package/types/lodash/fp/before.d.ts +2 -0
- package/types/lodash/fp/bind.d.ts +2 -0
- package/types/lodash/fp/bindAll.d.ts +2 -0
- package/types/lodash/fp/bindKey.d.ts +2 -0
- package/types/lodash/fp/camelCase.d.ts +2 -0
- package/types/lodash/fp/capitalize.d.ts +2 -0
- package/types/lodash/fp/castArray.d.ts +2 -0
- package/types/lodash/fp/ceil.d.ts +2 -0
- package/types/lodash/fp/chunk.d.ts +2 -0
- package/types/lodash/fp/clamp.d.ts +2 -0
- package/types/lodash/fp/clone.d.ts +2 -0
- package/types/lodash/fp/cloneDeep.d.ts +2 -0
- package/types/lodash/fp/cloneDeepWith.d.ts +2 -0
- package/types/lodash/fp/cloneWith.d.ts +2 -0
- package/types/lodash/fp/compact.d.ts +2 -0
- package/types/lodash/fp/complement.d.ts +2 -0
- package/types/lodash/fp/compose.d.ts +2 -0
- package/types/lodash/fp/concat.d.ts +2 -0
- package/types/lodash/fp/cond.d.ts +2 -0
- package/types/lodash/fp/conforms.d.ts +2 -0
- package/types/lodash/fp/conformsTo.d.ts +2 -0
- package/types/lodash/fp/constant.d.ts +2 -0
- package/types/lodash/fp/contains.d.ts +2 -0
- package/types/lodash/fp/convert.d.ts +15 -0
- package/types/lodash/fp/countBy.d.ts +2 -0
- package/types/lodash/fp/create.d.ts +2 -0
- package/types/lodash/fp/curry.d.ts +2 -0
- package/types/lodash/fp/curryN.d.ts +2 -0
- package/types/lodash/fp/curryRight.d.ts +2 -0
- package/types/lodash/fp/curryRightN.d.ts +2 -0
- package/types/lodash/fp/debounce.d.ts +2 -0
- package/types/lodash/fp/deburr.d.ts +2 -0
- package/types/lodash/fp/defaultTo.d.ts +2 -0
- package/types/lodash/fp/defaults.d.ts +2 -0
- package/types/lodash/fp/defaultsAll.d.ts +2 -0
- package/types/lodash/fp/defaultsDeep.d.ts +2 -0
- package/types/lodash/fp/defaultsDeepAll.d.ts +2 -0
- package/types/lodash/fp/defer.d.ts +2 -0
- package/types/lodash/fp/delay.d.ts +2 -0
- package/types/lodash/fp/difference.d.ts +2 -0
- package/types/lodash/fp/differenceBy.d.ts +2 -0
- package/types/lodash/fp/differenceWith.d.ts +2 -0
- package/types/lodash/fp/dissoc.d.ts +2 -0
- package/types/lodash/fp/dissocPath.d.ts +2 -0
- package/types/lodash/fp/divide.d.ts +2 -0
- package/types/lodash/fp/drop.d.ts +2 -0
- package/types/lodash/fp/dropLast.d.ts +2 -0
- package/types/lodash/fp/dropLastWhile.d.ts +2 -0
- package/types/lodash/fp/dropRight.d.ts +2 -0
- package/types/lodash/fp/dropRightWhile.d.ts +2 -0
- package/types/lodash/fp/dropWhile.d.ts +2 -0
- package/types/lodash/fp/each.d.ts +2 -0
- package/types/lodash/fp/eachRight.d.ts +2 -0
- package/types/lodash/fp/endsWith.d.ts +2 -0
- package/types/lodash/fp/entries.d.ts +2 -0
- package/types/lodash/fp/entriesIn.d.ts +2 -0
- package/types/lodash/fp/eq.d.ts +2 -0
- package/types/lodash/fp/equals.d.ts +2 -0
- package/types/lodash/fp/escape.d.ts +2 -0
- package/types/lodash/fp/escapeRegExp.d.ts +2 -0
- package/types/lodash/fp/every.d.ts +2 -0
- package/types/lodash/fp/extend.d.ts +2 -0
- package/types/lodash/fp/extendAll.d.ts +2 -0
- package/types/lodash/fp/extendAllWith.d.ts +2 -0
- package/types/lodash/fp/extendWith.d.ts +2 -0
- package/types/lodash/fp/fill.d.ts +2 -0
- package/types/lodash/fp/filter.d.ts +2 -0
- package/types/lodash/fp/find.d.ts +2 -0
- package/types/lodash/fp/findFrom.d.ts +2 -0
- package/types/lodash/fp/findIndex.d.ts +2 -0
- package/types/lodash/fp/findIndexFrom.d.ts +2 -0
- package/types/lodash/fp/findKey.d.ts +2 -0
- package/types/lodash/fp/findLast.d.ts +2 -0
- package/types/lodash/fp/findLastFrom.d.ts +2 -0
- package/types/lodash/fp/findLastIndex.d.ts +2 -0
- package/types/lodash/fp/findLastIndexFrom.d.ts +2 -0
- package/types/lodash/fp/findLastKey.d.ts +2 -0
- package/types/lodash/fp/first.d.ts +2 -0
- package/types/lodash/fp/flatMap.d.ts +2 -0
- package/types/lodash/fp/flatMapDeep.d.ts +2 -0
- package/types/lodash/fp/flatMapDepth.d.ts +2 -0
- package/types/lodash/fp/flatten.d.ts +2 -0
- package/types/lodash/fp/flattenDeep.d.ts +2 -0
- package/types/lodash/fp/flattenDepth.d.ts +2 -0
- package/types/lodash/fp/flip.d.ts +2 -0
- package/types/lodash/fp/floor.d.ts +2 -0
- package/types/lodash/fp/flow.d.ts +2 -0
- package/types/lodash/fp/flowRight.d.ts +2 -0
- package/types/lodash/fp/forEach.d.ts +2 -0
- package/types/lodash/fp/forEachRight.d.ts +2 -0
- package/types/lodash/fp/forIn.d.ts +2 -0
- package/types/lodash/fp/forInRight.d.ts +2 -0
- package/types/lodash/fp/forOwn.d.ts +2 -0
- package/types/lodash/fp/forOwnRight.d.ts +2 -0
- package/types/lodash/fp/fromPairs.d.ts +2 -0
- package/types/lodash/fp/functions.d.ts +2 -0
- package/types/lodash/fp/functionsIn.d.ts +2 -0
- package/types/lodash/fp/get.d.ts +2 -0
- package/types/lodash/fp/getOr.d.ts +2 -0
- package/types/lodash/fp/groupBy.d.ts +2 -0
- package/types/lodash/fp/gt.d.ts +2 -0
- package/types/lodash/fp/gte.d.ts +2 -0
- package/types/lodash/fp/has.d.ts +2 -0
- package/types/lodash/fp/hasIn.d.ts +2 -0
- package/types/lodash/fp/head.d.ts +2 -0
- package/types/lodash/fp/identical.d.ts +2 -0
- package/types/lodash/fp/identity.d.ts +2 -0
- package/types/lodash/fp/inRange.d.ts +2 -0
- package/types/lodash/fp/includes.d.ts +2 -0
- package/types/lodash/fp/includesFrom.d.ts +2 -0
- package/types/lodash/fp/indexBy.d.ts +2 -0
- package/types/lodash/fp/indexOf.d.ts +2 -0
- package/types/lodash/fp/indexOfFrom.d.ts +2 -0
- package/types/lodash/fp/init.d.ts +2 -0
- package/types/lodash/fp/initial.d.ts +2 -0
- package/types/lodash/fp/intersection.d.ts +2 -0
- package/types/lodash/fp/intersectionBy.d.ts +2 -0
- package/types/lodash/fp/intersectionWith.d.ts +2 -0
- package/types/lodash/fp/invert.d.ts +2 -0
- package/types/lodash/fp/invertBy.d.ts +2 -0
- package/types/lodash/fp/invertObj.d.ts +2 -0
- package/types/lodash/fp/invoke.d.ts +2 -0
- package/types/lodash/fp/invokeArgs.d.ts +2 -0
- package/types/lodash/fp/invokeArgsMap.d.ts +2 -0
- package/types/lodash/fp/invokeMap.d.ts +2 -0
- package/types/lodash/fp/isArguments.d.ts +2 -0
- package/types/lodash/fp/isArray.d.ts +2 -0
- package/types/lodash/fp/isArrayBuffer.d.ts +2 -0
- package/types/lodash/fp/isArrayLike.d.ts +2 -0
- package/types/lodash/fp/isArrayLikeObject.d.ts +2 -0
- package/types/lodash/fp/isBoolean.d.ts +2 -0
- package/types/lodash/fp/isBuffer.d.ts +2 -0
- package/types/lodash/fp/isDate.d.ts +2 -0
- package/types/lodash/fp/isElement.d.ts +2 -0
- package/types/lodash/fp/isEmpty.d.ts +2 -0
- package/types/lodash/fp/isEqual.d.ts +2 -0
- package/types/lodash/fp/isEqualWith.d.ts +2 -0
- package/types/lodash/fp/isError.d.ts +2 -0
- package/types/lodash/fp/isFinite.d.ts +2 -0
- package/types/lodash/fp/isFunction.d.ts +2 -0
- package/types/lodash/fp/isInteger.d.ts +2 -0
- package/types/lodash/fp/isLength.d.ts +2 -0
- package/types/lodash/fp/isMap.d.ts +2 -0
- package/types/lodash/fp/isMatch.d.ts +2 -0
- package/types/lodash/fp/isMatchWith.d.ts +2 -0
- package/types/lodash/fp/isNaN.d.ts +2 -0
- package/types/lodash/fp/isNative.d.ts +2 -0
- package/types/lodash/fp/isNil.d.ts +2 -0
- package/types/lodash/fp/isNull.d.ts +2 -0
- package/types/lodash/fp/isNumber.d.ts +2 -0
- package/types/lodash/fp/isObject.d.ts +2 -0
- package/types/lodash/fp/isObjectLike.d.ts +2 -0
- package/types/lodash/fp/isPlainObject.d.ts +2 -0
- package/types/lodash/fp/isRegExp.d.ts +2 -0
- package/types/lodash/fp/isSafeInteger.d.ts +2 -0
- package/types/lodash/fp/isSet.d.ts +2 -0
- package/types/lodash/fp/isString.d.ts +2 -0
- package/types/lodash/fp/isSymbol.d.ts +2 -0
- package/types/lodash/fp/isTypedArray.d.ts +2 -0
- package/types/lodash/fp/isUndefined.d.ts +2 -0
- package/types/lodash/fp/isWeakMap.d.ts +2 -0
- package/types/lodash/fp/isWeakSet.d.ts +2 -0
- package/types/lodash/fp/iteratee.d.ts +2 -0
- package/types/lodash/fp/join.d.ts +2 -0
- package/types/lodash/fp/juxt.d.ts +2 -0
- package/types/lodash/fp/kebabCase.d.ts +2 -0
- package/types/lodash/fp/keyBy.d.ts +2 -0
- package/types/lodash/fp/keys.d.ts +2 -0
- package/types/lodash/fp/keysIn.d.ts +2 -0
- package/types/lodash/fp/last.d.ts +2 -0
- package/types/lodash/fp/lastIndexOf.d.ts +2 -0
- package/types/lodash/fp/lastIndexOfFrom.d.ts +2 -0
- package/types/lodash/fp/lowerCase.d.ts +2 -0
- package/types/lodash/fp/lowerFirst.d.ts +2 -0
- package/types/lodash/fp/lt.d.ts +2 -0
- package/types/lodash/fp/lte.d.ts +2 -0
- package/types/lodash/fp/map.d.ts +2 -0
- package/types/lodash/fp/mapKeys.d.ts +2 -0
- package/types/lodash/fp/mapValues.d.ts +2 -0
- package/types/lodash/fp/matches.d.ts +2 -0
- package/types/lodash/fp/matchesProperty.d.ts +2 -0
- package/types/lodash/fp/max.d.ts +2 -0
- package/types/lodash/fp/maxBy.d.ts +2 -0
- package/types/lodash/fp/mean.d.ts +2 -0
- package/types/lodash/fp/meanBy.d.ts +2 -0
- package/types/lodash/fp/memoize.d.ts +2 -0
- package/types/lodash/fp/merge.d.ts +2 -0
- package/types/lodash/fp/mergeAll.d.ts +2 -0
- package/types/lodash/fp/mergeAllWith.d.ts +2 -0
- package/types/lodash/fp/mergeWith.d.ts +2 -0
- package/types/lodash/fp/method.d.ts +2 -0
- package/types/lodash/fp/methodOf.d.ts +2 -0
- package/types/lodash/fp/min.d.ts +2 -0
- package/types/lodash/fp/minBy.d.ts +2 -0
- package/types/lodash/fp/multiply.d.ts +2 -0
- package/types/lodash/fp/nAry.d.ts +2 -0
- package/types/lodash/fp/negate.d.ts +2 -0
- package/types/lodash/fp/noConflict.d.ts +2 -0
- package/types/lodash/fp/noop.d.ts +2 -0
- package/types/lodash/fp/now.d.ts +2 -0
- package/types/lodash/fp/nth.d.ts +2 -0
- package/types/lodash/fp/nthArg.d.ts +2 -0
- package/types/lodash/fp/omit.d.ts +2 -0
- package/types/lodash/fp/omitAll.d.ts +2 -0
- package/types/lodash/fp/omitBy.d.ts +2 -0
- package/types/lodash/fp/once.d.ts +2 -0
- package/types/lodash/fp/orderBy.d.ts +2 -0
- package/types/lodash/fp/over.d.ts +2 -0
- package/types/lodash/fp/overArgs.d.ts +2 -0
- package/types/lodash/fp/overEvery.d.ts +2 -0
- package/types/lodash/fp/overSome.d.ts +2 -0
- package/types/lodash/fp/pad.d.ts +2 -0
- package/types/lodash/fp/padChars.d.ts +2 -0
- package/types/lodash/fp/padCharsEnd.d.ts +2 -0
- package/types/lodash/fp/padCharsStart.d.ts +2 -0
- package/types/lodash/fp/padEnd.d.ts +2 -0
- package/types/lodash/fp/padStart.d.ts +2 -0
- package/types/lodash/fp/parseInt.d.ts +2 -0
- package/types/lodash/fp/partial.d.ts +2 -0
- package/types/lodash/fp/partialRight.d.ts +2 -0
- package/types/lodash/fp/partition.d.ts +2 -0
- package/types/lodash/fp/path.d.ts +2 -0
- package/types/lodash/fp/pathEq.d.ts +2 -0
- package/types/lodash/fp/pathOr.d.ts +2 -0
- package/types/lodash/fp/paths.d.ts +2 -0
- package/types/lodash/fp/pick.d.ts +2 -0
- package/types/lodash/fp/pickAll.d.ts +2 -0
- package/types/lodash/fp/pickBy.d.ts +2 -0
- package/types/lodash/fp/pipe.d.ts +2 -0
- package/types/lodash/fp/placeholder.d.ts +3 -0
- package/types/lodash/fp/pluck.d.ts +2 -0
- package/types/lodash/fp/prop.d.ts +2 -0
- package/types/lodash/fp/propEq.d.ts +2 -0
- package/types/lodash/fp/propOr.d.ts +2 -0
- package/types/lodash/fp/property.d.ts +2 -0
- package/types/lodash/fp/propertyOf.d.ts +2 -0
- package/types/lodash/fp/props.d.ts +2 -0
- package/types/lodash/fp/pull.d.ts +2 -0
- package/types/lodash/fp/pullAll.d.ts +2 -0
- package/types/lodash/fp/pullAllBy.d.ts +2 -0
- package/types/lodash/fp/pullAllWith.d.ts +2 -0
- package/types/lodash/fp/pullAt.d.ts +2 -0
- package/types/lodash/fp/random.d.ts +2 -0
- package/types/lodash/fp/range.d.ts +2 -0
- package/types/lodash/fp/rangeRight.d.ts +2 -0
- package/types/lodash/fp/rangeStep.d.ts +2 -0
- package/types/lodash/fp/rangeStepRight.d.ts +2 -0
- package/types/lodash/fp/rearg.d.ts +2 -0
- package/types/lodash/fp/reduce.d.ts +2 -0
- package/types/lodash/fp/reduceRight.d.ts +2 -0
- package/types/lodash/fp/reject.d.ts +2 -0
- package/types/lodash/fp/remove.d.ts +2 -0
- package/types/lodash/fp/repeat.d.ts +2 -0
- package/types/lodash/fp/replace.d.ts +2 -0
- package/types/lodash/fp/rest.d.ts +2 -0
- package/types/lodash/fp/restFrom.d.ts +2 -0
- package/types/lodash/fp/result.d.ts +2 -0
- package/types/lodash/fp/reverse.d.ts +2 -0
- package/types/lodash/fp/round.d.ts +2 -0
- package/types/lodash/fp/runInContext.d.ts +2 -0
- package/types/lodash/fp/sample.d.ts +2 -0
- package/types/lodash/fp/sampleSize.d.ts +2 -0
- package/types/lodash/fp/set.d.ts +2 -0
- package/types/lodash/fp/setWith.d.ts +2 -0
- package/types/lodash/fp/shuffle.d.ts +2 -0
- package/types/lodash/fp/size.d.ts +2 -0
- package/types/lodash/fp/slice.d.ts +2 -0
- package/types/lodash/fp/snakeCase.d.ts +2 -0
- package/types/lodash/fp/some.d.ts +2 -0
- package/types/lodash/fp/sortBy.d.ts +2 -0
- package/types/lodash/fp/sortedIndex.d.ts +2 -0
- package/types/lodash/fp/sortedIndexBy.d.ts +2 -0
- package/types/lodash/fp/sortedIndexOf.d.ts +2 -0
- package/types/lodash/fp/sortedLastIndex.d.ts +2 -0
- package/types/lodash/fp/sortedLastIndexBy.d.ts +2 -0
- package/types/lodash/fp/sortedLastIndexOf.d.ts +2 -0
- package/types/lodash/fp/sortedUniq.d.ts +2 -0
- package/types/lodash/fp/sortedUniqBy.d.ts +2 -0
- package/types/lodash/fp/split.d.ts +2 -0
- package/types/lodash/fp/spread.d.ts +2 -0
- package/types/lodash/fp/spreadFrom.d.ts +2 -0
- package/types/lodash/fp/startCase.d.ts +2 -0
- package/types/lodash/fp/startsWith.d.ts +2 -0
- package/types/lodash/fp/stubArray.d.ts +2 -0
- package/types/lodash/fp/stubFalse.d.ts +2 -0
- package/types/lodash/fp/stubObject.d.ts +2 -0
- package/types/lodash/fp/stubString.d.ts +2 -0
- package/types/lodash/fp/stubTrue.d.ts +2 -0
- package/types/lodash/fp/subtract.d.ts +2 -0
- package/types/lodash/fp/sum.d.ts +2 -0
- package/types/lodash/fp/sumBy.d.ts +2 -0
- package/types/lodash/fp/symmetricDifference.d.ts +2 -0
- package/types/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
- package/types/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
- package/types/lodash/fp/tail.d.ts +2 -0
- package/types/lodash/fp/take.d.ts +2 -0
- package/types/lodash/fp/takeLast.d.ts +2 -0
- package/types/lodash/fp/takeLastWhile.d.ts +2 -0
- package/types/lodash/fp/takeRight.d.ts +2 -0
- package/types/lodash/fp/takeRightWhile.d.ts +2 -0
- package/types/lodash/fp/takeWhile.d.ts +2 -0
- package/types/lodash/fp/tap.d.ts +2 -0
- package/types/lodash/fp/template.d.ts +2 -0
- package/types/lodash/fp/throttle.d.ts +2 -0
- package/types/lodash/fp/thru.d.ts +2 -0
- package/types/lodash/fp/times.d.ts +2 -0
- package/types/lodash/fp/toArray.d.ts +2 -0
- package/types/lodash/fp/toFinite.d.ts +2 -0
- package/types/lodash/fp/toInteger.d.ts +2 -0
- package/types/lodash/fp/toLength.d.ts +2 -0
- package/types/lodash/fp/toLower.d.ts +2 -0
- package/types/lodash/fp/toNumber.d.ts +2 -0
- package/types/lodash/fp/toPairs.d.ts +2 -0
- package/types/lodash/fp/toPairsIn.d.ts +2 -0
- package/types/lodash/fp/toPath.d.ts +2 -0
- package/types/lodash/fp/toPlainObject.d.ts +2 -0
- package/types/lodash/fp/toSafeInteger.d.ts +2 -0
- package/types/lodash/fp/toString.d.ts +2 -0
- package/types/lodash/fp/toUpper.d.ts +2 -0
- package/types/lodash/fp/transform.d.ts +2 -0
- package/types/lodash/fp/trim.d.ts +2 -0
- package/types/lodash/fp/trimChars.d.ts +2 -0
- package/types/lodash/fp/trimCharsEnd.d.ts +2 -0
- package/types/lodash/fp/trimCharsStart.d.ts +2 -0
- package/types/lodash/fp/trimEnd.d.ts +2 -0
- package/types/lodash/fp/trimStart.d.ts +2 -0
- package/types/lodash/fp/truncate.d.ts +2 -0
- package/types/lodash/fp/unapply.d.ts +2 -0
- package/types/lodash/fp/unary.d.ts +2 -0
- package/types/lodash/fp/unescape.d.ts +2 -0
- package/types/lodash/fp/union.d.ts +2 -0
- package/types/lodash/fp/unionBy.d.ts +2 -0
- package/types/lodash/fp/unionWith.d.ts +2 -0
- package/types/lodash/fp/uniq.d.ts +2 -0
- package/types/lodash/fp/uniqBy.d.ts +2 -0
- package/types/lodash/fp/uniqWith.d.ts +2 -0
- package/types/lodash/fp/uniqueId.d.ts +2 -0
- package/types/lodash/fp/unnest.d.ts +2 -0
- package/types/lodash/fp/unset.d.ts +2 -0
- package/types/lodash/fp/unzip.d.ts +2 -0
- package/types/lodash/fp/unzipWith.d.ts +2 -0
- package/types/lodash/fp/update.d.ts +2 -0
- package/types/lodash/fp/updateWith.d.ts +2 -0
- package/types/lodash/fp/upperCase.d.ts +2 -0
- package/types/lodash/fp/upperFirst.d.ts +2 -0
- package/types/lodash/fp/useWith.d.ts +2 -0
- package/types/lodash/fp/values.d.ts +2 -0
- package/types/lodash/fp/valuesIn.d.ts +2 -0
- package/types/lodash/fp/where.d.ts +2 -0
- package/types/lodash/fp/whereEq.d.ts +2 -0
- package/types/lodash/fp/without.d.ts +2 -0
- package/types/lodash/fp/words.d.ts +2 -0
- package/types/lodash/fp/wrap.d.ts +2 -0
- package/types/lodash/fp/xor.d.ts +2 -0
- package/types/lodash/fp/xorBy.d.ts +2 -0
- package/types/lodash/fp/xorWith.d.ts +2 -0
- package/types/lodash/fp/zip.d.ts +2 -0
- package/types/lodash/fp/zipAll.d.ts +2 -0
- package/types/lodash/fp/zipObj.d.ts +2 -0
- package/types/lodash/fp/zipObject.d.ts +2 -0
- package/types/lodash/fp/zipObjectDeep.d.ts +2 -0
- package/types/lodash/fp/zipWith.d.ts +2 -0
- package/types/lodash/fp.d.ts +4992 -0
- package/types/lodash/fromPairs.d.ts +2 -0
- package/types/lodash/functions.d.ts +2 -0
- package/types/lodash/functionsIn.d.ts +2 -0
- package/types/lodash/get.d.ts +2 -0
- package/types/lodash/groupBy.d.ts +2 -0
- package/types/lodash/gt.d.ts +2 -0
- package/types/lodash/gte.d.ts +2 -0
- package/types/lodash/has.d.ts +2 -0
- package/types/lodash/hasIn.d.ts +2 -0
- package/types/lodash/head.d.ts +2 -0
- package/types/lodash/identity.d.ts +2 -0
- package/types/lodash/inRange.d.ts +2 -0
- package/types/lodash/includes.d.ts +2 -0
- package/types/lodash/index.d.ts +47 -0
- package/types/lodash/indexOf.d.ts +2 -0
- package/types/lodash/initial.d.ts +2 -0
- package/types/lodash/intersection.d.ts +2 -0
- package/types/lodash/intersectionBy.d.ts +2 -0
- package/types/lodash/intersectionWith.d.ts +2 -0
- package/types/lodash/invert.d.ts +2 -0
- package/types/lodash/invertBy.d.ts +2 -0
- package/types/lodash/invoke.d.ts +2 -0
- package/types/lodash/invokeMap.d.ts +2 -0
- package/types/lodash/isArguments.d.ts +2 -0
- package/types/lodash/isArray.d.ts +2 -0
- package/types/lodash/isArrayBuffer.d.ts +2 -0
- package/types/lodash/isArrayLike.d.ts +2 -0
- package/types/lodash/isArrayLikeObject.d.ts +2 -0
- package/types/lodash/isBoolean.d.ts +2 -0
- package/types/lodash/isBuffer.d.ts +2 -0
- package/types/lodash/isDate.d.ts +2 -0
- package/types/lodash/isElement.d.ts +2 -0
- package/types/lodash/isEmpty.d.ts +2 -0
- package/types/lodash/isEqual.d.ts +2 -0
- package/types/lodash/isEqualWith.d.ts +2 -0
- package/types/lodash/isError.d.ts +2 -0
- package/types/lodash/isFinite.d.ts +2 -0
- package/types/lodash/isFunction.d.ts +2 -0
- package/types/lodash/isInteger.d.ts +2 -0
- package/types/lodash/isLength.d.ts +2 -0
- package/types/lodash/isMap.d.ts +2 -0
- package/types/lodash/isMatch.d.ts +2 -0
- package/types/lodash/isMatchWith.d.ts +2 -0
- package/types/lodash/isNaN.d.ts +2 -0
- package/types/lodash/isNative.d.ts +2 -0
- package/types/lodash/isNil.d.ts +2 -0
- package/types/lodash/isNull.d.ts +2 -0
- package/types/lodash/isNumber.d.ts +2 -0
- package/types/lodash/isObject.d.ts +2 -0
- package/types/lodash/isObjectLike.d.ts +2 -0
- package/types/lodash/isPlainObject.d.ts +2 -0
- package/types/lodash/isRegExp.d.ts +2 -0
- package/types/lodash/isSafeInteger.d.ts +2 -0
- package/types/lodash/isSet.d.ts +2 -0
- package/types/lodash/isString.d.ts +2 -0
- package/types/lodash/isSymbol.d.ts +2 -0
- package/types/lodash/isTypedArray.d.ts +2 -0
- package/types/lodash/isUndefined.d.ts +2 -0
- package/types/lodash/isWeakMap.d.ts +2 -0
- package/types/lodash/isWeakSet.d.ts +2 -0
- package/types/lodash/iteratee.d.ts +2 -0
- package/types/lodash/join.d.ts +2 -0
- package/types/lodash/kebabCase.d.ts +2 -0
- package/types/lodash/keyBy.d.ts +2 -0
- package/types/lodash/keys.d.ts +2 -0
- package/types/lodash/keysIn.d.ts +2 -0
- package/types/lodash/last.d.ts +2 -0
- package/types/lodash/lastIndexOf.d.ts +2 -0
- package/types/lodash/lowerCase.d.ts +2 -0
- package/types/lodash/lowerFirst.d.ts +2 -0
- package/types/lodash/lt.d.ts +2 -0
- package/types/lodash/lte.d.ts +2 -0
- package/types/lodash/map.d.ts +2 -0
- package/types/lodash/mapKeys.d.ts +2 -0
- package/types/lodash/mapValues.d.ts +2 -0
- package/types/lodash/matches.d.ts +2 -0
- package/types/lodash/matchesProperty.d.ts +2 -0
- package/types/lodash/max.d.ts +2 -0
- package/types/lodash/maxBy.d.ts +2 -0
- package/types/lodash/mean.d.ts +2 -0
- package/types/lodash/meanBy.d.ts +2 -0
- package/types/lodash/memoize.d.ts +2 -0
- package/types/lodash/merge.d.ts +2 -0
- package/types/lodash/mergeWith.d.ts +2 -0
- package/types/lodash/method.d.ts +2 -0
- package/types/lodash/methodOf.d.ts +2 -0
- package/types/lodash/min.d.ts +2 -0
- package/types/lodash/minBy.d.ts +2 -0
- package/types/lodash/mixin.d.ts +2 -0
- package/types/lodash/multiply.d.ts +2 -0
- package/types/lodash/negate.d.ts +2 -0
- package/types/lodash/noConflict.d.ts +2 -0
- package/types/lodash/noop.d.ts +2 -0
- package/types/lodash/now.d.ts +2 -0
- package/types/lodash/nth.d.ts +2 -0
- package/types/lodash/nthArg.d.ts +2 -0
- package/types/lodash/omit.d.ts +2 -0
- package/types/lodash/omitBy.d.ts +2 -0
- package/types/lodash/once.d.ts +2 -0
- package/types/lodash/orderBy.d.ts +2 -0
- package/types/lodash/over.d.ts +2 -0
- package/types/lodash/overArgs.d.ts +2 -0
- package/types/lodash/overEvery.d.ts +2 -0
- package/types/lodash/overSome.d.ts +2 -0
- package/types/lodash/pad.d.ts +2 -0
- package/types/lodash/padEnd.d.ts +2 -0
- package/types/lodash/padStart.d.ts +2 -0
- package/types/lodash/parseInt.d.ts +2 -0
- package/types/lodash/partial.d.ts +2 -0
- package/types/lodash/partialRight.d.ts +2 -0
- package/types/lodash/partition.d.ts +2 -0
- package/types/lodash/pick.d.ts +2 -0
- package/types/lodash/pickBy.d.ts +2 -0
- package/types/lodash/property.d.ts +2 -0
- package/types/lodash/propertyOf.d.ts +2 -0
- package/types/lodash/pull.d.ts +2 -0
- package/types/lodash/pullAll.d.ts +2 -0
- package/types/lodash/pullAllBy.d.ts +2 -0
- package/types/lodash/pullAllWith.d.ts +2 -0
- package/types/lodash/pullAt.d.ts +2 -0
- package/types/lodash/random.d.ts +2 -0
- package/types/lodash/range.d.ts +2 -0
- package/types/lodash/rangeRight.d.ts +2 -0
- package/types/lodash/rearg.d.ts +2 -0
- package/types/lodash/reduce.d.ts +2 -0
- package/types/lodash/reduceRight.d.ts +2 -0
- package/types/lodash/reject.d.ts +2 -0
- package/types/lodash/remove.d.ts +2 -0
- package/types/lodash/repeat.d.ts +2 -0
- package/types/lodash/replace.d.ts +2 -0
- package/types/lodash/rest.d.ts +2 -0
- package/types/lodash/result.d.ts +2 -0
- package/types/lodash/reverse.d.ts +2 -0
- package/types/lodash/round.d.ts +2 -0
- package/types/lodash/runInContext.d.ts +2 -0
- package/types/lodash/sample.d.ts +2 -0
- package/types/lodash/sampleSize.d.ts +2 -0
- package/types/lodash/set.d.ts +2 -0
- package/types/lodash/setWith.d.ts +2 -0
- package/types/lodash/shuffle.d.ts +2 -0
- package/types/lodash/size.d.ts +2 -0
- package/types/lodash/slice.d.ts +2 -0
- package/types/lodash/snakeCase.d.ts +2 -0
- package/types/lodash/some.d.ts +2 -0
- package/types/lodash/sortBy.d.ts +2 -0
- package/types/lodash/sortedIndex.d.ts +2 -0
- package/types/lodash/sortedIndexBy.d.ts +2 -0
- package/types/lodash/sortedIndexOf.d.ts +2 -0
- package/types/lodash/sortedLastIndex.d.ts +2 -0
- package/types/lodash/sortedLastIndexBy.d.ts +2 -0
- package/types/lodash/sortedLastIndexOf.d.ts +2 -0
- package/types/lodash/sortedUniq.d.ts +2 -0
- package/types/lodash/sortedUniqBy.d.ts +2 -0
- package/types/lodash/split.d.ts +2 -0
- package/types/lodash/spread.d.ts +2 -0
- package/types/lodash/startCase.d.ts +2 -0
- package/types/lodash/startsWith.d.ts +2 -0
- package/types/lodash/stubFalse.d.ts +2 -0
- package/types/lodash/stubTrue.d.ts +2 -0
- package/types/lodash/subtract.d.ts +2 -0
- package/types/lodash/sum.d.ts +2 -0
- package/types/lodash/sumBy.d.ts +2 -0
- package/types/lodash/tail.d.ts +2 -0
- package/types/lodash/take.d.ts +2 -0
- package/types/lodash/takeRight.d.ts +2 -0
- package/types/lodash/takeRightWhile.d.ts +2 -0
- package/types/lodash/takeWhile.d.ts +2 -0
- package/types/lodash/tap.d.ts +2 -0
- package/types/lodash/template.d.ts +2 -0
- package/types/lodash/throttle.d.ts +2 -0
- package/types/lodash/thru.d.ts +2 -0
- package/types/lodash/times.d.ts +2 -0
- package/types/lodash/toArray.d.ts +2 -0
- package/types/lodash/toFinite.d.ts +2 -0
- package/types/lodash/toInteger.d.ts +2 -0
- package/types/lodash/toLength.d.ts +2 -0
- package/types/lodash/toLower.d.ts +2 -0
- package/types/lodash/toNumber.d.ts +2 -0
- package/types/lodash/toPairs.d.ts +2 -0
- package/types/lodash/toPairsIn.d.ts +2 -0
- package/types/lodash/toPath.d.ts +2 -0
- package/types/lodash/toPlainObject.d.ts +2 -0
- package/types/lodash/toSafeInteger.d.ts +2 -0
- package/types/lodash/toString.d.ts +2 -0
- package/types/lodash/toUpper.d.ts +2 -0
- package/types/lodash/transform.d.ts +2 -0
- package/types/lodash/trim.d.ts +2 -0
- package/types/lodash/trimEnd.d.ts +2 -0
- package/types/lodash/trimStart.d.ts +2 -0
- package/types/lodash/truncate.d.ts +2 -0
- package/types/lodash/ts3.1/add.d.ts +2 -0
- package/types/lodash/ts3.1/after.d.ts +2 -0
- package/types/lodash/ts3.1/ary.d.ts +2 -0
- package/types/lodash/ts3.1/assign.d.ts +2 -0
- package/types/lodash/ts3.1/assignIn.d.ts +2 -0
- package/types/lodash/ts3.1/assignInWith.d.ts +2 -0
- package/types/lodash/ts3.1/assignWith.d.ts +2 -0
- package/types/lodash/ts3.1/at.d.ts +2 -0
- package/types/lodash/ts3.1/attempt.d.ts +2 -0
- package/types/lodash/ts3.1/before.d.ts +2 -0
- package/types/lodash/ts3.1/bind.d.ts +2 -0
- package/types/lodash/ts3.1/bindAll.d.ts +2 -0
- package/types/lodash/ts3.1/bindKey.d.ts +2 -0
- package/types/lodash/ts3.1/camelCase.d.ts +2 -0
- package/types/lodash/ts3.1/capitalize.d.ts +2 -0
- package/types/lodash/ts3.1/castArray.d.ts +2 -0
- package/types/lodash/ts3.1/ceil.d.ts +2 -0
- package/types/lodash/ts3.1/chain.d.ts +2 -0
- package/types/lodash/ts3.1/chunk.d.ts +2 -0
- package/types/lodash/ts3.1/clamp.d.ts +2 -0
- package/types/lodash/ts3.1/clone.d.ts +2 -0
- package/types/lodash/ts3.1/cloneDeep.d.ts +2 -0
- package/types/lodash/ts3.1/cloneDeepWith.d.ts +2 -0
- package/types/lodash/ts3.1/cloneWith.d.ts +2 -0
- package/types/lodash/ts3.1/common/array.d.ts +2127 -0
- package/types/lodash/ts3.1/common/collection.d.ts +1930 -0
- package/types/lodash/ts3.1/common/common.d.ts +284 -0
- package/types/lodash/ts3.1/common/date.d.ts +23 -0
- package/types/lodash/ts3.1/common/function.d.ts +1392 -0
- package/types/lodash/ts3.1/common/lang.d.ts +1694 -0
- package/types/lodash/ts3.1/common/math.d.ts +405 -0
- package/types/lodash/ts3.1/common/number.d.ts +131 -0
- package/types/lodash/ts3.1/common/object.d.ts +2507 -0
- package/types/lodash/ts3.1/common/seq.d.ts +210 -0
- package/types/lodash/ts3.1/common/string.d.ts +788 -0
- package/types/lodash/ts3.1/common/util.d.ts +1219 -0
- package/types/lodash/ts3.1/compact.d.ts +2 -0
- package/types/lodash/ts3.1/concat.d.ts +2 -0
- package/types/lodash/ts3.1/cond.d.ts +2 -0
- package/types/lodash/ts3.1/conformsTo.d.ts +2 -0
- package/types/lodash/ts3.1/constant.d.ts +2 -0
- package/types/lodash/ts3.1/countBy.d.ts +2 -0
- package/types/lodash/ts3.1/create.d.ts +2 -0
- package/types/lodash/ts3.1/curry.d.ts +2 -0
- package/types/lodash/ts3.1/curryRight.d.ts +2 -0
- package/types/lodash/ts3.1/debounce.d.ts +2 -0
- package/types/lodash/ts3.1/deburr.d.ts +2 -0
- package/types/lodash/ts3.1/defaultTo.d.ts +2 -0
- package/types/lodash/ts3.1/defaults.d.ts +2 -0
- package/types/lodash/ts3.1/defaultsDeep.d.ts +2 -0
- package/types/lodash/ts3.1/defer.d.ts +2 -0
- package/types/lodash/ts3.1/delay.d.ts +2 -0
- package/types/lodash/ts3.1/difference.d.ts +2 -0
- package/types/lodash/ts3.1/differenceBy.d.ts +2 -0
- package/types/lodash/ts3.1/differenceWith.d.ts +2 -0
- package/types/lodash/ts3.1/divide.d.ts +2 -0
- package/types/lodash/ts3.1/drop.d.ts +2 -0
- package/types/lodash/ts3.1/dropRight.d.ts +2 -0
- package/types/lodash/ts3.1/dropRightWhile.d.ts +2 -0
- package/types/lodash/ts3.1/dropWhile.d.ts +2 -0
- package/types/lodash/ts3.1/each.d.ts +2 -0
- package/types/lodash/ts3.1/eachRight.d.ts +2 -0
- package/types/lodash/ts3.1/endsWith.d.ts +2 -0
- package/types/lodash/ts3.1/entries.d.ts +2 -0
- package/types/lodash/ts3.1/entriesIn.d.ts +2 -0
- package/types/lodash/ts3.1/eq.d.ts +2 -0
- package/types/lodash/ts3.1/escape.d.ts +2 -0
- package/types/lodash/ts3.1/escapeRegExp.d.ts +2 -0
- package/types/lodash/ts3.1/every.d.ts +2 -0
- package/types/lodash/ts3.1/extend.d.ts +2 -0
- package/types/lodash/ts3.1/extendWith.d.ts +2 -0
- package/types/lodash/ts3.1/fill.d.ts +2 -0
- package/types/lodash/ts3.1/filter.d.ts +2 -0
- package/types/lodash/ts3.1/find.d.ts +2 -0
- package/types/lodash/ts3.1/findIndex.d.ts +2 -0
- package/types/lodash/ts3.1/findKey.d.ts +2 -0
- package/types/lodash/ts3.1/findLast.d.ts +2 -0
- package/types/lodash/ts3.1/findLastIndex.d.ts +2 -0
- package/types/lodash/ts3.1/findLastKey.d.ts +2 -0
- package/types/lodash/ts3.1/first.d.ts +2 -0
- package/types/lodash/ts3.1/flatMap.d.ts +2 -0
- package/types/lodash/ts3.1/flatMapDeep.d.ts +2 -0
- package/types/lodash/ts3.1/flatMapDepth.d.ts +2 -0
- package/types/lodash/ts3.1/flatten.d.ts +2 -0
- package/types/lodash/ts3.1/flattenDeep.d.ts +2 -0
- package/types/lodash/ts3.1/flattenDepth.d.ts +2 -0
- package/types/lodash/ts3.1/flip.d.ts +2 -0
- package/types/lodash/ts3.1/floor.d.ts +2 -0
- package/types/lodash/ts3.1/flow.d.ts +2 -0
- package/types/lodash/ts3.1/flowRight.d.ts +2 -0
- package/types/lodash/ts3.1/forEach.d.ts +2 -0
- package/types/lodash/ts3.1/forEachRight.d.ts +2 -0
- package/types/lodash/ts3.1/forIn.d.ts +2 -0
- package/types/lodash/ts3.1/forInRight.d.ts +2 -0
- package/types/lodash/ts3.1/forOwn.d.ts +2 -0
- package/types/lodash/ts3.1/forOwnRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/F.d.ts +2 -0
- package/types/lodash/ts3.1/fp/T.d.ts +2 -0
- package/types/lodash/ts3.1/fp/__.d.ts +3 -0
- package/types/lodash/ts3.1/fp/add.d.ts +2 -0
- package/types/lodash/ts3.1/fp/after.d.ts +2 -0
- package/types/lodash/ts3.1/fp/all.d.ts +2 -0
- package/types/lodash/ts3.1/fp/allPass.d.ts +2 -0
- package/types/lodash/ts3.1/fp/always.d.ts +2 -0
- package/types/lodash/ts3.1/fp/any.d.ts +2 -0
- package/types/lodash/ts3.1/fp/anyPass.d.ts +2 -0
- package/types/lodash/ts3.1/fp/apply.d.ts +2 -0
- package/types/lodash/ts3.1/fp/ary.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assign.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignAllWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignInAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignInAllWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignInWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assoc.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assocPath.d.ts +2 -0
- package/types/lodash/ts3.1/fp/at.d.ts +2 -0
- package/types/lodash/ts3.1/fp/attempt.d.ts +2 -0
- package/types/lodash/ts3.1/fp/before.d.ts +2 -0
- package/types/lodash/ts3.1/fp/bind.d.ts +2 -0
- package/types/lodash/ts3.1/fp/bindAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/bindKey.d.ts +2 -0
- package/types/lodash/ts3.1/fp/camelCase.d.ts +2 -0
- package/types/lodash/ts3.1/fp/capitalize.d.ts +2 -0
- package/types/lodash/ts3.1/fp/castArray.d.ts +2 -0
- package/types/lodash/ts3.1/fp/ceil.d.ts +2 -0
- package/types/lodash/ts3.1/fp/chunk.d.ts +2 -0
- package/types/lodash/ts3.1/fp/clamp.d.ts +2 -0
- package/types/lodash/ts3.1/fp/clone.d.ts +2 -0
- package/types/lodash/ts3.1/fp/cloneDeep.d.ts +2 -0
- package/types/lodash/ts3.1/fp/cloneDeepWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/cloneWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/compact.d.ts +2 -0
- package/types/lodash/ts3.1/fp/complement.d.ts +2 -0
- package/types/lodash/ts3.1/fp/compose.d.ts +2 -0
- package/types/lodash/ts3.1/fp/concat.d.ts +2 -0
- package/types/lodash/ts3.1/fp/cond.d.ts +2 -0
- package/types/lodash/ts3.1/fp/conforms.d.ts +2 -0
- package/types/lodash/ts3.1/fp/conformsTo.d.ts +2 -0
- package/types/lodash/ts3.1/fp/constant.d.ts +2 -0
- package/types/lodash/ts3.1/fp/contains.d.ts +2 -0
- package/types/lodash/ts3.1/fp/convert.d.ts +15 -0
- package/types/lodash/ts3.1/fp/countBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/create.d.ts +2 -0
- package/types/lodash/ts3.1/fp/curry.d.ts +2 -0
- package/types/lodash/ts3.1/fp/curryN.d.ts +2 -0
- package/types/lodash/ts3.1/fp/curryRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/curryRightN.d.ts +2 -0
- package/types/lodash/ts3.1/fp/debounce.d.ts +2 -0
- package/types/lodash/ts3.1/fp/deburr.d.ts +2 -0
- package/types/lodash/ts3.1/fp/defaultTo.d.ts +2 -0
- package/types/lodash/ts3.1/fp/defaults.d.ts +2 -0
- package/types/lodash/ts3.1/fp/defaultsAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/defaultsDeep.d.ts +2 -0
- package/types/lodash/ts3.1/fp/defaultsDeepAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/defer.d.ts +2 -0
- package/types/lodash/ts3.1/fp/delay.d.ts +2 -0
- package/types/lodash/ts3.1/fp/difference.d.ts +2 -0
- package/types/lodash/ts3.1/fp/differenceBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/differenceWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dissoc.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dissocPath.d.ts +2 -0
- package/types/lodash/ts3.1/fp/divide.d.ts +2 -0
- package/types/lodash/ts3.1/fp/drop.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dropLast.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dropLastWhile.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dropRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dropRightWhile.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dropWhile.d.ts +2 -0
- package/types/lodash/ts3.1/fp/each.d.ts +2 -0
- package/types/lodash/ts3.1/fp/eachRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/endsWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/entries.d.ts +2 -0
- package/types/lodash/ts3.1/fp/entriesIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/eq.d.ts +2 -0
- package/types/lodash/ts3.1/fp/equals.d.ts +2 -0
- package/types/lodash/ts3.1/fp/escape.d.ts +2 -0
- package/types/lodash/ts3.1/fp/escapeRegExp.d.ts +2 -0
- package/types/lodash/ts3.1/fp/every.d.ts +2 -0
- package/types/lodash/ts3.1/fp/extend.d.ts +2 -0
- package/types/lodash/ts3.1/fp/extendAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/extendAllWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/extendWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/fill.d.ts +2 -0
- package/types/lodash/ts3.1/fp/filter.d.ts +2 -0
- package/types/lodash/ts3.1/fp/find.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findIndex.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findIndexFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findKey.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findLast.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findLastFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findLastIndex.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findLastIndexFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findLastKey.d.ts +2 -0
- package/types/lodash/ts3.1/fp/first.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flatMap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flatMapDeep.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flatMapDepth.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flatten.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flattenDeep.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flattenDepth.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flip.d.ts +2 -0
- package/types/lodash/ts3.1/fp/floor.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flow.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flowRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/forEach.d.ts +2 -0
- package/types/lodash/ts3.1/fp/forEachRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/forIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/forInRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/forOwn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/forOwnRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/fromPairs.d.ts +2 -0
- package/types/lodash/ts3.1/fp/functions.d.ts +2 -0
- package/types/lodash/ts3.1/fp/functionsIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/get.d.ts +2 -0
- package/types/lodash/ts3.1/fp/getOr.d.ts +2 -0
- package/types/lodash/ts3.1/fp/groupBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/gt.d.ts +2 -0
- package/types/lodash/ts3.1/fp/gte.d.ts +2 -0
- package/types/lodash/ts3.1/fp/has.d.ts +2 -0
- package/types/lodash/ts3.1/fp/hasIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/head.d.ts +2 -0
- package/types/lodash/ts3.1/fp/identical.d.ts +2 -0
- package/types/lodash/ts3.1/fp/identity.d.ts +2 -0
- package/types/lodash/ts3.1/fp/inRange.d.ts +2 -0
- package/types/lodash/ts3.1/fp/includes.d.ts +2 -0
- package/types/lodash/ts3.1/fp/includesFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/indexBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/indexOf.d.ts +2 -0
- package/types/lodash/ts3.1/fp/indexOfFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/init.d.ts +2 -0
- package/types/lodash/ts3.1/fp/initial.d.ts +2 -0
- package/types/lodash/ts3.1/fp/intersection.d.ts +2 -0
- package/types/lodash/ts3.1/fp/intersectionBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/intersectionWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invert.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invertBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invertObj.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invoke.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invokeArgs.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invokeArgsMap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invokeMap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isArguments.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isArray.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isArrayBuffer.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isArrayLike.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isArrayLikeObject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isBoolean.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isBuffer.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isDate.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isElement.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isEmpty.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isEqual.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isEqualWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isError.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isFinite.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isFunction.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isInteger.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isLength.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isMap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isMatch.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isMatchWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isNaN.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isNative.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isNil.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isNull.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isNumber.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isObject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isObjectLike.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isPlainObject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isRegExp.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isSafeInteger.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isSet.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isString.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isSymbol.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isTypedArray.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isUndefined.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isWeakMap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isWeakSet.d.ts +2 -0
- package/types/lodash/ts3.1/fp/iteratee.d.ts +2 -0
- package/types/lodash/ts3.1/fp/join.d.ts +2 -0
- package/types/lodash/ts3.1/fp/juxt.d.ts +2 -0
- package/types/lodash/ts3.1/fp/kebabCase.d.ts +2 -0
- package/types/lodash/ts3.1/fp/keyBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/keys.d.ts +2 -0
- package/types/lodash/ts3.1/fp/keysIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/last.d.ts +2 -0
- package/types/lodash/ts3.1/fp/lastIndexOf.d.ts +2 -0
- package/types/lodash/ts3.1/fp/lastIndexOfFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/lowerCase.d.ts +2 -0
- package/types/lodash/ts3.1/fp/lowerFirst.d.ts +2 -0
- package/types/lodash/ts3.1/fp/lt.d.ts +2 -0
- package/types/lodash/ts3.1/fp/lte.d.ts +2 -0
- package/types/lodash/ts3.1/fp/map.d.ts +2 -0
- package/types/lodash/ts3.1/fp/mapKeys.d.ts +2 -0
- package/types/lodash/ts3.1/fp/mapValues.d.ts +2 -0
- package/types/lodash/ts3.1/fp/matches.d.ts +2 -0
- package/types/lodash/ts3.1/fp/matchesProperty.d.ts +2 -0
- package/types/lodash/ts3.1/fp/max.d.ts +2 -0
- package/types/lodash/ts3.1/fp/maxBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/mean.d.ts +2 -0
- package/types/lodash/ts3.1/fp/meanBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/memoize.d.ts +2 -0
- package/types/lodash/ts3.1/fp/merge.d.ts +2 -0
- package/types/lodash/ts3.1/fp/mergeAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/mergeAllWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/mergeWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/method.d.ts +2 -0
- package/types/lodash/ts3.1/fp/methodOf.d.ts +2 -0
- package/types/lodash/ts3.1/fp/min.d.ts +2 -0
- package/types/lodash/ts3.1/fp/minBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/multiply.d.ts +2 -0
- package/types/lodash/ts3.1/fp/nAry.d.ts +2 -0
- package/types/lodash/ts3.1/fp/negate.d.ts +2 -0
- package/types/lodash/ts3.1/fp/noConflict.d.ts +2 -0
- package/types/lodash/ts3.1/fp/noop.d.ts +2 -0
- package/types/lodash/ts3.1/fp/now.d.ts +2 -0
- package/types/lodash/ts3.1/fp/nth.d.ts +2 -0
- package/types/lodash/ts3.1/fp/nthArg.d.ts +2 -0
- package/types/lodash/ts3.1/fp/omit.d.ts +2 -0
- package/types/lodash/ts3.1/fp/omitAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/omitBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/once.d.ts +2 -0
- package/types/lodash/ts3.1/fp/orderBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/over.d.ts +2 -0
- package/types/lodash/ts3.1/fp/overArgs.d.ts +2 -0
- package/types/lodash/ts3.1/fp/overEvery.d.ts +2 -0
- package/types/lodash/ts3.1/fp/overSome.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pad.d.ts +2 -0
- package/types/lodash/ts3.1/fp/padChars.d.ts +2 -0
- package/types/lodash/ts3.1/fp/padCharsEnd.d.ts +2 -0
- package/types/lodash/ts3.1/fp/padCharsStart.d.ts +2 -0
- package/types/lodash/ts3.1/fp/padEnd.d.ts +2 -0
- package/types/lodash/ts3.1/fp/padStart.d.ts +2 -0
- package/types/lodash/ts3.1/fp/parseInt.d.ts +2 -0
- package/types/lodash/ts3.1/fp/partial.d.ts +2 -0
- package/types/lodash/ts3.1/fp/partialRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/partition.d.ts +2 -0
- package/types/lodash/ts3.1/fp/path.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pathEq.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pathOr.d.ts +2 -0
- package/types/lodash/ts3.1/fp/paths.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pick.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pickAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pickBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pipe.d.ts +2 -0
- package/types/lodash/ts3.1/fp/placeholder.d.ts +3 -0
- package/types/lodash/ts3.1/fp/pluck.d.ts +2 -0
- package/types/lodash/ts3.1/fp/prop.d.ts +2 -0
- package/types/lodash/ts3.1/fp/propEq.d.ts +2 -0
- package/types/lodash/ts3.1/fp/propOr.d.ts +2 -0
- package/types/lodash/ts3.1/fp/property.d.ts +2 -0
- package/types/lodash/ts3.1/fp/propertyOf.d.ts +2 -0
- package/types/lodash/ts3.1/fp/props.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pull.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pullAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pullAllBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pullAllWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pullAt.d.ts +2 -0
- package/types/lodash/ts3.1/fp/random.d.ts +2 -0
- package/types/lodash/ts3.1/fp/range.d.ts +2 -0
- package/types/lodash/ts3.1/fp/rangeRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/rangeStep.d.ts +2 -0
- package/types/lodash/ts3.1/fp/rangeStepRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/rearg.d.ts +2 -0
- package/types/lodash/ts3.1/fp/reduce.d.ts +2 -0
- package/types/lodash/ts3.1/fp/reduceRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/reject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/remove.d.ts +2 -0
- package/types/lodash/ts3.1/fp/repeat.d.ts +2 -0
- package/types/lodash/ts3.1/fp/replace.d.ts +2 -0
- package/types/lodash/ts3.1/fp/rest.d.ts +2 -0
- package/types/lodash/ts3.1/fp/restFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/result.d.ts +2 -0
- package/types/lodash/ts3.1/fp/reverse.d.ts +2 -0
- package/types/lodash/ts3.1/fp/round.d.ts +2 -0
- package/types/lodash/ts3.1/fp/runInContext.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sample.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sampleSize.d.ts +2 -0
- package/types/lodash/ts3.1/fp/set.d.ts +2 -0
- package/types/lodash/ts3.1/fp/setWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/shuffle.d.ts +2 -0
- package/types/lodash/ts3.1/fp/size.d.ts +2 -0
- package/types/lodash/ts3.1/fp/slice.d.ts +2 -0
- package/types/lodash/ts3.1/fp/snakeCase.d.ts +2 -0
- package/types/lodash/ts3.1/fp/some.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedIndex.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedIndexBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedIndexOf.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedLastIndex.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedLastIndexBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedLastIndexOf.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedUniq.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedUniqBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/split.d.ts +2 -0
- package/types/lodash/ts3.1/fp/spread.d.ts +2 -0
- package/types/lodash/ts3.1/fp/spreadFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/startCase.d.ts +2 -0
- package/types/lodash/ts3.1/fp/startsWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/stubArray.d.ts +2 -0
- package/types/lodash/ts3.1/fp/stubFalse.d.ts +2 -0
- package/types/lodash/ts3.1/fp/stubObject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/stubString.d.ts +2 -0
- package/types/lodash/ts3.1/fp/stubTrue.d.ts +2 -0
- package/types/lodash/ts3.1/fp/subtract.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sum.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sumBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/symmetricDifference.d.ts +2 -0
- package/types/lodash/ts3.1/fp/symmetricDifferenceBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/symmetricDifferenceWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/tail.d.ts +2 -0
- package/types/lodash/ts3.1/fp/take.d.ts +2 -0
- package/types/lodash/ts3.1/fp/takeLast.d.ts +2 -0
- package/types/lodash/ts3.1/fp/takeLastWhile.d.ts +2 -0
- package/types/lodash/ts3.1/fp/takeRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/takeRightWhile.d.ts +2 -0
- package/types/lodash/ts3.1/fp/takeWhile.d.ts +2 -0
- package/types/lodash/ts3.1/fp/tap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/template.d.ts +2 -0
- package/types/lodash/ts3.1/fp/throttle.d.ts +2 -0
- package/types/lodash/ts3.1/fp/thru.d.ts +2 -0
- package/types/lodash/ts3.1/fp/times.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toArray.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toFinite.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toInteger.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toLength.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toLower.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toNumber.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toPairs.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toPairsIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toPath.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toPlainObject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toSafeInteger.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toString.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toUpper.d.ts +2 -0
- package/types/lodash/ts3.1/fp/transform.d.ts +2 -0
- package/types/lodash/ts3.1/fp/trim.d.ts +2 -0
- package/types/lodash/ts3.1/fp/trimChars.d.ts +2 -0
- package/types/lodash/ts3.1/fp/trimCharsEnd.d.ts +2 -0
- package/types/lodash/ts3.1/fp/trimCharsStart.d.ts +2 -0
- package/types/lodash/ts3.1/fp/trimEnd.d.ts +2 -0
- package/types/lodash/ts3.1/fp/trimStart.d.ts +2 -0
- package/types/lodash/ts3.1/fp/truncate.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unapply.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unary.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unescape.d.ts +2 -0
- package/types/lodash/ts3.1/fp/union.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unionBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unionWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/uniq.d.ts +2 -0
- package/types/lodash/ts3.1/fp/uniqBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/uniqWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/uniqueId.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unnest.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unset.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unzip.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unzipWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/update.d.ts +2 -0
- package/types/lodash/ts3.1/fp/updateWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/upperCase.d.ts +2 -0
- package/types/lodash/ts3.1/fp/upperFirst.d.ts +2 -0
- package/types/lodash/ts3.1/fp/useWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/values.d.ts +2 -0
- package/types/lodash/ts3.1/fp/valuesIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/where.d.ts +2 -0
- package/types/lodash/ts3.1/fp/whereEq.d.ts +2 -0
- package/types/lodash/ts3.1/fp/without.d.ts +2 -0
- package/types/lodash/ts3.1/fp/words.d.ts +2 -0
- package/types/lodash/ts3.1/fp/wrap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/xor.d.ts +2 -0
- package/types/lodash/ts3.1/fp/xorBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/xorWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/zip.d.ts +2 -0
- package/types/lodash/ts3.1/fp/zipAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/zipObj.d.ts +2 -0
- package/types/lodash/ts3.1/fp/zipObject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/zipObjectDeep.d.ts +2 -0
- package/types/lodash/ts3.1/fp/zipWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp.d.ts +4938 -0
- package/types/lodash/ts3.1/fromPairs.d.ts +2 -0
- package/types/lodash/ts3.1/functions.d.ts +2 -0
- package/types/lodash/ts3.1/functionsIn.d.ts +2 -0
- package/types/lodash/ts3.1/get.d.ts +2 -0
- package/types/lodash/ts3.1/groupBy.d.ts +2 -0
- package/types/lodash/ts3.1/gt.d.ts +2 -0
- package/types/lodash/ts3.1/gte.d.ts +2 -0
- package/types/lodash/ts3.1/has.d.ts +2 -0
- package/types/lodash/ts3.1/hasIn.d.ts +2 -0
- package/types/lodash/ts3.1/head.d.ts +2 -0
- package/types/lodash/ts3.1/identity.d.ts +2 -0
- package/types/lodash/ts3.1/inRange.d.ts +2 -0
- package/types/lodash/ts3.1/includes.d.ts +2 -0
- package/types/lodash/ts3.1/index.d.ts +33 -0
- package/types/lodash/ts3.1/indexOf.d.ts +2 -0
- package/types/lodash/ts3.1/initial.d.ts +2 -0
- package/types/lodash/ts3.1/intersection.d.ts +2 -0
- package/types/lodash/ts3.1/intersectionBy.d.ts +2 -0
- package/types/lodash/ts3.1/intersectionWith.d.ts +2 -0
- package/types/lodash/ts3.1/invert.d.ts +2 -0
- package/types/lodash/ts3.1/invertBy.d.ts +2 -0
- package/types/lodash/ts3.1/invoke.d.ts +2 -0
- package/types/lodash/ts3.1/invokeMap.d.ts +2 -0
- package/types/lodash/ts3.1/isArguments.d.ts +2 -0
- package/types/lodash/ts3.1/isArray.d.ts +2 -0
- package/types/lodash/ts3.1/isArrayBuffer.d.ts +2 -0
- package/types/lodash/ts3.1/isArrayLike.d.ts +2 -0
- package/types/lodash/ts3.1/isArrayLikeObject.d.ts +2 -0
- package/types/lodash/ts3.1/isBoolean.d.ts +2 -0
- package/types/lodash/ts3.1/isBuffer.d.ts +2 -0
- package/types/lodash/ts3.1/isDate.d.ts +2 -0
- package/types/lodash/ts3.1/isElement.d.ts +2 -0
- package/types/lodash/ts3.1/isEmpty.d.ts +2 -0
- package/types/lodash/ts3.1/isEqual.d.ts +2 -0
- package/types/lodash/ts3.1/isEqualWith.d.ts +2 -0
- package/types/lodash/ts3.1/isError.d.ts +2 -0
- package/types/lodash/ts3.1/isFinite.d.ts +2 -0
- package/types/lodash/ts3.1/isFunction.d.ts +2 -0
- package/types/lodash/ts3.1/isInteger.d.ts +2 -0
- package/types/lodash/ts3.1/isLength.d.ts +2 -0
- package/types/lodash/ts3.1/isMap.d.ts +2 -0
- package/types/lodash/ts3.1/isMatch.d.ts +2 -0
- package/types/lodash/ts3.1/isMatchWith.d.ts +2 -0
- package/types/lodash/ts3.1/isNaN.d.ts +2 -0
- package/types/lodash/ts3.1/isNative.d.ts +2 -0
- package/types/lodash/ts3.1/isNil.d.ts +2 -0
- package/types/lodash/ts3.1/isNull.d.ts +2 -0
- package/types/lodash/ts3.1/isNumber.d.ts +2 -0
- package/types/lodash/ts3.1/isObject.d.ts +2 -0
- package/types/lodash/ts3.1/isObjectLike.d.ts +2 -0
- package/types/lodash/ts3.1/isPlainObject.d.ts +2 -0
- package/types/lodash/ts3.1/isRegExp.d.ts +2 -0
- package/types/lodash/ts3.1/isSafeInteger.d.ts +2 -0
- package/types/lodash/ts3.1/isSet.d.ts +2 -0
- package/types/lodash/ts3.1/isString.d.ts +2 -0
- package/types/lodash/ts3.1/isSymbol.d.ts +2 -0
- package/types/lodash/ts3.1/isTypedArray.d.ts +2 -0
- package/types/lodash/ts3.1/isUndefined.d.ts +2 -0
- package/types/lodash/ts3.1/isWeakMap.d.ts +2 -0
- package/types/lodash/ts3.1/isWeakSet.d.ts +2 -0
- package/types/lodash/ts3.1/iteratee.d.ts +2 -0
- package/types/lodash/ts3.1/join.d.ts +2 -0
- package/types/lodash/ts3.1/kebabCase.d.ts +2 -0
- package/types/lodash/ts3.1/keyBy.d.ts +2 -0
- package/types/lodash/ts3.1/keys.d.ts +2 -0
- package/types/lodash/ts3.1/keysIn.d.ts +2 -0
- package/types/lodash/ts3.1/last.d.ts +2 -0
- package/types/lodash/ts3.1/lastIndexOf.d.ts +2 -0
- package/types/lodash/ts3.1/lowerCase.d.ts +2 -0
- package/types/lodash/ts3.1/lowerFirst.d.ts +2 -0
- package/types/lodash/ts3.1/lt.d.ts +2 -0
- package/types/lodash/ts3.1/lte.d.ts +2 -0
- package/types/lodash/ts3.1/map.d.ts +2 -0
- package/types/lodash/ts3.1/mapKeys.d.ts +2 -0
- package/types/lodash/ts3.1/mapValues.d.ts +2 -0
- package/types/lodash/ts3.1/matches.d.ts +2 -0
- package/types/lodash/ts3.1/matchesProperty.d.ts +2 -0
- package/types/lodash/ts3.1/max.d.ts +2 -0
- package/types/lodash/ts3.1/maxBy.d.ts +2 -0
- package/types/lodash/ts3.1/mean.d.ts +2 -0
- package/types/lodash/ts3.1/meanBy.d.ts +2 -0
- package/types/lodash/ts3.1/memoize.d.ts +2 -0
- package/types/lodash/ts3.1/merge.d.ts +2 -0
- package/types/lodash/ts3.1/mergeWith.d.ts +2 -0
- package/types/lodash/ts3.1/method.d.ts +2 -0
- package/types/lodash/ts3.1/methodOf.d.ts +2 -0
- package/types/lodash/ts3.1/min.d.ts +2 -0
- package/types/lodash/ts3.1/minBy.d.ts +2 -0
- package/types/lodash/ts3.1/mixin.d.ts +2 -0
- package/types/lodash/ts3.1/multiply.d.ts +2 -0
- package/types/lodash/ts3.1/negate.d.ts +2 -0
- package/types/lodash/ts3.1/noConflict.d.ts +2 -0
- package/types/lodash/ts3.1/noop.d.ts +2 -0
- package/types/lodash/ts3.1/now.d.ts +2 -0
- package/types/lodash/ts3.1/nth.d.ts +2 -0
- package/types/lodash/ts3.1/nthArg.d.ts +2 -0
- package/types/lodash/ts3.1/omit.d.ts +2 -0
- package/types/lodash/ts3.1/omitBy.d.ts +2 -0
- package/types/lodash/ts3.1/once.d.ts +2 -0
- package/types/lodash/ts3.1/orderBy.d.ts +2 -0
- package/types/lodash/ts3.1/over.d.ts +2 -0
- package/types/lodash/ts3.1/overArgs.d.ts +2 -0
- package/types/lodash/ts3.1/overEvery.d.ts +2 -0
- package/types/lodash/ts3.1/overSome.d.ts +2 -0
- package/types/lodash/ts3.1/pad.d.ts +2 -0
- package/types/lodash/ts3.1/padEnd.d.ts +2 -0
- package/types/lodash/ts3.1/padStart.d.ts +2 -0
- package/types/lodash/ts3.1/parseInt.d.ts +2 -0
- package/types/lodash/ts3.1/partial.d.ts +2 -0
- package/types/lodash/ts3.1/partialRight.d.ts +2 -0
- package/types/lodash/ts3.1/partition.d.ts +2 -0
- package/types/lodash/ts3.1/pick.d.ts +2 -0
- package/types/lodash/ts3.1/pickBy.d.ts +2 -0
- package/types/lodash/ts3.1/property.d.ts +2 -0
- package/types/lodash/ts3.1/propertyOf.d.ts +2 -0
- package/types/lodash/ts3.1/pull.d.ts +2 -0
- package/types/lodash/ts3.1/pullAll.d.ts +2 -0
- package/types/lodash/ts3.1/pullAllBy.d.ts +2 -0
- package/types/lodash/ts3.1/pullAllWith.d.ts +2 -0
- package/types/lodash/ts3.1/pullAt.d.ts +2 -0
- package/types/lodash/ts3.1/random.d.ts +2 -0
- package/types/lodash/ts3.1/range.d.ts +2 -0
- package/types/lodash/ts3.1/rangeRight.d.ts +2 -0
- package/types/lodash/ts3.1/rearg.d.ts +2 -0
- package/types/lodash/ts3.1/reduce.d.ts +2 -0
- package/types/lodash/ts3.1/reduceRight.d.ts +2 -0
- package/types/lodash/ts3.1/reject.d.ts +2 -0
- package/types/lodash/ts3.1/remove.d.ts +2 -0
- package/types/lodash/ts3.1/repeat.d.ts +2 -0
- package/types/lodash/ts3.1/replace.d.ts +2 -0
- package/types/lodash/ts3.1/rest.d.ts +2 -0
- package/types/lodash/ts3.1/result.d.ts +2 -0
- package/types/lodash/ts3.1/reverse.d.ts +2 -0
- package/types/lodash/ts3.1/round.d.ts +2 -0
- package/types/lodash/ts3.1/runInContext.d.ts +2 -0
- package/types/lodash/ts3.1/sample.d.ts +2 -0
- package/types/lodash/ts3.1/sampleSize.d.ts +2 -0
- package/types/lodash/ts3.1/set.d.ts +2 -0
- package/types/lodash/ts3.1/setWith.d.ts +2 -0
- package/types/lodash/ts3.1/shuffle.d.ts +2 -0
- package/types/lodash/ts3.1/size.d.ts +2 -0
- package/types/lodash/ts3.1/slice.d.ts +2 -0
- package/types/lodash/ts3.1/snakeCase.d.ts +2 -0
- package/types/lodash/ts3.1/some.d.ts +2 -0
- package/types/lodash/ts3.1/sortBy.d.ts +2 -0
- package/types/lodash/ts3.1/sortedIndex.d.ts +2 -0
- package/types/lodash/ts3.1/sortedIndexBy.d.ts +2 -0
- package/types/lodash/ts3.1/sortedIndexOf.d.ts +2 -0
- package/types/lodash/ts3.1/sortedLastIndex.d.ts +2 -0
- package/types/lodash/ts3.1/sortedLastIndexBy.d.ts +2 -0
- package/types/lodash/ts3.1/sortedLastIndexOf.d.ts +2 -0
- package/types/lodash/ts3.1/sortedUniq.d.ts +2 -0
- package/types/lodash/ts3.1/sortedUniqBy.d.ts +2 -0
- package/types/lodash/ts3.1/split.d.ts +2 -0
- package/types/lodash/ts3.1/spread.d.ts +2 -0
- package/types/lodash/ts3.1/startCase.d.ts +2 -0
- package/types/lodash/ts3.1/startsWith.d.ts +2 -0
- package/types/lodash/ts3.1/stubFalse.d.ts +2 -0
- package/types/lodash/ts3.1/stubTrue.d.ts +2 -0
- package/types/lodash/ts3.1/subtract.d.ts +2 -0
- package/types/lodash/ts3.1/sum.d.ts +2 -0
- package/types/lodash/ts3.1/sumBy.d.ts +2 -0
- package/types/lodash/ts3.1/tail.d.ts +2 -0
- package/types/lodash/ts3.1/take.d.ts +2 -0
- package/types/lodash/ts3.1/takeRight.d.ts +2 -0
- package/types/lodash/ts3.1/takeRightWhile.d.ts +2 -0
- package/types/lodash/ts3.1/takeWhile.d.ts +2 -0
- package/types/lodash/ts3.1/tap.d.ts +2 -0
- package/types/lodash/ts3.1/template.d.ts +2 -0
- package/types/lodash/ts3.1/throttle.d.ts +2 -0
- package/types/lodash/ts3.1/thru.d.ts +2 -0
- package/types/lodash/ts3.1/times.d.ts +2 -0
- package/types/lodash/ts3.1/toArray.d.ts +2 -0
- package/types/lodash/ts3.1/toFinite.d.ts +2 -0
- package/types/lodash/ts3.1/toInteger.d.ts +2 -0
- package/types/lodash/ts3.1/toLength.d.ts +2 -0
- package/types/lodash/ts3.1/toLower.d.ts +2 -0
- package/types/lodash/ts3.1/toNumber.d.ts +2 -0
- package/types/lodash/ts3.1/toPairs.d.ts +2 -0
- package/types/lodash/ts3.1/toPairsIn.d.ts +2 -0
- package/types/lodash/ts3.1/toPath.d.ts +2 -0
- package/types/lodash/ts3.1/toPlainObject.d.ts +2 -0
- package/types/lodash/ts3.1/toSafeInteger.d.ts +2 -0
- package/types/lodash/ts3.1/toString.d.ts +2 -0
- package/types/lodash/ts3.1/toUpper.d.ts +2 -0
- package/types/lodash/ts3.1/transform.d.ts +2 -0
- package/types/lodash/ts3.1/trim.d.ts +2 -0
- package/types/lodash/ts3.1/trimEnd.d.ts +2 -0
- package/types/lodash/ts3.1/trimStart.d.ts +2 -0
- package/types/lodash/ts3.1/truncate.d.ts +2 -0
- package/types/lodash/ts3.1/unary.d.ts +2 -0
- package/types/lodash/ts3.1/unescape.d.ts +2 -0
- package/types/lodash/ts3.1/union.d.ts +2 -0
- package/types/lodash/ts3.1/unionBy.d.ts +2 -0
- package/types/lodash/ts3.1/unionWith.d.ts +2 -0
- package/types/lodash/ts3.1/uniq.d.ts +2 -0
- package/types/lodash/ts3.1/uniqBy.d.ts +2 -0
- package/types/lodash/ts3.1/uniqWith.d.ts +2 -0
- package/types/lodash/ts3.1/uniqueId.d.ts +2 -0
- package/types/lodash/ts3.1/unset.d.ts +2 -0
- package/types/lodash/ts3.1/unzip.d.ts +2 -0
- package/types/lodash/ts3.1/unzipWith.d.ts +2 -0
- package/types/lodash/ts3.1/update.d.ts +2 -0
- package/types/lodash/ts3.1/updateWith.d.ts +2 -0
- package/types/lodash/ts3.1/upperCase.d.ts +2 -0
- package/types/lodash/ts3.1/upperFirst.d.ts +2 -0
- package/types/lodash/ts3.1/values.d.ts +2 -0
- package/types/lodash/ts3.1/valuesIn.d.ts +2 -0
- package/types/lodash/ts3.1/without.d.ts +2 -0
- package/types/lodash/ts3.1/words.d.ts +2 -0
- package/types/lodash/ts3.1/wrap.d.ts +2 -0
- package/types/lodash/ts3.1/xor.d.ts +2 -0
- package/types/lodash/ts3.1/xorBy.d.ts +2 -0
- package/types/lodash/ts3.1/xorWith.d.ts +2 -0
- package/types/lodash/ts3.1/zip.d.ts +2 -0
- package/types/lodash/ts3.1/zipObject.d.ts +2 -0
- package/types/lodash/ts3.1/zipObjectDeep.d.ts +2 -0
- package/types/lodash/ts3.1/zipWith.d.ts +2 -0
- package/types/lodash/unary.d.ts +2 -0
- package/types/lodash/unescape.d.ts +2 -0
- package/types/lodash/union.d.ts +2 -0
- package/types/lodash/unionBy.d.ts +2 -0
- package/types/lodash/unionWith.d.ts +2 -0
- package/types/lodash/uniq.d.ts +2 -0
- package/types/lodash/uniqBy.d.ts +2 -0
- package/types/lodash/uniqWith.d.ts +2 -0
- package/types/lodash/uniqueId.d.ts +2 -0
- package/types/lodash/unset.d.ts +2 -0
- package/types/lodash/unzip.d.ts +2 -0
- package/types/lodash/unzipWith.d.ts +2 -0
- package/types/lodash/update.d.ts +2 -0
- package/types/lodash/updateWith.d.ts +2 -0
- package/types/lodash/upperCase.d.ts +2 -0
- package/types/lodash/upperFirst.d.ts +2 -0
- package/types/lodash/values.d.ts +2 -0
- package/types/lodash/valuesIn.d.ts +2 -0
- package/types/lodash/without.d.ts +2 -0
- package/types/lodash/words.d.ts +2 -0
- package/types/lodash/wrap.d.ts +2 -0
- package/types/lodash/xor.d.ts +2 -0
- package/types/lodash/xorBy.d.ts +2 -0
- package/types/lodash/xorWith.d.ts +2 -0
- package/types/lodash/zip.d.ts +2 -0
- package/types/lodash/zipObject.d.ts +2 -0
- package/types/lodash/zipObjectDeep.d.ts +2 -0
- package/types/lodash/zipWith.d.ts +2 -0
- package/types/minimatch/index.d.ts +214 -0
- package/types/mocha/index.d.ts +2986 -0
- package/types/sinon/index.d.ts +1622 -0
- package/types/sinon/ts3.1/index.d.ts +1698 -0
- package/types/sinon-chai/index.d.ts +109 -0
@@ -0,0 +1,1944 @@
|
|
1
|
+
// Type definitions for chai 4.2
|
2
|
+
// Project: http://chaijs.com/
|
3
|
+
// Definitions by: Jed Mao <https://github.com/jedmao>,
|
4
|
+
// Bart van der Schoor <https://github.com/Bartvds>,
|
5
|
+
// Andrew Brown <https://github.com/AGBrown>,
|
6
|
+
// Olivier Chevet <https://github.com/olivr70>,
|
7
|
+
// Matt Wistrand <https://github.com/mwistrand>,
|
8
|
+
// Josh Goldberg <https://github.com/joshuakgoldberg>,
|
9
|
+
// Shaun Luttin <https://github.com/shaunluttin>,
|
10
|
+
// Gintautas Miselis <https://github.com/Naktibalda>,
|
11
|
+
// Satana Charuwichitratana <https://github.com/micksatana>,
|
12
|
+
// Erik Schierboom <https://github.com/ErikSchierboom>,
|
13
|
+
// Bogdan Paranytsia <https://github.com/bparan>,
|
14
|
+
// CXuesong <https://github.com/CXuesong>,
|
15
|
+
// Joey Kilpatrick <https://github.com/joeykilpatrick>
|
16
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
17
|
+
// TypeScript Version: 3.0
|
18
|
+
|
19
|
+
declare namespace Chai {
|
20
|
+
type Message = string | (() => string);
|
21
|
+
type ObjectProperty = string | symbol | number;
|
22
|
+
|
23
|
+
interface PathInfo {
|
24
|
+
parent: object;
|
25
|
+
name: string;
|
26
|
+
value?: any;
|
27
|
+
exists: boolean;
|
28
|
+
}
|
29
|
+
|
30
|
+
interface ErrorConstructor {
|
31
|
+
new(...args: any[]): Error;
|
32
|
+
}
|
33
|
+
|
34
|
+
interface ChaiUtils {
|
35
|
+
addChainableMethod(
|
36
|
+
// object to define the method on, e.g. chai.Assertion.prototype
|
37
|
+
ctx: object,
|
38
|
+
// method name
|
39
|
+
name: string,
|
40
|
+
// method itself; any arguments
|
41
|
+
method: (...args: any[]) => void,
|
42
|
+
// called when property is accessed
|
43
|
+
chainingBehavior?: () => void
|
44
|
+
): void;
|
45
|
+
overwriteChainableMethod(
|
46
|
+
ctx: object,
|
47
|
+
name: string,
|
48
|
+
method: (...args: any[]) => void,
|
49
|
+
chainingBehavior?: () => void
|
50
|
+
): void;
|
51
|
+
addLengthGuard(
|
52
|
+
fn: Function,
|
53
|
+
assertionName: string,
|
54
|
+
isChainable: boolean
|
55
|
+
): void;
|
56
|
+
addMethod(ctx: object, name: string, method: Function): void;
|
57
|
+
addProperty(ctx: object, name: string, getter: () => any): void;
|
58
|
+
overwriteMethod(ctx: object, name: string, method: Function): void;
|
59
|
+
overwriteProperty(ctx: object, name: string, getter: () => any): void;
|
60
|
+
compareByInspect(a: object, b: object): -1 | 1;
|
61
|
+
expectTypes(obj: object, types: string[]): void;
|
62
|
+
flag(obj: object, key: string, value?: any): any;
|
63
|
+
getActual(obj: object, args: AssertionArgs): any;
|
64
|
+
getProperties(obj: object): string[];
|
65
|
+
getEnumerableProperties(obj: object): string[];
|
66
|
+
getOwnEnumerablePropertySymbols(obj: object): symbol[];
|
67
|
+
getOwnEnumerableProperties(obj: object): Array<string | symbol>;
|
68
|
+
getMessage(errorLike: Error | string): string;
|
69
|
+
getMessage(obj: any, args: AssertionArgs): string;
|
70
|
+
inspect(obj: any, showHidden?: boolean, depth?: number, colors?: boolean): void;
|
71
|
+
isProxyEnabled(): boolean;
|
72
|
+
objDisplay(obj: object): void;
|
73
|
+
proxify(obj: object, nonChainableMethodName: string): object;
|
74
|
+
test(obj: object, args: AssertionArgs): boolean;
|
75
|
+
transferFlags(assertion: Assertion, obj: object, includeAll?: boolean): void;
|
76
|
+
compatibleInstance(thrown: Error, errorLike: Error | ErrorConstructor): boolean;
|
77
|
+
compatibleConstructor(thrown: Error, errorLike: Error | ErrorConstructor): boolean;
|
78
|
+
compatibleMessage(thrown: Error, errMatcher: string | RegExp): boolean;
|
79
|
+
getConstructorName(constructorFn: Function): string;
|
80
|
+
getFuncName(constructorFn: Function): string | null;
|
81
|
+
|
82
|
+
// Reexports from pathval:
|
83
|
+
hasProperty(obj: object | undefined | null, name: ObjectProperty): boolean;
|
84
|
+
getPathInfo(obj: object, path: string): PathInfo;
|
85
|
+
getPathValue(obj: object, path: string): object | undefined;
|
86
|
+
}
|
87
|
+
|
88
|
+
type ChaiPlugin = (chai: ChaiStatic, utils: ChaiUtils) => void;
|
89
|
+
|
90
|
+
interface ChaiStatic {
|
91
|
+
expect: ExpectStatic;
|
92
|
+
should(): Should;
|
93
|
+
/**
|
94
|
+
* Provides a way to extend the internals of Chai
|
95
|
+
*/
|
96
|
+
use(fn: ChaiPlugin): ChaiStatic;
|
97
|
+
util: ChaiUtils;
|
98
|
+
assert: AssertStatic;
|
99
|
+
config: Config;
|
100
|
+
Assertion: AssertionStatic;
|
101
|
+
AssertionError: typeof AssertionError;
|
102
|
+
version: string;
|
103
|
+
}
|
104
|
+
|
105
|
+
export interface ExpectStatic {
|
106
|
+
(val: any, message?: string): Assertion;
|
107
|
+
fail(message?: string): never;
|
108
|
+
fail(actual: any, expected: any, message?: string, operator?: Operator): never;
|
109
|
+
}
|
110
|
+
|
111
|
+
export interface AssertStatic extends Assert {
|
112
|
+
}
|
113
|
+
|
114
|
+
// chai.Assertion.prototype.assert arguments
|
115
|
+
type AssertionArgs = [
|
116
|
+
// 'expression to be tested'
|
117
|
+
// This parameter is unused and the docs list its type as
|
118
|
+
// 'Philosophical', which is mentioned nowhere else in the source. Do
|
119
|
+
// with that what you will!
|
120
|
+
any,
|
121
|
+
Message, // message if value fails
|
122
|
+
Message, // message if negated value fails
|
123
|
+
any, // expected value
|
124
|
+
any?, // actual value
|
125
|
+
boolean? // showDiff
|
126
|
+
];
|
127
|
+
|
128
|
+
export interface AssertionPrototype {
|
129
|
+
assert(...args: AssertionArgs): void;
|
130
|
+
_obj: any;
|
131
|
+
}
|
132
|
+
|
133
|
+
export interface AssertionStatic extends AssertionPrototype {
|
134
|
+
prototype: AssertionPrototype;
|
135
|
+
|
136
|
+
new(target: any, message?: string, ssfi?: Function, lockSsfi?: boolean): Assertion;
|
137
|
+
|
138
|
+
// Deprecated properties:
|
139
|
+
includeStack: boolean;
|
140
|
+
showDiff: boolean;
|
141
|
+
|
142
|
+
// Partials of functions on ChaiUtils:
|
143
|
+
addProperty(name: string, getter: (this: AssertionStatic) => any): void;
|
144
|
+
addMethod(name: string, method: (this: AssertionStatic, ...args: any[]) => any): void;
|
145
|
+
addChainableMethod(
|
146
|
+
name: string,
|
147
|
+
method: (this: AssertionStatic, ...args: any[]) => void,
|
148
|
+
chainingBehavior?: () => void
|
149
|
+
): void;
|
150
|
+
overwriteProperty(name: string, getter: (this: AssertionStatic) => any): void;
|
151
|
+
overwriteMethod(name: string, method: (this: AssertionStatic, ...args: any[]) => any): void;
|
152
|
+
overwriteChainableMethod(
|
153
|
+
name: string,
|
154
|
+
method: (this: AssertionStatic, ...args: any[]) => void,
|
155
|
+
chainingBehavior?: () => void
|
156
|
+
): void;
|
157
|
+
}
|
158
|
+
|
159
|
+
export type Operator = string; // "==" | "===" | ">" | ">=" | "<" | "<=" | "!=" | "!==";
|
160
|
+
|
161
|
+
export type OperatorComparable = boolean | null | number | string | undefined | Date;
|
162
|
+
|
163
|
+
interface ShouldAssertion {
|
164
|
+
equal(value1: any, value2: any, message?: string): void;
|
165
|
+
Throw: ShouldThrow;
|
166
|
+
throw: ShouldThrow;
|
167
|
+
exist(value: any, message?: string): void;
|
168
|
+
}
|
169
|
+
|
170
|
+
interface Should extends ShouldAssertion {
|
171
|
+
not: ShouldAssertion;
|
172
|
+
fail(message?: string): never;
|
173
|
+
fail(actual: any, expected: any, message?: string, operator?: Operator): never;
|
174
|
+
}
|
175
|
+
|
176
|
+
interface ShouldThrow {
|
177
|
+
(actual: Function, expected?: string | RegExp, message?: string): void;
|
178
|
+
(actual: Function, constructor: Error | Function, expected?: string | RegExp, message?: string): void;
|
179
|
+
}
|
180
|
+
|
181
|
+
interface Assertion extends LanguageChains, NumericComparison, TypeComparison {
|
182
|
+
not: Assertion;
|
183
|
+
deep: Deep;
|
184
|
+
ordered: Ordered;
|
185
|
+
nested: Nested;
|
186
|
+
own: Own;
|
187
|
+
any: KeyFilter;
|
188
|
+
all: KeyFilter;
|
189
|
+
a: TypeComparison;
|
190
|
+
an: TypeComparison;
|
191
|
+
include: Include;
|
192
|
+
includes: Include;
|
193
|
+
contain: Include;
|
194
|
+
contains: Include;
|
195
|
+
ok: Assertion;
|
196
|
+
true: Assertion;
|
197
|
+
false: Assertion;
|
198
|
+
null: Assertion;
|
199
|
+
undefined: Assertion;
|
200
|
+
NaN: Assertion;
|
201
|
+
exist: Assertion;
|
202
|
+
empty: Assertion;
|
203
|
+
arguments: Assertion;
|
204
|
+
Arguments: Assertion;
|
205
|
+
equal: Equal;
|
206
|
+
equals: Equal;
|
207
|
+
eq: Equal;
|
208
|
+
eql: Equal;
|
209
|
+
eqls: Equal;
|
210
|
+
property: Property;
|
211
|
+
ownProperty: Property;
|
212
|
+
haveOwnProperty: Property;
|
213
|
+
ownPropertyDescriptor: OwnPropertyDescriptor;
|
214
|
+
haveOwnPropertyDescriptor: OwnPropertyDescriptor;
|
215
|
+
length: Length;
|
216
|
+
lengthOf: Length;
|
217
|
+
match: Match;
|
218
|
+
matches: Match;
|
219
|
+
string(string: string, message?: string): Assertion;
|
220
|
+
keys: Keys;
|
221
|
+
key(string: string): Assertion;
|
222
|
+
throw: Throw;
|
223
|
+
throws: Throw;
|
224
|
+
Throw: Throw;
|
225
|
+
respondTo: RespondTo;
|
226
|
+
respondsTo: RespondTo;
|
227
|
+
itself: Assertion;
|
228
|
+
satisfy: Satisfy;
|
229
|
+
satisfies: Satisfy;
|
230
|
+
closeTo: CloseTo;
|
231
|
+
approximately: CloseTo;
|
232
|
+
members: Members;
|
233
|
+
increase: PropertyChange;
|
234
|
+
increases: PropertyChange;
|
235
|
+
decrease: PropertyChange;
|
236
|
+
decreases: PropertyChange;
|
237
|
+
change: PropertyChange;
|
238
|
+
changes: PropertyChange;
|
239
|
+
extensible: Assertion;
|
240
|
+
sealed: Assertion;
|
241
|
+
frozen: Assertion;
|
242
|
+
oneOf(list: ReadonlyArray<any>, message?: string): Assertion;
|
243
|
+
}
|
244
|
+
|
245
|
+
interface LanguageChains {
|
246
|
+
to: Assertion;
|
247
|
+
be: Assertion;
|
248
|
+
been: Assertion;
|
249
|
+
is: Assertion;
|
250
|
+
that: Assertion;
|
251
|
+
which: Assertion;
|
252
|
+
and: Assertion;
|
253
|
+
has: Assertion;
|
254
|
+
have: Assertion;
|
255
|
+
with: Assertion;
|
256
|
+
at: Assertion;
|
257
|
+
of: Assertion;
|
258
|
+
same: Assertion;
|
259
|
+
but: Assertion;
|
260
|
+
does: Assertion;
|
261
|
+
}
|
262
|
+
|
263
|
+
interface NumericComparison {
|
264
|
+
above: NumberComparer;
|
265
|
+
gt: NumberComparer;
|
266
|
+
greaterThan: NumberComparer;
|
267
|
+
least: NumberComparer;
|
268
|
+
gte: NumberComparer;
|
269
|
+
below: NumberComparer;
|
270
|
+
lt: NumberComparer;
|
271
|
+
lessThan: NumberComparer;
|
272
|
+
most: NumberComparer;
|
273
|
+
lte: NumberComparer;
|
274
|
+
within(start: number, finish: number, message?: string): Assertion;
|
275
|
+
within(start: Date, finish: Date, message?: string): Assertion;
|
276
|
+
}
|
277
|
+
|
278
|
+
interface NumberComparer {
|
279
|
+
(value: number | Date, message?: string): Assertion;
|
280
|
+
}
|
281
|
+
|
282
|
+
interface TypeComparison {
|
283
|
+
(type: string, message?: string): Assertion;
|
284
|
+
instanceof: InstanceOf;
|
285
|
+
instanceOf: InstanceOf;
|
286
|
+
}
|
287
|
+
|
288
|
+
interface InstanceOf {
|
289
|
+
(constructor: any, message?: string): Assertion;
|
290
|
+
}
|
291
|
+
|
292
|
+
interface CloseTo {
|
293
|
+
(expected: number, delta: number, message?: string): Assertion;
|
294
|
+
}
|
295
|
+
|
296
|
+
interface Nested {
|
297
|
+
include: Include;
|
298
|
+
includes: Include;
|
299
|
+
contain: Include;
|
300
|
+
contains: Include;
|
301
|
+
property: Property;
|
302
|
+
members: Members;
|
303
|
+
}
|
304
|
+
|
305
|
+
interface Own {
|
306
|
+
include: Include;
|
307
|
+
includes: Include;
|
308
|
+
contain: Include;
|
309
|
+
contains: Include;
|
310
|
+
property: Property;
|
311
|
+
}
|
312
|
+
|
313
|
+
interface Deep {
|
314
|
+
equal: Equal;
|
315
|
+
equals: Equal;
|
316
|
+
eq: Equal;
|
317
|
+
include: Include;
|
318
|
+
includes: Include;
|
319
|
+
contain: Include;
|
320
|
+
contains: Include;
|
321
|
+
property: Property;
|
322
|
+
members: Members;
|
323
|
+
ordered: Ordered;
|
324
|
+
nested: Nested;
|
325
|
+
own: Own;
|
326
|
+
}
|
327
|
+
|
328
|
+
interface Ordered {
|
329
|
+
members: Members;
|
330
|
+
}
|
331
|
+
|
332
|
+
interface KeyFilter {
|
333
|
+
keys: Keys;
|
334
|
+
members: Members;
|
335
|
+
}
|
336
|
+
|
337
|
+
interface Equal {
|
338
|
+
(value: any, message?: string): Assertion;
|
339
|
+
}
|
340
|
+
|
341
|
+
interface Property {
|
342
|
+
(name: string, value: any, message?: string): Assertion;
|
343
|
+
(name: string, message?: string): Assertion;
|
344
|
+
}
|
345
|
+
|
346
|
+
interface OwnPropertyDescriptor {
|
347
|
+
(name: string, descriptor: PropertyDescriptor, message?: string): Assertion;
|
348
|
+
(name: string, message?: string): Assertion;
|
349
|
+
}
|
350
|
+
|
351
|
+
interface Length extends LanguageChains, NumericComparison {
|
352
|
+
(length: number, message?: string): Assertion;
|
353
|
+
}
|
354
|
+
|
355
|
+
interface Include {
|
356
|
+
(value: any, message?: string): Assertion;
|
357
|
+
keys: Keys;
|
358
|
+
deep: Deep;
|
359
|
+
ordered: Ordered;
|
360
|
+
members: Members;
|
361
|
+
any: KeyFilter;
|
362
|
+
all: KeyFilter;
|
363
|
+
}
|
364
|
+
|
365
|
+
interface Match {
|
366
|
+
(regexp: RegExp, message?: string): Assertion;
|
367
|
+
}
|
368
|
+
|
369
|
+
interface Keys {
|
370
|
+
(...keys: string[]): Assertion;
|
371
|
+
(keys: ReadonlyArray<any> | Object): Assertion;
|
372
|
+
}
|
373
|
+
|
374
|
+
interface Throw {
|
375
|
+
(expected?: string | RegExp, message?: string): Assertion;
|
376
|
+
(constructor: Error | Function, expected?: string | RegExp, message?: string): Assertion;
|
377
|
+
}
|
378
|
+
|
379
|
+
interface RespondTo {
|
380
|
+
(method: string, message?: string): Assertion;
|
381
|
+
}
|
382
|
+
|
383
|
+
interface Satisfy {
|
384
|
+
(matcher: Function, message?: string): Assertion;
|
385
|
+
}
|
386
|
+
|
387
|
+
interface Members {
|
388
|
+
(set: ReadonlyArray<any>, message?: string): Assertion;
|
389
|
+
}
|
390
|
+
|
391
|
+
interface PropertyChange {
|
392
|
+
(object: Object, property?: string, message?: string): Assertion;
|
393
|
+
}
|
394
|
+
|
395
|
+
export interface Assert {
|
396
|
+
/**
|
397
|
+
* @param expression Expression to test for truthiness.
|
398
|
+
* @param message Message to display on error.
|
399
|
+
*/
|
400
|
+
(expression: any, message?: string): void;
|
401
|
+
|
402
|
+
/**
|
403
|
+
* Throws a failure.
|
404
|
+
*
|
405
|
+
* @param message Message to display on error.
|
406
|
+
* @remarks Node.js assert module-compatible.
|
407
|
+
*/
|
408
|
+
fail(message?: string): never;
|
409
|
+
|
410
|
+
/**
|
411
|
+
* Throws a failure.
|
412
|
+
*
|
413
|
+
* @type T Type of the objects.
|
414
|
+
* @param actual Actual value.
|
415
|
+
* @param expected Potential expected value.
|
416
|
+
* @param message Message to display on error.
|
417
|
+
* @param operator Comparison operator, if not strict equality.
|
418
|
+
* @remarks Node.js assert module-compatible.
|
419
|
+
*/
|
420
|
+
fail<T>(actual: T, expected: T, message?: string, operator?: Operator): never;
|
421
|
+
|
422
|
+
/**
|
423
|
+
* Asserts that object is truthy.
|
424
|
+
*
|
425
|
+
* @type T Type of object.
|
426
|
+
* @param object Object to test.
|
427
|
+
* @param message Message to display on error.
|
428
|
+
*/
|
429
|
+
isOk<T>(value: T, message?: string): void;
|
430
|
+
|
431
|
+
/**
|
432
|
+
* Asserts that object is truthy.
|
433
|
+
*
|
434
|
+
* @type T Type of object.
|
435
|
+
* @param object Object to test.
|
436
|
+
* @param message Message to display on error.
|
437
|
+
*/
|
438
|
+
ok<T>(value: T, message?: string): void;
|
439
|
+
|
440
|
+
/**
|
441
|
+
* Asserts that object is falsy.
|
442
|
+
*
|
443
|
+
* @type T Type of object.
|
444
|
+
* @param object Object to test.
|
445
|
+
* @param message Message to display on error.
|
446
|
+
*/
|
447
|
+
isNotOk<T>(value: T, message?: string): void;
|
448
|
+
|
449
|
+
/**
|
450
|
+
* Asserts that object is falsy.
|
451
|
+
*
|
452
|
+
* @type T Type of object.
|
453
|
+
* @param object Object to test.
|
454
|
+
* @param message Message to display on error.
|
455
|
+
*/
|
456
|
+
notOk<T>(value: T, message?: string): void;
|
457
|
+
|
458
|
+
/**
|
459
|
+
* Asserts non-strict equality (==) of actual and expected.
|
460
|
+
*
|
461
|
+
* @type T Type of the objects.
|
462
|
+
* @param actual Actual value.
|
463
|
+
* @param expected Potential expected value.
|
464
|
+
* @param message Message to display on error.
|
465
|
+
*/
|
466
|
+
equal<T>(actual: T, expected: T, message?: string): void;
|
467
|
+
|
468
|
+
/**
|
469
|
+
* Asserts non-strict inequality (==) of actual and expected.
|
470
|
+
*
|
471
|
+
* @type T Type of the objects.
|
472
|
+
* @param actual Actual value.
|
473
|
+
* @param expected Potential expected value.
|
474
|
+
* @param message Message to display on error.
|
475
|
+
*/
|
476
|
+
notEqual<T>(actual: T, expected: T, message?: string): void;
|
477
|
+
|
478
|
+
/**
|
479
|
+
* Asserts strict equality (===) of actual and expected.
|
480
|
+
*
|
481
|
+
* @type T Type of the objects.
|
482
|
+
* @param actual Actual value.
|
483
|
+
* @param expected Potential expected value.
|
484
|
+
* @param message Message to display on error.
|
485
|
+
*/
|
486
|
+
strictEqual<T>(actual: T, expected: T, message?: string): void;
|
487
|
+
|
488
|
+
/**
|
489
|
+
* Asserts strict inequality (==) of actual and expected.
|
490
|
+
*
|
491
|
+
* @type T Type of the objects.
|
492
|
+
* @param actual Actual value.
|
493
|
+
* @param expected Potential expected value.
|
494
|
+
* @param message Message to display on error.
|
495
|
+
*/
|
496
|
+
notStrictEqual<T>(actual: T, expected: T, message?: string): void;
|
497
|
+
|
498
|
+
/**
|
499
|
+
* Asserts that actual is deeply equal (==) to expected.
|
500
|
+
*
|
501
|
+
* @type T Type of the objects.
|
502
|
+
* @param actual Actual value.
|
503
|
+
* @param expected Potential expected value.
|
504
|
+
* @param message Message to display on error.
|
505
|
+
*/
|
506
|
+
deepEqual<T>(actual: T, expected: T, message?: string): void;
|
507
|
+
|
508
|
+
/**
|
509
|
+
* Asserts that actual is not deeply equal (==) to expected.
|
510
|
+
*
|
511
|
+
* @type T Type of the objects.
|
512
|
+
* @param actual Actual value.
|
513
|
+
* @param expected Potential expected value.
|
514
|
+
* @param message Message to display on error.
|
515
|
+
*/
|
516
|
+
notDeepEqual<T>(actual: T, expected: T, message?: string): void;
|
517
|
+
|
518
|
+
/**
|
519
|
+
* Asserts that actual is deeply strict equal (===) to expected.
|
520
|
+
*
|
521
|
+
* @type T Type of the objects.
|
522
|
+
* @param actual Actual value.
|
523
|
+
* @param expected Potential expected value.
|
524
|
+
* @param message Message to display on error.
|
525
|
+
*/
|
526
|
+
deepStrictEqual<T>(actual: T, expected: T, message?: string): void;
|
527
|
+
|
528
|
+
/**
|
529
|
+
* Asserts valueToCheck is strictly greater than (>) valueToBeAbove.
|
530
|
+
*
|
531
|
+
* @param valueToCheck Actual value.
|
532
|
+
* @param valueToBeAbove Minimum Potential expected value.
|
533
|
+
* @param message Message to display on error.
|
534
|
+
*/
|
535
|
+
isAbove(valueToCheck: number, valueToBeAbove: number, message?: string): void;
|
536
|
+
|
537
|
+
/**
|
538
|
+
* Asserts valueToCheck is greater than or equal to (>=) valueToBeAtLeast.
|
539
|
+
*
|
540
|
+
* @param valueToCheck Actual value.
|
541
|
+
* @param valueToBeAtLeast Minimum Potential expected value.
|
542
|
+
* @param message Message to display on error.
|
543
|
+
*/
|
544
|
+
isAtLeast(valueToCheck: number, valueToBeAtLeast: number, message?: string): void;
|
545
|
+
|
546
|
+
/**
|
547
|
+
* Asserts valueToCheck is strictly less than (<) valueToBeBelow.
|
548
|
+
*
|
549
|
+
* @param valueToCheck Actual value.
|
550
|
+
* @param valueToBeBelow Minimum Potential expected value.
|
551
|
+
* @param message Message to display on error.
|
552
|
+
*/
|
553
|
+
isBelow(valueToCheck: number, valueToBeBelow: number, message?: string): void;
|
554
|
+
|
555
|
+
/**
|
556
|
+
* Asserts valueToCheck is less than or equal to (<=) valueToBeAtMost.
|
557
|
+
*
|
558
|
+
* @param valueToCheck Actual value.
|
559
|
+
* @param valueToBeAtMost Minimum Potential expected value.
|
560
|
+
* @param message Message to display on error.
|
561
|
+
*/
|
562
|
+
isAtMost(valueToCheck: number, valueToBeAtMost: number, message?: string): void;
|
563
|
+
|
564
|
+
/**
|
565
|
+
* Asserts that value is true.
|
566
|
+
*
|
567
|
+
* @type T Type of value.
|
568
|
+
* @param value Actual value.
|
569
|
+
* @param message Message to display on error.
|
570
|
+
*/
|
571
|
+
isTrue<T>(value: T, message?: string): void;
|
572
|
+
|
573
|
+
/**
|
574
|
+
* Asserts that value is false.
|
575
|
+
*
|
576
|
+
* @type T Type of value.
|
577
|
+
* @param value Actual value.
|
578
|
+
* @param message Message to display on error.
|
579
|
+
*/
|
580
|
+
isFalse<T>(value: T, message?: string): void;
|
581
|
+
|
582
|
+
/**
|
583
|
+
* Asserts that value is not true.
|
584
|
+
*
|
585
|
+
* @type T Type of value.
|
586
|
+
* @param value Actual value.
|
587
|
+
* @param message Message to display on error.
|
588
|
+
*/
|
589
|
+
isNotTrue<T>(value: T, message?: string): void;
|
590
|
+
|
591
|
+
/**
|
592
|
+
* Asserts that value is not false.
|
593
|
+
*
|
594
|
+
* @type T Type of value.
|
595
|
+
* @param value Actual value.
|
596
|
+
* @param message Message to display on error.
|
597
|
+
*/
|
598
|
+
isNotFalse<T>(value: T, message?: string): void;
|
599
|
+
|
600
|
+
/**
|
601
|
+
* Asserts that value is null.
|
602
|
+
*
|
603
|
+
* @type T Type of value.
|
604
|
+
* @param value Actual value.
|
605
|
+
* @param message Message to display on error.
|
606
|
+
*/
|
607
|
+
isNull<T>(value: T, message?: string): void;
|
608
|
+
|
609
|
+
/**
|
610
|
+
* Asserts that value is not null.
|
611
|
+
*
|
612
|
+
* @type T Type of value.
|
613
|
+
* @param value Actual value.
|
614
|
+
* @param message Message to display on error.
|
615
|
+
*/
|
616
|
+
isNotNull<T>(value: T, message?: string): void;
|
617
|
+
|
618
|
+
/**
|
619
|
+
* Asserts that value is NaN.
|
620
|
+
*
|
621
|
+
* @type T Type of value.
|
622
|
+
* @param value Actual value.
|
623
|
+
* @param message Message to display on error.
|
624
|
+
*/
|
625
|
+
isNaN<T>(value: T, message?: string): void;
|
626
|
+
|
627
|
+
/**
|
628
|
+
* Asserts that value is not NaN.
|
629
|
+
*
|
630
|
+
* @type T Type of value.
|
631
|
+
* @param value Actual value.
|
632
|
+
* @param message Message to display on error.
|
633
|
+
*/
|
634
|
+
isNotNaN<T>(value: T, message?: string): void;
|
635
|
+
|
636
|
+
/**
|
637
|
+
* Asserts that the target is neither null nor undefined.
|
638
|
+
*
|
639
|
+
* @type T Type of value.
|
640
|
+
* @param value Actual value.
|
641
|
+
* @param message Message to display on error.
|
642
|
+
*/
|
643
|
+
exists<T>(value: T, message?: string): void;
|
644
|
+
|
645
|
+
/**
|
646
|
+
* Asserts that the target is either null or undefined.
|
647
|
+
*
|
648
|
+
* @type T Type of value.
|
649
|
+
* @param value Actual value.
|
650
|
+
* @param message Message to display on error.
|
651
|
+
*/
|
652
|
+
notExists<T>(value: T, message?: string): void;
|
653
|
+
|
654
|
+
/**
|
655
|
+
* Asserts that value is undefined.
|
656
|
+
*
|
657
|
+
* @type T Type of value.
|
658
|
+
* @param value Actual value.
|
659
|
+
* @param message Message to display on error.
|
660
|
+
*/
|
661
|
+
isUndefined<T>(value: T, message?: string): void;
|
662
|
+
|
663
|
+
/**
|
664
|
+
* Asserts that value is not undefined.
|
665
|
+
*
|
666
|
+
* @type T Type of value.
|
667
|
+
* @param value Actual value.
|
668
|
+
* @param message Message to display on error.
|
669
|
+
*/
|
670
|
+
isDefined<T>(value: T, message?: string): void;
|
671
|
+
|
672
|
+
/**
|
673
|
+
* Asserts that value is a function.
|
674
|
+
*
|
675
|
+
* @type T Type of value.
|
676
|
+
* @param value Actual value.
|
677
|
+
* @param message Message to display on error.
|
678
|
+
*/
|
679
|
+
isFunction<T>(value: T, message?: string): void;
|
680
|
+
|
681
|
+
/**
|
682
|
+
* Asserts that value is not a function.
|
683
|
+
*
|
684
|
+
* @type T Type of value.
|
685
|
+
* @param value Actual value.
|
686
|
+
* @param message Message to display on error.
|
687
|
+
*/
|
688
|
+
isNotFunction<T>(value: T, message?: string): void;
|
689
|
+
|
690
|
+
/**
|
691
|
+
* Asserts that value is an object of type 'Object'
|
692
|
+
* (as revealed by Object.prototype.toString).
|
693
|
+
*
|
694
|
+
* @type T Type of value.
|
695
|
+
* @param value Actual value.
|
696
|
+
* @param message Message to display on error.
|
697
|
+
* @remarks The assertion does not match subclassed objects.
|
698
|
+
*/
|
699
|
+
isObject<T>(value: T, message?: string): void;
|
700
|
+
|
701
|
+
/**
|
702
|
+
* Asserts that value is not an object of type 'Object'
|
703
|
+
* (as revealed by Object.prototype.toString).
|
704
|
+
*
|
705
|
+
* @type T Type of value.
|
706
|
+
* @param value Actual value.
|
707
|
+
* @param message Message to display on error.
|
708
|
+
*/
|
709
|
+
isNotObject<T>(value: T, message?: string): void;
|
710
|
+
|
711
|
+
/**
|
712
|
+
* Asserts that value is an array.
|
713
|
+
*
|
714
|
+
* @type T Type of value.
|
715
|
+
* @param value Actual value.
|
716
|
+
* @param message Message to display on error.
|
717
|
+
*/
|
718
|
+
isArray<T>(value: T, message?: string): void;
|
719
|
+
|
720
|
+
/**
|
721
|
+
* Asserts that value is not an array.
|
722
|
+
*
|
723
|
+
* @type T Type of value.
|
724
|
+
* @param value Actual value.
|
725
|
+
* @param message Message to display on error.
|
726
|
+
*/
|
727
|
+
isNotArray<T>(value: T, message?: string): void;
|
728
|
+
|
729
|
+
/**
|
730
|
+
* Asserts that value is a string.
|
731
|
+
*
|
732
|
+
* @type T Type of value.
|
733
|
+
* @param value Actual value.
|
734
|
+
* @param message Message to display on error.
|
735
|
+
*/
|
736
|
+
isString<T>(value: T, message?: string): void;
|
737
|
+
|
738
|
+
/**
|
739
|
+
* Asserts that value is not a string.
|
740
|
+
*
|
741
|
+
* @type T Type of value.
|
742
|
+
* @param value Actual value.
|
743
|
+
* @param message Message to display on error.
|
744
|
+
*/
|
745
|
+
isNotString<T>(value: T, message?: string): void;
|
746
|
+
|
747
|
+
/**
|
748
|
+
* Asserts that value is a number.
|
749
|
+
*
|
750
|
+
* @type T Type of value.
|
751
|
+
* @param value Actual value.
|
752
|
+
* @param message Message to display on error.
|
753
|
+
*/
|
754
|
+
isNumber<T>(value: T, message?: string): void;
|
755
|
+
|
756
|
+
/**
|
757
|
+
* Asserts that value is not a number.
|
758
|
+
*
|
759
|
+
* @type T Type of value.
|
760
|
+
* @param value Actual value.
|
761
|
+
* @param message Message to display on error.
|
762
|
+
*/
|
763
|
+
isNotNumber<T>(value: T, message?: string): void;
|
764
|
+
|
765
|
+
/**
|
766
|
+
* Asserts that value is a boolean.
|
767
|
+
*
|
768
|
+
* @type T Type of value.
|
769
|
+
* @param value Actual value.
|
770
|
+
* @param message Message to display on error.
|
771
|
+
*/
|
772
|
+
isBoolean<T>(value: T, message?: string): void;
|
773
|
+
|
774
|
+
/**
|
775
|
+
* Asserts that value is not a boolean.
|
776
|
+
*
|
777
|
+
* @type T Type of value.
|
778
|
+
* @param value Actual value.
|
779
|
+
* @param message Message to display on error.
|
780
|
+
*/
|
781
|
+
isNotBoolean<T>(value: T, message?: string): void;
|
782
|
+
|
783
|
+
/**
|
784
|
+
* Asserts that value's type is name, as determined by Object.prototype.toString.
|
785
|
+
*
|
786
|
+
* @type T Type of value.
|
787
|
+
* @param value Actual value.
|
788
|
+
* @param name Potential expected type name of value.
|
789
|
+
* @param message Message to display on error.
|
790
|
+
*/
|
791
|
+
typeOf<T>(value: T, name: string, message?: string): void;
|
792
|
+
|
793
|
+
/**
|
794
|
+
* Asserts that value's type is not name, as determined by Object.prototype.toString.
|
795
|
+
*
|
796
|
+
* @type T Type of value.
|
797
|
+
* @param value Actual value.
|
798
|
+
* @param name Potential expected type name of value.
|
799
|
+
* @param message Message to display on error.
|
800
|
+
*/
|
801
|
+
notTypeOf<T>(value: T, name: string, message?: string): void;
|
802
|
+
|
803
|
+
/**
|
804
|
+
* Asserts that value is an instance of constructor.
|
805
|
+
*
|
806
|
+
* @type T Type of value.
|
807
|
+
* @param value Actual value.
|
808
|
+
* @param constructor Potential expected contructor of value.
|
809
|
+
* @param message Message to display on error.
|
810
|
+
*/
|
811
|
+
instanceOf<T>(value: T, constructor: Function, message?: string): void;
|
812
|
+
|
813
|
+
/**
|
814
|
+
* Asserts that value is not an instance of constructor.
|
815
|
+
*
|
816
|
+
* @type T Type of value.
|
817
|
+
* @param value Actual value.
|
818
|
+
* @param constructor Potential expected contructor of value.
|
819
|
+
* @param message Message to display on error.
|
820
|
+
*/
|
821
|
+
notInstanceOf<T>(value: T, type: Function, message?: string): void;
|
822
|
+
|
823
|
+
/**
|
824
|
+
* Asserts that haystack includes needle.
|
825
|
+
*
|
826
|
+
* @param haystack Container string.
|
827
|
+
* @param needle Potential substring of haystack.
|
828
|
+
* @param message Message to display on error.
|
829
|
+
*/
|
830
|
+
include(haystack: string, needle: string, message?: string): void;
|
831
|
+
|
832
|
+
/**
|
833
|
+
* Asserts that haystack includes needle.
|
834
|
+
*
|
835
|
+
* @type T Type of values in haystack.
|
836
|
+
* @param haystack Container array, set or map.
|
837
|
+
* @param needle Potential value contained in haystack.
|
838
|
+
* @param message Message to display on error.
|
839
|
+
*/
|
840
|
+
include<T>(haystack: ReadonlyArray<T> | ReadonlySet<T> | ReadonlyMap<any, T>, needle: T, message?: string): void;
|
841
|
+
|
842
|
+
/**
|
843
|
+
* Asserts that haystack includes needle.
|
844
|
+
*
|
845
|
+
* @type T Type of values in haystack.
|
846
|
+
* @param haystack WeakSet container.
|
847
|
+
* @param needle Potential value contained in haystack.
|
848
|
+
* @param message Message to display on error.
|
849
|
+
*/
|
850
|
+
include<T extends object>(haystack: WeakSet<T>, needle: T, message?: string): void;
|
851
|
+
|
852
|
+
/**
|
853
|
+
* Asserts that haystack includes needle.
|
854
|
+
*
|
855
|
+
* @type T Type of haystack.
|
856
|
+
* @param haystack Object.
|
857
|
+
* @param needle Potential subset of the haystack's properties.
|
858
|
+
* @param message Message to display on error.
|
859
|
+
*/
|
860
|
+
include<T>(haystack: T, needle: Partial<T>, message?: string): void;
|
861
|
+
|
862
|
+
/**
|
863
|
+
* Asserts that haystack does not includes needle.
|
864
|
+
*
|
865
|
+
* @param haystack Container string.
|
866
|
+
* @param needle Potential substring of haystack.
|
867
|
+
* @param message Message to display on error.
|
868
|
+
*/
|
869
|
+
notInclude(haystack: string, needle: string, message?: string): void;
|
870
|
+
|
871
|
+
/**
|
872
|
+
* Asserts that haystack does not includes needle.
|
873
|
+
*
|
874
|
+
* @type T Type of values in haystack.
|
875
|
+
* @param haystack Container array, set or map.
|
876
|
+
* @param needle Potential value contained in haystack.
|
877
|
+
* @param message Message to display on error.
|
878
|
+
*/
|
879
|
+
notInclude<T>(haystack: ReadonlyArray<T> | ReadonlySet<T> | ReadonlyMap<any, T>, needle: T, message?: string): void;
|
880
|
+
|
881
|
+
/**
|
882
|
+
* Asserts that haystack does not includes needle.
|
883
|
+
*
|
884
|
+
* @type T Type of values in haystack.
|
885
|
+
* @param haystack WeakSet container.
|
886
|
+
* @param needle Potential value contained in haystack.
|
887
|
+
* @param message Message to display on error.
|
888
|
+
*/
|
889
|
+
notInclude<T extends object>(haystack: WeakSet<T>, needle: T, message?: string): void;
|
890
|
+
|
891
|
+
/**
|
892
|
+
* Asserts that haystack does not includes needle.
|
893
|
+
*
|
894
|
+
* @type T Type of haystack.
|
895
|
+
* @param haystack Object.
|
896
|
+
* @param needle Potential subset of the haystack's properties.
|
897
|
+
* @param message Message to display on error.
|
898
|
+
*/
|
899
|
+
notInclude<T>(haystack: T, needle: Partial<T>, message?: string): void;
|
900
|
+
|
901
|
+
/**
|
902
|
+
* Asserts that haystack includes needle. Deep equality is used.
|
903
|
+
*
|
904
|
+
* @param haystack Container string.
|
905
|
+
* @param needle Potential substring of haystack.
|
906
|
+
* @param message Message to display on error.
|
907
|
+
*
|
908
|
+
* @deprecated Does not have any effect on string. Use {@link Assert#include} instead.
|
909
|
+
*/
|
910
|
+
deepInclude(haystack: string, needle: string, message?: string): void;
|
911
|
+
|
912
|
+
/**
|
913
|
+
* Asserts that haystack includes needle. Deep equality is used.
|
914
|
+
*
|
915
|
+
* @type T Type of values in haystack.
|
916
|
+
* @param haystack Container array, set or map.
|
917
|
+
* @param needle Potential value contained in haystack.
|
918
|
+
* @param message Message to display on error.
|
919
|
+
*/
|
920
|
+
deepInclude<T>(haystack: ReadonlyArray<T> | ReadonlySet<T> | ReadonlyMap<any, T>, needle: T, message?: string): void;
|
921
|
+
|
922
|
+
/**
|
923
|
+
* Asserts that haystack does not includes needle.
|
924
|
+
*
|
925
|
+
* @type T Type of haystack.
|
926
|
+
* @param haystack Object.
|
927
|
+
* @param needle Potential subset of the haystack's properties.
|
928
|
+
* @param message Message to display on error.
|
929
|
+
*/
|
930
|
+
deepInclude<T>(haystack: T, needle: T extends WeakSet<any> ? never : Partial<T>, message?: string): void;
|
931
|
+
|
932
|
+
/**
|
933
|
+
* Asserts that haystack does not includes needle. Deep equality is used.
|
934
|
+
*
|
935
|
+
* @param haystack Container string.
|
936
|
+
* @param needle Potential substring of haystack.
|
937
|
+
* @param message Message to display on error.
|
938
|
+
*
|
939
|
+
* @deprecated Does not have any effect on string. Use {@link Assert#notInclude} instead.
|
940
|
+
*/
|
941
|
+
notDeepInclude(haystack: string, needle: string, message?: string): void;
|
942
|
+
|
943
|
+
/**
|
944
|
+
* Asserts that haystack does not includes needle. Deep equality is used.
|
945
|
+
*
|
946
|
+
* @type T Type of values in haystack.
|
947
|
+
* @param haystack Container array, set or map.
|
948
|
+
* @param needle Potential value contained in haystack.
|
949
|
+
* @param message Message to display on error.
|
950
|
+
*/
|
951
|
+
notDeepInclude<T>(haystack: ReadonlyArray<T> | ReadonlySet<T> | ReadonlyMap<any, T>, needle: T, message?: string): void;
|
952
|
+
|
953
|
+
/**
|
954
|
+
* Asserts that haystack does not includes needle. Deep equality is used.
|
955
|
+
*
|
956
|
+
* @type T Type of haystack.
|
957
|
+
* @param haystack Object.
|
958
|
+
* @param needle Potential subset of the haystack's properties.
|
959
|
+
* @param message Message to display on error.
|
960
|
+
*/
|
961
|
+
notDeepInclude<T>(haystack: T, needle: T extends WeakSet<any> ? never : Partial<T>, message?: string): void;
|
962
|
+
|
963
|
+
/**
|
964
|
+
* Asserts that ‘haystack’ includes ‘needle’. Can be used to assert the inclusion of a subset of properties in an object.
|
965
|
+
*
|
966
|
+
* Enables the use of dot- and bracket-notation for referencing nested properties.
|
967
|
+
* ‘[]’ and ‘.’ in property names can be escaped using double backslashes.Asserts that ‘haystack’ includes ‘needle’.
|
968
|
+
* Can be used to assert the inclusion of a subset of properties in an object.
|
969
|
+
* Enables the use of dot- and bracket-notation for referencing nested properties.
|
970
|
+
* ‘[]’ and ‘.’ in property names can be escaped using double backslashes.
|
971
|
+
*
|
972
|
+
* @param haystack
|
973
|
+
* @param needle
|
974
|
+
* @param message Message to display on error.
|
975
|
+
*/
|
976
|
+
nestedInclude(haystack: any, needle: any, message?: string): void;
|
977
|
+
|
978
|
+
/**
|
979
|
+
* Asserts that ‘haystack’ does not include ‘needle’. Can be used to assert the absence of a subset of properties in an object.
|
980
|
+
*
|
981
|
+
* Enables the use of dot- and bracket-notation for referencing nested properties.
|
982
|
+
* ‘[]’ and ‘.’ in property names can be escaped using double backslashes.Asserts that ‘haystack’ includes ‘needle’.
|
983
|
+
* Can be used to assert the inclusion of a subset of properties in an object.
|
984
|
+
* Enables the use of dot- and bracket-notation for referencing nested properties.
|
985
|
+
* ‘[]’ and ‘.’ in property names can be escaped using double backslashes.
|
986
|
+
*
|
987
|
+
* @param haystack
|
988
|
+
* @param needle
|
989
|
+
* @param message Message to display on error.
|
990
|
+
*/
|
991
|
+
notNestedInclude(haystack: any, needle: any, message?: string): void;
|
992
|
+
|
993
|
+
/**
|
994
|
+
* Asserts that ‘haystack’ includes ‘needle’. Can be used to assert the inclusion of a subset of properties in an object while checking for deep equality
|
995
|
+
*
|
996
|
+
* Enables the use of dot- and bracket-notation for referencing nested properties.
|
997
|
+
* ‘[]’ and ‘.’ in property names can be escaped using double backslashes.Asserts that ‘haystack’ includes ‘needle’.
|
998
|
+
* Can be used to assert the inclusion of a subset of properties in an object.
|
999
|
+
* Enables the use of dot- and bracket-notation for referencing nested properties.
|
1000
|
+
* ‘[]’ and ‘.’ in property names can be escaped using double backslashes.
|
1001
|
+
*
|
1002
|
+
* @param haystack
|
1003
|
+
* @param needle
|
1004
|
+
* @param message Message to display on error.
|
1005
|
+
*/
|
1006
|
+
deepNestedInclude(haystack: any, needle: any, message?: string): void;
|
1007
|
+
|
1008
|
+
/**
|
1009
|
+
* Asserts that ‘haystack’ does not include ‘needle’. Can be used to assert the absence of a subset of properties in an object while checking for deep equality.
|
1010
|
+
*
|
1011
|
+
* Enables the use of dot- and bracket-notation for referencing nested properties.
|
1012
|
+
* ‘[]’ and ‘.’ in property names can be escaped using double backslashes.Asserts that ‘haystack’ includes ‘needle’.
|
1013
|
+
* Can be used to assert the inclusion of a subset of properties in an object.
|
1014
|
+
* Enables the use of dot- and bracket-notation for referencing nested properties.
|
1015
|
+
* ‘[]’ and ‘.’ in property names can be escaped using double backslashes.
|
1016
|
+
*
|
1017
|
+
* @param haystack
|
1018
|
+
* @param needle
|
1019
|
+
* @param message Message to display on error.
|
1020
|
+
*/
|
1021
|
+
notDeepNestedInclude(haystack: any, needle: any, message?: string): void;
|
1022
|
+
|
1023
|
+
/**
|
1024
|
+
* Asserts that ‘haystack’ includes ‘needle’. Can be used to assert the inclusion of a subset of properties in an object while ignoring inherited properties.
|
1025
|
+
*
|
1026
|
+
* @param haystack
|
1027
|
+
* @param needle
|
1028
|
+
* @param message Message to display on error.
|
1029
|
+
*/
|
1030
|
+
ownInclude(haystack: any, needle: any, message?: string): void;
|
1031
|
+
|
1032
|
+
/**
|
1033
|
+
* Asserts that ‘haystack’ includes ‘needle’. Can be used to assert the absence of a subset of properties in an object while ignoring inherited properties.
|
1034
|
+
*
|
1035
|
+
* @param haystack
|
1036
|
+
* @param needle
|
1037
|
+
* @param message Message to display on error.
|
1038
|
+
*/
|
1039
|
+
notOwnInclude(haystack: any, needle: any, message?: string): void;
|
1040
|
+
|
1041
|
+
/**
|
1042
|
+
* Asserts that ‘haystack’ includes ‘needle’. Can be used to assert the inclusion of a subset of properties in an object while ignoring inherited properties and checking for deep
|
1043
|
+
*
|
1044
|
+
* @param haystack
|
1045
|
+
* @param needle
|
1046
|
+
* @param message Message to display on error.
|
1047
|
+
*/
|
1048
|
+
deepOwnInclude(haystack: any, needle: any, message?: string): void;
|
1049
|
+
|
1050
|
+
/**
|
1051
|
+
* Asserts that ‘haystack’ includes ‘needle’. Can be used to assert the absence of a subset of properties in an object while ignoring inherited properties and checking for deep equality.
|
1052
|
+
*
|
1053
|
+
* @param haystack
|
1054
|
+
* @param needle
|
1055
|
+
* @param message Message to display on error.
|
1056
|
+
*/
|
1057
|
+
notDeepOwnInclude(haystack: any, needle: any, message?: string): void;
|
1058
|
+
|
1059
|
+
/**
|
1060
|
+
* Asserts that value matches the regular expression regexp.
|
1061
|
+
*
|
1062
|
+
* @param value Actual value.
|
1063
|
+
* @param regexp Potential match of value.
|
1064
|
+
* @param message Message to display on error.
|
1065
|
+
*/
|
1066
|
+
match(value: string, regexp: RegExp, message?: string): void;
|
1067
|
+
|
1068
|
+
/**
|
1069
|
+
* Asserts that value does not match the regular expression regexp.
|
1070
|
+
*
|
1071
|
+
* @param value Actual value.
|
1072
|
+
* @param regexp Potential match of value.
|
1073
|
+
* @param message Message to display on error.
|
1074
|
+
*/
|
1075
|
+
notMatch(expected: any, regexp: RegExp, message?: string): void;
|
1076
|
+
|
1077
|
+
/**
|
1078
|
+
* Asserts that object has a property named by property.
|
1079
|
+
*
|
1080
|
+
* @type T Type of object.
|
1081
|
+
* @param object Container object.
|
1082
|
+
* @param property Potential contained property of object.
|
1083
|
+
* @param message Message to display on error.
|
1084
|
+
*/
|
1085
|
+
property<T>(object: T, property: string /* keyof T */, message?: string): void;
|
1086
|
+
|
1087
|
+
/**
|
1088
|
+
* Asserts that object has a property named by property.
|
1089
|
+
*
|
1090
|
+
* @type T Type of object.
|
1091
|
+
* @param object Container object.
|
1092
|
+
* @param property Potential contained property of object.
|
1093
|
+
* @param message Message to display on error.
|
1094
|
+
*/
|
1095
|
+
notProperty<T>(object: T, property: string /* keyof T */, message?: string): void;
|
1096
|
+
|
1097
|
+
/**
|
1098
|
+
* Asserts that object has a property named by property, which can be a string
|
1099
|
+
* using dot- and bracket-notation for deep reference.
|
1100
|
+
*
|
1101
|
+
* @type T Type of object.
|
1102
|
+
* @param object Container object.
|
1103
|
+
* @param property Potential contained property of object.
|
1104
|
+
* @param message Message to display on error.
|
1105
|
+
*/
|
1106
|
+
deepProperty<T>(object: T, property: string, message?: string): void;
|
1107
|
+
|
1108
|
+
/**
|
1109
|
+
* Asserts that object does not have a property named by property, which can be a
|
1110
|
+
* string using dot- and bracket-notation for deep reference.
|
1111
|
+
*
|
1112
|
+
* @type T Type of object.
|
1113
|
+
* @param object Container object.
|
1114
|
+
* @param property Potential contained property of object.
|
1115
|
+
* @param message Message to display on error.
|
1116
|
+
*/
|
1117
|
+
notDeepProperty<T>(object: T, property: string, message?: string): void;
|
1118
|
+
|
1119
|
+
/**
|
1120
|
+
* Asserts that object has a property named by property with value given by value.
|
1121
|
+
*
|
1122
|
+
* @type T Type of object.
|
1123
|
+
* @type V Type of value.
|
1124
|
+
* @param object Container object.
|
1125
|
+
* @param property Potential contained property of object.
|
1126
|
+
* @param value Potential expected property value.
|
1127
|
+
* @param message Message to display on error.
|
1128
|
+
*/
|
1129
|
+
propertyVal<T, V>(object: T, property: string /* keyof T */, value: V, message?: string): void;
|
1130
|
+
|
1131
|
+
/**
|
1132
|
+
* Asserts that object has a property named by property with value given by value.
|
1133
|
+
*
|
1134
|
+
* @type T Type of object.
|
1135
|
+
* @type V Type of value.
|
1136
|
+
* @param object Container object.
|
1137
|
+
* @param property Potential contained property of object.
|
1138
|
+
* @param value Potential expected property value.
|
1139
|
+
* @param message Message to display on error.
|
1140
|
+
*/
|
1141
|
+
notPropertyVal<T, V>(object: T, property: string /* keyof T */, value: V, message?: string): void;
|
1142
|
+
|
1143
|
+
/**
|
1144
|
+
* Asserts that object has a property named by property, which can be a string
|
1145
|
+
* using dot- and bracket-notation for deep reference.
|
1146
|
+
*
|
1147
|
+
* @type T Type of object.
|
1148
|
+
* @type V Type of value.
|
1149
|
+
* @param object Container object.
|
1150
|
+
* @param property Potential contained property of object.
|
1151
|
+
* @param value Potential expected property value.
|
1152
|
+
* @param message Message to display on error.
|
1153
|
+
*/
|
1154
|
+
deepPropertyVal<T, V>(object: T, property: string, value: V, message?: string): void;
|
1155
|
+
|
1156
|
+
/**
|
1157
|
+
* Asserts that object does not have a property named by property, which can be a
|
1158
|
+
* string using dot- and bracket-notation for deep reference.
|
1159
|
+
*
|
1160
|
+
* @type T Type of object.
|
1161
|
+
* @type V Type of value.
|
1162
|
+
* @param object Container object.
|
1163
|
+
* @param property Potential contained property of object.
|
1164
|
+
* @param value Potential expected property value.
|
1165
|
+
* @param message Message to display on error.
|
1166
|
+
*/
|
1167
|
+
notDeepPropertyVal<T, V>(object: T, property: string, value: V, message?: string): void;
|
1168
|
+
|
1169
|
+
/**
|
1170
|
+
* Asserts that object has a length property with the expected value.
|
1171
|
+
*
|
1172
|
+
* @type T Type of object.
|
1173
|
+
* @param object Container object.
|
1174
|
+
* @param length Potential expected length of object.
|
1175
|
+
* @param message Message to display on error.
|
1176
|
+
*/
|
1177
|
+
lengthOf<T extends { readonly length?: number }>(object: T, length: number, message?: string): void;
|
1178
|
+
|
1179
|
+
/**
|
1180
|
+
* Asserts that fn will throw an error.
|
1181
|
+
*
|
1182
|
+
* @param fn Function that may throw.
|
1183
|
+
* @param message Message to display on error.
|
1184
|
+
*/
|
1185
|
+
throw(fn: () => void, message?: string): void;
|
1186
|
+
|
1187
|
+
/**
|
1188
|
+
* Asserts that function will throw an error with message matching regexp.
|
1189
|
+
*
|
1190
|
+
* @param fn Function that may throw.
|
1191
|
+
* @param regExp Potential expected message match.
|
1192
|
+
* @param message Message to display on error.
|
1193
|
+
*/
|
1194
|
+
throw(fn: () => void, regExp: RegExp): void;
|
1195
|
+
|
1196
|
+
/**
|
1197
|
+
* Asserts that function will throw an error that is an instance of constructor.
|
1198
|
+
*
|
1199
|
+
* @param fn Function that may throw.
|
1200
|
+
* @param constructor Potential expected error constructor.
|
1201
|
+
* @param message Message to display on error.
|
1202
|
+
*/
|
1203
|
+
throw(fn: () => void, constructor: ErrorConstructor, message?: string): void;
|
1204
|
+
|
1205
|
+
/**
|
1206
|
+
* Asserts that function will throw an error that is an instance of constructor
|
1207
|
+
* and an error with message matching regexp.
|
1208
|
+
*
|
1209
|
+
* @param fn Function that may throw.
|
1210
|
+
* @param constructor Potential expected error constructor.
|
1211
|
+
* @param message Message to display on error.
|
1212
|
+
*/
|
1213
|
+
throw(fn: () => void, constructor: ErrorConstructor, regExp: RegExp): void;
|
1214
|
+
|
1215
|
+
/**
|
1216
|
+
* Asserts that fn will throw an error.
|
1217
|
+
*
|
1218
|
+
* @param fn Function that may throw.
|
1219
|
+
* @param message Message to display on error.
|
1220
|
+
*/
|
1221
|
+
throws(fn: () => void, message?: string): void;
|
1222
|
+
|
1223
|
+
/**
|
1224
|
+
* Asserts that function will throw an error with message matching regexp.
|
1225
|
+
*
|
1226
|
+
* @param fn Function that may throw.
|
1227
|
+
* @param errType Potential expected message match or error constructor.
|
1228
|
+
* @param message Message to display on error.
|
1229
|
+
*/
|
1230
|
+
throws(fn: () => void, errType: RegExp | ErrorConstructor, message?: string): void;
|
1231
|
+
|
1232
|
+
/**
|
1233
|
+
* Asserts that function will throw an error that is an instance of constructor
|
1234
|
+
* and an error with message matching regexp.
|
1235
|
+
*
|
1236
|
+
* @param fn Function that may throw.
|
1237
|
+
* @param constructor Potential expected error constructor.
|
1238
|
+
* @param message Message to display on error.
|
1239
|
+
*/
|
1240
|
+
throws(fn: () => void, constructor: ErrorConstructor, regExp: RegExp): void;
|
1241
|
+
|
1242
|
+
/**
|
1243
|
+
* Asserts that fn will throw an error.
|
1244
|
+
*
|
1245
|
+
* @param fn Function that may throw.
|
1246
|
+
* @param message Message to display on error.
|
1247
|
+
*/
|
1248
|
+
Throw(fn: () => void, message?: string): void;
|
1249
|
+
|
1250
|
+
/**
|
1251
|
+
* Asserts that function will throw an error with message matching regexp.
|
1252
|
+
*
|
1253
|
+
* @param fn Function that may throw.
|
1254
|
+
* @param regExp Potential expected message match.
|
1255
|
+
* @param message Message to display on error.
|
1256
|
+
*/
|
1257
|
+
Throw(fn: () => void, regExp: RegExp): void;
|
1258
|
+
|
1259
|
+
/**
|
1260
|
+
* Asserts that function will throw an error that is an instance of constructor.
|
1261
|
+
*
|
1262
|
+
* @param fn Function that may throw.
|
1263
|
+
* @param constructor Potential expected error constructor.
|
1264
|
+
* @param message Message to display on error.
|
1265
|
+
*/
|
1266
|
+
Throw(fn: () => void, constructor: ErrorConstructor, message?: string): void;
|
1267
|
+
|
1268
|
+
/**
|
1269
|
+
* Asserts that function will throw an error that is an instance of constructor
|
1270
|
+
* and an error with message matching regexp.
|
1271
|
+
*
|
1272
|
+
* @param fn Function that may throw.
|
1273
|
+
* @param constructor Potential expected error constructor.
|
1274
|
+
* @param message Message to display on error.
|
1275
|
+
*/
|
1276
|
+
Throw(fn: () => void, constructor: ErrorConstructor, regExp: RegExp): void;
|
1277
|
+
|
1278
|
+
/**
|
1279
|
+
* Asserts that fn will not throw an error.
|
1280
|
+
*
|
1281
|
+
* @param fn Function that may throw.
|
1282
|
+
* @param message Message to display on error.
|
1283
|
+
*/
|
1284
|
+
doesNotThrow(fn: () => void, message?: string): void;
|
1285
|
+
|
1286
|
+
/**
|
1287
|
+
* Asserts that function will throw an error with message matching regexp.
|
1288
|
+
*
|
1289
|
+
* @param fn Function that may throw.
|
1290
|
+
* @param regExp Potential expected message match.
|
1291
|
+
* @param message Message to display on error.
|
1292
|
+
*/
|
1293
|
+
doesNotThrow(fn: () => void, regExp: RegExp): void;
|
1294
|
+
|
1295
|
+
/**
|
1296
|
+
* Asserts that function will throw an error that is an instance of constructor.
|
1297
|
+
*
|
1298
|
+
* @param fn Function that may throw.
|
1299
|
+
* @param constructor Potential expected error constructor.
|
1300
|
+
* @param message Message to display on error.
|
1301
|
+
*/
|
1302
|
+
doesNotThrow(fn: () => void, constructor: ErrorConstructor, message?: string): void;
|
1303
|
+
|
1304
|
+
/**
|
1305
|
+
* Asserts that function will throw an error that is an instance of constructor
|
1306
|
+
* and an error with message matching regexp.
|
1307
|
+
*
|
1308
|
+
* @param fn Function that may throw.
|
1309
|
+
* @param constructor Potential expected error constructor.
|
1310
|
+
* @param message Message to display on error.
|
1311
|
+
*/
|
1312
|
+
doesNotThrow(fn: () => void, constructor: ErrorConstructor, regExp: RegExp): void;
|
1313
|
+
|
1314
|
+
/**
|
1315
|
+
* Compares two values using operator.
|
1316
|
+
*
|
1317
|
+
* @param val1 Left value during comparison.
|
1318
|
+
* @param operator Comparison operator.
|
1319
|
+
* @param val2 Right value during comparison.
|
1320
|
+
* @param message Message to display on error.
|
1321
|
+
*/
|
1322
|
+
operator(val1: OperatorComparable, operator: Operator, val2: OperatorComparable, message?: string): void;
|
1323
|
+
|
1324
|
+
/**
|
1325
|
+
* Asserts that the target is equal to expected, to within a +/- delta range.
|
1326
|
+
*
|
1327
|
+
* @param actual Actual value
|
1328
|
+
* @param expected Potential expected value.
|
1329
|
+
* @param delta Maximum differenced between values.
|
1330
|
+
* @param message Message to display on error.
|
1331
|
+
*/
|
1332
|
+
closeTo(actual: number, expected: number, delta: number, message?: string): void;
|
1333
|
+
|
1334
|
+
/**
|
1335
|
+
* Asserts that the target is equal to expected, to within a +/- delta range.
|
1336
|
+
*
|
1337
|
+
* @param actual Actual value
|
1338
|
+
* @param expected Potential expected value.
|
1339
|
+
* @param delta Maximum differenced between values.
|
1340
|
+
* @param message Message to display on error.
|
1341
|
+
*/
|
1342
|
+
approximately(act: number, exp: number, delta: number, message?: string): void;
|
1343
|
+
|
1344
|
+
/**
|
1345
|
+
* Asserts that set1 and set2 have the same members. Order is not take into account.
|
1346
|
+
*
|
1347
|
+
* @type T Type of set values.
|
1348
|
+
* @param set1 Actual set of values.
|
1349
|
+
* @param set2 Potential expected set of values.
|
1350
|
+
* @param message Message to display on error.
|
1351
|
+
*/
|
1352
|
+
sameMembers<T>(set1: T[], set2: T[], message?: string): void;
|
1353
|
+
|
1354
|
+
/**
|
1355
|
+
* Asserts that set1 and set2 have the same members using deep equality checking.
|
1356
|
+
* Order is not take into account.
|
1357
|
+
*
|
1358
|
+
* @type T Type of set values.
|
1359
|
+
* @param set1 Actual set of values.
|
1360
|
+
* @param set2 Potential expected set of values.
|
1361
|
+
* @param message Message to display on error.
|
1362
|
+
*/
|
1363
|
+
sameDeepMembers<T>(set1: T[], set2: T[], message?: string): void;
|
1364
|
+
|
1365
|
+
/**
|
1366
|
+
* Asserts that set1 and set2 have the same members in the same order.
|
1367
|
+
* Uses a strict equality check (===).
|
1368
|
+
*
|
1369
|
+
* @type T Type of set values.
|
1370
|
+
* @param set1 Actual set of values.
|
1371
|
+
* @param set2 Potential expected set of values.
|
1372
|
+
* @param message Message to display on error.
|
1373
|
+
*/
|
1374
|
+
sameOrderedMembers<T>(set1: T[], set2: T[], message?: string): void;
|
1375
|
+
|
1376
|
+
/**
|
1377
|
+
* Asserts that set1 and set2 don’t have the same members in the same order.
|
1378
|
+
* Uses a strict equality check (===).
|
1379
|
+
*
|
1380
|
+
* @type T Type of set values.
|
1381
|
+
* @param set1 Actual set of values.
|
1382
|
+
* @param set2 Potential expected set of values.
|
1383
|
+
* @param message Message to display on error.
|
1384
|
+
*/
|
1385
|
+
notSameOrderedMembers<T>(set1: T[], set2: T[], message?: string): void;
|
1386
|
+
|
1387
|
+
/**
|
1388
|
+
* Asserts that set1 and set2 have the same members in the same order.
|
1389
|
+
* Uses a deep equality check.
|
1390
|
+
*
|
1391
|
+
* @type T Type of set values.
|
1392
|
+
* @param set1 Actual set of values.
|
1393
|
+
* @param set2 Potential expected set of values.
|
1394
|
+
* @param message Message to display on error.
|
1395
|
+
*/
|
1396
|
+
sameDeepOrderedMembers<T>(set1: T[], set2: T[], message?: string): void;
|
1397
|
+
|
1398
|
+
/**
|
1399
|
+
* Asserts that set1 and set2 don’t have the same members in the same order.
|
1400
|
+
* Uses a deep equality check.
|
1401
|
+
*
|
1402
|
+
* @type T Type of set values.
|
1403
|
+
* @param set1 Actual set of values.
|
1404
|
+
* @param set2 Potential expected set of values.
|
1405
|
+
* @param message Message to display on error.
|
1406
|
+
*/
|
1407
|
+
notSameDeepOrderedMembers<T>(set1: T[], set2: T[], message?: string): void;
|
1408
|
+
|
1409
|
+
/**
|
1410
|
+
* Asserts that subset is included in superset in the same order beginning with the first element in superset.
|
1411
|
+
* Uses a strict equality check (===).
|
1412
|
+
*
|
1413
|
+
* @type T Type of set values.
|
1414
|
+
* @param superset Actual set of values.
|
1415
|
+
* @param subset Potential contained set of values.
|
1416
|
+
* @param message Message to display on error.
|
1417
|
+
*/
|
1418
|
+
includeOrderedMembers<T>(superset: T[], subset: T[], message?: string): void;
|
1419
|
+
|
1420
|
+
/**
|
1421
|
+
* Asserts that subset isn’t included in superset in the same order beginning with the first element in superset.
|
1422
|
+
* Uses a strict equality check (===).
|
1423
|
+
*
|
1424
|
+
* @type T Type of set values.
|
1425
|
+
* @param superset Actual set of values.
|
1426
|
+
* @param subset Potential contained set of values.
|
1427
|
+
* @param message Message to display on error.
|
1428
|
+
*/
|
1429
|
+
notIncludeOrderedMembers<T>(superset: T[], subset: T[], message?: string): void;
|
1430
|
+
|
1431
|
+
/**
|
1432
|
+
* Asserts that subset is included in superset in the same order beginning with the first element in superset.
|
1433
|
+
* Uses a deep equality check.
|
1434
|
+
*
|
1435
|
+
* @type T Type of set values.
|
1436
|
+
* @param superset Actual set of values.
|
1437
|
+
* @param subset Potential contained set of values.
|
1438
|
+
* @param message Message to display on error.
|
1439
|
+
*/
|
1440
|
+
includeDeepOrderedMembers<T>(superset: T[], subset: T[], message?: string): void;
|
1441
|
+
|
1442
|
+
/**
|
1443
|
+
* Asserts that subset isn’t included in superset in the same order beginning with the first element in superset.
|
1444
|
+
* Uses a deep equality check.
|
1445
|
+
*
|
1446
|
+
* @type T Type of set values.
|
1447
|
+
* @param superset Actual set of values.
|
1448
|
+
* @param subset Potential contained set of values.
|
1449
|
+
* @param message Message to display on error.
|
1450
|
+
*/
|
1451
|
+
notIncludeDeepOrderedMembers<T>(superset: T[], subset: T[], message?: string): void;
|
1452
|
+
|
1453
|
+
/**
|
1454
|
+
* Asserts that subset is included in superset. Order is not take into account.
|
1455
|
+
*
|
1456
|
+
* @type T Type of set values.
|
1457
|
+
* @param superset Actual set of values.
|
1458
|
+
* @param subset Potential contained set of values.
|
1459
|
+
* @param message Message to display on error.
|
1460
|
+
*/
|
1461
|
+
includeMembers<T>(superset: T[], subset: T[], message?: string): void;
|
1462
|
+
|
1463
|
+
/**
|
1464
|
+
* Asserts that subset is included in superset using deep equality checking.
|
1465
|
+
* Order is not take into account.
|
1466
|
+
*
|
1467
|
+
* @type T Type of set values.
|
1468
|
+
* @param superset Actual set of values.
|
1469
|
+
* @param subset Potential contained set of values.
|
1470
|
+
* @param message Message to display on error.
|
1471
|
+
*/
|
1472
|
+
includeDeepMembers<T>(superset: T[], subset: T[], message?: string): void;
|
1473
|
+
|
1474
|
+
/**
|
1475
|
+
* Asserts that non-object, non-array value inList appears in the flat array list.
|
1476
|
+
*
|
1477
|
+
* @type T Type of list values.
|
1478
|
+
* @param inList Value expected to be in the list.
|
1479
|
+
* @param list List of values.
|
1480
|
+
* @param message Message to display on error.
|
1481
|
+
*/
|
1482
|
+
oneOf<T>(inList: T, list: T[], message?: string): void;
|
1483
|
+
|
1484
|
+
/**
|
1485
|
+
* Asserts that a function changes the value of a property.
|
1486
|
+
*
|
1487
|
+
* @type T Type of object.
|
1488
|
+
* @param modifier Function to run.
|
1489
|
+
* @param object Container object.
|
1490
|
+
* @param property Property of object expected to be modified.
|
1491
|
+
* @param message Message to display on error.
|
1492
|
+
*/
|
1493
|
+
changes<T>(modifier: Function, object: T, property: string /* keyof T */, message?: string): void;
|
1494
|
+
|
1495
|
+
/**
|
1496
|
+
* Asserts that a function does not change the value of a property.
|
1497
|
+
*
|
1498
|
+
* @type T Type of object.
|
1499
|
+
* @param modifier Function to run.
|
1500
|
+
* @param object Container object.
|
1501
|
+
* @param property Property of object expected not to be modified.
|
1502
|
+
* @param message Message to display on error.
|
1503
|
+
*/
|
1504
|
+
doesNotChange<T>(modifier: Function, object: T, property: string /* keyof T */, message?: string): void;
|
1505
|
+
|
1506
|
+
/**
|
1507
|
+
* Asserts that a function increases an object property.
|
1508
|
+
*
|
1509
|
+
* @type T Type of object.
|
1510
|
+
* @param modifier Function to run.
|
1511
|
+
* @param object Container object.
|
1512
|
+
* @param property Property of object expected to be increased.
|
1513
|
+
* @param message Message to display on error.
|
1514
|
+
*/
|
1515
|
+
increases<T>(modifier: Function, object: T, property: string /* keyof T */, message?: string): void;
|
1516
|
+
|
1517
|
+
/**
|
1518
|
+
* Asserts that a function does not increase an object property.
|
1519
|
+
*
|
1520
|
+
* @type T Type of object.
|
1521
|
+
* @param modifier Function to run.
|
1522
|
+
* @param object Container object.
|
1523
|
+
* @param property Property of object expected not to be increased.
|
1524
|
+
* @param message Message to display on error.
|
1525
|
+
*/
|
1526
|
+
doesNotIncrease<T>(modifier: Function, object: T, property: string /* keyof T */, message?: string): void;
|
1527
|
+
|
1528
|
+
/**
|
1529
|
+
* Asserts that a function decreases an object property.
|
1530
|
+
*
|
1531
|
+
* @type T Type of object.
|
1532
|
+
* @param modifier Function to run.
|
1533
|
+
* @param object Container object.
|
1534
|
+
* @param property Property of object expected to be decreased.
|
1535
|
+
* @param message Message to display on error.
|
1536
|
+
*/
|
1537
|
+
decreases<T>(modifier: Function, object: T, property: string /* keyof T */, message?: string): void;
|
1538
|
+
|
1539
|
+
/**
|
1540
|
+
* Asserts that a function does not decrease an object property.
|
1541
|
+
*
|
1542
|
+
* @type T Type of object.
|
1543
|
+
* @param modifier Function to run.
|
1544
|
+
* @param object Container object.
|
1545
|
+
* @param property Property of object expected not to be decreased.
|
1546
|
+
* @param message Message to display on error.
|
1547
|
+
*/
|
1548
|
+
doesNotDecrease<T>(modifier: Function, object: T, property: string /* keyof T */, message?: string): void;
|
1549
|
+
|
1550
|
+
/**
|
1551
|
+
* Asserts if value is not a false value, and throws if it is a true value.
|
1552
|
+
*
|
1553
|
+
* @type T Type of object.
|
1554
|
+
* @param object Actual value.
|
1555
|
+
* @param message Message to display on error.
|
1556
|
+
* @remarks This is added to allow for chai to be a drop-in replacement for
|
1557
|
+
* Node’s assert class.
|
1558
|
+
*/
|
1559
|
+
ifError<T>(object: T, message?: string): void;
|
1560
|
+
|
1561
|
+
/**
|
1562
|
+
* Asserts that object is extensible (can have new properties added to it).
|
1563
|
+
*
|
1564
|
+
* @type T Type of object
|
1565
|
+
* @param object Actual value.
|
1566
|
+
* @param message Message to display on error.
|
1567
|
+
*/
|
1568
|
+
isExtensible<T>(object: T, message?: string): void;
|
1569
|
+
|
1570
|
+
/**
|
1571
|
+
* Asserts that object is extensible (can have new properties added to it).
|
1572
|
+
*
|
1573
|
+
* @type T Type of object
|
1574
|
+
* @param object Actual value.
|
1575
|
+
* @param message Message to display on error.
|
1576
|
+
*/
|
1577
|
+
extensible<T>(object: T, message?: string): void;
|
1578
|
+
|
1579
|
+
/**
|
1580
|
+
* Asserts that object is not extensible.
|
1581
|
+
*
|
1582
|
+
* @type T Type of object
|
1583
|
+
* @param object Actual value.
|
1584
|
+
* @param message Message to display on error.
|
1585
|
+
*/
|
1586
|
+
isNotExtensible<T>(object: T, message?: string): void;
|
1587
|
+
|
1588
|
+
/**
|
1589
|
+
* Asserts that object is not extensible.
|
1590
|
+
*
|
1591
|
+
* @type T Type of object
|
1592
|
+
* @param object Actual value.
|
1593
|
+
* @param message Message to display on error.
|
1594
|
+
*/
|
1595
|
+
notExtensible<T>(object: T, message?: string): void;
|
1596
|
+
|
1597
|
+
/**
|
1598
|
+
* Asserts that object is sealed (can have new properties added to it
|
1599
|
+
* and its existing properties cannot be removed).
|
1600
|
+
*
|
1601
|
+
* @type T Type of object
|
1602
|
+
* @param object Actual value.
|
1603
|
+
* @param message Message to display on error.
|
1604
|
+
*/
|
1605
|
+
isSealed<T>(object: T, message?: string): void;
|
1606
|
+
|
1607
|
+
/**
|
1608
|
+
* Asserts that object is sealed (can have new properties added to it
|
1609
|
+
* and its existing properties cannot be removed).
|
1610
|
+
*
|
1611
|
+
* @type T Type of object
|
1612
|
+
* @param object Actual value.
|
1613
|
+
* @param message Message to display on error.
|
1614
|
+
*/
|
1615
|
+
sealed<T>(object: T, message?: string): void;
|
1616
|
+
|
1617
|
+
/**
|
1618
|
+
* Asserts that object is not sealed.
|
1619
|
+
*
|
1620
|
+
* @type T Type of object
|
1621
|
+
* @param object Actual value.
|
1622
|
+
* @param message Message to display on error.
|
1623
|
+
*/
|
1624
|
+
isNotSealed<T>(object: T, message?: string): void;
|
1625
|
+
|
1626
|
+
/**
|
1627
|
+
* Asserts that object is not sealed.
|
1628
|
+
*
|
1629
|
+
* @type T Type of object
|
1630
|
+
* @param object Actual value.
|
1631
|
+
* @param message Message to display on error.
|
1632
|
+
*/
|
1633
|
+
notSealed<T>(object: T, message?: string): void;
|
1634
|
+
|
1635
|
+
/**
|
1636
|
+
* Asserts that object is frozen (cannot have new properties added to it
|
1637
|
+
* and its existing properties cannot be removed).
|
1638
|
+
*
|
1639
|
+
* @type T Type of object
|
1640
|
+
* @param object Actual value.
|
1641
|
+
* @param message Message to display on error.
|
1642
|
+
*/
|
1643
|
+
isFrozen<T>(object: T, message?: string): void;
|
1644
|
+
|
1645
|
+
/**
|
1646
|
+
* Asserts that object is frozen (cannot have new properties added to it
|
1647
|
+
* and its existing properties cannot be removed).
|
1648
|
+
*
|
1649
|
+
* @type T Type of object
|
1650
|
+
* @param object Actual value.
|
1651
|
+
* @param message Message to display on error.
|
1652
|
+
*/
|
1653
|
+
frozen<T>(object: T, message?: string): void;
|
1654
|
+
|
1655
|
+
/**
|
1656
|
+
* Asserts that object is not frozen (cannot have new properties added to it
|
1657
|
+
* and its existing properties cannot be removed).
|
1658
|
+
*
|
1659
|
+
* @type T Type of object
|
1660
|
+
* @param object Actual value.
|
1661
|
+
* @param message Message to display on error.
|
1662
|
+
*/
|
1663
|
+
isNotFrozen<T>(object: T, message?: string): void;
|
1664
|
+
|
1665
|
+
/**
|
1666
|
+
* Asserts that object is not frozen (cannot have new properties added to it
|
1667
|
+
* and its existing properties cannot be removed).
|
1668
|
+
*
|
1669
|
+
* @type T Type of object
|
1670
|
+
* @param object Actual value.
|
1671
|
+
* @param message Message to display on error.
|
1672
|
+
*/
|
1673
|
+
notFrozen<T>(object: T, message?: string): void;
|
1674
|
+
|
1675
|
+
/**
|
1676
|
+
* Asserts that the target does not contain any values. For arrays and
|
1677
|
+
* strings, it checks the length property. For Map and Set instances, it
|
1678
|
+
* checks the size property. For non-function objects, it gets the count
|
1679
|
+
* of own enumerable string keys.
|
1680
|
+
*
|
1681
|
+
* @type T Type of object
|
1682
|
+
* @param object Actual value.
|
1683
|
+
* @param message Message to display on error.
|
1684
|
+
*/
|
1685
|
+
isEmpty<T>(object: T, message?: string): void;
|
1686
|
+
|
1687
|
+
/**
|
1688
|
+
* Asserts that the target contains values. For arrays and strings, it checks
|
1689
|
+
* the length property. For Map and Set instances, it checks the size property.
|
1690
|
+
* For non-function objects, it gets the count of own enumerable string keys.
|
1691
|
+
*
|
1692
|
+
* @type T Type of object.
|
1693
|
+
* @param object Object to test.
|
1694
|
+
* @param message Message to display on error.
|
1695
|
+
*/
|
1696
|
+
isNotEmpty<T>(object: T, message?: string): void;
|
1697
|
+
|
1698
|
+
/**
|
1699
|
+
* Asserts that `object` has at least one of the `keys` provided.
|
1700
|
+
* You can also provide a single object instead of a `keys` array and its keys
|
1701
|
+
* will be used as the expected set of keys.
|
1702
|
+
*
|
1703
|
+
* @type T Type of object.
|
1704
|
+
* @param object Object to test.
|
1705
|
+
* @param keys Keys to check
|
1706
|
+
* @param message Message to display on error.
|
1707
|
+
*/
|
1708
|
+
hasAnyKeys<T>(object: T, keys: Array<Object | string> | { [key: string]: any }, message?: string): void;
|
1709
|
+
|
1710
|
+
/**
|
1711
|
+
* Asserts that `object` has all and only all of the `keys` provided.
|
1712
|
+
* You can also provide a single object instead of a `keys` array and its keys
|
1713
|
+
* will be used as the expected set of keys.
|
1714
|
+
*
|
1715
|
+
* @type T Type of object.
|
1716
|
+
* @param object Object to test.
|
1717
|
+
* @param keys Keys to check
|
1718
|
+
* @param message Message to display on error.
|
1719
|
+
*/
|
1720
|
+
hasAllKeys<T>(object: T, keys: Array<Object | string> | { [key: string]: any }, message?: string): void;
|
1721
|
+
|
1722
|
+
/**
|
1723
|
+
* Asserts that `object` has all of the `keys` provided but may have more keys not listed.
|
1724
|
+
* You can also provide a single object instead of a `keys` array and its keys
|
1725
|
+
* will be used as the expected set of keys.
|
1726
|
+
*
|
1727
|
+
* @type T Type of object.
|
1728
|
+
* @param object Object to test.
|
1729
|
+
* @param keys Keys to check
|
1730
|
+
* @param message Message to display on error.
|
1731
|
+
*/
|
1732
|
+
containsAllKeys<T>(object: T, keys: Array<Object | string> | { [key: string]: any }, message?: string): void;
|
1733
|
+
|
1734
|
+
/**
|
1735
|
+
* Asserts that `object` has none of the `keys` provided.
|
1736
|
+
* You can also provide a single object instead of a `keys` array and its keys
|
1737
|
+
* will be used as the expected set of keys.
|
1738
|
+
*
|
1739
|
+
* @type T Type of object.
|
1740
|
+
* @param object Object to test.
|
1741
|
+
* @param keys Keys to check
|
1742
|
+
* @param message Message to display on error.
|
1743
|
+
*/
|
1744
|
+
doesNotHaveAnyKeys<T>(object: T, keys: Array<Object | string> | { [key: string]: any }, message?: string): void;
|
1745
|
+
|
1746
|
+
/**
|
1747
|
+
* Asserts that `object` does not have at least one of the `keys` provided.
|
1748
|
+
* You can also provide a single object instead of a `keys` array and its keys
|
1749
|
+
* will be used as the expected set of keys.
|
1750
|
+
*
|
1751
|
+
* @type T Type of object.
|
1752
|
+
* @param object Object to test.
|
1753
|
+
* @param keys Keys to check
|
1754
|
+
* @param message Message to display on error.
|
1755
|
+
*/
|
1756
|
+
doesNotHaveAllKeys<T>(object: T, keys: Array<Object | string> | { [key: string]: any }, message?: string): void;
|
1757
|
+
|
1758
|
+
/**
|
1759
|
+
* Asserts that `object` has at least one of the `keys` provided.
|
1760
|
+
* Since Sets and Maps can have objects as keys you can use this assertion to perform
|
1761
|
+
* a deep comparison.
|
1762
|
+
* You can also provide a single object instead of a `keys` array and its keys
|
1763
|
+
* will be used as the expected set of keys.
|
1764
|
+
*
|
1765
|
+
* @type T Type of object.
|
1766
|
+
* @param object Object to test.
|
1767
|
+
* @param keys Keys to check
|
1768
|
+
* @param message Message to display on error.
|
1769
|
+
*/
|
1770
|
+
hasAnyDeepKeys<T>(object: T, keys: Array<Object | string> | { [key: string]: any }, message?: string): void;
|
1771
|
+
|
1772
|
+
/**
|
1773
|
+
* Asserts that `object` has all and only all of the `keys` provided.
|
1774
|
+
* Since Sets and Maps can have objects as keys you can use this assertion to perform
|
1775
|
+
* a deep comparison.
|
1776
|
+
* You can also provide a single object instead of a `keys` array and its keys
|
1777
|
+
* will be used as the expected set of keys.
|
1778
|
+
*
|
1779
|
+
* @type T Type of object.
|
1780
|
+
* @param object Object to test.
|
1781
|
+
* @param keys Keys to check
|
1782
|
+
* @param message Message to display on error.
|
1783
|
+
*/
|
1784
|
+
hasAllDeepKeys<T>(object: T, keys: Array<Object | string> | { [key: string]: any }, message?: string): void;
|
1785
|
+
|
1786
|
+
/**
|
1787
|
+
* Asserts that `object` contains all of the `keys` provided.
|
1788
|
+
* Since Sets and Maps can have objects as keys you can use this assertion to perform
|
1789
|
+
* a deep comparison.
|
1790
|
+
* You can also provide a single object instead of a `keys` array and its keys
|
1791
|
+
* will be used as the expected set of keys.
|
1792
|
+
*
|
1793
|
+
* @type T Type of object.
|
1794
|
+
* @param object Object to test.
|
1795
|
+
* @param keys Keys to check
|
1796
|
+
* @param message Message to display on error.
|
1797
|
+
*/
|
1798
|
+
containsAllDeepKeys<T>(object: T, keys: Array<Object | string> | { [key: string]: any }, message?: string): void;
|
1799
|
+
|
1800
|
+
/**
|
1801
|
+
* Asserts that `object` contains all of the `keys` provided.
|
1802
|
+
* Since Sets and Maps can have objects as keys you can use this assertion to perform
|
1803
|
+
* a deep comparison.
|
1804
|
+
* You can also provide a single object instead of a `keys` array and its keys
|
1805
|
+
* will be used as the expected set of keys.
|
1806
|
+
*
|
1807
|
+
* @type T Type of object.
|
1808
|
+
* @param object Object to test.
|
1809
|
+
* @param keys Keys to check
|
1810
|
+
* @param message Message to display on error.
|
1811
|
+
*/
|
1812
|
+
doesNotHaveAnyDeepKeys<T>(object: T, keys: Array<Object | string> | { [key: string]: any }, message?: string): void;
|
1813
|
+
|
1814
|
+
/**
|
1815
|
+
* Asserts that `object` contains all of the `keys` provided.
|
1816
|
+
* Since Sets and Maps can have objects as keys you can use this assertion to perform
|
1817
|
+
* a deep comparison.
|
1818
|
+
* You can also provide a single object instead of a `keys` array and its keys
|
1819
|
+
* will be used as the expected set of keys.
|
1820
|
+
*
|
1821
|
+
* @type T Type of object.
|
1822
|
+
* @param object Object to test.
|
1823
|
+
* @param keys Keys to check
|
1824
|
+
* @param message Message to display on error.
|
1825
|
+
*/
|
1826
|
+
doesNotHaveAllDeepKeys<T>(object: T, keys: Array<Object | string> | { [key: string]: any }, message?: string): void;
|
1827
|
+
|
1828
|
+
/**
|
1829
|
+
* Asserts that object has a direct or inherited property named by property,
|
1830
|
+
* which can be a string using dot- and bracket-notation for nested reference.
|
1831
|
+
*
|
1832
|
+
* @type T Type of object.
|
1833
|
+
* @param object Object to test.
|
1834
|
+
* @param property Property to test.
|
1835
|
+
* @param message Message to display on error.
|
1836
|
+
*/
|
1837
|
+
nestedProperty<T>(object: T, property: string, message?: string): void;
|
1838
|
+
|
1839
|
+
/**
|
1840
|
+
* Asserts that object does not have a property named by property,
|
1841
|
+
* which can be a string using dot- and bracket-notation for nested reference.
|
1842
|
+
* The property cannot exist on the object nor anywhere in its prototype chain.
|
1843
|
+
*
|
1844
|
+
* @type T Type of object.
|
1845
|
+
* @param object Object to test.
|
1846
|
+
* @param property Property to test.
|
1847
|
+
* @param message Message to display on error.
|
1848
|
+
*/
|
1849
|
+
notNestedProperty<T>(object: T, property: string, message?: string): void;
|
1850
|
+
|
1851
|
+
/**
|
1852
|
+
* Asserts that object has a property named by property with value given by value.
|
1853
|
+
* property can use dot- and bracket-notation for nested reference. Uses a strict equality check (===).
|
1854
|
+
*
|
1855
|
+
* @type T Type of object.
|
1856
|
+
* @param object Object to test.
|
1857
|
+
* @param property Property to test.
|
1858
|
+
* @param value Value to test.
|
1859
|
+
* @param message Message to display on error.
|
1860
|
+
*/
|
1861
|
+
nestedPropertyVal<T>(object: T, property: string, value: any, message?: string): void;
|
1862
|
+
|
1863
|
+
/**
|
1864
|
+
* Asserts that object does not have a property named by property with value given by value.
|
1865
|
+
* property can use dot- and bracket-notation for nested reference. Uses a strict equality check (===).
|
1866
|
+
*
|
1867
|
+
* @type T Type of object.
|
1868
|
+
* @param object Object to test.
|
1869
|
+
* @param property Property to test.
|
1870
|
+
* @param value Value to test.
|
1871
|
+
* @param message Message to display on error.
|
1872
|
+
*/
|
1873
|
+
notNestedPropertyVal<T>(object: T, property: string, value: any, message?: string): void;
|
1874
|
+
|
1875
|
+
/**
|
1876
|
+
* Asserts that object has a property named by property with a value given by value.
|
1877
|
+
* property can use dot- and bracket-notation for nested reference. Uses a deep equality check.
|
1878
|
+
*
|
1879
|
+
* @type T Type of object.
|
1880
|
+
* @param object Object to test.
|
1881
|
+
* @param property Property to test.
|
1882
|
+
* @param value Value to test.
|
1883
|
+
* @param message Message to display on error.
|
1884
|
+
*/
|
1885
|
+
deepNestedPropertyVal<T>(object: T, property: string, value: any, message?: string): void;
|
1886
|
+
|
1887
|
+
/**
|
1888
|
+
* Asserts that object does not have a property named by property with value given by value.
|
1889
|
+
* property can use dot- and bracket-notation for nested reference. Uses a deep equality check.
|
1890
|
+
*
|
1891
|
+
* @type T Type of object.
|
1892
|
+
* @param object Object to test.
|
1893
|
+
* @param property Property to test.
|
1894
|
+
* @param value Value to test.
|
1895
|
+
* @param message Message to display on error.
|
1896
|
+
*/
|
1897
|
+
notDeepNestedPropertyVal<T>(object: T, property: string, value: any, message?: string): void;
|
1898
|
+
}
|
1899
|
+
|
1900
|
+
export interface Config {
|
1901
|
+
/**
|
1902
|
+
* Default: false
|
1903
|
+
*/
|
1904
|
+
includeStack: boolean;
|
1905
|
+
|
1906
|
+
/**
|
1907
|
+
* Default: true
|
1908
|
+
*/
|
1909
|
+
showDiff: boolean;
|
1910
|
+
|
1911
|
+
/**
|
1912
|
+
* Default: 40
|
1913
|
+
*/
|
1914
|
+
truncateThreshold: number;
|
1915
|
+
|
1916
|
+
/**
|
1917
|
+
* Default: true
|
1918
|
+
*/
|
1919
|
+
useProxy: boolean;
|
1920
|
+
|
1921
|
+
/**
|
1922
|
+
* Default: ['then', 'catch', 'inspect', 'toJSON']
|
1923
|
+
*/
|
1924
|
+
proxyExcludedKeys: string[];
|
1925
|
+
}
|
1926
|
+
|
1927
|
+
export class AssertionError {
|
1928
|
+
constructor(message: string, _props?: any, ssf?: Function);
|
1929
|
+
name: string;
|
1930
|
+
message: string;
|
1931
|
+
showDiff: boolean;
|
1932
|
+
stack: string;
|
1933
|
+
}
|
1934
|
+
}
|
1935
|
+
|
1936
|
+
declare const chai: Chai.ChaiStatic;
|
1937
|
+
|
1938
|
+
declare module "chai" {
|
1939
|
+
export = chai;
|
1940
|
+
}
|
1941
|
+
|
1942
|
+
interface Object {
|
1943
|
+
should: Chai.Assertion;
|
1944
|
+
}
|