cypress 3.7.0 → 3.8.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/cli.js +59 -47
- package/lib/errors.js +7 -1
- package/lib/exec/open.js +4 -4
- package/lib/exec/run.js +75 -42
- package/lib/exec/spawn.js +13 -4
- package/lib/exec/xvfb.js +9 -2
- package/lib/tasks/state.js +14 -4
- package/lib/tasks/unzip.js +90 -16
- package/lib/util.js +1 -1
- package/package.json +2 -1
- package/types/bluebird/README.md +4 -4
- package/types/bluebird/index.d.ts +1261 -1315
- package/types/bluebird/package.json +19 -13
- package/types/chai/LICENSE +21 -21
- package/types/chai/README.md +5 -5
- package/types/chai/index.d.ts +355 -46
- package/types/chai/package.json +31 -13
- package/types/chai-jquery/README.md +2 -2
- package/types/chai-jquery/index.d.ts +3 -3
- package/types/chai-jquery/package.json +14 -13
- package/types/cypress-npm-api.d.ts +10 -1
- package/types/index.d.ts +17 -5
- package/types/lodash/README.md +6 -6
- package/types/lodash/common/array.d.ts +13 -8
- package/types/lodash/common/collection.d.ts +12 -0
- package/types/lodash/common/lang.d.ts +2 -2
- package/types/lodash/common/object.d.ts +219 -15
- package/types/lodash/common/util.d.ts +58 -0
- package/types/lodash/fp.d.ts +452 -226
- package/types/lodash/index.d.ts +1 -1
- package/types/lodash/multiply.d.ts +2 -0
- package/types/lodash/package.json +23 -16
- package/types/lodash/stubFalse.d.ts +2 -0
- package/types/lodash/stubTrue.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/sinon/README.md +6 -6
- package/types/sinon/index.d.ts +34 -12
- package/types/sinon/package.json +26 -13
- package/types/sinon/ts3.1/index.d.ts +101 -59
- package/types/sinon-chai/README.md +2 -2
- package/types/sinon-chai/index.d.ts +2 -2
- package/types/sinon-chai/package.json +14 -13
@@ -6,7 +6,9 @@ interface Document {} // tslint:disable-line no-empty-interface
|
|
6
6
|
|
7
7
|
declare namespace Sinon {
|
8
8
|
type MatchArguments<T> = {
|
9
|
-
[K in keyof T]: SinonMatcher
|
9
|
+
[K in keyof T]: SinonMatcher
|
10
|
+
| (T[K] extends object ? MatchArguments<T[K]> : never)
|
11
|
+
| T[K];
|
10
12
|
};
|
11
13
|
|
12
14
|
interface SinonSpyCallApi<TArgs extends any[] = any[], TReturnValue = any> {
|
@@ -29,7 +31,7 @@ declare namespace Sinon {
|
|
29
31
|
* so a call that received the provided arguments (in the same spots) and possibly others as well will return true.
|
30
32
|
* @param args
|
31
33
|
*/
|
32
|
-
calledWith(...args: MatchArguments<TArgs
|
34
|
+
calledWith(...args: Partial<MatchArguments<TArgs>>): boolean;
|
33
35
|
/**
|
34
36
|
* Returns true if spy was called at least once with the provided arguments and no others.
|
35
37
|
*/
|
@@ -136,13 +138,14 @@ declare namespace Sinon {
|
|
136
138
|
/**
|
137
139
|
* Returns true if the spy call occurred before another spy call.
|
138
140
|
* @param call
|
141
|
+
*
|
139
142
|
*/
|
140
|
-
calledBefore(call: SinonSpyCall): boolean;
|
143
|
+
calledBefore(call: SinonSpyCall<any>): boolean;
|
141
144
|
/**
|
142
145
|
* Returns true if the spy call occurred after another spy call.
|
143
146
|
* @param call
|
144
147
|
*/
|
145
|
-
calledAfter(call: SinonSpyCall): boolean;
|
148
|
+
calledAfter(call: SinonSpyCall<any>): boolean;
|
146
149
|
}
|
147
150
|
|
148
151
|
interface SinonSpy<TArgs extends any[] = any[], TReturnValue = any>
|
@@ -211,27 +214,29 @@ declare namespace Sinon {
|
|
211
214
|
returnValues: TReturnValue[];
|
212
215
|
|
213
216
|
// Methods
|
214
|
-
(...args:
|
217
|
+
(...args: TArgs): TReturnValue;
|
218
|
+
|
215
219
|
/**
|
216
220
|
* Returns true if the spy was called before @param anotherSpy
|
217
221
|
* @param anotherSpy
|
218
222
|
*/
|
219
|
-
calledBefore(anotherSpy: SinonSpy): boolean;
|
223
|
+
calledBefore(anotherSpy: SinonSpy<any>): boolean;
|
220
224
|
/**
|
221
225
|
* Returns true if the spy was called after @param anotherSpy
|
222
226
|
* @param anotherSpy
|
223
227
|
*/
|
224
|
-
calledAfter(anotherSpy: SinonSpy): boolean;
|
228
|
+
calledAfter(anotherSpy: SinonSpy<any>): boolean;
|
225
229
|
/**
|
226
230
|
* Returns true if spy was called before @param anotherSpy, and no spy calls occurred between spy and @param anotherSpy.
|
227
231
|
* @param anotherSpy
|
228
232
|
*/
|
229
|
-
calledImmediatelyBefore(anotherSpy: SinonSpy): boolean;
|
233
|
+
calledImmediatelyBefore(anotherSpy: SinonSpy<any>): boolean;
|
230
234
|
/**
|
231
235
|
* Returns true if spy was called after @param anotherSpy, and no spy calls occurred between @param anotherSpy and spy.
|
232
236
|
* @param anotherSpy
|
233
237
|
*/
|
234
|
-
calledImmediatelyAfter(anotherSpy: SinonSpy): boolean;
|
238
|
+
calledImmediatelyAfter(anotherSpy: SinonSpy<any>): boolean;
|
239
|
+
|
235
240
|
/**
|
236
241
|
* Creates a spy that only records calls when the received arguments match those passed to withArgs.
|
237
242
|
* This is useful to be more expressive in your assertions, where you can access the spy with the same call.
|
@@ -338,7 +343,7 @@ declare namespace Sinon {
|
|
338
343
|
/**
|
339
344
|
* Spies on the provided function
|
340
345
|
*/
|
341
|
-
(func:
|
346
|
+
<F extends (...args: any[]) => any>(func: F): SinonSpy<Parameters<F>, ReturnType<F>>;
|
342
347
|
/**
|
343
348
|
* Creates a spy for object.method and replaces the original method with the spy.
|
344
349
|
* An exception is thrown if the property is not already a function.
|
@@ -351,6 +356,11 @@ declare namespace Sinon {
|
|
351
356
|
) => infer TReturnValue
|
352
357
|
? SinonSpy<TArgs, TReturnValue>
|
353
358
|
: SinonSpy;
|
359
|
+
|
360
|
+
<T, K extends keyof T>(obj: T, method: K, types: Array<('get'|'set')>): PropertyDescriptor & {
|
361
|
+
get: SinonSpy<[], T[K]>;
|
362
|
+
set: SinonSpy<[T[K]], void>;
|
363
|
+
};
|
354
364
|
}
|
355
365
|
|
356
366
|
interface SinonStub<TArgs extends any[] = any[], TReturnValue = any>
|
@@ -399,7 +409,7 @@ declare namespace Sinon {
|
|
399
409
|
* The Promise library can be overwritten using the usingPromise method.
|
400
410
|
* Since sinon@2.0.0
|
401
411
|
*/
|
402
|
-
resolves(value?: any): SinonStub<TArgs, TReturnValue>;
|
412
|
+
resolves(value?: TReturnValue extends PromiseLike<infer TResolveValue> ? TResolveValue : any): SinonStub<TArgs, TReturnValue>;
|
403
413
|
/**
|
404
414
|
* Causes the stub to return a Promise which resolves to the argument at the provided index.
|
405
415
|
* stub.resolvesArg(0); causes the stub to return a Promise which resolves to the first argument.
|
@@ -626,10 +636,15 @@ declare namespace Sinon {
|
|
626
636
|
}
|
627
637
|
|
628
638
|
interface SinonStubStatic {
|
639
|
+
/* tslint:disable:no-unnecessary-generics */
|
640
|
+
|
629
641
|
/**
|
630
642
|
* Creates an anonymous stub function
|
631
643
|
*/
|
632
|
-
(): SinonStub
|
644
|
+
<TArgs extends any[] = any[], R = any>(): SinonStub<TArgs, R>;
|
645
|
+
|
646
|
+
/* tslint:enable:no-unnecessary-generics */
|
647
|
+
|
633
648
|
/**
|
634
649
|
* Stubs all the object’s methods.
|
635
650
|
* Note that it’s usually better practice to stub individual methods, particularly on objects that you don’t understand or control all the methods for (e.g. library dependencies).
|
@@ -747,27 +762,39 @@ declare namespace Sinon {
|
|
747
762
|
|
748
763
|
interface SinonFakeTimers {
|
749
764
|
now: number;
|
765
|
+
loopLimit: number;
|
750
766
|
|
751
|
-
setTimeout(
|
752
|
-
callback: (...args:
|
767
|
+
setTimeout<TArgs extends any[] = any[]>(
|
768
|
+
callback: (...args: TArgs) => void,
|
753
769
|
timeout: number,
|
754
|
-
...args:
|
770
|
+
...args: TArgs
|
755
771
|
): SinonTimerId;
|
756
772
|
clearTimeout(id: SinonTimerId): void;
|
757
|
-
|
758
|
-
|
773
|
+
|
774
|
+
setInterval<TArgs extends any[] = any[]>(
|
775
|
+
callback: (...args: TArgs) => void,
|
759
776
|
timeout: number,
|
760
|
-
...args:
|
777
|
+
...args: TArgs
|
761
778
|
): SinonTimerId;
|
762
779
|
clearInterval(id: SinonTimerId): void;
|
763
|
-
|
764
|
-
|
765
|
-
...args:
|
780
|
+
|
781
|
+
setImmediate<TArgs extends any[] = any[]>(
|
782
|
+
callback: (...args: TArgs) => void,
|
783
|
+
...args: TArgs
|
766
784
|
): SinonTimerId;
|
767
785
|
clearImmediate(id: SinonTimerId): void;
|
768
|
-
|
769
|
-
|
770
|
-
|
786
|
+
|
787
|
+
requestAnimationFrame(callback: (time: number) => void): SinonTimerId;
|
788
|
+
cancelAnimationFrame(id: SinonTimerId): void;
|
789
|
+
|
790
|
+
nextTick<TArgs extends any[] = any[]>(
|
791
|
+
callback: (...args: TArgs) => void,
|
792
|
+
...args: TArgs): void;
|
793
|
+
queueMicrotask(callback: () => void): void;
|
794
|
+
|
795
|
+
requestIdleCallback<TArgs extends any[] = any[]>(func: (...args: TArgs) => void, timeout?: number, ...args:
|
796
|
+
TArgs): SinonTimerId;
|
797
|
+
cancelIdleCallback(timerId: SinonTimerId): void;
|
771
798
|
|
772
799
|
/**
|
773
800
|
* Tick the clock ahead time milliseconds.
|
@@ -777,20 +804,20 @@ declare namespace Sinon {
|
|
777
804
|
* time may be negative, which causes the clock to change but won’t fire any callbacks.
|
778
805
|
* @param ms
|
779
806
|
*/
|
780
|
-
tick(ms: number | string):
|
807
|
+
tick(ms: number | string): number;
|
781
808
|
/**
|
782
809
|
* Advances the clock to the the moment of the first scheduled timer, firing it.
|
783
810
|
*/
|
784
|
-
next():
|
811
|
+
next(): number;
|
785
812
|
/**
|
786
813
|
* This runs all pending timers until there are none remaining. If new timers are added while it is executing they will be run as well.
|
787
814
|
* This makes it easier to run asynchronous tests to completion without worrying about the number of timers they use, or the delays in those timers.
|
788
815
|
*/
|
789
|
-
runAll():
|
790
|
-
runToLast():
|
816
|
+
runAll(): number;
|
817
|
+
runToLast(): number;
|
791
818
|
reset(): void;
|
792
819
|
runMicrotasks(): void;
|
793
|
-
runToFrame():
|
820
|
+
runToFrame(): number;
|
794
821
|
|
795
822
|
Date(): Date;
|
796
823
|
Date(year: number): Date;
|
@@ -841,6 +868,8 @@ declare namespace Sinon {
|
|
841
868
|
* @param now The new 'now' as a JavaScript Date
|
842
869
|
*/
|
843
870
|
setSystemTime(date: Date): void;
|
871
|
+
|
872
|
+
countTimers(): number;
|
844
873
|
}
|
845
874
|
|
846
875
|
interface SinonFakeTimersConfig {
|
@@ -1148,133 +1177,137 @@ declare namespace Sinon {
|
|
1148
1177
|
pass(assertion: any): void; // Overridable
|
1149
1178
|
|
1150
1179
|
// Methods
|
1180
|
+
|
1151
1181
|
/**
|
1152
1182
|
* Passes if spy was never called
|
1153
1183
|
* @param spy
|
1154
1184
|
*/
|
1155
|
-
notCalled(spy: SinonSpy): void;
|
1185
|
+
notCalled(spy: SinonSpy<any>): void;
|
1156
1186
|
/**
|
1157
1187
|
* Passes if spy was called at least once.
|
1158
1188
|
*/
|
1159
|
-
called(spy: SinonSpy): void;
|
1189
|
+
called(spy: SinonSpy<any>): void;
|
1160
1190
|
/**
|
1161
1191
|
* Passes if spy was called once and only once.
|
1162
1192
|
*/
|
1163
|
-
calledOnce(spy: SinonSpy): void;
|
1193
|
+
calledOnce(spy: SinonSpy<any>): void;
|
1164
1194
|
/**
|
1165
1195
|
* Passes if spy was called exactly twice.
|
1166
1196
|
*/
|
1167
|
-
calledTwice(spy: SinonSpy): void;
|
1197
|
+
calledTwice(spy: SinonSpy<any>): void;
|
1168
1198
|
/**
|
1169
1199
|
* Passes if spy was called exactly three times.
|
1170
1200
|
*/
|
1171
|
-
calledThrice(spy: SinonSpy): void;
|
1201
|
+
calledThrice(spy: SinonSpy<any>): void;
|
1172
1202
|
/**
|
1173
1203
|
* Passes if spy was called exactly num times.
|
1174
1204
|
*/
|
1175
|
-
callCount(spy: SinonSpy
|
1205
|
+
callCount(spy: SinonSpy<any>, count: number): void;
|
1176
1206
|
/**
|
1177
1207
|
* Passes if provided spies were called in the specified order.
|
1178
1208
|
* @param spies
|
1179
1209
|
*/
|
1180
|
-
callOrder(...spies: SinonSpy
|
1210
|
+
callOrder(...spies: Array<SinonSpy<any>>): void;
|
1181
1211
|
/**
|
1182
1212
|
* Passes if spy was ever called with obj as its this value.
|
1183
1213
|
* It’s possible to assert on a dedicated spy call: sinon.assert.calledOn(spy.firstCall, arg1, arg2, ...);.
|
1184
1214
|
*/
|
1185
|
-
calledOn(spyOrSpyCall: SinonSpy | SinonSpyCall
|
1215
|
+
calledOn(spyOrSpyCall: SinonSpy<any> | SinonSpyCall<any>, obj: any): void;
|
1186
1216
|
/**
|
1187
1217
|
* Passes if spy was always called with obj as its this value.
|
1188
1218
|
*/
|
1189
|
-
alwaysCalledOn(spy: SinonSpy
|
1219
|
+
alwaysCalledOn(spy: SinonSpy<any>, obj: any): void;
|
1220
|
+
|
1190
1221
|
/**
|
1191
1222
|
* Passes if spy was called with the provided arguments.
|
1192
1223
|
* It’s possible to assert on a dedicated spy call: sinon.assert.calledWith(spy.firstCall, arg1, arg2, ...);.
|
1193
1224
|
* @param spyOrSpyCall
|
1194
1225
|
* @param args
|
1195
1226
|
*/
|
1196
|
-
calledWith(spyOrSpyCall: SinonSpy | SinonSpyCall
|
1227
|
+
calledWith<TArgs extends any[]>(spyOrSpyCall: SinonSpy<TArgs> | SinonSpyCall<TArgs>, ...args: MatchArguments<TArgs>): void;
|
1197
1228
|
/**
|
1198
1229
|
* Passes if spy was always called with the provided arguments.
|
1199
1230
|
* @param spy
|
1200
1231
|
* @param args
|
1201
1232
|
*/
|
1202
|
-
alwaysCalledWith(spy: SinonSpy
|
1233
|
+
alwaysCalledWith<TArgs extends any[]>(spy: SinonSpy<TArgs>, ...args: MatchArguments<TArgs>): void;
|
1203
1234
|
/**
|
1204
1235
|
* Passes if spy was never called with the provided arguments.
|
1205
1236
|
* @param spy
|
1206
1237
|
* @param args
|
1207
1238
|
*/
|
1208
|
-
neverCalledWith(spy: SinonSpy
|
1239
|
+
neverCalledWith<TArgs extends any[]>(spy: SinonSpy<TArgs>, ...args: MatchArguments<TArgs>): void;
|
1209
1240
|
/**
|
1210
1241
|
* Passes if spy was called with the provided arguments and no others.
|
1211
1242
|
* It’s possible to assert on a dedicated spy call: sinon.assert.calledWithExactly(spy.getCall(1), arg1, arg2, ...);.
|
1212
1243
|
* @param spyOrSpyCall
|
1213
1244
|
* @param args
|
1214
1245
|
*/
|
1215
|
-
calledWithExactly(
|
1216
|
-
spyOrSpyCall: SinonSpy | SinonSpyCall
|
1217
|
-
...args:
|
1246
|
+
calledWithExactly<TArgs extends any[]>(
|
1247
|
+
spyOrSpyCall: SinonSpy<TArgs> | SinonSpyCall<TArgs>,
|
1248
|
+
...args: MatchArguments<TArgs>
|
1218
1249
|
): void;
|
1219
1250
|
/**
|
1220
1251
|
* Passes if spy was always called with the provided arguments and no others.
|
1221
1252
|
*/
|
1222
|
-
alwaysCalledWithExactly(spy: SinonSpy
|
1253
|
+
alwaysCalledWithExactly<TArgs extends any[]>(spy: SinonSpy<TArgs>, ...args: MatchArguments<TArgs>): void;
|
1223
1254
|
/**
|
1224
1255
|
* Passes if spy was called with matching arguments.
|
1225
1256
|
* This behaves the same way as sinon.assert.calledWith(spy, sinon.match(arg1), sinon.match(arg2), ...).
|
1226
1257
|
* It’s possible to assert on a dedicated spy call: sinon.assert.calledWithMatch(spy.secondCall, arg1, arg2, ...);.
|
1227
1258
|
*/
|
1228
|
-
calledWithMatch(
|
1229
|
-
spyOrSpyCall: SinonSpy | SinonSpyCall
|
1230
|
-
...args:
|
1259
|
+
calledWithMatch<TArgs extends any[]>(
|
1260
|
+
spyOrSpyCall: SinonSpy<TArgs> | SinonSpyCall<TArgs>,
|
1261
|
+
...args: TArgs
|
1231
1262
|
): void;
|
1232
1263
|
/**
|
1233
1264
|
* Passes if spy was always called with matching arguments.
|
1234
1265
|
* This behaves the same way as sinon.assert.alwaysCalledWith(spy, sinon.match(arg1), sinon.match(arg2), ...).
|
1235
1266
|
*/
|
1236
|
-
alwaysCalledWithMatch(spy: SinonSpy
|
1267
|
+
alwaysCalledWithMatch<TArgs extends any[]>(spy: SinonSpy<TArgs>, ...args: TArgs): void;
|
1237
1268
|
/**
|
1238
1269
|
* Passes if spy was never called with matching arguments.
|
1239
1270
|
* This behaves the same way as sinon.assert.neverCalledWith(spy, sinon.match(arg1), sinon.match(arg2), ...).
|
1240
1271
|
* @param spy
|
1241
1272
|
* @param args
|
1242
1273
|
*/
|
1243
|
-
neverCalledWithMatch(spy: SinonSpy
|
1274
|
+
neverCalledWithMatch<TArgs extends any[]>(spy: SinonSpy<TArgs>, ...args: TArgs): void;
|
1244
1275
|
/**
|
1245
1276
|
* Passes if spy was called with the new operator.
|
1246
1277
|
* It’s possible to assert on a dedicated spy call: sinon.assert.calledWithNew(spy.secondCall, arg1, arg2, ...);.
|
1247
1278
|
* @param spyOrSpyCall
|
1248
1279
|
*/
|
1249
|
-
calledWithNew(spyOrSpyCall: SinonSpy | SinonSpyCall): void;
|
1280
|
+
calledWithNew(spyOrSpyCall: SinonSpy<any> | SinonSpyCall<any>): void;
|
1250
1281
|
/**
|
1251
1282
|
* Passes if spy threw any exception.
|
1252
1283
|
*/
|
1253
|
-
threw(spyOrSpyCall: SinonSpy | SinonSpyCall): void;
|
1284
|
+
threw(spyOrSpyCall: SinonSpy<any> | SinonSpyCall<any>): void;
|
1254
1285
|
/**
|
1255
1286
|
* Passes if spy threw the given exception.
|
1256
1287
|
* The exception is an actual object.
|
1257
1288
|
* It’s possible to assert on a dedicated spy call: sinon.assert.threw(spy.thirdCall, exception);.
|
1258
1289
|
*/
|
1259
|
-
threw(spyOrSpyCall: SinonSpy | SinonSpyCall
|
1290
|
+
threw(spyOrSpyCall: SinonSpy<any> | SinonSpyCall<any>, exception: string): void;
|
1260
1291
|
/**
|
1261
1292
|
* Passes if spy threw the given exception.
|
1262
1293
|
* The exception is a String denoting its type.
|
1263
1294
|
* It’s possible to assert on a dedicated spy call: sinon.assert.threw(spy.thirdCall, exception);.
|
1264
1295
|
*/
|
1265
|
-
threw(spyOrSpyCall: SinonSpy | SinonSpyCall
|
1296
|
+
threw(spyOrSpyCall: SinonSpy<any> | SinonSpyCall<any>, exception: any): void;
|
1297
|
+
|
1266
1298
|
/**
|
1267
1299
|
* Like threw, only required for all calls to the spy.
|
1268
1300
|
*/
|
1269
|
-
alwaysThrew(spy: SinonSpy): void;
|
1301
|
+
alwaysThrew(spy: SinonSpy<any>): void;
|
1270
1302
|
/**
|
1271
1303
|
* Like threw, only required for all calls to the spy.
|
1272
1304
|
*/
|
1273
|
-
alwaysThrew(spy: SinonSpy
|
1305
|
+
alwaysThrew(spy: SinonSpy<any>, exception: string): void;
|
1274
1306
|
/**
|
1275
1307
|
* Like threw, only required for all calls to the spy.
|
1276
1308
|
*/
|
1277
|
-
alwaysThrew(spy: SinonSpy
|
1309
|
+
alwaysThrew(spy: SinonSpy<any>, exception: any): void;
|
1310
|
+
|
1278
1311
|
/**
|
1279
1312
|
* Uses sinon.match to test if the arguments can be considered a match.
|
1280
1313
|
*/
|
@@ -1438,6 +1471,10 @@ declare namespace Sinon {
|
|
1438
1471
|
* Requires the value to be a Symbol.
|
1439
1472
|
*/
|
1440
1473
|
symbol: SinonMatcher;
|
1474
|
+
/**
|
1475
|
+
* Requires the value to be in the specified array.
|
1476
|
+
*/
|
1477
|
+
in(allowed: any[]): SinonMatcher;
|
1441
1478
|
/**
|
1442
1479
|
* Requires the value to strictly equal ref.
|
1443
1480
|
*/
|
@@ -1526,7 +1563,9 @@ declare namespace Sinon {
|
|
1526
1563
|
/**
|
1527
1564
|
* Replaces a type with a Sinon stub if it's a function.
|
1528
1565
|
*/
|
1529
|
-
type SinonStubbedMember<T> = T extends
|
1566
|
+
type SinonStubbedMember<T> = T extends (
|
1567
|
+
...args: infer TArgs
|
1568
|
+
) => infer TReturnValue ? SinonStub<TArgs, TReturnValue> : T;
|
1530
1569
|
|
1531
1570
|
interface SinonFake {
|
1532
1571
|
/**
|
@@ -1698,11 +1737,14 @@ declare namespace Sinon {
|
|
1698
1737
|
*
|
1699
1738
|
* @template TType Type being stubbed.
|
1700
1739
|
* @param constructor Object or class to stub.
|
1740
|
+
* @param overrides An optional map overriding created stubs
|
1701
1741
|
* @returns A stubbed version of the constructor.
|
1702
1742
|
* @remarks The given constructor function is not invoked. See also the stub API.
|
1703
1743
|
*/
|
1704
1744
|
createStubInstance<TType>(
|
1705
|
-
constructor: StubbableType<TType
|
1745
|
+
constructor: StubbableType<TType>,
|
1746
|
+
overrides?: { [K in keyof TType]?:
|
1747
|
+
SinonStubbedMember<TType[K]> | (TType[K] extends (...args: any[]) => infer R ? R : TType[K]) }
|
1706
1748
|
): SinonStubbedInstance<TType>;
|
1707
1749
|
}
|
1708
1750
|
|
@@ -8,9 +8,9 @@ This package contains type definitions for sinon-chai (https://github.com/domeni
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sinon-chai
|
9
9
|
|
10
10
|
Additional Details
|
11
|
-
* Last updated:
|
11
|
+
* Last updated: Thu, 08 Aug 2019 16:09:09 GMT
|
12
12
|
* Dependencies: @types/sinon, @types/chai
|
13
13
|
* Global values: none
|
14
14
|
|
15
15
|
# Credits
|
16
|
-
These definitions were written by Kazi Manzur Rashid <https://github.com/kazimanzurrashid>, Jed Mao <https://github.com/jedmao>, Eyal Lapid <https://github.com/elpdpt>.
|
16
|
+
These definitions were written by Kazi Manzur Rashid <https://github.com/kazimanzurrashid>, Jed Mao <https://github.com/jedmao>, and Eyal Lapid <https://github.com/elpdpt>.
|
@@ -4,7 +4,7 @@
|
|
4
4
|
// Jed Mao <https://github.com/jedmao>
|
5
5
|
// Eyal Lapid <https://github.com/elpdpt>
|
6
6
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
7
|
-
// TypeScript Version:
|
7
|
+
// TypeScript Version: 3.0
|
8
8
|
|
9
9
|
/// <reference path="../chai/index.d.ts" />
|
10
10
|
/// <reference path="../sinon/index.d.ts" />
|
@@ -104,6 +104,6 @@ declare global {
|
|
104
104
|
}
|
105
105
|
}
|
106
106
|
|
107
|
-
declare
|
107
|
+
declare const sinonChai: Chai.ChaiPlugin;
|
108
108
|
declare namespace sinonChai { }
|
109
109
|
export = sinonChai;
|
@@ -1,27 +1,27 @@
|
|
1
1
|
{
|
2
|
-
"_from": "@types/sinon-chai@3.2.
|
3
|
-
"_id": "@types/sinon-chai@3.2.
|
2
|
+
"_from": "@types/sinon-chai@3.2.3",
|
3
|
+
"_id": "@types/sinon-chai@3.2.3",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-TOUFS6vqS0PVL1I8NGVSNcFaNJtFoyZPXZ5zur+qlhDfOmQECZZM4H4kKgca6O8L+QceX/ymODZASfUfn+y4yQ==",
|
6
6
|
"_location": "/@types/sinon-chai",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
9
9
|
"type": "version",
|
10
10
|
"registry": true,
|
11
|
-
"raw": "@types/sinon-chai@3.2.
|
11
|
+
"raw": "@types/sinon-chai@3.2.3",
|
12
12
|
"name": "@types/sinon-chai",
|
13
13
|
"escapedName": "@types%2fsinon-chai",
|
14
14
|
"scope": "@types",
|
15
|
-
"rawSpec": "3.2.
|
15
|
+
"rawSpec": "3.2.3",
|
16
16
|
"saveSpec": null,
|
17
|
-
"fetchSpec": "3.2.
|
17
|
+
"fetchSpec": "3.2.3"
|
18
18
|
},
|
19
19
|
"_requiredBy": [
|
20
20
|
"#DEV:/"
|
21
21
|
],
|
22
|
-
"_resolved": "https://registry.npmjs.org/@types/sinon-chai/-/sinon-chai-3.2.
|
23
|
-
"_shasum": "
|
24
|
-
"_spec": "@types/sinon-chai@3.2.
|
22
|
+
"_resolved": "https://registry.npmjs.org/@types/sinon-chai/-/sinon-chai-3.2.3.tgz",
|
23
|
+
"_shasum": "afe392303dda95cc8069685d1e537ff434fa506e",
|
24
|
+
"_spec": "@types/sinon-chai@3.2.3",
|
25
25
|
"_where": "/root/cypress/cli",
|
26
26
|
"bugs": {
|
27
27
|
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
|
@@ -53,11 +53,12 @@
|
|
53
53
|
"name": "@types/sinon-chai",
|
54
54
|
"repository": {
|
55
55
|
"type": "git",
|
56
|
-
"url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git"
|
56
|
+
"url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
57
|
+
"directory": "types/sinon-chai"
|
57
58
|
},
|
58
59
|
"scripts": {},
|
59
|
-
"typeScriptVersion": "
|
60
|
+
"typeScriptVersion": "3.0",
|
60
61
|
"types": "index",
|
61
|
-
"typesPublisherContentHash": "
|
62
|
-
"version": "3.2.
|
62
|
+
"typesPublisherContentHash": "d9a4d47514a22c3cec74b7284e19ca2a643e49cd1b2f764b09af8b11903ed10a",
|
63
|
+
"version": "3.2.3"
|
63
64
|
}
|