cypress 4.5.0 → 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1431) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/util.js +1 -1
  3. package/package.json +2 -11
  4. package/types/blob-util/index.d.ts +97 -0
  5. package/types/bluebird/index.d.ts +1261 -0
  6. package/types/chai/index.d.ts +1944 -0
  7. package/types/chai-jquery/index.d.ts +2587 -0
  8. package/types/cy-blob-util.d.ts +13 -0
  9. package/types/cy-bluebird.d.ts +11 -0
  10. package/types/cy-chai.d.ts +10 -0
  11. package/types/cy-minimatch.d.ts +96 -0
  12. package/types/cy-moment.d.ts +7 -0
  13. package/types/cypress-eventemitter.d.ts +8 -0
  14. package/types/cypress-expect.d.ts +3 -0
  15. package/types/cypress-global-vars.d.ts +24 -0
  16. package/types/cypress-npm-api.d.ts +4 -201
  17. package/types/cypress-type-helpers.d.ts +2 -0
  18. package/types/cypress.d.ts +4792 -0
  19. package/types/index.d.ts +33 -4856
  20. package/types/jquery/JQuery.d.ts +12942 -0
  21. package/types/jquery/JQueryStatic.d.ts +13521 -0
  22. package/types/jquery/index.d.ts +34 -0
  23. package/types/jquery/legacy.d.ts +204 -0
  24. package/types/jquery/misc.d.ts +6661 -0
  25. package/types/lodash/add.d.ts +2 -0
  26. package/types/lodash/after.d.ts +2 -0
  27. package/types/lodash/ary.d.ts +2 -0
  28. package/types/lodash/assign.d.ts +2 -0
  29. package/types/lodash/assignIn.d.ts +2 -0
  30. package/types/lodash/assignInWith.d.ts +2 -0
  31. package/types/lodash/assignWith.d.ts +2 -0
  32. package/types/lodash/at.d.ts +2 -0
  33. package/types/lodash/attempt.d.ts +2 -0
  34. package/types/lodash/before.d.ts +2 -0
  35. package/types/lodash/bind.d.ts +2 -0
  36. package/types/lodash/bindAll.d.ts +2 -0
  37. package/types/lodash/bindKey.d.ts +2 -0
  38. package/types/lodash/camelCase.d.ts +2 -0
  39. package/types/lodash/capitalize.d.ts +2 -0
  40. package/types/lodash/castArray.d.ts +2 -0
  41. package/types/lodash/ceil.d.ts +2 -0
  42. package/types/lodash/chain.d.ts +2 -0
  43. package/types/lodash/chunk.d.ts +2 -0
  44. package/types/lodash/clamp.d.ts +2 -0
  45. package/types/lodash/clone.d.ts +2 -0
  46. package/types/lodash/cloneDeep.d.ts +2 -0
  47. package/types/lodash/cloneDeepWith.d.ts +2 -0
  48. package/types/lodash/cloneWith.d.ts +2 -0
  49. package/types/lodash/common/array.d.ts +3713 -0
  50. package/types/lodash/common/collection.d.ts +2587 -0
  51. package/types/lodash/common/common.d.ts +270 -0
  52. package/types/lodash/common/date.d.ts +27 -0
  53. package/types/lodash/common/function.d.ts +1489 -0
  54. package/types/lodash/common/lang.d.ts +1936 -0
  55. package/types/lodash/common/math.d.ts +532 -0
  56. package/types/lodash/common/number.d.ts +178 -0
  57. package/types/lodash/common/object.d.ts +4109 -0
  58. package/types/lodash/common/seq.d.ts +196 -0
  59. package/types/lodash/common/string.d.ts +1059 -0
  60. package/types/lodash/common/util.d.ts +1521 -0
  61. package/types/lodash/compact.d.ts +2 -0
  62. package/types/lodash/concat.d.ts +2 -0
  63. package/types/lodash/cond.d.ts +2 -0
  64. package/types/lodash/conformsTo.d.ts +2 -0
  65. package/types/lodash/constant.d.ts +2 -0
  66. package/types/lodash/countBy.d.ts +2 -0
  67. package/types/lodash/create.d.ts +2 -0
  68. package/types/lodash/curry.d.ts +2 -0
  69. package/types/lodash/curryRight.d.ts +2 -0
  70. package/types/lodash/debounce.d.ts +2 -0
  71. package/types/lodash/deburr.d.ts +2 -0
  72. package/types/lodash/defaultTo.d.ts +2 -0
  73. package/types/lodash/defaults.d.ts +2 -0
  74. package/types/lodash/defaultsDeep.d.ts +2 -0
  75. package/types/lodash/defer.d.ts +2 -0
  76. package/types/lodash/delay.d.ts +2 -0
  77. package/types/lodash/difference.d.ts +2 -0
  78. package/types/lodash/differenceBy.d.ts +2 -0
  79. package/types/lodash/differenceWith.d.ts +2 -0
  80. package/types/lodash/divide.d.ts +2 -0
  81. package/types/lodash/drop.d.ts +2 -0
  82. package/types/lodash/dropRight.d.ts +2 -0
  83. package/types/lodash/dropRightWhile.d.ts +2 -0
  84. package/types/lodash/dropWhile.d.ts +2 -0
  85. package/types/lodash/each.d.ts +2 -0
  86. package/types/lodash/eachRight.d.ts +2 -0
  87. package/types/lodash/endsWith.d.ts +2 -0
  88. package/types/lodash/entries.d.ts +2 -0
  89. package/types/lodash/entriesIn.d.ts +2 -0
  90. package/types/lodash/eq.d.ts +2 -0
  91. package/types/lodash/escape.d.ts +2 -0
  92. package/types/lodash/escapeRegExp.d.ts +2 -0
  93. package/types/lodash/every.d.ts +2 -0
  94. package/types/lodash/extend.d.ts +2 -0
  95. package/types/lodash/extendWith.d.ts +2 -0
  96. package/types/lodash/fill.d.ts +2 -0
  97. package/types/lodash/filter.d.ts +2 -0
  98. package/types/lodash/find.d.ts +2 -0
  99. package/types/lodash/findIndex.d.ts +2 -0
  100. package/types/lodash/findKey.d.ts +2 -0
  101. package/types/lodash/findLast.d.ts +2 -0
  102. package/types/lodash/findLastIndex.d.ts +2 -0
  103. package/types/lodash/findLastKey.d.ts +2 -0
  104. package/types/lodash/first.d.ts +2 -0
  105. package/types/lodash/flatMap.d.ts +2 -0
  106. package/types/lodash/flatMapDeep.d.ts +2 -0
  107. package/types/lodash/flatMapDepth.d.ts +2 -0
  108. package/types/lodash/flatten.d.ts +2 -0
  109. package/types/lodash/flattenDeep.d.ts +2 -0
  110. package/types/lodash/flattenDepth.d.ts +2 -0
  111. package/types/lodash/flip.d.ts +2 -0
  112. package/types/lodash/floor.d.ts +2 -0
  113. package/types/lodash/flow.d.ts +2 -0
  114. package/types/lodash/flowRight.d.ts +2 -0
  115. package/types/lodash/forEach.d.ts +2 -0
  116. package/types/lodash/forEachRight.d.ts +2 -0
  117. package/types/lodash/forIn.d.ts +2 -0
  118. package/types/lodash/forInRight.d.ts +2 -0
  119. package/types/lodash/forOwn.d.ts +2 -0
  120. package/types/lodash/forOwnRight.d.ts +2 -0
  121. package/types/lodash/fp/F.d.ts +2 -0
  122. package/types/lodash/fp/T.d.ts +2 -0
  123. package/types/lodash/fp/__.d.ts +3 -0
  124. package/types/lodash/fp/add.d.ts +2 -0
  125. package/types/lodash/fp/after.d.ts +2 -0
  126. package/types/lodash/fp/all.d.ts +2 -0
  127. package/types/lodash/fp/allPass.d.ts +2 -0
  128. package/types/lodash/fp/always.d.ts +2 -0
  129. package/types/lodash/fp/any.d.ts +2 -0
  130. package/types/lodash/fp/anyPass.d.ts +2 -0
  131. package/types/lodash/fp/apply.d.ts +2 -0
  132. package/types/lodash/fp/ary.d.ts +2 -0
  133. package/types/lodash/fp/assign.d.ts +2 -0
  134. package/types/lodash/fp/assignAll.d.ts +2 -0
  135. package/types/lodash/fp/assignAllWith.d.ts +2 -0
  136. package/types/lodash/fp/assignIn.d.ts +2 -0
  137. package/types/lodash/fp/assignInAll.d.ts +2 -0
  138. package/types/lodash/fp/assignInAllWith.d.ts +2 -0
  139. package/types/lodash/fp/assignInWith.d.ts +2 -0
  140. package/types/lodash/fp/assignWith.d.ts +2 -0
  141. package/types/lodash/fp/assoc.d.ts +2 -0
  142. package/types/lodash/fp/assocPath.d.ts +2 -0
  143. package/types/lodash/fp/at.d.ts +2 -0
  144. package/types/lodash/fp/attempt.d.ts +2 -0
  145. package/types/lodash/fp/before.d.ts +2 -0
  146. package/types/lodash/fp/bind.d.ts +2 -0
  147. package/types/lodash/fp/bindAll.d.ts +2 -0
  148. package/types/lodash/fp/bindKey.d.ts +2 -0
  149. package/types/lodash/fp/camelCase.d.ts +2 -0
  150. package/types/lodash/fp/capitalize.d.ts +2 -0
  151. package/types/lodash/fp/castArray.d.ts +2 -0
  152. package/types/lodash/fp/ceil.d.ts +2 -0
  153. package/types/lodash/fp/chunk.d.ts +2 -0
  154. package/types/lodash/fp/clamp.d.ts +2 -0
  155. package/types/lodash/fp/clone.d.ts +2 -0
  156. package/types/lodash/fp/cloneDeep.d.ts +2 -0
  157. package/types/lodash/fp/cloneDeepWith.d.ts +2 -0
  158. package/types/lodash/fp/cloneWith.d.ts +2 -0
  159. package/types/lodash/fp/compact.d.ts +2 -0
  160. package/types/lodash/fp/complement.d.ts +2 -0
  161. package/types/lodash/fp/compose.d.ts +2 -0
  162. package/types/lodash/fp/concat.d.ts +2 -0
  163. package/types/lodash/fp/cond.d.ts +2 -0
  164. package/types/lodash/fp/conforms.d.ts +2 -0
  165. package/types/lodash/fp/conformsTo.d.ts +2 -0
  166. package/types/lodash/fp/constant.d.ts +2 -0
  167. package/types/lodash/fp/contains.d.ts +2 -0
  168. package/types/lodash/fp/convert.d.ts +15 -0
  169. package/types/lodash/fp/countBy.d.ts +2 -0
  170. package/types/lodash/fp/create.d.ts +2 -0
  171. package/types/lodash/fp/curry.d.ts +2 -0
  172. package/types/lodash/fp/curryN.d.ts +2 -0
  173. package/types/lodash/fp/curryRight.d.ts +2 -0
  174. package/types/lodash/fp/curryRightN.d.ts +2 -0
  175. package/types/lodash/fp/debounce.d.ts +2 -0
  176. package/types/lodash/fp/deburr.d.ts +2 -0
  177. package/types/lodash/fp/defaultTo.d.ts +2 -0
  178. package/types/lodash/fp/defaults.d.ts +2 -0
  179. package/types/lodash/fp/defaultsAll.d.ts +2 -0
  180. package/types/lodash/fp/defaultsDeep.d.ts +2 -0
  181. package/types/lodash/fp/defaultsDeepAll.d.ts +2 -0
  182. package/types/lodash/fp/defer.d.ts +2 -0
  183. package/types/lodash/fp/delay.d.ts +2 -0
  184. package/types/lodash/fp/difference.d.ts +2 -0
  185. package/types/lodash/fp/differenceBy.d.ts +2 -0
  186. package/types/lodash/fp/differenceWith.d.ts +2 -0
  187. package/types/lodash/fp/dissoc.d.ts +2 -0
  188. package/types/lodash/fp/dissocPath.d.ts +2 -0
  189. package/types/lodash/fp/divide.d.ts +2 -0
  190. package/types/lodash/fp/drop.d.ts +2 -0
  191. package/types/lodash/fp/dropLast.d.ts +2 -0
  192. package/types/lodash/fp/dropLastWhile.d.ts +2 -0
  193. package/types/lodash/fp/dropRight.d.ts +2 -0
  194. package/types/lodash/fp/dropRightWhile.d.ts +2 -0
  195. package/types/lodash/fp/dropWhile.d.ts +2 -0
  196. package/types/lodash/fp/each.d.ts +2 -0
  197. package/types/lodash/fp/eachRight.d.ts +2 -0
  198. package/types/lodash/fp/endsWith.d.ts +2 -0
  199. package/types/lodash/fp/entries.d.ts +2 -0
  200. package/types/lodash/fp/entriesIn.d.ts +2 -0
  201. package/types/lodash/fp/eq.d.ts +2 -0
  202. package/types/lodash/fp/equals.d.ts +2 -0
  203. package/types/lodash/fp/escape.d.ts +2 -0
  204. package/types/lodash/fp/escapeRegExp.d.ts +2 -0
  205. package/types/lodash/fp/every.d.ts +2 -0
  206. package/types/lodash/fp/extend.d.ts +2 -0
  207. package/types/lodash/fp/extendAll.d.ts +2 -0
  208. package/types/lodash/fp/extendAllWith.d.ts +2 -0
  209. package/types/lodash/fp/extendWith.d.ts +2 -0
  210. package/types/lodash/fp/fill.d.ts +2 -0
  211. package/types/lodash/fp/filter.d.ts +2 -0
  212. package/types/lodash/fp/find.d.ts +2 -0
  213. package/types/lodash/fp/findFrom.d.ts +2 -0
  214. package/types/lodash/fp/findIndex.d.ts +2 -0
  215. package/types/lodash/fp/findIndexFrom.d.ts +2 -0
  216. package/types/lodash/fp/findKey.d.ts +2 -0
  217. package/types/lodash/fp/findLast.d.ts +2 -0
  218. package/types/lodash/fp/findLastFrom.d.ts +2 -0
  219. package/types/lodash/fp/findLastIndex.d.ts +2 -0
  220. package/types/lodash/fp/findLastIndexFrom.d.ts +2 -0
  221. package/types/lodash/fp/findLastKey.d.ts +2 -0
  222. package/types/lodash/fp/first.d.ts +2 -0
  223. package/types/lodash/fp/flatMap.d.ts +2 -0
  224. package/types/lodash/fp/flatMapDeep.d.ts +2 -0
  225. package/types/lodash/fp/flatMapDepth.d.ts +2 -0
  226. package/types/lodash/fp/flatten.d.ts +2 -0
  227. package/types/lodash/fp/flattenDeep.d.ts +2 -0
  228. package/types/lodash/fp/flattenDepth.d.ts +2 -0
  229. package/types/lodash/fp/flip.d.ts +2 -0
  230. package/types/lodash/fp/floor.d.ts +2 -0
  231. package/types/lodash/fp/flow.d.ts +2 -0
  232. package/types/lodash/fp/flowRight.d.ts +2 -0
  233. package/types/lodash/fp/forEach.d.ts +2 -0
  234. package/types/lodash/fp/forEachRight.d.ts +2 -0
  235. package/types/lodash/fp/forIn.d.ts +2 -0
  236. package/types/lodash/fp/forInRight.d.ts +2 -0
  237. package/types/lodash/fp/forOwn.d.ts +2 -0
  238. package/types/lodash/fp/forOwnRight.d.ts +2 -0
  239. package/types/lodash/fp/fromPairs.d.ts +2 -0
  240. package/types/lodash/fp/functions.d.ts +2 -0
  241. package/types/lodash/fp/functionsIn.d.ts +2 -0
  242. package/types/lodash/fp/get.d.ts +2 -0
  243. package/types/lodash/fp/getOr.d.ts +2 -0
  244. package/types/lodash/fp/groupBy.d.ts +2 -0
  245. package/types/lodash/fp/gt.d.ts +2 -0
  246. package/types/lodash/fp/gte.d.ts +2 -0
  247. package/types/lodash/fp/has.d.ts +2 -0
  248. package/types/lodash/fp/hasIn.d.ts +2 -0
  249. package/types/lodash/fp/head.d.ts +2 -0
  250. package/types/lodash/fp/identical.d.ts +2 -0
  251. package/types/lodash/fp/identity.d.ts +2 -0
  252. package/types/lodash/fp/inRange.d.ts +2 -0
  253. package/types/lodash/fp/includes.d.ts +2 -0
  254. package/types/lodash/fp/includesFrom.d.ts +2 -0
  255. package/types/lodash/fp/indexBy.d.ts +2 -0
  256. package/types/lodash/fp/indexOf.d.ts +2 -0
  257. package/types/lodash/fp/indexOfFrom.d.ts +2 -0
  258. package/types/lodash/fp/init.d.ts +2 -0
  259. package/types/lodash/fp/initial.d.ts +2 -0
  260. package/types/lodash/fp/intersection.d.ts +2 -0
  261. package/types/lodash/fp/intersectionBy.d.ts +2 -0
  262. package/types/lodash/fp/intersectionWith.d.ts +2 -0
  263. package/types/lodash/fp/invert.d.ts +2 -0
  264. package/types/lodash/fp/invertBy.d.ts +2 -0
  265. package/types/lodash/fp/invertObj.d.ts +2 -0
  266. package/types/lodash/fp/invoke.d.ts +2 -0
  267. package/types/lodash/fp/invokeArgs.d.ts +2 -0
  268. package/types/lodash/fp/invokeArgsMap.d.ts +2 -0
  269. package/types/lodash/fp/invokeMap.d.ts +2 -0
  270. package/types/lodash/fp/isArguments.d.ts +2 -0
  271. package/types/lodash/fp/isArray.d.ts +2 -0
  272. package/types/lodash/fp/isArrayBuffer.d.ts +2 -0
  273. package/types/lodash/fp/isArrayLike.d.ts +2 -0
  274. package/types/lodash/fp/isArrayLikeObject.d.ts +2 -0
  275. package/types/lodash/fp/isBoolean.d.ts +2 -0
  276. package/types/lodash/fp/isBuffer.d.ts +2 -0
  277. package/types/lodash/fp/isDate.d.ts +2 -0
  278. package/types/lodash/fp/isElement.d.ts +2 -0
  279. package/types/lodash/fp/isEmpty.d.ts +2 -0
  280. package/types/lodash/fp/isEqual.d.ts +2 -0
  281. package/types/lodash/fp/isEqualWith.d.ts +2 -0
  282. package/types/lodash/fp/isError.d.ts +2 -0
  283. package/types/lodash/fp/isFinite.d.ts +2 -0
  284. package/types/lodash/fp/isFunction.d.ts +2 -0
  285. package/types/lodash/fp/isInteger.d.ts +2 -0
  286. package/types/lodash/fp/isLength.d.ts +2 -0
  287. package/types/lodash/fp/isMap.d.ts +2 -0
  288. package/types/lodash/fp/isMatch.d.ts +2 -0
  289. package/types/lodash/fp/isMatchWith.d.ts +2 -0
  290. package/types/lodash/fp/isNaN.d.ts +2 -0
  291. package/types/lodash/fp/isNative.d.ts +2 -0
  292. package/types/lodash/fp/isNil.d.ts +2 -0
  293. package/types/lodash/fp/isNull.d.ts +2 -0
  294. package/types/lodash/fp/isNumber.d.ts +2 -0
  295. package/types/lodash/fp/isObject.d.ts +2 -0
  296. package/types/lodash/fp/isObjectLike.d.ts +2 -0
  297. package/types/lodash/fp/isPlainObject.d.ts +2 -0
  298. package/types/lodash/fp/isRegExp.d.ts +2 -0
  299. package/types/lodash/fp/isSafeInteger.d.ts +2 -0
  300. package/types/lodash/fp/isSet.d.ts +2 -0
  301. package/types/lodash/fp/isString.d.ts +2 -0
  302. package/types/lodash/fp/isSymbol.d.ts +2 -0
  303. package/types/lodash/fp/isTypedArray.d.ts +2 -0
  304. package/types/lodash/fp/isUndefined.d.ts +2 -0
  305. package/types/lodash/fp/isWeakMap.d.ts +2 -0
  306. package/types/lodash/fp/isWeakSet.d.ts +2 -0
  307. package/types/lodash/fp/iteratee.d.ts +2 -0
  308. package/types/lodash/fp/join.d.ts +2 -0
  309. package/types/lodash/fp/juxt.d.ts +2 -0
  310. package/types/lodash/fp/kebabCase.d.ts +2 -0
  311. package/types/lodash/fp/keyBy.d.ts +2 -0
  312. package/types/lodash/fp/keys.d.ts +2 -0
  313. package/types/lodash/fp/keysIn.d.ts +2 -0
  314. package/types/lodash/fp/last.d.ts +2 -0
  315. package/types/lodash/fp/lastIndexOf.d.ts +2 -0
  316. package/types/lodash/fp/lastIndexOfFrom.d.ts +2 -0
  317. package/types/lodash/fp/lowerCase.d.ts +2 -0
  318. package/types/lodash/fp/lowerFirst.d.ts +2 -0
  319. package/types/lodash/fp/lt.d.ts +2 -0
  320. package/types/lodash/fp/lte.d.ts +2 -0
  321. package/types/lodash/fp/map.d.ts +2 -0
  322. package/types/lodash/fp/mapKeys.d.ts +2 -0
  323. package/types/lodash/fp/mapValues.d.ts +2 -0
  324. package/types/lodash/fp/matches.d.ts +2 -0
  325. package/types/lodash/fp/matchesProperty.d.ts +2 -0
  326. package/types/lodash/fp/max.d.ts +2 -0
  327. package/types/lodash/fp/maxBy.d.ts +2 -0
  328. package/types/lodash/fp/mean.d.ts +2 -0
  329. package/types/lodash/fp/meanBy.d.ts +2 -0
  330. package/types/lodash/fp/memoize.d.ts +2 -0
  331. package/types/lodash/fp/merge.d.ts +2 -0
  332. package/types/lodash/fp/mergeAll.d.ts +2 -0
  333. package/types/lodash/fp/mergeAllWith.d.ts +2 -0
  334. package/types/lodash/fp/mergeWith.d.ts +2 -0
  335. package/types/lodash/fp/method.d.ts +2 -0
  336. package/types/lodash/fp/methodOf.d.ts +2 -0
  337. package/types/lodash/fp/min.d.ts +2 -0
  338. package/types/lodash/fp/minBy.d.ts +2 -0
  339. package/types/lodash/fp/multiply.d.ts +2 -0
  340. package/types/lodash/fp/nAry.d.ts +2 -0
  341. package/types/lodash/fp/negate.d.ts +2 -0
  342. package/types/lodash/fp/noConflict.d.ts +2 -0
  343. package/types/lodash/fp/noop.d.ts +2 -0
  344. package/types/lodash/fp/now.d.ts +2 -0
  345. package/types/lodash/fp/nth.d.ts +2 -0
  346. package/types/lodash/fp/nthArg.d.ts +2 -0
  347. package/types/lodash/fp/omit.d.ts +2 -0
  348. package/types/lodash/fp/omitAll.d.ts +2 -0
  349. package/types/lodash/fp/omitBy.d.ts +2 -0
  350. package/types/lodash/fp/once.d.ts +2 -0
  351. package/types/lodash/fp/orderBy.d.ts +2 -0
  352. package/types/lodash/fp/over.d.ts +2 -0
  353. package/types/lodash/fp/overArgs.d.ts +2 -0
  354. package/types/lodash/fp/overEvery.d.ts +2 -0
  355. package/types/lodash/fp/overSome.d.ts +2 -0
  356. package/types/lodash/fp/pad.d.ts +2 -0
  357. package/types/lodash/fp/padChars.d.ts +2 -0
  358. package/types/lodash/fp/padCharsEnd.d.ts +2 -0
  359. package/types/lodash/fp/padCharsStart.d.ts +2 -0
  360. package/types/lodash/fp/padEnd.d.ts +2 -0
  361. package/types/lodash/fp/padStart.d.ts +2 -0
  362. package/types/lodash/fp/parseInt.d.ts +2 -0
  363. package/types/lodash/fp/partial.d.ts +2 -0
  364. package/types/lodash/fp/partialRight.d.ts +2 -0
  365. package/types/lodash/fp/partition.d.ts +2 -0
  366. package/types/lodash/fp/path.d.ts +2 -0
  367. package/types/lodash/fp/pathEq.d.ts +2 -0
  368. package/types/lodash/fp/pathOr.d.ts +2 -0
  369. package/types/lodash/fp/paths.d.ts +2 -0
  370. package/types/lodash/fp/pick.d.ts +2 -0
  371. package/types/lodash/fp/pickAll.d.ts +2 -0
  372. package/types/lodash/fp/pickBy.d.ts +2 -0
  373. package/types/lodash/fp/pipe.d.ts +2 -0
  374. package/types/lodash/fp/placeholder.d.ts +3 -0
  375. package/types/lodash/fp/pluck.d.ts +2 -0
  376. package/types/lodash/fp/prop.d.ts +2 -0
  377. package/types/lodash/fp/propEq.d.ts +2 -0
  378. package/types/lodash/fp/propOr.d.ts +2 -0
  379. package/types/lodash/fp/property.d.ts +2 -0
  380. package/types/lodash/fp/propertyOf.d.ts +2 -0
  381. package/types/lodash/fp/props.d.ts +2 -0
  382. package/types/lodash/fp/pull.d.ts +2 -0
  383. package/types/lodash/fp/pullAll.d.ts +2 -0
  384. package/types/lodash/fp/pullAllBy.d.ts +2 -0
  385. package/types/lodash/fp/pullAllWith.d.ts +2 -0
  386. package/types/lodash/fp/pullAt.d.ts +2 -0
  387. package/types/lodash/fp/random.d.ts +2 -0
  388. package/types/lodash/fp/range.d.ts +2 -0
  389. package/types/lodash/fp/rangeRight.d.ts +2 -0
  390. package/types/lodash/fp/rangeStep.d.ts +2 -0
  391. package/types/lodash/fp/rangeStepRight.d.ts +2 -0
  392. package/types/lodash/fp/rearg.d.ts +2 -0
  393. package/types/lodash/fp/reduce.d.ts +2 -0
  394. package/types/lodash/fp/reduceRight.d.ts +2 -0
  395. package/types/lodash/fp/reject.d.ts +2 -0
  396. package/types/lodash/fp/remove.d.ts +2 -0
  397. package/types/lodash/fp/repeat.d.ts +2 -0
  398. package/types/lodash/fp/replace.d.ts +2 -0
  399. package/types/lodash/fp/rest.d.ts +2 -0
  400. package/types/lodash/fp/restFrom.d.ts +2 -0
  401. package/types/lodash/fp/result.d.ts +2 -0
  402. package/types/lodash/fp/reverse.d.ts +2 -0
  403. package/types/lodash/fp/round.d.ts +2 -0
  404. package/types/lodash/fp/runInContext.d.ts +2 -0
  405. package/types/lodash/fp/sample.d.ts +2 -0
  406. package/types/lodash/fp/sampleSize.d.ts +2 -0
  407. package/types/lodash/fp/set.d.ts +2 -0
  408. package/types/lodash/fp/setWith.d.ts +2 -0
  409. package/types/lodash/fp/shuffle.d.ts +2 -0
  410. package/types/lodash/fp/size.d.ts +2 -0
  411. package/types/lodash/fp/slice.d.ts +2 -0
  412. package/types/lodash/fp/snakeCase.d.ts +2 -0
  413. package/types/lodash/fp/some.d.ts +2 -0
  414. package/types/lodash/fp/sortBy.d.ts +2 -0
  415. package/types/lodash/fp/sortedIndex.d.ts +2 -0
  416. package/types/lodash/fp/sortedIndexBy.d.ts +2 -0
  417. package/types/lodash/fp/sortedIndexOf.d.ts +2 -0
  418. package/types/lodash/fp/sortedLastIndex.d.ts +2 -0
  419. package/types/lodash/fp/sortedLastIndexBy.d.ts +2 -0
  420. package/types/lodash/fp/sortedLastIndexOf.d.ts +2 -0
  421. package/types/lodash/fp/sortedUniq.d.ts +2 -0
  422. package/types/lodash/fp/sortedUniqBy.d.ts +2 -0
  423. package/types/lodash/fp/split.d.ts +2 -0
  424. package/types/lodash/fp/spread.d.ts +2 -0
  425. package/types/lodash/fp/spreadFrom.d.ts +2 -0
  426. package/types/lodash/fp/startCase.d.ts +2 -0
  427. package/types/lodash/fp/startsWith.d.ts +2 -0
  428. package/types/lodash/fp/stubArray.d.ts +2 -0
  429. package/types/lodash/fp/stubFalse.d.ts +2 -0
  430. package/types/lodash/fp/stubObject.d.ts +2 -0
  431. package/types/lodash/fp/stubString.d.ts +2 -0
  432. package/types/lodash/fp/stubTrue.d.ts +2 -0
  433. package/types/lodash/fp/subtract.d.ts +2 -0
  434. package/types/lodash/fp/sum.d.ts +2 -0
  435. package/types/lodash/fp/sumBy.d.ts +2 -0
  436. package/types/lodash/fp/symmetricDifference.d.ts +2 -0
  437. package/types/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
  438. package/types/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
  439. package/types/lodash/fp/tail.d.ts +2 -0
  440. package/types/lodash/fp/take.d.ts +2 -0
  441. package/types/lodash/fp/takeLast.d.ts +2 -0
  442. package/types/lodash/fp/takeLastWhile.d.ts +2 -0
  443. package/types/lodash/fp/takeRight.d.ts +2 -0
  444. package/types/lodash/fp/takeRightWhile.d.ts +2 -0
  445. package/types/lodash/fp/takeWhile.d.ts +2 -0
  446. package/types/lodash/fp/tap.d.ts +2 -0
  447. package/types/lodash/fp/template.d.ts +2 -0
  448. package/types/lodash/fp/throttle.d.ts +2 -0
  449. package/types/lodash/fp/thru.d.ts +2 -0
  450. package/types/lodash/fp/times.d.ts +2 -0
  451. package/types/lodash/fp/toArray.d.ts +2 -0
  452. package/types/lodash/fp/toFinite.d.ts +2 -0
  453. package/types/lodash/fp/toInteger.d.ts +2 -0
  454. package/types/lodash/fp/toLength.d.ts +2 -0
  455. package/types/lodash/fp/toLower.d.ts +2 -0
  456. package/types/lodash/fp/toNumber.d.ts +2 -0
  457. package/types/lodash/fp/toPairs.d.ts +2 -0
  458. package/types/lodash/fp/toPairsIn.d.ts +2 -0
  459. package/types/lodash/fp/toPath.d.ts +2 -0
  460. package/types/lodash/fp/toPlainObject.d.ts +2 -0
  461. package/types/lodash/fp/toSafeInteger.d.ts +2 -0
  462. package/types/lodash/fp/toString.d.ts +2 -0
  463. package/types/lodash/fp/toUpper.d.ts +2 -0
  464. package/types/lodash/fp/transform.d.ts +2 -0
  465. package/types/lodash/fp/trim.d.ts +2 -0
  466. package/types/lodash/fp/trimChars.d.ts +2 -0
  467. package/types/lodash/fp/trimCharsEnd.d.ts +2 -0
  468. package/types/lodash/fp/trimCharsStart.d.ts +2 -0
  469. package/types/lodash/fp/trimEnd.d.ts +2 -0
  470. package/types/lodash/fp/trimStart.d.ts +2 -0
  471. package/types/lodash/fp/truncate.d.ts +2 -0
  472. package/types/lodash/fp/unapply.d.ts +2 -0
  473. package/types/lodash/fp/unary.d.ts +2 -0
  474. package/types/lodash/fp/unescape.d.ts +2 -0
  475. package/types/lodash/fp/union.d.ts +2 -0
  476. package/types/lodash/fp/unionBy.d.ts +2 -0
  477. package/types/lodash/fp/unionWith.d.ts +2 -0
  478. package/types/lodash/fp/uniq.d.ts +2 -0
  479. package/types/lodash/fp/uniqBy.d.ts +2 -0
  480. package/types/lodash/fp/uniqWith.d.ts +2 -0
  481. package/types/lodash/fp/uniqueId.d.ts +2 -0
  482. package/types/lodash/fp/unnest.d.ts +2 -0
  483. package/types/lodash/fp/unset.d.ts +2 -0
  484. package/types/lodash/fp/unzip.d.ts +2 -0
  485. package/types/lodash/fp/unzipWith.d.ts +2 -0
  486. package/types/lodash/fp/update.d.ts +2 -0
  487. package/types/lodash/fp/updateWith.d.ts +2 -0
  488. package/types/lodash/fp/upperCase.d.ts +2 -0
  489. package/types/lodash/fp/upperFirst.d.ts +2 -0
  490. package/types/lodash/fp/useWith.d.ts +2 -0
  491. package/types/lodash/fp/values.d.ts +2 -0
  492. package/types/lodash/fp/valuesIn.d.ts +2 -0
  493. package/types/lodash/fp/where.d.ts +2 -0
  494. package/types/lodash/fp/whereEq.d.ts +2 -0
  495. package/types/lodash/fp/without.d.ts +2 -0
  496. package/types/lodash/fp/words.d.ts +2 -0
  497. package/types/lodash/fp/wrap.d.ts +2 -0
  498. package/types/lodash/fp/xor.d.ts +2 -0
  499. package/types/lodash/fp/xorBy.d.ts +2 -0
  500. package/types/lodash/fp/xorWith.d.ts +2 -0
  501. package/types/lodash/fp/zip.d.ts +2 -0
  502. package/types/lodash/fp/zipAll.d.ts +2 -0
  503. package/types/lodash/fp/zipObj.d.ts +2 -0
  504. package/types/lodash/fp/zipObject.d.ts +2 -0
  505. package/types/lodash/fp/zipObjectDeep.d.ts +2 -0
  506. package/types/lodash/fp/zipWith.d.ts +2 -0
  507. package/types/lodash/fp.d.ts +4992 -0
  508. package/types/lodash/fromPairs.d.ts +2 -0
  509. package/types/lodash/functions.d.ts +2 -0
  510. package/types/lodash/functionsIn.d.ts +2 -0
  511. package/types/lodash/get.d.ts +2 -0
  512. package/types/lodash/groupBy.d.ts +2 -0
  513. package/types/lodash/gt.d.ts +2 -0
  514. package/types/lodash/gte.d.ts +2 -0
  515. package/types/lodash/has.d.ts +2 -0
  516. package/types/lodash/hasIn.d.ts +2 -0
  517. package/types/lodash/head.d.ts +2 -0
  518. package/types/lodash/identity.d.ts +2 -0
  519. package/types/lodash/inRange.d.ts +2 -0
  520. package/types/lodash/includes.d.ts +2 -0
  521. package/types/lodash/index.d.ts +47 -0
  522. package/types/lodash/indexOf.d.ts +2 -0
  523. package/types/lodash/initial.d.ts +2 -0
  524. package/types/lodash/intersection.d.ts +2 -0
  525. package/types/lodash/intersectionBy.d.ts +2 -0
  526. package/types/lodash/intersectionWith.d.ts +2 -0
  527. package/types/lodash/invert.d.ts +2 -0
  528. package/types/lodash/invertBy.d.ts +2 -0
  529. package/types/lodash/invoke.d.ts +2 -0
  530. package/types/lodash/invokeMap.d.ts +2 -0
  531. package/types/lodash/isArguments.d.ts +2 -0
  532. package/types/lodash/isArray.d.ts +2 -0
  533. package/types/lodash/isArrayBuffer.d.ts +2 -0
  534. package/types/lodash/isArrayLike.d.ts +2 -0
  535. package/types/lodash/isArrayLikeObject.d.ts +2 -0
  536. package/types/lodash/isBoolean.d.ts +2 -0
  537. package/types/lodash/isBuffer.d.ts +2 -0
  538. package/types/lodash/isDate.d.ts +2 -0
  539. package/types/lodash/isElement.d.ts +2 -0
  540. package/types/lodash/isEmpty.d.ts +2 -0
  541. package/types/lodash/isEqual.d.ts +2 -0
  542. package/types/lodash/isEqualWith.d.ts +2 -0
  543. package/types/lodash/isError.d.ts +2 -0
  544. package/types/lodash/isFinite.d.ts +2 -0
  545. package/types/lodash/isFunction.d.ts +2 -0
  546. package/types/lodash/isInteger.d.ts +2 -0
  547. package/types/lodash/isLength.d.ts +2 -0
  548. package/types/lodash/isMap.d.ts +2 -0
  549. package/types/lodash/isMatch.d.ts +2 -0
  550. package/types/lodash/isMatchWith.d.ts +2 -0
  551. package/types/lodash/isNaN.d.ts +2 -0
  552. package/types/lodash/isNative.d.ts +2 -0
  553. package/types/lodash/isNil.d.ts +2 -0
  554. package/types/lodash/isNull.d.ts +2 -0
  555. package/types/lodash/isNumber.d.ts +2 -0
  556. package/types/lodash/isObject.d.ts +2 -0
  557. package/types/lodash/isObjectLike.d.ts +2 -0
  558. package/types/lodash/isPlainObject.d.ts +2 -0
  559. package/types/lodash/isRegExp.d.ts +2 -0
  560. package/types/lodash/isSafeInteger.d.ts +2 -0
  561. package/types/lodash/isSet.d.ts +2 -0
  562. package/types/lodash/isString.d.ts +2 -0
  563. package/types/lodash/isSymbol.d.ts +2 -0
  564. package/types/lodash/isTypedArray.d.ts +2 -0
  565. package/types/lodash/isUndefined.d.ts +2 -0
  566. package/types/lodash/isWeakMap.d.ts +2 -0
  567. package/types/lodash/isWeakSet.d.ts +2 -0
  568. package/types/lodash/iteratee.d.ts +2 -0
  569. package/types/lodash/join.d.ts +2 -0
  570. package/types/lodash/kebabCase.d.ts +2 -0
  571. package/types/lodash/keyBy.d.ts +2 -0
  572. package/types/lodash/keys.d.ts +2 -0
  573. package/types/lodash/keysIn.d.ts +2 -0
  574. package/types/lodash/last.d.ts +2 -0
  575. package/types/lodash/lastIndexOf.d.ts +2 -0
  576. package/types/lodash/lowerCase.d.ts +2 -0
  577. package/types/lodash/lowerFirst.d.ts +2 -0
  578. package/types/lodash/lt.d.ts +2 -0
  579. package/types/lodash/lte.d.ts +2 -0
  580. package/types/lodash/map.d.ts +2 -0
  581. package/types/lodash/mapKeys.d.ts +2 -0
  582. package/types/lodash/mapValues.d.ts +2 -0
  583. package/types/lodash/matches.d.ts +2 -0
  584. package/types/lodash/matchesProperty.d.ts +2 -0
  585. package/types/lodash/max.d.ts +2 -0
  586. package/types/lodash/maxBy.d.ts +2 -0
  587. package/types/lodash/mean.d.ts +2 -0
  588. package/types/lodash/meanBy.d.ts +2 -0
  589. package/types/lodash/memoize.d.ts +2 -0
  590. package/types/lodash/merge.d.ts +2 -0
  591. package/types/lodash/mergeWith.d.ts +2 -0
  592. package/types/lodash/method.d.ts +2 -0
  593. package/types/lodash/methodOf.d.ts +2 -0
  594. package/types/lodash/min.d.ts +2 -0
  595. package/types/lodash/minBy.d.ts +2 -0
  596. package/types/lodash/mixin.d.ts +2 -0
  597. package/types/lodash/multiply.d.ts +2 -0
  598. package/types/lodash/negate.d.ts +2 -0
  599. package/types/lodash/noConflict.d.ts +2 -0
  600. package/types/lodash/noop.d.ts +2 -0
  601. package/types/lodash/now.d.ts +2 -0
  602. package/types/lodash/nth.d.ts +2 -0
  603. package/types/lodash/nthArg.d.ts +2 -0
  604. package/types/lodash/omit.d.ts +2 -0
  605. package/types/lodash/omitBy.d.ts +2 -0
  606. package/types/lodash/once.d.ts +2 -0
  607. package/types/lodash/orderBy.d.ts +2 -0
  608. package/types/lodash/over.d.ts +2 -0
  609. package/types/lodash/overArgs.d.ts +2 -0
  610. package/types/lodash/overEvery.d.ts +2 -0
  611. package/types/lodash/overSome.d.ts +2 -0
  612. package/types/lodash/pad.d.ts +2 -0
  613. package/types/lodash/padEnd.d.ts +2 -0
  614. package/types/lodash/padStart.d.ts +2 -0
  615. package/types/lodash/parseInt.d.ts +2 -0
  616. package/types/lodash/partial.d.ts +2 -0
  617. package/types/lodash/partialRight.d.ts +2 -0
  618. package/types/lodash/partition.d.ts +2 -0
  619. package/types/lodash/pick.d.ts +2 -0
  620. package/types/lodash/pickBy.d.ts +2 -0
  621. package/types/lodash/property.d.ts +2 -0
  622. package/types/lodash/propertyOf.d.ts +2 -0
  623. package/types/lodash/pull.d.ts +2 -0
  624. package/types/lodash/pullAll.d.ts +2 -0
  625. package/types/lodash/pullAllBy.d.ts +2 -0
  626. package/types/lodash/pullAllWith.d.ts +2 -0
  627. package/types/lodash/pullAt.d.ts +2 -0
  628. package/types/lodash/random.d.ts +2 -0
  629. package/types/lodash/range.d.ts +2 -0
  630. package/types/lodash/rangeRight.d.ts +2 -0
  631. package/types/lodash/rearg.d.ts +2 -0
  632. package/types/lodash/reduce.d.ts +2 -0
  633. package/types/lodash/reduceRight.d.ts +2 -0
  634. package/types/lodash/reject.d.ts +2 -0
  635. package/types/lodash/remove.d.ts +2 -0
  636. package/types/lodash/repeat.d.ts +2 -0
  637. package/types/lodash/replace.d.ts +2 -0
  638. package/types/lodash/rest.d.ts +2 -0
  639. package/types/lodash/result.d.ts +2 -0
  640. package/types/lodash/reverse.d.ts +2 -0
  641. package/types/lodash/round.d.ts +2 -0
  642. package/types/lodash/runInContext.d.ts +2 -0
  643. package/types/lodash/sample.d.ts +2 -0
  644. package/types/lodash/sampleSize.d.ts +2 -0
  645. package/types/lodash/set.d.ts +2 -0
  646. package/types/lodash/setWith.d.ts +2 -0
  647. package/types/lodash/shuffle.d.ts +2 -0
  648. package/types/lodash/size.d.ts +2 -0
  649. package/types/lodash/slice.d.ts +2 -0
  650. package/types/lodash/snakeCase.d.ts +2 -0
  651. package/types/lodash/some.d.ts +2 -0
  652. package/types/lodash/sortBy.d.ts +2 -0
  653. package/types/lodash/sortedIndex.d.ts +2 -0
  654. package/types/lodash/sortedIndexBy.d.ts +2 -0
  655. package/types/lodash/sortedIndexOf.d.ts +2 -0
  656. package/types/lodash/sortedLastIndex.d.ts +2 -0
  657. package/types/lodash/sortedLastIndexBy.d.ts +2 -0
  658. package/types/lodash/sortedLastIndexOf.d.ts +2 -0
  659. package/types/lodash/sortedUniq.d.ts +2 -0
  660. package/types/lodash/sortedUniqBy.d.ts +2 -0
  661. package/types/lodash/split.d.ts +2 -0
  662. package/types/lodash/spread.d.ts +2 -0
  663. package/types/lodash/startCase.d.ts +2 -0
  664. package/types/lodash/startsWith.d.ts +2 -0
  665. package/types/lodash/stubFalse.d.ts +2 -0
  666. package/types/lodash/stubTrue.d.ts +2 -0
  667. package/types/lodash/subtract.d.ts +2 -0
  668. package/types/lodash/sum.d.ts +2 -0
  669. package/types/lodash/sumBy.d.ts +2 -0
  670. package/types/lodash/tail.d.ts +2 -0
  671. package/types/lodash/take.d.ts +2 -0
  672. package/types/lodash/takeRight.d.ts +2 -0
  673. package/types/lodash/takeRightWhile.d.ts +2 -0
  674. package/types/lodash/takeWhile.d.ts +2 -0
  675. package/types/lodash/tap.d.ts +2 -0
  676. package/types/lodash/template.d.ts +2 -0
  677. package/types/lodash/throttle.d.ts +2 -0
  678. package/types/lodash/thru.d.ts +2 -0
  679. package/types/lodash/times.d.ts +2 -0
  680. package/types/lodash/toArray.d.ts +2 -0
  681. package/types/lodash/toFinite.d.ts +2 -0
  682. package/types/lodash/toInteger.d.ts +2 -0
  683. package/types/lodash/toLength.d.ts +2 -0
  684. package/types/lodash/toLower.d.ts +2 -0
  685. package/types/lodash/toNumber.d.ts +2 -0
  686. package/types/lodash/toPairs.d.ts +2 -0
  687. package/types/lodash/toPairsIn.d.ts +2 -0
  688. package/types/lodash/toPath.d.ts +2 -0
  689. package/types/lodash/toPlainObject.d.ts +2 -0
  690. package/types/lodash/toSafeInteger.d.ts +2 -0
  691. package/types/lodash/toString.d.ts +2 -0
  692. package/types/lodash/toUpper.d.ts +2 -0
  693. package/types/lodash/transform.d.ts +2 -0
  694. package/types/lodash/trim.d.ts +2 -0
  695. package/types/lodash/trimEnd.d.ts +2 -0
  696. package/types/lodash/trimStart.d.ts +2 -0
  697. package/types/lodash/truncate.d.ts +2 -0
  698. package/types/lodash/ts3.1/add.d.ts +2 -0
  699. package/types/lodash/ts3.1/after.d.ts +2 -0
  700. package/types/lodash/ts3.1/ary.d.ts +2 -0
  701. package/types/lodash/ts3.1/assign.d.ts +2 -0
  702. package/types/lodash/ts3.1/assignIn.d.ts +2 -0
  703. package/types/lodash/ts3.1/assignInWith.d.ts +2 -0
  704. package/types/lodash/ts3.1/assignWith.d.ts +2 -0
  705. package/types/lodash/ts3.1/at.d.ts +2 -0
  706. package/types/lodash/ts3.1/attempt.d.ts +2 -0
  707. package/types/lodash/ts3.1/before.d.ts +2 -0
  708. package/types/lodash/ts3.1/bind.d.ts +2 -0
  709. package/types/lodash/ts3.1/bindAll.d.ts +2 -0
  710. package/types/lodash/ts3.1/bindKey.d.ts +2 -0
  711. package/types/lodash/ts3.1/camelCase.d.ts +2 -0
  712. package/types/lodash/ts3.1/capitalize.d.ts +2 -0
  713. package/types/lodash/ts3.1/castArray.d.ts +2 -0
  714. package/types/lodash/ts3.1/ceil.d.ts +2 -0
  715. package/types/lodash/ts3.1/chain.d.ts +2 -0
  716. package/types/lodash/ts3.1/chunk.d.ts +2 -0
  717. package/types/lodash/ts3.1/clamp.d.ts +2 -0
  718. package/types/lodash/ts3.1/clone.d.ts +2 -0
  719. package/types/lodash/ts3.1/cloneDeep.d.ts +2 -0
  720. package/types/lodash/ts3.1/cloneDeepWith.d.ts +2 -0
  721. package/types/lodash/ts3.1/cloneWith.d.ts +2 -0
  722. package/types/lodash/ts3.1/common/array.d.ts +2127 -0
  723. package/types/lodash/ts3.1/common/collection.d.ts +1930 -0
  724. package/types/lodash/ts3.1/common/common.d.ts +284 -0
  725. package/types/lodash/ts3.1/common/date.d.ts +23 -0
  726. package/types/lodash/ts3.1/common/function.d.ts +1392 -0
  727. package/types/lodash/ts3.1/common/lang.d.ts +1694 -0
  728. package/types/lodash/ts3.1/common/math.d.ts +405 -0
  729. package/types/lodash/ts3.1/common/number.d.ts +131 -0
  730. package/types/lodash/ts3.1/common/object.d.ts +2507 -0
  731. package/types/lodash/ts3.1/common/seq.d.ts +210 -0
  732. package/types/lodash/ts3.1/common/string.d.ts +788 -0
  733. package/types/lodash/ts3.1/common/util.d.ts +1219 -0
  734. package/types/lodash/ts3.1/compact.d.ts +2 -0
  735. package/types/lodash/ts3.1/concat.d.ts +2 -0
  736. package/types/lodash/ts3.1/cond.d.ts +2 -0
  737. package/types/lodash/ts3.1/conformsTo.d.ts +2 -0
  738. package/types/lodash/ts3.1/constant.d.ts +2 -0
  739. package/types/lodash/ts3.1/countBy.d.ts +2 -0
  740. package/types/lodash/ts3.1/create.d.ts +2 -0
  741. package/types/lodash/ts3.1/curry.d.ts +2 -0
  742. package/types/lodash/ts3.1/curryRight.d.ts +2 -0
  743. package/types/lodash/ts3.1/debounce.d.ts +2 -0
  744. package/types/lodash/ts3.1/deburr.d.ts +2 -0
  745. package/types/lodash/ts3.1/defaultTo.d.ts +2 -0
  746. package/types/lodash/ts3.1/defaults.d.ts +2 -0
  747. package/types/lodash/ts3.1/defaultsDeep.d.ts +2 -0
  748. package/types/lodash/ts3.1/defer.d.ts +2 -0
  749. package/types/lodash/ts3.1/delay.d.ts +2 -0
  750. package/types/lodash/ts3.1/difference.d.ts +2 -0
  751. package/types/lodash/ts3.1/differenceBy.d.ts +2 -0
  752. package/types/lodash/ts3.1/differenceWith.d.ts +2 -0
  753. package/types/lodash/ts3.1/divide.d.ts +2 -0
  754. package/types/lodash/ts3.1/drop.d.ts +2 -0
  755. package/types/lodash/ts3.1/dropRight.d.ts +2 -0
  756. package/types/lodash/ts3.1/dropRightWhile.d.ts +2 -0
  757. package/types/lodash/ts3.1/dropWhile.d.ts +2 -0
  758. package/types/lodash/ts3.1/each.d.ts +2 -0
  759. package/types/lodash/ts3.1/eachRight.d.ts +2 -0
  760. package/types/lodash/ts3.1/endsWith.d.ts +2 -0
  761. package/types/lodash/ts3.1/entries.d.ts +2 -0
  762. package/types/lodash/ts3.1/entriesIn.d.ts +2 -0
  763. package/types/lodash/ts3.1/eq.d.ts +2 -0
  764. package/types/lodash/ts3.1/escape.d.ts +2 -0
  765. package/types/lodash/ts3.1/escapeRegExp.d.ts +2 -0
  766. package/types/lodash/ts3.1/every.d.ts +2 -0
  767. package/types/lodash/ts3.1/extend.d.ts +2 -0
  768. package/types/lodash/ts3.1/extendWith.d.ts +2 -0
  769. package/types/lodash/ts3.1/fill.d.ts +2 -0
  770. package/types/lodash/ts3.1/filter.d.ts +2 -0
  771. package/types/lodash/ts3.1/find.d.ts +2 -0
  772. package/types/lodash/ts3.1/findIndex.d.ts +2 -0
  773. package/types/lodash/ts3.1/findKey.d.ts +2 -0
  774. package/types/lodash/ts3.1/findLast.d.ts +2 -0
  775. package/types/lodash/ts3.1/findLastIndex.d.ts +2 -0
  776. package/types/lodash/ts3.1/findLastKey.d.ts +2 -0
  777. package/types/lodash/ts3.1/first.d.ts +2 -0
  778. package/types/lodash/ts3.1/flatMap.d.ts +2 -0
  779. package/types/lodash/ts3.1/flatMapDeep.d.ts +2 -0
  780. package/types/lodash/ts3.1/flatMapDepth.d.ts +2 -0
  781. package/types/lodash/ts3.1/flatten.d.ts +2 -0
  782. package/types/lodash/ts3.1/flattenDeep.d.ts +2 -0
  783. package/types/lodash/ts3.1/flattenDepth.d.ts +2 -0
  784. package/types/lodash/ts3.1/flip.d.ts +2 -0
  785. package/types/lodash/ts3.1/floor.d.ts +2 -0
  786. package/types/lodash/ts3.1/flow.d.ts +2 -0
  787. package/types/lodash/ts3.1/flowRight.d.ts +2 -0
  788. package/types/lodash/ts3.1/forEach.d.ts +2 -0
  789. package/types/lodash/ts3.1/forEachRight.d.ts +2 -0
  790. package/types/lodash/ts3.1/forIn.d.ts +2 -0
  791. package/types/lodash/ts3.1/forInRight.d.ts +2 -0
  792. package/types/lodash/ts3.1/forOwn.d.ts +2 -0
  793. package/types/lodash/ts3.1/forOwnRight.d.ts +2 -0
  794. package/types/lodash/ts3.1/fp/F.d.ts +2 -0
  795. package/types/lodash/ts3.1/fp/T.d.ts +2 -0
  796. package/types/lodash/ts3.1/fp/__.d.ts +3 -0
  797. package/types/lodash/ts3.1/fp/add.d.ts +2 -0
  798. package/types/lodash/ts3.1/fp/after.d.ts +2 -0
  799. package/types/lodash/ts3.1/fp/all.d.ts +2 -0
  800. package/types/lodash/ts3.1/fp/allPass.d.ts +2 -0
  801. package/types/lodash/ts3.1/fp/always.d.ts +2 -0
  802. package/types/lodash/ts3.1/fp/any.d.ts +2 -0
  803. package/types/lodash/ts3.1/fp/anyPass.d.ts +2 -0
  804. package/types/lodash/ts3.1/fp/apply.d.ts +2 -0
  805. package/types/lodash/ts3.1/fp/ary.d.ts +2 -0
  806. package/types/lodash/ts3.1/fp/assign.d.ts +2 -0
  807. package/types/lodash/ts3.1/fp/assignAll.d.ts +2 -0
  808. package/types/lodash/ts3.1/fp/assignAllWith.d.ts +2 -0
  809. package/types/lodash/ts3.1/fp/assignIn.d.ts +2 -0
  810. package/types/lodash/ts3.1/fp/assignInAll.d.ts +2 -0
  811. package/types/lodash/ts3.1/fp/assignInAllWith.d.ts +2 -0
  812. package/types/lodash/ts3.1/fp/assignInWith.d.ts +2 -0
  813. package/types/lodash/ts3.1/fp/assignWith.d.ts +2 -0
  814. package/types/lodash/ts3.1/fp/assoc.d.ts +2 -0
  815. package/types/lodash/ts3.1/fp/assocPath.d.ts +2 -0
  816. package/types/lodash/ts3.1/fp/at.d.ts +2 -0
  817. package/types/lodash/ts3.1/fp/attempt.d.ts +2 -0
  818. package/types/lodash/ts3.1/fp/before.d.ts +2 -0
  819. package/types/lodash/ts3.1/fp/bind.d.ts +2 -0
  820. package/types/lodash/ts3.1/fp/bindAll.d.ts +2 -0
  821. package/types/lodash/ts3.1/fp/bindKey.d.ts +2 -0
  822. package/types/lodash/ts3.1/fp/camelCase.d.ts +2 -0
  823. package/types/lodash/ts3.1/fp/capitalize.d.ts +2 -0
  824. package/types/lodash/ts3.1/fp/castArray.d.ts +2 -0
  825. package/types/lodash/ts3.1/fp/ceil.d.ts +2 -0
  826. package/types/lodash/ts3.1/fp/chunk.d.ts +2 -0
  827. package/types/lodash/ts3.1/fp/clamp.d.ts +2 -0
  828. package/types/lodash/ts3.1/fp/clone.d.ts +2 -0
  829. package/types/lodash/ts3.1/fp/cloneDeep.d.ts +2 -0
  830. package/types/lodash/ts3.1/fp/cloneDeepWith.d.ts +2 -0
  831. package/types/lodash/ts3.1/fp/cloneWith.d.ts +2 -0
  832. package/types/lodash/ts3.1/fp/compact.d.ts +2 -0
  833. package/types/lodash/ts3.1/fp/complement.d.ts +2 -0
  834. package/types/lodash/ts3.1/fp/compose.d.ts +2 -0
  835. package/types/lodash/ts3.1/fp/concat.d.ts +2 -0
  836. package/types/lodash/ts3.1/fp/cond.d.ts +2 -0
  837. package/types/lodash/ts3.1/fp/conforms.d.ts +2 -0
  838. package/types/lodash/ts3.1/fp/conformsTo.d.ts +2 -0
  839. package/types/lodash/ts3.1/fp/constant.d.ts +2 -0
  840. package/types/lodash/ts3.1/fp/contains.d.ts +2 -0
  841. package/types/lodash/ts3.1/fp/convert.d.ts +15 -0
  842. package/types/lodash/ts3.1/fp/countBy.d.ts +2 -0
  843. package/types/lodash/ts3.1/fp/create.d.ts +2 -0
  844. package/types/lodash/ts3.1/fp/curry.d.ts +2 -0
  845. package/types/lodash/ts3.1/fp/curryN.d.ts +2 -0
  846. package/types/lodash/ts3.1/fp/curryRight.d.ts +2 -0
  847. package/types/lodash/ts3.1/fp/curryRightN.d.ts +2 -0
  848. package/types/lodash/ts3.1/fp/debounce.d.ts +2 -0
  849. package/types/lodash/ts3.1/fp/deburr.d.ts +2 -0
  850. package/types/lodash/ts3.1/fp/defaultTo.d.ts +2 -0
  851. package/types/lodash/ts3.1/fp/defaults.d.ts +2 -0
  852. package/types/lodash/ts3.1/fp/defaultsAll.d.ts +2 -0
  853. package/types/lodash/ts3.1/fp/defaultsDeep.d.ts +2 -0
  854. package/types/lodash/ts3.1/fp/defaultsDeepAll.d.ts +2 -0
  855. package/types/lodash/ts3.1/fp/defer.d.ts +2 -0
  856. package/types/lodash/ts3.1/fp/delay.d.ts +2 -0
  857. package/types/lodash/ts3.1/fp/difference.d.ts +2 -0
  858. package/types/lodash/ts3.1/fp/differenceBy.d.ts +2 -0
  859. package/types/lodash/ts3.1/fp/differenceWith.d.ts +2 -0
  860. package/types/lodash/ts3.1/fp/dissoc.d.ts +2 -0
  861. package/types/lodash/ts3.1/fp/dissocPath.d.ts +2 -0
  862. package/types/lodash/ts3.1/fp/divide.d.ts +2 -0
  863. package/types/lodash/ts3.1/fp/drop.d.ts +2 -0
  864. package/types/lodash/ts3.1/fp/dropLast.d.ts +2 -0
  865. package/types/lodash/ts3.1/fp/dropLastWhile.d.ts +2 -0
  866. package/types/lodash/ts3.1/fp/dropRight.d.ts +2 -0
  867. package/types/lodash/ts3.1/fp/dropRightWhile.d.ts +2 -0
  868. package/types/lodash/ts3.1/fp/dropWhile.d.ts +2 -0
  869. package/types/lodash/ts3.1/fp/each.d.ts +2 -0
  870. package/types/lodash/ts3.1/fp/eachRight.d.ts +2 -0
  871. package/types/lodash/ts3.1/fp/endsWith.d.ts +2 -0
  872. package/types/lodash/ts3.1/fp/entries.d.ts +2 -0
  873. package/types/lodash/ts3.1/fp/entriesIn.d.ts +2 -0
  874. package/types/lodash/ts3.1/fp/eq.d.ts +2 -0
  875. package/types/lodash/ts3.1/fp/equals.d.ts +2 -0
  876. package/types/lodash/ts3.1/fp/escape.d.ts +2 -0
  877. package/types/lodash/ts3.1/fp/escapeRegExp.d.ts +2 -0
  878. package/types/lodash/ts3.1/fp/every.d.ts +2 -0
  879. package/types/lodash/ts3.1/fp/extend.d.ts +2 -0
  880. package/types/lodash/ts3.1/fp/extendAll.d.ts +2 -0
  881. package/types/lodash/ts3.1/fp/extendAllWith.d.ts +2 -0
  882. package/types/lodash/ts3.1/fp/extendWith.d.ts +2 -0
  883. package/types/lodash/ts3.1/fp/fill.d.ts +2 -0
  884. package/types/lodash/ts3.1/fp/filter.d.ts +2 -0
  885. package/types/lodash/ts3.1/fp/find.d.ts +2 -0
  886. package/types/lodash/ts3.1/fp/findFrom.d.ts +2 -0
  887. package/types/lodash/ts3.1/fp/findIndex.d.ts +2 -0
  888. package/types/lodash/ts3.1/fp/findIndexFrom.d.ts +2 -0
  889. package/types/lodash/ts3.1/fp/findKey.d.ts +2 -0
  890. package/types/lodash/ts3.1/fp/findLast.d.ts +2 -0
  891. package/types/lodash/ts3.1/fp/findLastFrom.d.ts +2 -0
  892. package/types/lodash/ts3.1/fp/findLastIndex.d.ts +2 -0
  893. package/types/lodash/ts3.1/fp/findLastIndexFrom.d.ts +2 -0
  894. package/types/lodash/ts3.1/fp/findLastKey.d.ts +2 -0
  895. package/types/lodash/ts3.1/fp/first.d.ts +2 -0
  896. package/types/lodash/ts3.1/fp/flatMap.d.ts +2 -0
  897. package/types/lodash/ts3.1/fp/flatMapDeep.d.ts +2 -0
  898. package/types/lodash/ts3.1/fp/flatMapDepth.d.ts +2 -0
  899. package/types/lodash/ts3.1/fp/flatten.d.ts +2 -0
  900. package/types/lodash/ts3.1/fp/flattenDeep.d.ts +2 -0
  901. package/types/lodash/ts3.1/fp/flattenDepth.d.ts +2 -0
  902. package/types/lodash/ts3.1/fp/flip.d.ts +2 -0
  903. package/types/lodash/ts3.1/fp/floor.d.ts +2 -0
  904. package/types/lodash/ts3.1/fp/flow.d.ts +2 -0
  905. package/types/lodash/ts3.1/fp/flowRight.d.ts +2 -0
  906. package/types/lodash/ts3.1/fp/forEach.d.ts +2 -0
  907. package/types/lodash/ts3.1/fp/forEachRight.d.ts +2 -0
  908. package/types/lodash/ts3.1/fp/forIn.d.ts +2 -0
  909. package/types/lodash/ts3.1/fp/forInRight.d.ts +2 -0
  910. package/types/lodash/ts3.1/fp/forOwn.d.ts +2 -0
  911. package/types/lodash/ts3.1/fp/forOwnRight.d.ts +2 -0
  912. package/types/lodash/ts3.1/fp/fromPairs.d.ts +2 -0
  913. package/types/lodash/ts3.1/fp/functions.d.ts +2 -0
  914. package/types/lodash/ts3.1/fp/functionsIn.d.ts +2 -0
  915. package/types/lodash/ts3.1/fp/get.d.ts +2 -0
  916. package/types/lodash/ts3.1/fp/getOr.d.ts +2 -0
  917. package/types/lodash/ts3.1/fp/groupBy.d.ts +2 -0
  918. package/types/lodash/ts3.1/fp/gt.d.ts +2 -0
  919. package/types/lodash/ts3.1/fp/gte.d.ts +2 -0
  920. package/types/lodash/ts3.1/fp/has.d.ts +2 -0
  921. package/types/lodash/ts3.1/fp/hasIn.d.ts +2 -0
  922. package/types/lodash/ts3.1/fp/head.d.ts +2 -0
  923. package/types/lodash/ts3.1/fp/identical.d.ts +2 -0
  924. package/types/lodash/ts3.1/fp/identity.d.ts +2 -0
  925. package/types/lodash/ts3.1/fp/inRange.d.ts +2 -0
  926. package/types/lodash/ts3.1/fp/includes.d.ts +2 -0
  927. package/types/lodash/ts3.1/fp/includesFrom.d.ts +2 -0
  928. package/types/lodash/ts3.1/fp/indexBy.d.ts +2 -0
  929. package/types/lodash/ts3.1/fp/indexOf.d.ts +2 -0
  930. package/types/lodash/ts3.1/fp/indexOfFrom.d.ts +2 -0
  931. package/types/lodash/ts3.1/fp/init.d.ts +2 -0
  932. package/types/lodash/ts3.1/fp/initial.d.ts +2 -0
  933. package/types/lodash/ts3.1/fp/intersection.d.ts +2 -0
  934. package/types/lodash/ts3.1/fp/intersectionBy.d.ts +2 -0
  935. package/types/lodash/ts3.1/fp/intersectionWith.d.ts +2 -0
  936. package/types/lodash/ts3.1/fp/invert.d.ts +2 -0
  937. package/types/lodash/ts3.1/fp/invertBy.d.ts +2 -0
  938. package/types/lodash/ts3.1/fp/invertObj.d.ts +2 -0
  939. package/types/lodash/ts3.1/fp/invoke.d.ts +2 -0
  940. package/types/lodash/ts3.1/fp/invokeArgs.d.ts +2 -0
  941. package/types/lodash/ts3.1/fp/invokeArgsMap.d.ts +2 -0
  942. package/types/lodash/ts3.1/fp/invokeMap.d.ts +2 -0
  943. package/types/lodash/ts3.1/fp/isArguments.d.ts +2 -0
  944. package/types/lodash/ts3.1/fp/isArray.d.ts +2 -0
  945. package/types/lodash/ts3.1/fp/isArrayBuffer.d.ts +2 -0
  946. package/types/lodash/ts3.1/fp/isArrayLike.d.ts +2 -0
  947. package/types/lodash/ts3.1/fp/isArrayLikeObject.d.ts +2 -0
  948. package/types/lodash/ts3.1/fp/isBoolean.d.ts +2 -0
  949. package/types/lodash/ts3.1/fp/isBuffer.d.ts +2 -0
  950. package/types/lodash/ts3.1/fp/isDate.d.ts +2 -0
  951. package/types/lodash/ts3.1/fp/isElement.d.ts +2 -0
  952. package/types/lodash/ts3.1/fp/isEmpty.d.ts +2 -0
  953. package/types/lodash/ts3.1/fp/isEqual.d.ts +2 -0
  954. package/types/lodash/ts3.1/fp/isEqualWith.d.ts +2 -0
  955. package/types/lodash/ts3.1/fp/isError.d.ts +2 -0
  956. package/types/lodash/ts3.1/fp/isFinite.d.ts +2 -0
  957. package/types/lodash/ts3.1/fp/isFunction.d.ts +2 -0
  958. package/types/lodash/ts3.1/fp/isInteger.d.ts +2 -0
  959. package/types/lodash/ts3.1/fp/isLength.d.ts +2 -0
  960. package/types/lodash/ts3.1/fp/isMap.d.ts +2 -0
  961. package/types/lodash/ts3.1/fp/isMatch.d.ts +2 -0
  962. package/types/lodash/ts3.1/fp/isMatchWith.d.ts +2 -0
  963. package/types/lodash/ts3.1/fp/isNaN.d.ts +2 -0
  964. package/types/lodash/ts3.1/fp/isNative.d.ts +2 -0
  965. package/types/lodash/ts3.1/fp/isNil.d.ts +2 -0
  966. package/types/lodash/ts3.1/fp/isNull.d.ts +2 -0
  967. package/types/lodash/ts3.1/fp/isNumber.d.ts +2 -0
  968. package/types/lodash/ts3.1/fp/isObject.d.ts +2 -0
  969. package/types/lodash/ts3.1/fp/isObjectLike.d.ts +2 -0
  970. package/types/lodash/ts3.1/fp/isPlainObject.d.ts +2 -0
  971. package/types/lodash/ts3.1/fp/isRegExp.d.ts +2 -0
  972. package/types/lodash/ts3.1/fp/isSafeInteger.d.ts +2 -0
  973. package/types/lodash/ts3.1/fp/isSet.d.ts +2 -0
  974. package/types/lodash/ts3.1/fp/isString.d.ts +2 -0
  975. package/types/lodash/ts3.1/fp/isSymbol.d.ts +2 -0
  976. package/types/lodash/ts3.1/fp/isTypedArray.d.ts +2 -0
  977. package/types/lodash/ts3.1/fp/isUndefined.d.ts +2 -0
  978. package/types/lodash/ts3.1/fp/isWeakMap.d.ts +2 -0
  979. package/types/lodash/ts3.1/fp/isWeakSet.d.ts +2 -0
  980. package/types/lodash/ts3.1/fp/iteratee.d.ts +2 -0
  981. package/types/lodash/ts3.1/fp/join.d.ts +2 -0
  982. package/types/lodash/ts3.1/fp/juxt.d.ts +2 -0
  983. package/types/lodash/ts3.1/fp/kebabCase.d.ts +2 -0
  984. package/types/lodash/ts3.1/fp/keyBy.d.ts +2 -0
  985. package/types/lodash/ts3.1/fp/keys.d.ts +2 -0
  986. package/types/lodash/ts3.1/fp/keysIn.d.ts +2 -0
  987. package/types/lodash/ts3.1/fp/last.d.ts +2 -0
  988. package/types/lodash/ts3.1/fp/lastIndexOf.d.ts +2 -0
  989. package/types/lodash/ts3.1/fp/lastIndexOfFrom.d.ts +2 -0
  990. package/types/lodash/ts3.1/fp/lowerCase.d.ts +2 -0
  991. package/types/lodash/ts3.1/fp/lowerFirst.d.ts +2 -0
  992. package/types/lodash/ts3.1/fp/lt.d.ts +2 -0
  993. package/types/lodash/ts3.1/fp/lte.d.ts +2 -0
  994. package/types/lodash/ts3.1/fp/map.d.ts +2 -0
  995. package/types/lodash/ts3.1/fp/mapKeys.d.ts +2 -0
  996. package/types/lodash/ts3.1/fp/mapValues.d.ts +2 -0
  997. package/types/lodash/ts3.1/fp/matches.d.ts +2 -0
  998. package/types/lodash/ts3.1/fp/matchesProperty.d.ts +2 -0
  999. package/types/lodash/ts3.1/fp/max.d.ts +2 -0
  1000. package/types/lodash/ts3.1/fp/maxBy.d.ts +2 -0
  1001. package/types/lodash/ts3.1/fp/mean.d.ts +2 -0
  1002. package/types/lodash/ts3.1/fp/meanBy.d.ts +2 -0
  1003. package/types/lodash/ts3.1/fp/memoize.d.ts +2 -0
  1004. package/types/lodash/ts3.1/fp/merge.d.ts +2 -0
  1005. package/types/lodash/ts3.1/fp/mergeAll.d.ts +2 -0
  1006. package/types/lodash/ts3.1/fp/mergeAllWith.d.ts +2 -0
  1007. package/types/lodash/ts3.1/fp/mergeWith.d.ts +2 -0
  1008. package/types/lodash/ts3.1/fp/method.d.ts +2 -0
  1009. package/types/lodash/ts3.1/fp/methodOf.d.ts +2 -0
  1010. package/types/lodash/ts3.1/fp/min.d.ts +2 -0
  1011. package/types/lodash/ts3.1/fp/minBy.d.ts +2 -0
  1012. package/types/lodash/ts3.1/fp/multiply.d.ts +2 -0
  1013. package/types/lodash/ts3.1/fp/nAry.d.ts +2 -0
  1014. package/types/lodash/ts3.1/fp/negate.d.ts +2 -0
  1015. package/types/lodash/ts3.1/fp/noConflict.d.ts +2 -0
  1016. package/types/lodash/ts3.1/fp/noop.d.ts +2 -0
  1017. package/types/lodash/ts3.1/fp/now.d.ts +2 -0
  1018. package/types/lodash/ts3.1/fp/nth.d.ts +2 -0
  1019. package/types/lodash/ts3.1/fp/nthArg.d.ts +2 -0
  1020. package/types/lodash/ts3.1/fp/omit.d.ts +2 -0
  1021. package/types/lodash/ts3.1/fp/omitAll.d.ts +2 -0
  1022. package/types/lodash/ts3.1/fp/omitBy.d.ts +2 -0
  1023. package/types/lodash/ts3.1/fp/once.d.ts +2 -0
  1024. package/types/lodash/ts3.1/fp/orderBy.d.ts +2 -0
  1025. package/types/lodash/ts3.1/fp/over.d.ts +2 -0
  1026. package/types/lodash/ts3.1/fp/overArgs.d.ts +2 -0
  1027. package/types/lodash/ts3.1/fp/overEvery.d.ts +2 -0
  1028. package/types/lodash/ts3.1/fp/overSome.d.ts +2 -0
  1029. package/types/lodash/ts3.1/fp/pad.d.ts +2 -0
  1030. package/types/lodash/ts3.1/fp/padChars.d.ts +2 -0
  1031. package/types/lodash/ts3.1/fp/padCharsEnd.d.ts +2 -0
  1032. package/types/lodash/ts3.1/fp/padCharsStart.d.ts +2 -0
  1033. package/types/lodash/ts3.1/fp/padEnd.d.ts +2 -0
  1034. package/types/lodash/ts3.1/fp/padStart.d.ts +2 -0
  1035. package/types/lodash/ts3.1/fp/parseInt.d.ts +2 -0
  1036. package/types/lodash/ts3.1/fp/partial.d.ts +2 -0
  1037. package/types/lodash/ts3.1/fp/partialRight.d.ts +2 -0
  1038. package/types/lodash/ts3.1/fp/partition.d.ts +2 -0
  1039. package/types/lodash/ts3.1/fp/path.d.ts +2 -0
  1040. package/types/lodash/ts3.1/fp/pathEq.d.ts +2 -0
  1041. package/types/lodash/ts3.1/fp/pathOr.d.ts +2 -0
  1042. package/types/lodash/ts3.1/fp/paths.d.ts +2 -0
  1043. package/types/lodash/ts3.1/fp/pick.d.ts +2 -0
  1044. package/types/lodash/ts3.1/fp/pickAll.d.ts +2 -0
  1045. package/types/lodash/ts3.1/fp/pickBy.d.ts +2 -0
  1046. package/types/lodash/ts3.1/fp/pipe.d.ts +2 -0
  1047. package/types/lodash/ts3.1/fp/placeholder.d.ts +3 -0
  1048. package/types/lodash/ts3.1/fp/pluck.d.ts +2 -0
  1049. package/types/lodash/ts3.1/fp/prop.d.ts +2 -0
  1050. package/types/lodash/ts3.1/fp/propEq.d.ts +2 -0
  1051. package/types/lodash/ts3.1/fp/propOr.d.ts +2 -0
  1052. package/types/lodash/ts3.1/fp/property.d.ts +2 -0
  1053. package/types/lodash/ts3.1/fp/propertyOf.d.ts +2 -0
  1054. package/types/lodash/ts3.1/fp/props.d.ts +2 -0
  1055. package/types/lodash/ts3.1/fp/pull.d.ts +2 -0
  1056. package/types/lodash/ts3.1/fp/pullAll.d.ts +2 -0
  1057. package/types/lodash/ts3.1/fp/pullAllBy.d.ts +2 -0
  1058. package/types/lodash/ts3.1/fp/pullAllWith.d.ts +2 -0
  1059. package/types/lodash/ts3.1/fp/pullAt.d.ts +2 -0
  1060. package/types/lodash/ts3.1/fp/random.d.ts +2 -0
  1061. package/types/lodash/ts3.1/fp/range.d.ts +2 -0
  1062. package/types/lodash/ts3.1/fp/rangeRight.d.ts +2 -0
  1063. package/types/lodash/ts3.1/fp/rangeStep.d.ts +2 -0
  1064. package/types/lodash/ts3.1/fp/rangeStepRight.d.ts +2 -0
  1065. package/types/lodash/ts3.1/fp/rearg.d.ts +2 -0
  1066. package/types/lodash/ts3.1/fp/reduce.d.ts +2 -0
  1067. package/types/lodash/ts3.1/fp/reduceRight.d.ts +2 -0
  1068. package/types/lodash/ts3.1/fp/reject.d.ts +2 -0
  1069. package/types/lodash/ts3.1/fp/remove.d.ts +2 -0
  1070. package/types/lodash/ts3.1/fp/repeat.d.ts +2 -0
  1071. package/types/lodash/ts3.1/fp/replace.d.ts +2 -0
  1072. package/types/lodash/ts3.1/fp/rest.d.ts +2 -0
  1073. package/types/lodash/ts3.1/fp/restFrom.d.ts +2 -0
  1074. package/types/lodash/ts3.1/fp/result.d.ts +2 -0
  1075. package/types/lodash/ts3.1/fp/reverse.d.ts +2 -0
  1076. package/types/lodash/ts3.1/fp/round.d.ts +2 -0
  1077. package/types/lodash/ts3.1/fp/runInContext.d.ts +2 -0
  1078. package/types/lodash/ts3.1/fp/sample.d.ts +2 -0
  1079. package/types/lodash/ts3.1/fp/sampleSize.d.ts +2 -0
  1080. package/types/lodash/ts3.1/fp/set.d.ts +2 -0
  1081. package/types/lodash/ts3.1/fp/setWith.d.ts +2 -0
  1082. package/types/lodash/ts3.1/fp/shuffle.d.ts +2 -0
  1083. package/types/lodash/ts3.1/fp/size.d.ts +2 -0
  1084. package/types/lodash/ts3.1/fp/slice.d.ts +2 -0
  1085. package/types/lodash/ts3.1/fp/snakeCase.d.ts +2 -0
  1086. package/types/lodash/ts3.1/fp/some.d.ts +2 -0
  1087. package/types/lodash/ts3.1/fp/sortBy.d.ts +2 -0
  1088. package/types/lodash/ts3.1/fp/sortedIndex.d.ts +2 -0
  1089. package/types/lodash/ts3.1/fp/sortedIndexBy.d.ts +2 -0
  1090. package/types/lodash/ts3.1/fp/sortedIndexOf.d.ts +2 -0
  1091. package/types/lodash/ts3.1/fp/sortedLastIndex.d.ts +2 -0
  1092. package/types/lodash/ts3.1/fp/sortedLastIndexBy.d.ts +2 -0
  1093. package/types/lodash/ts3.1/fp/sortedLastIndexOf.d.ts +2 -0
  1094. package/types/lodash/ts3.1/fp/sortedUniq.d.ts +2 -0
  1095. package/types/lodash/ts3.1/fp/sortedUniqBy.d.ts +2 -0
  1096. package/types/lodash/ts3.1/fp/split.d.ts +2 -0
  1097. package/types/lodash/ts3.1/fp/spread.d.ts +2 -0
  1098. package/types/lodash/ts3.1/fp/spreadFrom.d.ts +2 -0
  1099. package/types/lodash/ts3.1/fp/startCase.d.ts +2 -0
  1100. package/types/lodash/ts3.1/fp/startsWith.d.ts +2 -0
  1101. package/types/lodash/ts3.1/fp/stubArray.d.ts +2 -0
  1102. package/types/lodash/ts3.1/fp/stubFalse.d.ts +2 -0
  1103. package/types/lodash/ts3.1/fp/stubObject.d.ts +2 -0
  1104. package/types/lodash/ts3.1/fp/stubString.d.ts +2 -0
  1105. package/types/lodash/ts3.1/fp/stubTrue.d.ts +2 -0
  1106. package/types/lodash/ts3.1/fp/subtract.d.ts +2 -0
  1107. package/types/lodash/ts3.1/fp/sum.d.ts +2 -0
  1108. package/types/lodash/ts3.1/fp/sumBy.d.ts +2 -0
  1109. package/types/lodash/ts3.1/fp/symmetricDifference.d.ts +2 -0
  1110. package/types/lodash/ts3.1/fp/symmetricDifferenceBy.d.ts +2 -0
  1111. package/types/lodash/ts3.1/fp/symmetricDifferenceWith.d.ts +2 -0
  1112. package/types/lodash/ts3.1/fp/tail.d.ts +2 -0
  1113. package/types/lodash/ts3.1/fp/take.d.ts +2 -0
  1114. package/types/lodash/ts3.1/fp/takeLast.d.ts +2 -0
  1115. package/types/lodash/ts3.1/fp/takeLastWhile.d.ts +2 -0
  1116. package/types/lodash/ts3.1/fp/takeRight.d.ts +2 -0
  1117. package/types/lodash/ts3.1/fp/takeRightWhile.d.ts +2 -0
  1118. package/types/lodash/ts3.1/fp/takeWhile.d.ts +2 -0
  1119. package/types/lodash/ts3.1/fp/tap.d.ts +2 -0
  1120. package/types/lodash/ts3.1/fp/template.d.ts +2 -0
  1121. package/types/lodash/ts3.1/fp/throttle.d.ts +2 -0
  1122. package/types/lodash/ts3.1/fp/thru.d.ts +2 -0
  1123. package/types/lodash/ts3.1/fp/times.d.ts +2 -0
  1124. package/types/lodash/ts3.1/fp/toArray.d.ts +2 -0
  1125. package/types/lodash/ts3.1/fp/toFinite.d.ts +2 -0
  1126. package/types/lodash/ts3.1/fp/toInteger.d.ts +2 -0
  1127. package/types/lodash/ts3.1/fp/toLength.d.ts +2 -0
  1128. package/types/lodash/ts3.1/fp/toLower.d.ts +2 -0
  1129. package/types/lodash/ts3.1/fp/toNumber.d.ts +2 -0
  1130. package/types/lodash/ts3.1/fp/toPairs.d.ts +2 -0
  1131. package/types/lodash/ts3.1/fp/toPairsIn.d.ts +2 -0
  1132. package/types/lodash/ts3.1/fp/toPath.d.ts +2 -0
  1133. package/types/lodash/ts3.1/fp/toPlainObject.d.ts +2 -0
  1134. package/types/lodash/ts3.1/fp/toSafeInteger.d.ts +2 -0
  1135. package/types/lodash/ts3.1/fp/toString.d.ts +2 -0
  1136. package/types/lodash/ts3.1/fp/toUpper.d.ts +2 -0
  1137. package/types/lodash/ts3.1/fp/transform.d.ts +2 -0
  1138. package/types/lodash/ts3.1/fp/trim.d.ts +2 -0
  1139. package/types/lodash/ts3.1/fp/trimChars.d.ts +2 -0
  1140. package/types/lodash/ts3.1/fp/trimCharsEnd.d.ts +2 -0
  1141. package/types/lodash/ts3.1/fp/trimCharsStart.d.ts +2 -0
  1142. package/types/lodash/ts3.1/fp/trimEnd.d.ts +2 -0
  1143. package/types/lodash/ts3.1/fp/trimStart.d.ts +2 -0
  1144. package/types/lodash/ts3.1/fp/truncate.d.ts +2 -0
  1145. package/types/lodash/ts3.1/fp/unapply.d.ts +2 -0
  1146. package/types/lodash/ts3.1/fp/unary.d.ts +2 -0
  1147. package/types/lodash/ts3.1/fp/unescape.d.ts +2 -0
  1148. package/types/lodash/ts3.1/fp/union.d.ts +2 -0
  1149. package/types/lodash/ts3.1/fp/unionBy.d.ts +2 -0
  1150. package/types/lodash/ts3.1/fp/unionWith.d.ts +2 -0
  1151. package/types/lodash/ts3.1/fp/uniq.d.ts +2 -0
  1152. package/types/lodash/ts3.1/fp/uniqBy.d.ts +2 -0
  1153. package/types/lodash/ts3.1/fp/uniqWith.d.ts +2 -0
  1154. package/types/lodash/ts3.1/fp/uniqueId.d.ts +2 -0
  1155. package/types/lodash/ts3.1/fp/unnest.d.ts +2 -0
  1156. package/types/lodash/ts3.1/fp/unset.d.ts +2 -0
  1157. package/types/lodash/ts3.1/fp/unzip.d.ts +2 -0
  1158. package/types/lodash/ts3.1/fp/unzipWith.d.ts +2 -0
  1159. package/types/lodash/ts3.1/fp/update.d.ts +2 -0
  1160. package/types/lodash/ts3.1/fp/updateWith.d.ts +2 -0
  1161. package/types/lodash/ts3.1/fp/upperCase.d.ts +2 -0
  1162. package/types/lodash/ts3.1/fp/upperFirst.d.ts +2 -0
  1163. package/types/lodash/ts3.1/fp/useWith.d.ts +2 -0
  1164. package/types/lodash/ts3.1/fp/values.d.ts +2 -0
  1165. package/types/lodash/ts3.1/fp/valuesIn.d.ts +2 -0
  1166. package/types/lodash/ts3.1/fp/where.d.ts +2 -0
  1167. package/types/lodash/ts3.1/fp/whereEq.d.ts +2 -0
  1168. package/types/lodash/ts3.1/fp/without.d.ts +2 -0
  1169. package/types/lodash/ts3.1/fp/words.d.ts +2 -0
  1170. package/types/lodash/ts3.1/fp/wrap.d.ts +2 -0
  1171. package/types/lodash/ts3.1/fp/xor.d.ts +2 -0
  1172. package/types/lodash/ts3.1/fp/xorBy.d.ts +2 -0
  1173. package/types/lodash/ts3.1/fp/xorWith.d.ts +2 -0
  1174. package/types/lodash/ts3.1/fp/zip.d.ts +2 -0
  1175. package/types/lodash/ts3.1/fp/zipAll.d.ts +2 -0
  1176. package/types/lodash/ts3.1/fp/zipObj.d.ts +2 -0
  1177. package/types/lodash/ts3.1/fp/zipObject.d.ts +2 -0
  1178. package/types/lodash/ts3.1/fp/zipObjectDeep.d.ts +2 -0
  1179. package/types/lodash/ts3.1/fp/zipWith.d.ts +2 -0
  1180. package/types/lodash/ts3.1/fp.d.ts +4938 -0
  1181. package/types/lodash/ts3.1/fromPairs.d.ts +2 -0
  1182. package/types/lodash/ts3.1/functions.d.ts +2 -0
  1183. package/types/lodash/ts3.1/functionsIn.d.ts +2 -0
  1184. package/types/lodash/ts3.1/get.d.ts +2 -0
  1185. package/types/lodash/ts3.1/groupBy.d.ts +2 -0
  1186. package/types/lodash/ts3.1/gt.d.ts +2 -0
  1187. package/types/lodash/ts3.1/gte.d.ts +2 -0
  1188. package/types/lodash/ts3.1/has.d.ts +2 -0
  1189. package/types/lodash/ts3.1/hasIn.d.ts +2 -0
  1190. package/types/lodash/ts3.1/head.d.ts +2 -0
  1191. package/types/lodash/ts3.1/identity.d.ts +2 -0
  1192. package/types/lodash/ts3.1/inRange.d.ts +2 -0
  1193. package/types/lodash/ts3.1/includes.d.ts +2 -0
  1194. package/types/lodash/ts3.1/index.d.ts +33 -0
  1195. package/types/lodash/ts3.1/indexOf.d.ts +2 -0
  1196. package/types/lodash/ts3.1/initial.d.ts +2 -0
  1197. package/types/lodash/ts3.1/intersection.d.ts +2 -0
  1198. package/types/lodash/ts3.1/intersectionBy.d.ts +2 -0
  1199. package/types/lodash/ts3.1/intersectionWith.d.ts +2 -0
  1200. package/types/lodash/ts3.1/invert.d.ts +2 -0
  1201. package/types/lodash/ts3.1/invertBy.d.ts +2 -0
  1202. package/types/lodash/ts3.1/invoke.d.ts +2 -0
  1203. package/types/lodash/ts3.1/invokeMap.d.ts +2 -0
  1204. package/types/lodash/ts3.1/isArguments.d.ts +2 -0
  1205. package/types/lodash/ts3.1/isArray.d.ts +2 -0
  1206. package/types/lodash/ts3.1/isArrayBuffer.d.ts +2 -0
  1207. package/types/lodash/ts3.1/isArrayLike.d.ts +2 -0
  1208. package/types/lodash/ts3.1/isArrayLikeObject.d.ts +2 -0
  1209. package/types/lodash/ts3.1/isBoolean.d.ts +2 -0
  1210. package/types/lodash/ts3.1/isBuffer.d.ts +2 -0
  1211. package/types/lodash/ts3.1/isDate.d.ts +2 -0
  1212. package/types/lodash/ts3.1/isElement.d.ts +2 -0
  1213. package/types/lodash/ts3.1/isEmpty.d.ts +2 -0
  1214. package/types/lodash/ts3.1/isEqual.d.ts +2 -0
  1215. package/types/lodash/ts3.1/isEqualWith.d.ts +2 -0
  1216. package/types/lodash/ts3.1/isError.d.ts +2 -0
  1217. package/types/lodash/ts3.1/isFinite.d.ts +2 -0
  1218. package/types/lodash/ts3.1/isFunction.d.ts +2 -0
  1219. package/types/lodash/ts3.1/isInteger.d.ts +2 -0
  1220. package/types/lodash/ts3.1/isLength.d.ts +2 -0
  1221. package/types/lodash/ts3.1/isMap.d.ts +2 -0
  1222. package/types/lodash/ts3.1/isMatch.d.ts +2 -0
  1223. package/types/lodash/ts3.1/isMatchWith.d.ts +2 -0
  1224. package/types/lodash/ts3.1/isNaN.d.ts +2 -0
  1225. package/types/lodash/ts3.1/isNative.d.ts +2 -0
  1226. package/types/lodash/ts3.1/isNil.d.ts +2 -0
  1227. package/types/lodash/ts3.1/isNull.d.ts +2 -0
  1228. package/types/lodash/ts3.1/isNumber.d.ts +2 -0
  1229. package/types/lodash/ts3.1/isObject.d.ts +2 -0
  1230. package/types/lodash/ts3.1/isObjectLike.d.ts +2 -0
  1231. package/types/lodash/ts3.1/isPlainObject.d.ts +2 -0
  1232. package/types/lodash/ts3.1/isRegExp.d.ts +2 -0
  1233. package/types/lodash/ts3.1/isSafeInteger.d.ts +2 -0
  1234. package/types/lodash/ts3.1/isSet.d.ts +2 -0
  1235. package/types/lodash/ts3.1/isString.d.ts +2 -0
  1236. package/types/lodash/ts3.1/isSymbol.d.ts +2 -0
  1237. package/types/lodash/ts3.1/isTypedArray.d.ts +2 -0
  1238. package/types/lodash/ts3.1/isUndefined.d.ts +2 -0
  1239. package/types/lodash/ts3.1/isWeakMap.d.ts +2 -0
  1240. package/types/lodash/ts3.1/isWeakSet.d.ts +2 -0
  1241. package/types/lodash/ts3.1/iteratee.d.ts +2 -0
  1242. package/types/lodash/ts3.1/join.d.ts +2 -0
  1243. package/types/lodash/ts3.1/kebabCase.d.ts +2 -0
  1244. package/types/lodash/ts3.1/keyBy.d.ts +2 -0
  1245. package/types/lodash/ts3.1/keys.d.ts +2 -0
  1246. package/types/lodash/ts3.1/keysIn.d.ts +2 -0
  1247. package/types/lodash/ts3.1/last.d.ts +2 -0
  1248. package/types/lodash/ts3.1/lastIndexOf.d.ts +2 -0
  1249. package/types/lodash/ts3.1/lowerCase.d.ts +2 -0
  1250. package/types/lodash/ts3.1/lowerFirst.d.ts +2 -0
  1251. package/types/lodash/ts3.1/lt.d.ts +2 -0
  1252. package/types/lodash/ts3.1/lte.d.ts +2 -0
  1253. package/types/lodash/ts3.1/map.d.ts +2 -0
  1254. package/types/lodash/ts3.1/mapKeys.d.ts +2 -0
  1255. package/types/lodash/ts3.1/mapValues.d.ts +2 -0
  1256. package/types/lodash/ts3.1/matches.d.ts +2 -0
  1257. package/types/lodash/ts3.1/matchesProperty.d.ts +2 -0
  1258. package/types/lodash/ts3.1/max.d.ts +2 -0
  1259. package/types/lodash/ts3.1/maxBy.d.ts +2 -0
  1260. package/types/lodash/ts3.1/mean.d.ts +2 -0
  1261. package/types/lodash/ts3.1/meanBy.d.ts +2 -0
  1262. package/types/lodash/ts3.1/memoize.d.ts +2 -0
  1263. package/types/lodash/ts3.1/merge.d.ts +2 -0
  1264. package/types/lodash/ts3.1/mergeWith.d.ts +2 -0
  1265. package/types/lodash/ts3.1/method.d.ts +2 -0
  1266. package/types/lodash/ts3.1/methodOf.d.ts +2 -0
  1267. package/types/lodash/ts3.1/min.d.ts +2 -0
  1268. package/types/lodash/ts3.1/minBy.d.ts +2 -0
  1269. package/types/lodash/ts3.1/mixin.d.ts +2 -0
  1270. package/types/lodash/ts3.1/multiply.d.ts +2 -0
  1271. package/types/lodash/ts3.1/negate.d.ts +2 -0
  1272. package/types/lodash/ts3.1/noConflict.d.ts +2 -0
  1273. package/types/lodash/ts3.1/noop.d.ts +2 -0
  1274. package/types/lodash/ts3.1/now.d.ts +2 -0
  1275. package/types/lodash/ts3.1/nth.d.ts +2 -0
  1276. package/types/lodash/ts3.1/nthArg.d.ts +2 -0
  1277. package/types/lodash/ts3.1/omit.d.ts +2 -0
  1278. package/types/lodash/ts3.1/omitBy.d.ts +2 -0
  1279. package/types/lodash/ts3.1/once.d.ts +2 -0
  1280. package/types/lodash/ts3.1/orderBy.d.ts +2 -0
  1281. package/types/lodash/ts3.1/over.d.ts +2 -0
  1282. package/types/lodash/ts3.1/overArgs.d.ts +2 -0
  1283. package/types/lodash/ts3.1/overEvery.d.ts +2 -0
  1284. package/types/lodash/ts3.1/overSome.d.ts +2 -0
  1285. package/types/lodash/ts3.1/pad.d.ts +2 -0
  1286. package/types/lodash/ts3.1/padEnd.d.ts +2 -0
  1287. package/types/lodash/ts3.1/padStart.d.ts +2 -0
  1288. package/types/lodash/ts3.1/parseInt.d.ts +2 -0
  1289. package/types/lodash/ts3.1/partial.d.ts +2 -0
  1290. package/types/lodash/ts3.1/partialRight.d.ts +2 -0
  1291. package/types/lodash/ts3.1/partition.d.ts +2 -0
  1292. package/types/lodash/ts3.1/pick.d.ts +2 -0
  1293. package/types/lodash/ts3.1/pickBy.d.ts +2 -0
  1294. package/types/lodash/ts3.1/property.d.ts +2 -0
  1295. package/types/lodash/ts3.1/propertyOf.d.ts +2 -0
  1296. package/types/lodash/ts3.1/pull.d.ts +2 -0
  1297. package/types/lodash/ts3.1/pullAll.d.ts +2 -0
  1298. package/types/lodash/ts3.1/pullAllBy.d.ts +2 -0
  1299. package/types/lodash/ts3.1/pullAllWith.d.ts +2 -0
  1300. package/types/lodash/ts3.1/pullAt.d.ts +2 -0
  1301. package/types/lodash/ts3.1/random.d.ts +2 -0
  1302. package/types/lodash/ts3.1/range.d.ts +2 -0
  1303. package/types/lodash/ts3.1/rangeRight.d.ts +2 -0
  1304. package/types/lodash/ts3.1/rearg.d.ts +2 -0
  1305. package/types/lodash/ts3.1/reduce.d.ts +2 -0
  1306. package/types/lodash/ts3.1/reduceRight.d.ts +2 -0
  1307. package/types/lodash/ts3.1/reject.d.ts +2 -0
  1308. package/types/lodash/ts3.1/remove.d.ts +2 -0
  1309. package/types/lodash/ts3.1/repeat.d.ts +2 -0
  1310. package/types/lodash/ts3.1/replace.d.ts +2 -0
  1311. package/types/lodash/ts3.1/rest.d.ts +2 -0
  1312. package/types/lodash/ts3.1/result.d.ts +2 -0
  1313. package/types/lodash/ts3.1/reverse.d.ts +2 -0
  1314. package/types/lodash/ts3.1/round.d.ts +2 -0
  1315. package/types/lodash/ts3.1/runInContext.d.ts +2 -0
  1316. package/types/lodash/ts3.1/sample.d.ts +2 -0
  1317. package/types/lodash/ts3.1/sampleSize.d.ts +2 -0
  1318. package/types/lodash/ts3.1/set.d.ts +2 -0
  1319. package/types/lodash/ts3.1/setWith.d.ts +2 -0
  1320. package/types/lodash/ts3.1/shuffle.d.ts +2 -0
  1321. package/types/lodash/ts3.1/size.d.ts +2 -0
  1322. package/types/lodash/ts3.1/slice.d.ts +2 -0
  1323. package/types/lodash/ts3.1/snakeCase.d.ts +2 -0
  1324. package/types/lodash/ts3.1/some.d.ts +2 -0
  1325. package/types/lodash/ts3.1/sortBy.d.ts +2 -0
  1326. package/types/lodash/ts3.1/sortedIndex.d.ts +2 -0
  1327. package/types/lodash/ts3.1/sortedIndexBy.d.ts +2 -0
  1328. package/types/lodash/ts3.1/sortedIndexOf.d.ts +2 -0
  1329. package/types/lodash/ts3.1/sortedLastIndex.d.ts +2 -0
  1330. package/types/lodash/ts3.1/sortedLastIndexBy.d.ts +2 -0
  1331. package/types/lodash/ts3.1/sortedLastIndexOf.d.ts +2 -0
  1332. package/types/lodash/ts3.1/sortedUniq.d.ts +2 -0
  1333. package/types/lodash/ts3.1/sortedUniqBy.d.ts +2 -0
  1334. package/types/lodash/ts3.1/split.d.ts +2 -0
  1335. package/types/lodash/ts3.1/spread.d.ts +2 -0
  1336. package/types/lodash/ts3.1/startCase.d.ts +2 -0
  1337. package/types/lodash/ts3.1/startsWith.d.ts +2 -0
  1338. package/types/lodash/ts3.1/stubFalse.d.ts +2 -0
  1339. package/types/lodash/ts3.1/stubTrue.d.ts +2 -0
  1340. package/types/lodash/ts3.1/subtract.d.ts +2 -0
  1341. package/types/lodash/ts3.1/sum.d.ts +2 -0
  1342. package/types/lodash/ts3.1/sumBy.d.ts +2 -0
  1343. package/types/lodash/ts3.1/tail.d.ts +2 -0
  1344. package/types/lodash/ts3.1/take.d.ts +2 -0
  1345. package/types/lodash/ts3.1/takeRight.d.ts +2 -0
  1346. package/types/lodash/ts3.1/takeRightWhile.d.ts +2 -0
  1347. package/types/lodash/ts3.1/takeWhile.d.ts +2 -0
  1348. package/types/lodash/ts3.1/tap.d.ts +2 -0
  1349. package/types/lodash/ts3.1/template.d.ts +2 -0
  1350. package/types/lodash/ts3.1/throttle.d.ts +2 -0
  1351. package/types/lodash/ts3.1/thru.d.ts +2 -0
  1352. package/types/lodash/ts3.1/times.d.ts +2 -0
  1353. package/types/lodash/ts3.1/toArray.d.ts +2 -0
  1354. package/types/lodash/ts3.1/toFinite.d.ts +2 -0
  1355. package/types/lodash/ts3.1/toInteger.d.ts +2 -0
  1356. package/types/lodash/ts3.1/toLength.d.ts +2 -0
  1357. package/types/lodash/ts3.1/toLower.d.ts +2 -0
  1358. package/types/lodash/ts3.1/toNumber.d.ts +2 -0
  1359. package/types/lodash/ts3.1/toPairs.d.ts +2 -0
  1360. package/types/lodash/ts3.1/toPairsIn.d.ts +2 -0
  1361. package/types/lodash/ts3.1/toPath.d.ts +2 -0
  1362. package/types/lodash/ts3.1/toPlainObject.d.ts +2 -0
  1363. package/types/lodash/ts3.1/toSafeInteger.d.ts +2 -0
  1364. package/types/lodash/ts3.1/toString.d.ts +2 -0
  1365. package/types/lodash/ts3.1/toUpper.d.ts +2 -0
  1366. package/types/lodash/ts3.1/transform.d.ts +2 -0
  1367. package/types/lodash/ts3.1/trim.d.ts +2 -0
  1368. package/types/lodash/ts3.1/trimEnd.d.ts +2 -0
  1369. package/types/lodash/ts3.1/trimStart.d.ts +2 -0
  1370. package/types/lodash/ts3.1/truncate.d.ts +2 -0
  1371. package/types/lodash/ts3.1/unary.d.ts +2 -0
  1372. package/types/lodash/ts3.1/unescape.d.ts +2 -0
  1373. package/types/lodash/ts3.1/union.d.ts +2 -0
  1374. package/types/lodash/ts3.1/unionBy.d.ts +2 -0
  1375. package/types/lodash/ts3.1/unionWith.d.ts +2 -0
  1376. package/types/lodash/ts3.1/uniq.d.ts +2 -0
  1377. package/types/lodash/ts3.1/uniqBy.d.ts +2 -0
  1378. package/types/lodash/ts3.1/uniqWith.d.ts +2 -0
  1379. package/types/lodash/ts3.1/uniqueId.d.ts +2 -0
  1380. package/types/lodash/ts3.1/unset.d.ts +2 -0
  1381. package/types/lodash/ts3.1/unzip.d.ts +2 -0
  1382. package/types/lodash/ts3.1/unzipWith.d.ts +2 -0
  1383. package/types/lodash/ts3.1/update.d.ts +2 -0
  1384. package/types/lodash/ts3.1/updateWith.d.ts +2 -0
  1385. package/types/lodash/ts3.1/upperCase.d.ts +2 -0
  1386. package/types/lodash/ts3.1/upperFirst.d.ts +2 -0
  1387. package/types/lodash/ts3.1/values.d.ts +2 -0
  1388. package/types/lodash/ts3.1/valuesIn.d.ts +2 -0
  1389. package/types/lodash/ts3.1/without.d.ts +2 -0
  1390. package/types/lodash/ts3.1/words.d.ts +2 -0
  1391. package/types/lodash/ts3.1/wrap.d.ts +2 -0
  1392. package/types/lodash/ts3.1/xor.d.ts +2 -0
  1393. package/types/lodash/ts3.1/xorBy.d.ts +2 -0
  1394. package/types/lodash/ts3.1/xorWith.d.ts +2 -0
  1395. package/types/lodash/ts3.1/zip.d.ts +2 -0
  1396. package/types/lodash/ts3.1/zipObject.d.ts +2 -0
  1397. package/types/lodash/ts3.1/zipObjectDeep.d.ts +2 -0
  1398. package/types/lodash/ts3.1/zipWith.d.ts +2 -0
  1399. package/types/lodash/unary.d.ts +2 -0
  1400. package/types/lodash/unescape.d.ts +2 -0
  1401. package/types/lodash/union.d.ts +2 -0
  1402. package/types/lodash/unionBy.d.ts +2 -0
  1403. package/types/lodash/unionWith.d.ts +2 -0
  1404. package/types/lodash/uniq.d.ts +2 -0
  1405. package/types/lodash/uniqBy.d.ts +2 -0
  1406. package/types/lodash/uniqWith.d.ts +2 -0
  1407. package/types/lodash/uniqueId.d.ts +2 -0
  1408. package/types/lodash/unset.d.ts +2 -0
  1409. package/types/lodash/unzip.d.ts +2 -0
  1410. package/types/lodash/unzipWith.d.ts +2 -0
  1411. package/types/lodash/update.d.ts +2 -0
  1412. package/types/lodash/updateWith.d.ts +2 -0
  1413. package/types/lodash/upperCase.d.ts +2 -0
  1414. package/types/lodash/upperFirst.d.ts +2 -0
  1415. package/types/lodash/values.d.ts +2 -0
  1416. package/types/lodash/valuesIn.d.ts +2 -0
  1417. package/types/lodash/without.d.ts +2 -0
  1418. package/types/lodash/words.d.ts +2 -0
  1419. package/types/lodash/wrap.d.ts +2 -0
  1420. package/types/lodash/xor.d.ts +2 -0
  1421. package/types/lodash/xorBy.d.ts +2 -0
  1422. package/types/lodash/xorWith.d.ts +2 -0
  1423. package/types/lodash/zip.d.ts +2 -0
  1424. package/types/lodash/zipObject.d.ts +2 -0
  1425. package/types/lodash/zipObjectDeep.d.ts +2 -0
  1426. package/types/lodash/zipWith.d.ts +2 -0
  1427. package/types/minimatch/index.d.ts +214 -0
  1428. package/types/mocha/index.d.ts +2986 -0
  1429. package/types/sinon/index.d.ts +1622 -0
  1430. package/types/sinon/ts3.1/index.d.ts +1698 -0
  1431. package/types/sinon-chai/index.d.ts +109 -0
@@ -0,0 +1,4792 @@
1
+ declare namespace Cypress {
2
+ type FileContents = string | any[] | object
3
+ type HistoryDirection = "back" | "forward"
4
+ type HttpMethod = string
5
+ type RequestBody = string | object
6
+ type ViewportOrientation = "portrait" | "landscape"
7
+ type PrevSubject = "optional" | "element" | "document" | "window"
8
+ type PluginConfig = (on: PluginEvents, config: PluginConfigOptions) => void | ConfigOptions | Promise<ConfigOptions>
9
+
10
+ interface CommandOptions {
11
+ prevSubject: boolean | PrevSubject | PrevSubject[]
12
+ }
13
+ interface ObjectLike {
14
+ [key: string]: any
15
+ }
16
+ interface Auth {
17
+ username: string
18
+ password: string
19
+ }
20
+
21
+ interface Backend {
22
+ /**
23
+ * Firefox only: Force Cypress to run garbage collection routines.
24
+ * No-op if not running in Firefox.
25
+ *
26
+ * @see https://on.cypress.io/firefox-gc-issue
27
+ */
28
+ (task: 'firefox:force:gc'): Promise<void>
29
+ }
30
+
31
+ type BrowserName = 'electron' | 'chrome' | 'chromium' | 'firefox' | 'edge' | string
32
+
33
+ type BrowserChannel = 'stable' | 'canary' | 'beta' | 'dev' | 'nightly' | string
34
+
35
+ type BrowserFamily = 'chromium' | 'firefox'
36
+
37
+ /**
38
+ * Describes a browser Cypress can control
39
+ */
40
+ interface Browser {
41
+ /**
42
+ * Short browser name.
43
+ */
44
+ name: BrowserName
45
+ /**
46
+ * The underlying engine for this browser.
47
+ */
48
+ family: BrowserFamily
49
+ /**
50
+ * The release channel of the browser.
51
+ */
52
+ channel: BrowserChannel
53
+ /**
54
+ * Human-readable browser name.
55
+ */
56
+ displayName: string
57
+ version: string
58
+ majorVersion: number
59
+ path: string
60
+ isHeaded: boolean
61
+ isHeadless: boolean
62
+ }
63
+
64
+ interface LocalStorage {
65
+ /**
66
+ * Called internally to clear `localStorage` in two situations.
67
+ *
68
+ * 1. Before every test, this is called with no argument to clear all keys.
69
+ * 2. On `cy.clearLocalStorage(keys)` this is called with `keys` as an argument.
70
+ *
71
+ * You should not call this method directly to clear `localStorage`; instead, use `cy.clearLocalStorage(key)`.
72
+ *
73
+ * @see https://on.cypress.io/clearlocalstorage
74
+ */
75
+ clear: (keys?: string[]) => void
76
+ }
77
+
78
+ interface ViewportPosition extends WindowPosition {
79
+ right: number
80
+ bottom: number
81
+ }
82
+
83
+ interface WindowPosition {
84
+ top: number
85
+ left: number
86
+ topCenter: number
87
+ leftCenter: number
88
+ }
89
+
90
+ interface ElementPositioning {
91
+ scrollTop: number
92
+ scrollLeft: number
93
+ width: number
94
+ height: number
95
+ fromElViewport: ViewportPosition
96
+ fromElWindow: WindowPosition
97
+ fromAutWindow: WindowPosition
98
+ }
99
+
100
+ interface ElementCoordinates {
101
+ width: number
102
+ height: number
103
+ fromElViewport: ViewportPosition & { x: number, y: number }
104
+ fromElWindow: WindowPosition & { x: number, y: number }
105
+ fromAutWindow: WindowPosition & { x: number, y: number }
106
+ }
107
+
108
+ /**
109
+ * Several libraries are bundled with Cypress by default.
110
+ *
111
+ * @see https://on.cypress.io/api
112
+ */
113
+ interface Cypress {
114
+ /**
115
+ * Lodash library
116
+ *
117
+ * @see https://on.cypress.io/_
118
+ * @example
119
+ * Cypress._.keys(obj)
120
+ */
121
+ _: _.LoDashStatic
122
+ /**
123
+ * jQuery library
124
+ *
125
+ * @see https://on.cypress.io/$
126
+ * @example
127
+ * Cypress.$('p')
128
+ */
129
+ $: JQueryStatic
130
+ /**
131
+ * Cypress automatically includes a Blob library and exposes it as Cypress.Blob.
132
+ *
133
+ * @see https://on.cypress.io/blob
134
+ * @see https://github.com/nolanlawson/blob-util
135
+ * @example
136
+ * Cypress.Blob.method()
137
+ */
138
+ Blob: BlobUtil.BlobUtilStatic
139
+ /**
140
+ * Cypress automatically includes minimatch and exposes it as Cypress.minimatch.
141
+ *
142
+ * @see https://on.cypress.io/minimatch
143
+ */
144
+ minimatch: typeof Minimatch.minimatch
145
+ /**
146
+ * Cypress automatically includes moment.js and exposes it as Cypress.moment.
147
+ *
148
+ * @see https://on.cypress.io/moment
149
+ * @see http://momentjs.com/
150
+ * @example
151
+ * const todaysDate = Cypress.moment().format("MMM DD, YYYY")
152
+ */
153
+ moment: Moment.MomentStatic
154
+ /**
155
+ * Cypress automatically includes Bluebird and exposes it as Cypress.Promise.
156
+ *
157
+ * @see https://on.cypress.io/promise
158
+ * @see https://github.com/petkaantonov/bluebird
159
+ * @example
160
+ * new Cypress.Promise((resolve, reject) => { ... })
161
+ */
162
+ Promise: Bluebird.BluebirdStatic
163
+ /**
164
+ * Cypress includes Sinon.js library used in `cy.spy` and `cy.stub`.
165
+ *
166
+ * @see https://sinonjs.org/
167
+ * @see https://on.cypress.io/stubs-spies-and-clocks
168
+ * @see https://example.cypress.io/commands/spies-stubs-clocks
169
+ */
170
+ sinon: sinon.SinonStatic
171
+
172
+ /**
173
+ * Cypress version string. i.e. "1.1.2"
174
+ * @see https://on.cypress.io/version
175
+ * @example
176
+ ```
177
+ expect(Cypress.version).to.be.a('string')
178
+ if (Cypress.version === '1.2.0') {
179
+ // test something specific
180
+ }
181
+ ```
182
+ */
183
+ version: string
184
+
185
+ /**
186
+ * OS platform name, from Node `os.platform()`
187
+ *
188
+ * @see https://nodejs.org/api/os.html#os_os_platform
189
+ * @example
190
+ * Cypress.platform // "darwin"
191
+ */
192
+ platform: string
193
+
194
+ /**
195
+ * CPU architecture, from Node `os.arch()`
196
+ *
197
+ * @see https://nodejs.org/api/os.html#os_os_arch
198
+ * @example
199
+ * Cypress.arch // "x64"
200
+ */
201
+ arch: string
202
+
203
+ /**
204
+ * Currently executing spec file.
205
+ * @example
206
+ ```
207
+ Cypress.spec
208
+ // {
209
+ // name: "config_passing_spec.coffee",
210
+ // relative: "cypress/integration/config_passing_spec.coffee",
211
+ // absolute: "/users/smith/projects/web/cypress/integration/config_passing_spec.coffee"
212
+ // }
213
+ ```
214
+ */
215
+ spec: {
216
+ name: string // "config_passing_spec.coffee"
217
+ relative: string | null // "cypress/integration/config_passing_spec.coffee"
218
+ absolute: string | null
219
+ }
220
+
221
+ /**
222
+ * Information about the browser currently running the tests
223
+ */
224
+ browser: Browser
225
+
226
+ /**
227
+ * Internal class for LocalStorage management.
228
+ */
229
+ LocalStorage: LocalStorage
230
+
231
+ /**
232
+ * Promise wrapper for certain internal tasks.
233
+ */
234
+ backend: Backend
235
+
236
+ /**
237
+ * Returns all configuration objects.
238
+ * @see https://on.cypress.io/config
239
+ * @example
240
+ ```
241
+ Cypress.config()
242
+ // {defaultCommandTimeout: 10000, pageLoadTimeout: 30000, ...}
243
+ ```
244
+ */
245
+ config(): ResolvedConfigOptions
246
+ /**
247
+ * Returns one configuration value.
248
+ * @see https://on.cypress.io/config
249
+ * @example
250
+ ```
251
+ Cypress.config('pageLoadTimeout')
252
+ // 60000
253
+ ```
254
+ */
255
+ config<K extends keyof ConfigOptions>(key: K): ResolvedConfigOptions[K]
256
+ /**
257
+ * Sets one configuration value.
258
+ * @see https://on.cypress.io/config
259
+ * @example
260
+ ```
261
+ Cypress.config('viewportWidth', 800)
262
+ ```
263
+ */
264
+ config<K extends keyof ConfigOptions>(key: K, value: ResolvedConfigOptions[K]): void
265
+ /**
266
+ * Sets multiple configuration values at once.
267
+ * @see https://on.cypress.io/config
268
+ * @example
269
+ ```
270
+ Cypress.config({
271
+ defaultCommandTimeout: 10000,
272
+ viewportHeight: 900
273
+ })
274
+ ```
275
+ */
276
+ config(Object: ConfigOptions): void
277
+
278
+ // no real way to type without generics
279
+ /**
280
+ * Returns all environment variables set with CYPRESS_ prefix or in "env" object in "cypress.json"
281
+ *
282
+ * @see https://on.cypress.io/env
283
+ */
284
+ env(): ObjectLike
285
+ /**
286
+ * Returns specific environment variable or undefined
287
+ * @see https://on.cypress.io/env
288
+ * @example
289
+ * // cypress.json
290
+ * { "env": { "foo": "bar" } }
291
+ * Cypress.env("foo") // => bar
292
+ */
293
+ env(key: string): any
294
+ /**
295
+ * Set value for a variable.
296
+ * Any value you change will be permanently changed for the remainder of your tests.
297
+ * @see https://on.cypress.io/env
298
+ * @example
299
+ * Cypress.env("host", "http://server.dev.local")
300
+ */
301
+ env(key: string, value: any): void
302
+ /**
303
+ * Set values for multiple variables at once. Values are merged with existing values.
304
+ * @see https://on.cypress.io/env
305
+ * @example
306
+ * Cypress.env({ host: "http://server.dev.local", foo: "foo" })
307
+ */
308
+ env(object: ObjectLike): void
309
+
310
+ /**
311
+ * Firefox only: Get the current number of tests that will run between forced garbage collections.
312
+ *
313
+ * Returns undefined if not in Firefox, returns a null or 0 if forced GC is disabled.
314
+ *
315
+ * @see https://on.cypress.io/firefox-gc-issue
316
+ */
317
+ getFirefoxGcInterval(): number | null | undefined
318
+
319
+ /**
320
+ * Checks if a variable is a valid instance of `cy` or a `cy` chainable.
321
+ *
322
+ * @see https://on.cypress.io/iscy
323
+ * @example
324
+ * Cypress.isCy(cy) // => true
325
+ */
326
+ isCy<TSubject = any>(obj: Chainable<TSubject>): obj is Chainable<TSubject>
327
+ isCy(obj: any): obj is Chainable
328
+
329
+ /**
330
+ * Returns true if currently running the supplied browser name or matcher object.
331
+ * @example isBrowser('chrome') will be true for the browser 'chrome:canary' and 'chrome:stable'
332
+ * @example isBrowser({ name: 'firefox', channel: 'dev' }) will be true only for the browser 'firefox:dev' (Firefox Developer Edition)
333
+ * @param matcher browser name or matcher object to check.
334
+ */
335
+ isBrowser(name: BrowserName | Partial<Browser>): boolean
336
+
337
+ /**
338
+ * Internal options for "cy.log" used in custom commands.
339
+ *
340
+ * @see https://on.cypress.io/cypress-log
341
+ */
342
+ log(options: Partial<LogConfig>): Log
343
+
344
+ /**
345
+ * @see https://on.cypress.io/api/commands
346
+ */
347
+ Commands: {
348
+ add(name: string, fn: (...args: any[]) => void): void
349
+ add(name: string, options: CommandOptions, fn: (...args: any[]) => void): void
350
+ overwrite(name: string, fn: (...args: any[]) => void): void
351
+ }
352
+
353
+ /**
354
+ * @see https://on.cypress.io/cookies
355
+ */
356
+ Cookies: {
357
+ debug(enabled: boolean, options?: Partial<DebugOptions>): void
358
+ preserveOnce(...names: string[]): void
359
+ defaults(options: Partial<CookieDefaults>): void
360
+ }
361
+
362
+ /**
363
+ * @see https://on.cypress.io/dom
364
+ */
365
+ dom: {
366
+ /**
367
+ * Returns a jQuery object obtained by wrapping an object in jQuery.
368
+ */
369
+ wrap(wrappingElement_function: JQuery.Selector | JQuery.htmlString | Element | JQuery | ((index: number) => string | JQuery)): JQuery
370
+ query(selector: JQuery.Selector, context?: Element | JQuery): JQuery
371
+ /**
372
+ * Returns an array of raw elements pulled out from a jQuery object.
373
+ */
374
+ unwrap(obj: any): any
375
+ /**
376
+ * Returns a boolean indicating whether an object is a DOM object.
377
+ */
378
+ isDom(obj: any): boolean
379
+ isType(element: JQuery | HTMLElement , type: string): boolean
380
+ /**
381
+ * Returns a boolean indicating whether an element is visible.
382
+ */
383
+ isVisible(element: JQuery | HTMLElement): boolean
384
+ /**
385
+ * Returns a boolean indicating whether an element is hidden.
386
+ */
387
+ isHidden(element: JQuery | HTMLElement): boolean
388
+ /**
389
+ * Returns a boolean indicating whether an element can receive focus.
390
+ */
391
+ isFocusable(element: JQuery | HTMLElement): boolean
392
+ isTextLike(element: JQuery | HTMLElement): boolean
393
+ /**
394
+ * Returns a boolean indicating whether an element is scrollable.
395
+ */
396
+ isScrollable(element: Window | JQuery | HTMLElement): boolean
397
+ /**
398
+ * Returns a boolean indicating whether an element currently has focus.
399
+ */
400
+ isFocused(element: JQuery | HTMLElement): boolean
401
+ /**
402
+ * Returns a boolean indicating whether an element is detached from the DOM.
403
+ */
404
+ isDetached(element: JQuery | HTMLElement): boolean
405
+ /**
406
+ * Returns a boolean indicating whether an element is attached to the DOM.
407
+ */
408
+ isAttached(element: JQuery | HTMLElement | Window | Document): boolean
409
+ isSelector(element: JQuery | HTMLElement, selector: JQuery.Selector): boolean
410
+ /**
411
+ * Returns a boolean indicating whether an element is a descendent of another element.
412
+ */
413
+ isDescendent(element1: JQuery | HTMLElement, element2: JQuery | HTMLElement): boolean
414
+ /**
415
+ * Returns a boolean indicating whether object is undefined or html, body, or document.
416
+ */
417
+ isUndefinedOrHTMLBodyDoc(obj: any): boolean
418
+ /**
419
+ * Returns a boolean indicating whether an object is a DOM element.
420
+ */
421
+ isElement(obj: any): boolean
422
+ /**
423
+ * Returns a boolean indicating whether a node is of document type.
424
+ */
425
+ isDocument(obj: any): boolean
426
+ /**
427
+ * Returns a boolean indicating whether an object is a window object.
428
+ */
429
+ isWindow(obj: any): obj is Window
430
+ /**
431
+ * Returns a boolean indicating whether an object is a jQuery object.
432
+ */
433
+ isJquery(obj: any): obj is JQuery
434
+ isInputType(element: JQuery | HTMLElement, type: string | string[]): boolean
435
+ stringify(element: JQuery | HTMLElement, form: string): string
436
+ getElements(element: JQuery): JQuery | HTMLElement[]
437
+ getContainsSelector(text: string, filter?: string): JQuery.Selector
438
+ getFirstDeepestElement(elements: HTMLElement[], index?: number): HTMLElement
439
+ getWindowByElement(element: JQuery | HTMLElement): JQuery | HTMLElement
440
+ getReasonIsHidden(element: JQuery | HTMLElement): string
441
+ getFirstScrollableParent(element: JQuery | HTMLElement): JQuery | HTMLElement
442
+ getFirstFixedOrStickyPositionParent(element: JQuery | HTMLElement): JQuery | HTMLElement
443
+ getFirstStickyPositionParent(element: JQuery | HTMLElement): JQuery | HTMLElement
444
+ getCoordsByPosition(left: number, top: number, xPosition?: string, yPosition?: string): number
445
+ getElementPositioning(element: JQuery | HTMLElement): ElementPositioning
446
+ getElementAtPointFromViewport(doc: Document, x: number, y: number): Element | null
447
+ getElementCoordinatesByPosition(element: JQuery | HTMLElement, position: string): ElementCoordinates
448
+ getElementCoordinatesByPositionRelativeToXY(element: JQuery | HTMLElement, x: number, y: number): ElementPositioning
449
+ }
450
+
451
+ /**
452
+ * @see https://on.cypress.io/api/api-server
453
+ */
454
+ Server: {
455
+ defaults(options: Partial<ServerOptions>): void
456
+ }
457
+
458
+ /**
459
+ * @see https://on.cypress.io/screenshot-api
460
+ */
461
+ Screenshot: {
462
+ defaults(options: Partial<ScreenshotDefaultsOptions>): void
463
+ }
464
+
465
+ /**
466
+ * These events come from Cypress as it issues commands and reacts to their state. These are all useful to listen to for debugging purposes.
467
+ * @see https://on.cypress.io/catalog-of-events#App-Events
468
+ */
469
+ on: Actions
470
+
471
+ /**
472
+ * These events come from Cypress as it issues commands and reacts to their state. These are all useful to listen to for debugging purposes.
473
+ * @see https://on.cypress.io/catalog-of-events#App-Events
474
+ */
475
+ once: Actions
476
+
477
+ /**
478
+ * These events come from Cypress as it issues commands and reacts to their state. These are all useful to listen to for debugging purposes.
479
+ * @see https://on.cypress.io/catalog-of-events#App-Events
480
+ */
481
+ off: Actions
482
+ }
483
+
484
+ /**
485
+ * Chainable interface for non-array Subjects
486
+ */
487
+ interface Chainable<Subject = any> {
488
+ /**
489
+ * Create an assertion. Assertions are automatically retried until they pass or time out.
490
+ *
491
+ * @alias should
492
+ * @see https://on.cypress.io/and
493
+ */
494
+ and: Chainer<Subject>
495
+
496
+ /**
497
+ * Assign an alias for later use. Reference the alias later within a
498
+ * [cy.get()](https://on.cypress.io/get) or
499
+ * [cy.wait()](https://on.cypress.io/wait) command with a `@` prefix.
500
+ * You can alias DOM elements, routes, stubs and spies.
501
+ *
502
+ * @see https://on.cypress.io/as
503
+ * @see https://on.cypress.io/variables-and-aliases
504
+ * @see https://on.cypress.io/get
505
+ * @example
506
+ ```
507
+ // Get the aliased ‘todos’ elements
508
+ cy.get('ul#todos').as('todos')
509
+ //...hack hack hack...
510
+ // later retrieve the todos
511
+ cy.get('@todos')
512
+ ```
513
+ */
514
+ as(alias: string): Chainable<Subject>
515
+
516
+ /**
517
+ * Blur a focused element. This element must currently be in focus.
518
+ * If you want to ensure an element is focused before blurring,
519
+ * try using .focus() before .blur().
520
+ *
521
+ * @see https://on.cypress.io/blur
522
+ */
523
+ blur(options?: Partial<BlurOptions>): Chainable<Subject>
524
+
525
+ /**
526
+ * Check checkbox(es) or radio(s). This element must be an `<input>` with type `checkbox` or `radio`.
527
+ *
528
+ * @see https://on.cypress.io/check
529
+ * @example
530
+ * // Check checkbox element
531
+ * cy.get('[type="checkbox"]').check()
532
+ * // Check first radio element
533
+ * cy.get('[type="radio"]').first().check()
534
+ */
535
+ check(options?: Partial<CheckOptions>): Chainable<Subject>
536
+ /**
537
+ * Check checkbox(es) or radio(s). This element must be an `<input>` with type `checkbox` or `radio`.
538
+ *
539
+ * @see https://on.cypress.io/check
540
+ * @example
541
+ * // Select the radio with the value of ‘US’
542
+ * cy.get('[type="radio"]').check('US')
543
+ * // Check the checkboxes with the values ‘ga’ and ‘ca’
544
+ * cy.get('[type="checkbox"]').check(['ga', 'ca'])
545
+ */
546
+ check(value: string | string[], options?: Partial<CheckOptions>): Chainable<Subject>
547
+
548
+ /**
549
+ * Get the children of each DOM element within a set of DOM elements.
550
+ *
551
+ * @see https://on.cypress.io/children
552
+ */
553
+ children<E extends Node = HTMLElement>(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
554
+ children<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
555
+ children<E extends Node = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
556
+
557
+ /**
558
+ * Clear the value of an `input` or `textarea`.
559
+ * An alias for `.type({selectall}{backspace})`
560
+ *
561
+ * @see https://on.cypress.io/clear
562
+ */
563
+ clear(options?: Partial<ClearOptions>): Chainable<Subject>
564
+
565
+ /**
566
+ * Clear a specific browser cookie.
567
+ * Cypress automatically clears all cookies before each test to prevent state from being shared across tests. You shouldn’t need to use this command unless you’re using it to clear a specific cookie inside a single test.
568
+ *
569
+ * @see https://on.cypress.io/clearcookie
570
+ */
571
+ clearCookie(name: string, options?: Partial<Loggable & Timeoutable>): Chainable<null>
572
+
573
+ /**
574
+ * Clear all browser cookies.
575
+ * Cypress automatically clears all cookies before each test to prevent state from being shared across tests. You shouldn’t need to use this command unless you’re using it to clear a specific cookie inside a single test.
576
+ *
577
+ * @see https://on.cypress.io/clearcookies
578
+ */
579
+ clearCookies(options?: Partial<Loggable & Timeoutable>): Chainable<null>
580
+
581
+ /**
582
+ * Clear data in local storage.
583
+ * Cypress automatically runs this command before each test to prevent state from being
584
+ * shared across tests. You shouldn’t need to use this command unless you’re using it
585
+ * to clear localStorage inside a single test. Yields `localStorage` object.
586
+ *
587
+ * @see https://on.cypress.io/clearlocalstorage
588
+ * @param {string} [key] - name of a particular item to remove (optional).
589
+ * @example
590
+ ```
591
+ // Removes all local storage keys
592
+ cy.clearLocalStorage()
593
+ .should(ls => {
594
+ expect(ls.getItem('prop1')).to.be.null
595
+ })
596
+ // Removes item "todos"
597
+ cy.clearLocalStorage("todos")
598
+ ```
599
+ */
600
+ clearLocalStorage(key?: string): Chainable<Storage>
601
+ /**
602
+ * Clear keys in local storage that match given regular expression.
603
+ *
604
+ * @see https://on.cypress.io/clearlocalstorage
605
+ * @param {RegExp} re - regular expression to match.
606
+ * @example
607
+ ```
608
+ // Clears all local storage matching /app-/
609
+ cy.clearLocalStorage(/app-/)
610
+ ```
611
+ */
612
+ clearLocalStorage(re: RegExp): Chainable<Storage>
613
+ /**
614
+ * Clear data in local storage.
615
+ * Cypress automatically runs this command before each test to prevent state from being
616
+ * shared across tests. You shouldn’t need to use this command unless you’re using it
617
+ * to clear localStorage inside a single test. Yields `localStorage` object.
618
+ *
619
+ * @see https://on.cypress.io/clearlocalstorage
620
+ * @param {options} [object] - options object
621
+ * @example
622
+ ```
623
+ // Removes all local storage items, without logging
624
+ cy.clearLocalStorage({ log: false })
625
+ ```
626
+ */
627
+ clearLocalStorage(options: Partial<Loggable>): Chainable<Storage>
628
+ /**
629
+ * Clear data in local storage.
630
+ * Cypress automatically runs this command before each test to prevent state from being
631
+ * shared across tests. You shouldn’t need to use this command unless you’re using it
632
+ * to clear localStorage inside a single test. Yields `localStorage` object.
633
+ *
634
+ * @see https://on.cypress.io/clearlocalstorage
635
+ * @param {string} [key] - name of a particular item to remove (optional).
636
+ * @param {options} [object] - options object
637
+ * @example
638
+ ```
639
+ // Removes item "todos" without logging
640
+ cy.clearLocalStorage("todos", { log: false })
641
+ ```
642
+ */
643
+ clearLocalStorage(key: string, options: Partial<Loggable>): Chainable<Storage>
644
+
645
+ /**
646
+ * Click a DOM element.
647
+ *
648
+ * @see https://on.cypress.io/click
649
+ * @example
650
+ * cy.get('button').click() // Click on button
651
+ * cy.focused().click() // Click on el with focus
652
+ * cy.contains('Welcome').click() // Click on first el containing 'Welcome'
653
+ */
654
+ click(options?: Partial<ClickOptions>): Chainable<Subject>
655
+ /**
656
+ * Click a DOM element at specific corner / side.
657
+ *
658
+ * @param {PositionType} position - The position where the click should be issued.
659
+ * The `center` position is the default position.
660
+ * @see https://on.cypress.io/click
661
+ * @example
662
+ * cy.get('button').click('topRight')
663
+ */
664
+ click(position: PositionType, options?: Partial<ClickOptions>): Chainable<Subject>
665
+ /**
666
+ * Click a DOM element at specific coordinates
667
+ *
668
+ * @param {number} x The distance in pixels from the element’s left to issue the click.
669
+ * @param {number} y The distance in pixels from the element’s top to issue the click.
670
+ * @see https://on.cypress.io/click
671
+ * @example
672
+ ```
673
+ // The click below will be issued inside of the element
674
+ // (15px from the left and 40px from the top).
675
+ cy.get('button').click(15, 40)
676
+ ```
677
+ */
678
+ click(x: number, y: number, options?: Partial<ClickOptions>): Chainable<Subject>
679
+
680
+ /**
681
+ * `cy.clock()` overrides native global functions related to time allowing them to be controlled
682
+ * synchronously via [cy.tick()](https://on.cypress.io/tick) or the yielded clock object.
683
+ * This includes controlling:
684
+ * * `setTimeout`
685
+ * * `clearTimeout`
686
+ * * `setInterval`
687
+ * * `clearInterval`
688
+ * * `Date` Objects
689
+ *
690
+ * The clock starts at the unix epoch (timestamp of 0).
691
+ * This means that when you instantiate new Date in your application,
692
+ * it will have a time of January 1st, 1970.
693
+ *
694
+ * @see https://on.cypress.io/clock
695
+ */
696
+ clock(): Chainable<Clock>
697
+ /**
698
+ * Mocks global clock and sets current timestamp to the given value.
699
+ * Overrides all functions that deal with time.
700
+ *
701
+ * @see https://on.cypress.io/clock
702
+ * @example
703
+ * // your app code
704
+ * $('#date').text(new Date().toJSON())
705
+ * // from spec file
706
+ * const now = new Date(2017, 3, 14).getTime() // March 14, 2017 timestamp
707
+ * cy.clock(now)
708
+ * cy.visit('/index.html')
709
+ * cy.get('#date').contains('2017-03-14')
710
+ */
711
+ clock(now: number, options?: Loggable): Chainable<Clock>
712
+ /**
713
+ * Mocks global clock but only overrides specific functions.
714
+ *
715
+ * @see https://on.cypress.io/clock
716
+ * @example
717
+ * // keep current date but override "setTimeout" and "clearTimeout"
718
+ * cy.clock(null, ['setTimeout', 'clearTimeout'])
719
+ */
720
+ clock(now: number, functions?: Array<'setTimeout' | 'clearTimeout' | 'setInterval' | 'clearInterval' | 'Date'>, options?: Loggable): Chainable<Clock>
721
+ /**
722
+ * Mocks global clock and all functions.
723
+ *
724
+ * @see https://on.cypress.io/clock
725
+ * @example
726
+ * // mock clock but do not log this command
727
+ * cy.clock({ log: false })
728
+ */
729
+ clock(options: Loggable): Chainable<Clock>
730
+
731
+ /**
732
+ * Get the first DOM element that matches the selector (whether it be itself or one of its ancestors).
733
+ *
734
+ * @see https://on.cypress.io/closest
735
+ */
736
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
737
+ closest<E extends Node = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
738
+
739
+ /**
740
+ * Get the DOM element containing the text.
741
+ * DOM elements can contain more than the desired text and still match.
742
+ * Additionally, Cypress prefers some DOM elements over the deepest element found.
743
+ *
744
+ * @see https://on.cypress.io/contains
745
+ * @example
746
+ * // Yield el in .nav containing 'About'
747
+ * cy.get('.nav').contains('About')
748
+ * // Yield first el in document containing 'Hello'
749
+ * cy.contains('Hello')
750
+ * // you can use regular expression
751
+ * cy.contains(/^b\w+/)
752
+ * // yields <ul>...</ul>
753
+ * cy.contains('ul', 'apples')
754
+ * // tries to find the given text for up to 1 second
755
+ * cy.contains('my text to find', {timeout: 1000})
756
+ */
757
+ contains(content: string | number | RegExp, options?: Partial<Loggable & Timeoutable & CaseMatchable>): Chainable<Subject>
758
+ /**
759
+ * Get the child DOM element that contains given text.
760
+ *
761
+ * @see https://on.cypress.io/contains
762
+ * @example
763
+ * // Yield el in .nav containing 'About'
764
+ * cy.get('.nav').contains('About')
765
+ */
766
+ contains<E extends Node = HTMLElement>(content: string | number | RegExp): Chainable<JQuery<E>>
767
+ /**
768
+ * Get the DOM element with name "selector" containing the text or regular expression.
769
+ *
770
+ * @see https://on.cypress.io/contains
771
+ * @example
772
+ * // yields <ul>...</ul>
773
+ * cy.contains('ul', 'apples')
774
+ */
775
+ contains<K extends keyof HTMLElementTagNameMap>(selector: K, text: string | number | RegExp, options?: Partial<Loggable & Timeoutable & CaseMatchable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
776
+ /**
777
+ * Get the DOM element using CSS "selector" containing the text or regular expression.
778
+ *
779
+ * @see https://on.cypress.io/contains
780
+ * @example
781
+ * // yields <... class="foo">... apples ...</...>
782
+ * cy.contains('.foo', 'apples')
783
+ */
784
+ contains<E extends Node = HTMLElement>(selector: string, text: string | number | RegExp, options?: Partial<Loggable & Timeoutable & CaseMatchable>): Chainable<JQuery<E>>
785
+
786
+ /**
787
+ * Double-click a DOM element.
788
+ *
789
+ * @see https://on.cypress.io/dblclick
790
+ */
791
+ dblclick(options?: Partial<ClickOptions>): Chainable<Subject>
792
+ /**
793
+ * Double-click a DOM element at specific corner / side.
794
+ *
795
+ * @param {PositionType} position - The position where the click should be issued.
796
+ * The `center` position is the default position.
797
+ * @see https://on.cypress.io/dblclick
798
+ * @example
799
+ * cy.get('button').dblclick('topRight')
800
+ */
801
+ dblclick(position: PositionType, options?: Partial<ClickOptions>): Chainable<Subject>
802
+ /**
803
+ * Double-click a DOM element at specific coordinates
804
+ *
805
+ * @param {number} x The distance in pixels from the element’s left to issue the click.
806
+ * @param {number} y The distance in pixels from the element’s top to issue the click.
807
+ * @see https://on.cypress.io/dblclick
808
+ * @example
809
+ ```
810
+ // The click below will be issued inside of the element
811
+ // (15px from the left and 40px from the top).
812
+ cy.get('button').dblclick(15, 40)
813
+ ```
814
+ */
815
+ dblclick(x: number, y: number, options?: Partial<ClickOptions>): Chainable<Subject>
816
+ /**
817
+ * Right-click a DOM element.
818
+ *
819
+ * @see https://on.cypress.io/rightclick
820
+ */
821
+ rightclick(options?: Partial<ClickOptions>): Chainable<Subject>
822
+ /**
823
+ * Right-click a DOM element at specific corner / side.
824
+ *
825
+ * @param {PositionType} position - The position where the click should be issued.
826
+ * The `center` position is the default position.
827
+ * @see https://on.cypress.io/click
828
+ * @example
829
+ * cy.get('button').rightclick('topRight')
830
+ */
831
+ rightclick(position: PositionType, options?: Partial<ClickOptions>): Chainable<Subject>
832
+ /**
833
+ * Right-click a DOM element at specific coordinates
834
+ *
835
+ * @param {number} x The distance in pixels from the element’s left to issue the click.
836
+ * @param {number} y The distance in pixels from the element’s top to issue the click.
837
+ * @see https://on.cypress.io/rightclick
838
+ * @example
839
+ ```
840
+ // The click below will be issued inside of the element
841
+ // (15px from the left and 40px from the top).
842
+ cy.get('button').rightclick(15, 40)
843
+ ```
844
+ */
845
+ rightclick(x: number, y: number, options?: Partial<ClickOptions>): Chainable<Subject>
846
+
847
+ /**
848
+ * Set a debugger and log what the previous command yields.
849
+ *
850
+ * @see https://on.cypress.io/debug
851
+ */
852
+ debug(options?: Partial<Loggable>): Chainable<Subject>
853
+
854
+ /**
855
+ * Get the window.document of the page that is currently active.
856
+ *
857
+ * @see https://on.cypress.io/document
858
+ * @example
859
+ * cy.document()
860
+ * .its('contentType')
861
+ * .should('eq', 'text/html')
862
+ */
863
+ document(options?: Partial<Loggable>): Chainable<Document>
864
+
865
+ /**
866
+ * Iterate through an array like structure (arrays or objects with a length property).
867
+ *
868
+ * @see https://on.cypress.io/each
869
+ */
870
+ each<E extends Node = HTMLElement>(fn: (element: JQuery<E>, index: number, $list: E[]) => void): Chainable<JQuery<E>> // Can't properly infer type without breaking down Chainable
871
+ each(fn: (item: any, index: number, $list: any[]) => void): Chainable<Subject>
872
+
873
+ /**
874
+ * End a chain of commands
875
+ *
876
+ * @see https://on.cypress.io/end
877
+ */
878
+ end(): Chainable<null>
879
+
880
+ /**
881
+ * Get A DOM element at a specific index in an array of elements.
882
+ *
883
+ * @see https://on.cypress.io/eq
884
+ * @param {Number} index A number indicating the index to find the element at within an array of elements. A negative number counts index from the end of the list.
885
+ * @example
886
+ * cy.get('tbody>tr').eq(0) // Yield first 'tr' in 'tbody'
887
+ * cy.get('ul>li').eq('4') // Yield fifth 'li' in 'ul'
888
+ * cy.get('li').eq(-2) // Yields second from last 'li' element
889
+ */
890
+ eq<E extends Node = HTMLElement>(index: number, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
891
+
892
+ /**
893
+ * Execute a system command.
894
+ * @see https://on.cypress.io/exec
895
+ */
896
+ exec(command: string, options?: Partial<ExecOptions>): Chainable<Exec>
897
+
898
+ /**
899
+ * Get the DOM elements that match a specific selector. Opposite of `.not()`
900
+ *
901
+ * @see https://on.cypress.io/filter
902
+ */
903
+ filter<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>> // automatically returns the correct HTMLElement type
904
+ /**
905
+ * Get the DOM elements that match a specific selector. Opposite of `.not()`
906
+ *
907
+ * @see https://on.cypress.io/filter
908
+ */
909
+ filter<E extends Node = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
910
+ /**
911
+ * Get the DOM elements that match a specific selector. Opposite of `.not()`
912
+ *
913
+ * @see https://on.cypress.io/filter
914
+ */
915
+ filter<E extends Node = HTMLElement>(fn: (index: number, element: E) => boolean, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
916
+
917
+ /**
918
+ * Get the descendent DOM elements of a specific selector.
919
+ *
920
+ * @see https://on.cypress.io/find
921
+ * @example
922
+ * cy.get('.article').find('footer') // Yield 'footer' within '.article'
923
+ */
924
+ find<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
925
+ /**
926
+ * Finds the descendent DOM elements with the given selector.
927
+ *
928
+ * @see https://on.cypress.io/find
929
+ * @example
930
+ * // Find the li’s within the nav
931
+ * cy.get('.left-nav>.nav').find('>li')
932
+ */
933
+ find<E extends Node = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
934
+
935
+ /**
936
+ * Get the first DOM element within a set of DOM elements.
937
+ *
938
+ * @see https://on.cypress.io/first
939
+ */
940
+ first(options?: Partial<Loggable & Timeoutable>): Chainable<Subject>
941
+
942
+ /**
943
+ * Load a fixed set of data located in a file.
944
+ *
945
+ * @see https://on.cypress.io/fixture
946
+ */
947
+ fixture<Contents = any>(path: string, options?: Partial<Timeoutable>): Chainable<Contents> // no log?
948
+ /**
949
+ * Load a fixed set of data located in a file with given encoding.
950
+ *
951
+ * @see https://on.cypress.io/fixture
952
+ */
953
+ fixture<Contents = any>(path: string, encoding: Encodings, options?: Partial<Timeoutable>): Chainable<Contents> // no log?
954
+
955
+ /**
956
+ * Focus on a DOM element.
957
+ *
958
+ * @see https://on.cypress.io/focus
959
+ * @example
960
+ * cy.get('input').first().focus() // Focus on the first input
961
+ */
962
+ focus(options?: Partial<Loggable & Timeoutable>): Chainable<Subject>
963
+
964
+ /**
965
+ * Get the DOM element that is currently focused.
966
+ *
967
+ * @see https://on.cypress.io/focused
968
+ * @example
969
+ * // Get the element that is focused
970
+ * cy.focused().then(function($el) {
971
+ * // do something with $el
972
+ * })
973
+ * // Blur the element with focus
974
+ * cy.focused().blur()
975
+ * // Make an assertion on the focused element
976
+ * cy.focused().should('have.attr', 'name', 'username')
977
+ */
978
+ focused(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery>
979
+
980
+ /**
981
+ * Get one or more DOM elements by node name: input, button, etc.
982
+ * @see https://on.cypress.io/get
983
+ * @example
984
+ * cy.get('input').should('be.disabled')
985
+ * cy.get('button').should('be.visible')
986
+ */
987
+ get<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable & Withinable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
988
+ /**
989
+ * Get one or more DOM elements by selector.
990
+ * The querying behavior of this command matches exactly how $(…) works in jQuery.
991
+ * @see https://on.cypress.io/get
992
+ * @example
993
+ * cy.get('.list>li') // Yield the <li>'s in <.list>
994
+ * cy.get('ul li:first').should('have.class', 'active')
995
+ * cy.get('.dropdown-menu').click()
996
+ */
997
+ get<E extends Node = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable & Withinable>): Chainable<JQuery<E>>
998
+ /**
999
+ * Get one or more DOM elements by alias.
1000
+ * @see https://on.cypress.io/get#Alias
1001
+ * @example
1002
+ * // Get the aliased ‘todos’ elements
1003
+ * cy.get('ul#todos').as('todos')
1004
+ * //...hack hack hack...
1005
+ * //later retrieve the todos
1006
+ * cy.get('@todos')
1007
+ */
1008
+ get<S = any>(alias: string, options?: Partial<Loggable & Timeoutable & Withinable>): Chainable<S>
1009
+
1010
+ /**
1011
+ * Get a browser cookie by its name.
1012
+ *
1013
+ * @see https://on.cypress.io/getcookie
1014
+ */
1015
+ getCookie(name: string, options?: Partial<Loggable & Timeoutable>): Chainable<Cookie | null>
1016
+
1017
+ /**
1018
+ * Get all of the browser cookies.
1019
+ *
1020
+ * @see https://on.cypress.io/getcookies
1021
+ */
1022
+ getCookies(options?: Partial<Loggable & Timeoutable>): Chainable<Cookie[]>
1023
+
1024
+ /**
1025
+ * Navigate back or forward to the previous or next URL in the browser’s history.
1026
+ *
1027
+ * @see https://on.cypress.io/go
1028
+ */
1029
+ go(direction: HistoryDirection | number, options?: Partial<Loggable & Timeoutable>): Chainable<Window>
1030
+
1031
+ /**
1032
+ * Get the current URL hash of the page that is currently active.
1033
+ *
1034
+ * @see https://on.cypress.io/hash
1035
+ */
1036
+ hash(options?: Partial<Loggable & Timeoutable>): Chainable<string>
1037
+
1038
+ /**
1039
+ * Invoke a function on the previously yielded subject.
1040
+ *
1041
+ * @see https://on.cypress.io/invoke
1042
+ */
1043
+ invoke<K extends keyof Subject, F extends ((...args: any[]) => any) & Subject[K], R = ReturnType<F>>(
1044
+ functionName: K,
1045
+ ...args: any[]
1046
+ ): Chainable<R>
1047
+ invoke<K extends keyof Subject, F extends ((...args: any[]) => any) & Subject[K], R = ReturnType<F>>(
1048
+ options: Loggable,
1049
+ functionName: K,
1050
+ ...args: any[]
1051
+ ): Chainable<R>
1052
+
1053
+ /**
1054
+ * Invoke a function in an array of functions.
1055
+ * @see https://on.cypress.io/invoke
1056
+ */
1057
+ invoke<T extends (...args: any[]) => any, Subject extends T[]>(index: number): Chainable<ReturnType<T>>
1058
+ invoke<T extends (...args: any[]) => any, Subject extends T[]>(options: Loggable, index: number): Chainable<ReturnType<T>>
1059
+
1060
+ /**
1061
+ * Invoke a function on the previously yielded subject by a property path.
1062
+ * Property path invocation cannot be strongly-typed.
1063
+ * Invoking by a property path will always result in any.
1064
+ *
1065
+ * @see https://on.cypress.io/invoke
1066
+ */
1067
+ invoke(propertyPath: string, ...args: any[]): Chainable
1068
+
1069
+ /**
1070
+ * Get a property’s value on the previously yielded subject.
1071
+ *
1072
+ * @see https://on.cypress.io/its
1073
+ * @example
1074
+ * // Get the 'width' property
1075
+ * cy.wrap({width: '50'}).its('width')
1076
+ * // Drill into nested properties by using dot notation
1077
+ * cy.wrap({foo: {bar: {baz: 1}}}).its('foo.bar.baz')
1078
+ */
1079
+ its<K extends keyof Subject>(propertyName: K, options?: Loggable): Chainable<Subject[K]>
1080
+ its(propertyPath: string, options?: Loggable): Chainable
1081
+
1082
+ /**
1083
+ * Get a value by index from an array yielded from the previous command.
1084
+ * @see https://on.cypress.io/its
1085
+ * @example
1086
+ * cy.wrap(['a', 'b']).its(1).should('equal', 'b')
1087
+ */
1088
+ its<T, Subject extends T[]>(index: number, options?: Loggable): Chainable<T>
1089
+
1090
+ /**
1091
+ * Get the last DOM element within a set of DOM elements.
1092
+ *
1093
+ * @see https://on.cypress.io/last
1094
+ */
1095
+ last<E extends Node = HTMLElement>(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1096
+
1097
+ /**
1098
+ * Get the global `window.location` object of the page that is currently active.
1099
+ *
1100
+ * @see https://on.cypress.io/location
1101
+ * @example
1102
+ * cy.location() // Get location object
1103
+ */
1104
+ location(options?: Partial<Loggable & Timeoutable>): Chainable<Location>
1105
+ /**
1106
+ * Get a part of the global `window.location` object of the page that is currently active.
1107
+ *
1108
+ * @see https://on.cypress.io/location
1109
+ * @example
1110
+ * cy.location('host') // Get the host of the location object
1111
+ * cy.location('port') // Get the port of the location object
1112
+ * // Assert on the href of the location
1113
+ * cy.location('href').should('contain', '/tag/tutorials')
1114
+ */
1115
+ location<K extends keyof Location>(key: K, options?: Partial<Loggable & Timeoutable>): Chainable<Location[K]>
1116
+
1117
+ /**
1118
+ * Print a message to the Cypress Command Log.
1119
+ *
1120
+ * @see https://on.cypress.io/log
1121
+ */
1122
+ log(message: string, ...args: any[]): Chainable<null>
1123
+
1124
+ /**
1125
+ * Get the immediately following sibling of each DOM element within a set of DOM elements.
1126
+ *
1127
+ * @see https://on.cypress.io/next
1128
+ */
1129
+ next<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
1130
+ /**
1131
+ * Get the immediately following sibling of each DOM element within a set of DOM elements.
1132
+ *
1133
+ * @see https://on.cypress.io/next
1134
+ * @example
1135
+ * cy.get('nav a:first').next()
1136
+ */
1137
+ next<E extends Node = HTMLElement>(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1138
+ /**
1139
+ * Get the immediately following sibling of each DOM element within a set of DOM elements that match selector
1140
+ *
1141
+ * @see https://on.cypress.io/next
1142
+ * @example
1143
+ * cy.get('nav a:first').next('.menu-item)
1144
+ */
1145
+ next<E extends Node = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1146
+
1147
+ /**
1148
+ * Get all following siblings of each DOM element in a set of matched DOM elements.
1149
+ *
1150
+ * @see https://on.cypress.io/nextall
1151
+ */
1152
+ nextAll<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
1153
+ /**
1154
+ * Get all following siblings of each DOM element in a set of matched DOM elements.
1155
+ *
1156
+ * @see https://on.cypress.io/nextall
1157
+ */
1158
+ nextAll<E extends HTMLElement = HTMLElement>(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1159
+ /**
1160
+ * Get all following siblings of each DOM element in a set of matched DOM elements.
1161
+ *
1162
+ * @see https://on.cypress.io/nextall
1163
+ */
1164
+ nextAll<E extends HTMLElement = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1165
+
1166
+ /**
1167
+ * Get all following siblings of each DOM element in a set of matched DOM elements up to, but not including, the element provided.
1168
+ *
1169
+ * @see https://on.cypress.io/nextuntil
1170
+ */
1171
+ nextUntil<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
1172
+ /**
1173
+ * Get all following siblings of each DOM element in a set of matched DOM elements up to, but not including, the element provided.
1174
+ *
1175
+ * @see https://on.cypress.io/nextuntil
1176
+ */
1177
+ nextUntil<E extends HTMLElement = HTMLElement>(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1178
+ /**
1179
+ * Get all following siblings of each DOM element in a set of matched DOM elements up to, but not including, the element provided.
1180
+ *
1181
+ * @see https://on.cypress.io/nextuntil
1182
+ */
1183
+ nextUntil<E extends HTMLElement = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1184
+
1185
+ /**
1186
+ * Filter DOM element(s) from a set of DOM elements. Opposite of `.filter()`
1187
+ *
1188
+ * @see https://on.cypress.io/not
1189
+ */
1190
+ not(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery>
1191
+
1192
+ /**
1193
+ * These events come from Cypress as it issues commands and reacts to their state. These are all useful to listen to for debugging purposes.
1194
+ * @see https://on.cypress.io/catalog-of-events#App-Events
1195
+ */
1196
+ on: Actions
1197
+
1198
+ /**
1199
+ * These events come from Cypress as it issues commands and reacts to their state. These are all useful to listen to for debugging purposes.
1200
+ * @see https://on.cypress.io/catalog-of-events#App-Events
1201
+ */
1202
+ once: Actions
1203
+
1204
+ /**
1205
+ * These events come from Cypress as it issues commands and reacts to their state. These are all useful to listen to for debugging purposes.
1206
+ * @see https://on.cypress.io/catalog-of-events#App-Events
1207
+ */
1208
+ off: Actions
1209
+
1210
+ /**
1211
+ * Get the parent DOM element of a set of DOM elements.
1212
+ *
1213
+ * @see https://on.cypress.io/parent
1214
+ */
1215
+ parent<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
1216
+ /**
1217
+ * Get the parent DOM element of a set of DOM elements.
1218
+ *
1219
+ * @see https://on.cypress.io/parent
1220
+ */
1221
+ parent<E extends Node = HTMLElement>(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1222
+ /**
1223
+ * Get the parent DOM element of a set of DOM elements.
1224
+ *
1225
+ * @see https://on.cypress.io/parent
1226
+ */
1227
+ parent<E extends Node = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1228
+
1229
+ /**
1230
+ * Get the parent DOM elements of a set of DOM elements.
1231
+ *
1232
+ * @see https://on.cypress.io/parents
1233
+ */
1234
+ parents<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
1235
+ /**
1236
+ * Get the parent DOM elements of a set of DOM elements.
1237
+ *
1238
+ * @see https://on.cypress.io/parents
1239
+ */
1240
+ parents<E extends Node = HTMLElement>(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1241
+ /**
1242
+ * Get the parent DOM elements of a set of DOM elements.
1243
+ *
1244
+ * @see https://on.cypress.io/parents
1245
+ */
1246
+ parents<E extends Node = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1247
+
1248
+ /**
1249
+ * Get all ancestors of each DOM element in a set of matched DOM elements up to, but not including, the element provided.
1250
+ *
1251
+ * @see https://on.cypress.io/parentsuntil
1252
+ */
1253
+ parentsUntil<K extends keyof HTMLElementTagNameMap>(selector: K, filter?: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
1254
+ /**
1255
+ * Get all ancestors of each DOM element in a set of matched DOM elements up to, but not including, the element provided.
1256
+ *
1257
+ * @see https://on.cypress.io/parentsuntil
1258
+ */
1259
+ parentsUntil<E extends Node = HTMLElement>(selector: string, filter?: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1260
+ /**
1261
+ * Get all ancestors of each DOM element in a set of matched DOM elements up to, but not including, the element provided.
1262
+ *
1263
+ * @see https://on.cypress.io/parentsuntil
1264
+ */
1265
+ parentsUntil<E extends Node = HTMLElement>(element: E | JQuery<E>, filter?: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1266
+
1267
+ /**
1268
+ * Stop cy commands from running and allow interaction with the application under test. You can then "resume" running all commands or choose to step through the "next" commands from the Command Log.
1269
+ * This does not set a `debugger` in your code, unlike `.debug()`
1270
+ *
1271
+ * @see https://on.cypress.io/pause
1272
+ */
1273
+ pause(options?: Partial<Loggable>): Chainable<Subject>
1274
+
1275
+ /**
1276
+ * Get the immediately preceding sibling of each element in a set of the elements.
1277
+ *
1278
+ * @example
1279
+ * cy.get('nav').prev('a') // Yield previous 'a'
1280
+ * @see https://on.cypress.io/prev
1281
+ */
1282
+ prev<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
1283
+ /**
1284
+ * Get the immediately preceding sibling of each element in a set of the elements.
1285
+ *
1286
+ * @example
1287
+ * cy.get('li').prev() // Yield previous 'li'
1288
+ * @see https://on.cypress.io/prev
1289
+ */
1290
+ prev<E extends Node = HTMLElement>(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1291
+ /**
1292
+ * Get the immediately preceding sibling of each element in a set of the elements that match selector.
1293
+ *
1294
+ * @example
1295
+ * cy.get('nav').prev('.menu-item') // Yield previous '.menu-item'
1296
+ * @see https://on.cypress.io/prev
1297
+ */
1298
+ prev<E extends Node = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1299
+
1300
+ /**
1301
+ * Get all previous siblings of each DOM element in a set of matched DOM elements.
1302
+ * > The querying behavior of this command matches exactly how [.prevAll()](http://api.jquery.com/prevAll) works in jQuery.
1303
+ *
1304
+ * @see https://on.cypress.io/prevall
1305
+ */
1306
+ prevAll<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
1307
+ /**
1308
+ * Get all previous siblings of each DOM element in a set of matched DOM elements.
1309
+ * > The querying behavior of this command matches exactly how [.prevAll()](http://api.jquery.com/prevAll) works in jQuery.
1310
+ *
1311
+ * @see https://on.cypress.io/prevall
1312
+ */
1313
+ prevAll<E extends Node = HTMLElement>(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1314
+ /**
1315
+ * Get all previous siblings of each DOM element in a set of matched DOM elements.
1316
+ * > The querying behavior of this command matches exactly how [.prevAll()](http://api.jquery.com/prevAll) works in jQuery.
1317
+ *
1318
+ * @see https://on.cypress.io/prevall
1319
+ */
1320
+ prevAll<E extends Node = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1321
+
1322
+ /**
1323
+ * Get all previous siblings of each DOM element in a set of matched DOM elements up to, but not including, the element provided.
1324
+ * > The querying behavior of this command matches exactly how [.prevUntil()](http://api.jquery.com/prevUntil) works in jQuery.
1325
+ *
1326
+ * @see https://on.cypress.io/prevall
1327
+ */
1328
+ prevUntil<K extends keyof HTMLElementTagNameMap>(selector: K, filter?: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
1329
+ /**
1330
+ * Get all previous siblings of each DOM element in a set of matched DOM elements up to, but not including, the element provided.
1331
+ * > The querying behavior of this command matches exactly how [.prevUntil()](http://api.jquery.com/prevUntil) works in jQuery.
1332
+ *
1333
+ * @see https://on.cypress.io/prevall
1334
+ */
1335
+ prevUntil<E extends Node = HTMLElement>(selector: string, filter?: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1336
+ /**
1337
+ * Get all previous siblings of each DOM element in a set of matched DOM elements up to, but not including, the element provided.
1338
+ * > The querying behavior of this command matches exactly how [.prevUntil()](http://api.jquery.com/prevUntil) works in jQuery.
1339
+ *
1340
+ * @see https://on.cypress.io/prevall
1341
+ */
1342
+ prevUntil<E extends Node = HTMLElement>(element: E | JQuery<E>, filter?: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1343
+
1344
+ /**
1345
+ * Read a file and yield its contents.
1346
+ *
1347
+ * @see https://on.cypress.io/readfile
1348
+ */
1349
+ readFile<Contents = any>(filePath: string, options?: Partial<Loggable & Timeoutable>): Chainable<Contents>
1350
+ /**
1351
+ * Read a file with given encoding and yield its contents.
1352
+ *
1353
+ * @see https://on.cypress.io/readfile
1354
+ * @example
1355
+ * cy.readFile('foo.json', 'utf8')
1356
+ */
1357
+ readFile<Contents = any>(filePath: string, encoding: Encodings, options?: Partial<Loggable & Timeoutable>): Chainable<Contents>
1358
+
1359
+ /**
1360
+ * Reload the page.
1361
+ *
1362
+ * @see https://on.cypress.io/reload
1363
+ * @example
1364
+ * cy.reload()
1365
+ */
1366
+ reload(options?: Partial<Loggable & Timeoutable>): Chainable<Window>
1367
+ /**
1368
+ * Reload the page without cache
1369
+ *
1370
+ * @see https://on.cypress.io/reload
1371
+ * @param {Boolean} forceReload Whether to reload the current page without using the cache. true forces the reload without cache.
1372
+ * @example
1373
+ * // Reload the page without using the cache
1374
+ * cy.visit('http://localhost:3000/admin')
1375
+ * cy.reload(true)
1376
+ */
1377
+ reload(forceReload: boolean): Chainable<Window>
1378
+
1379
+ /**
1380
+ * Make an HTTP GET request.
1381
+ *
1382
+ * @see https://on.cypress.io/request
1383
+ * @example
1384
+ * cy.request('http://dev.local/seed')
1385
+ */
1386
+ request(url: string, body?: RequestBody): Chainable<Response>
1387
+ /**
1388
+ * Make an HTTP request with specific method.
1389
+ *
1390
+ * @see https://on.cypress.io/request
1391
+ * @example
1392
+ * cy.request('POST', 'http://localhost:8888/users', {name: 'Jane'})
1393
+ */
1394
+ request(method: HttpMethod, url: string, body?: RequestBody): Chainable<Response>
1395
+ /**
1396
+ * Make an HTTP request with specific behavior.
1397
+ *
1398
+ * @see https://on.cypress.io/request
1399
+ * @example
1400
+ * cy.request({
1401
+ * url: '/dashboard',
1402
+ * followRedirect: false // turn off following redirects
1403
+ * })
1404
+ */
1405
+ request(options: Partial<RequestOptions>): Chainable<Response>
1406
+
1407
+ /**
1408
+ * Get the root DOM element.
1409
+ * The root element yielded is `<html>` by default.
1410
+ * However, when calling `.root()` from a `.within()` command,
1411
+ * the root element will point to the element you are "within".
1412
+ *
1413
+ * @see https://on.cypress.io/root
1414
+ */
1415
+ root<E extends Node = HTMLHtmlElement>(options?: Partial<Loggable>): Chainable<JQuery<E>> // can't do better typing unless we ignore the `.within()` case
1416
+
1417
+ /**
1418
+ * Use `cy.route()` to manage the behavior of network requests.
1419
+ *
1420
+ * @see https://on.cypress.io/route
1421
+ * @example
1422
+ * cy.server()
1423
+ * cy.route('https://localhost:7777/users', [{id: 1, name: 'Pat'}])
1424
+ */
1425
+ route(url: string | RegExp, response?: string | object): Chainable<null>
1426
+ /**
1427
+ * Spy or stub request with specific method and url.
1428
+ *
1429
+ * @see https://on.cypress.io/route
1430
+ * @example
1431
+ * cy.server()
1432
+ * // spy on POST /todos requests
1433
+ * cy.route('POST', '/todos').as('add-todo')
1434
+ */
1435
+ route(method: string, url: string | RegExp, response?: string | object): Chainable<null>
1436
+ /**
1437
+ * Set a route by returning an object literal from a callback function.
1438
+ * Functions that return a Promise will automatically be awaited.
1439
+ *
1440
+ * @see https://on.cypress.io/route
1441
+ * @example
1442
+ * cy.server()
1443
+ * cy.route(() => {
1444
+ * // your logic here
1445
+ * // return an appropriate routing object here
1446
+ * return {
1447
+ * method: 'POST',
1448
+ * url: '/comments',
1449
+ * response: this.commentsFixture
1450
+ * }
1451
+ * })
1452
+ */
1453
+ route(fn: () => RouteOptions): Chainable<null>
1454
+ /**
1455
+ * Spy or stub a given route.
1456
+ *
1457
+ * @see https://on.cypress.io/route
1458
+ * @example
1459
+ * cy.server()
1460
+ * cy.route({
1461
+ * method: 'DELETE',
1462
+ * url: '/users',
1463
+ * status: 412,
1464
+ * delay: 1000
1465
+ * // and other options, see documentation
1466
+ * })
1467
+ */
1468
+ route(options: Partial<RouteOptions>): Chainable<null>
1469
+
1470
+ /**
1471
+ * Take a screenshot of the application under test and the Cypress Command Log.
1472
+ *
1473
+ * @see https://on.cypress.io/screenshot
1474
+ * @example
1475
+ * cy.screenshot()
1476
+ * cy.get(".post").screenshot()
1477
+ */
1478
+ screenshot(options?: Partial<Loggable & Timeoutable & ScreenshotOptions>): Chainable<null>
1479
+ /**
1480
+ * Take a screenshot of the application under test and the Cypress Command Log and save under given filename.
1481
+ *
1482
+ * @see https://on.cypress.io/screenshot
1483
+ * @example
1484
+ * cy.get(".post").screenshot("post-element")
1485
+ */
1486
+ screenshot(fileName: string, options?: Partial<Loggable & Timeoutable & ScreenshotOptions>): Chainable<null>
1487
+
1488
+ /**
1489
+ * Scroll an element into view.
1490
+ *
1491
+ * @see https://on.cypress.io/scrollintoview
1492
+ */
1493
+ scrollIntoView(options?: Partial<ScrollIntoViewOptions>): Chainable<Subject>
1494
+
1495
+ /**
1496
+ * Scroll to a specific position.
1497
+ *
1498
+ * @see https://on.cypress.io/scrollto
1499
+ */
1500
+ scrollTo(position: PositionType, options?: Partial<ScrollToOptions>): Chainable<Subject>
1501
+ /**
1502
+ * Scroll to a specific X,Y position.
1503
+ *
1504
+ * @see https://on.cypress.io/scrollto
1505
+ */
1506
+ scrollTo(x: number | string, y: number | string, options?: Partial<ScrollToOptions>): Chainable<Subject>
1507
+
1508
+ /**
1509
+ * Select an `<option>` with specific text within a `<select>`.
1510
+ *
1511
+ * @see https://on.cypress.io/select
1512
+ */
1513
+ select(text: string | string[], options?: Partial<SelectOptions>): Chainable<Subject>
1514
+ /**
1515
+ * Select an `<option>` with specific value(s) within a `<select>`.
1516
+ *
1517
+ * @see https://on.cypress.io/select
1518
+ */
1519
+ select(value: string | string[], options?: Partial<SelectOptions>): Chainable<Subject>
1520
+
1521
+ /**
1522
+ * Start a server to begin routing responses to `cy.route()` and `cy.request()`.
1523
+ *
1524
+ * @example
1525
+ * // start server
1526
+ * cy.server()
1527
+ * // get default server options
1528
+ * cy.server().should((server) => {
1529
+ * expect(server.delay).to.eq(0)
1530
+ * expect(server.method).to.eq('GET')
1531
+ * expect(server.status).to.eq(200)
1532
+ * // and many others options
1533
+ * })
1534
+ *
1535
+ * @see https://on.cypress.io/server
1536
+ */
1537
+ server(options?: Partial<ServerOptions>): Chainable<ServerOptions>
1538
+
1539
+ /**
1540
+ * Set a browser cookie.
1541
+ *
1542
+ * @see https://on.cypress.io/setcookie
1543
+ */
1544
+ setCookie(name: string, value: string, options?: Partial<SetCookieOptions>): Chainable<Cookie>
1545
+
1546
+ /**
1547
+ * Create an assertion. Assertions are automatically retried until they pass or time out.
1548
+ *
1549
+ * @see https://on.cypress.io/should
1550
+ * @example
1551
+ * // Assert on the href of the location
1552
+ * cy.location('href').should('contain', '/tag/tutorials/')
1553
+ */
1554
+ should: Chainer<Subject>
1555
+
1556
+ /**
1557
+ * Get sibling DOM elements.
1558
+ *
1559
+ * @see https://on.cypress.io/siblings
1560
+ * @example
1561
+ * cy.get('td').siblings('a') // Yield all link siblings of "td"
1562
+ */
1563
+ siblings<K extends keyof HTMLElementTagNameMap>(selector: K, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<HTMLElementTagNameMap[K]>>
1564
+ /**
1565
+ * Get all sibling DOM elements.
1566
+ *
1567
+ * @see https://on.cypress.io/siblings
1568
+ * @example
1569
+ * cy.get('td').siblings() // Yield all siblings of "td"
1570
+ */
1571
+ siblings<E extends Node = HTMLElement>(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1572
+ /**
1573
+ * Get all sibling DOM elements that match given selector.
1574
+ *
1575
+ * @see https://on.cypress.io/siblings
1576
+ * @example
1577
+ * // Yield all elements with class "foo" that are siblings of "td"
1578
+ * cy.get('td').siblings('.foo')
1579
+ */
1580
+ siblings<E extends Node = HTMLElement>(selector: string, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
1581
+
1582
+ /**
1583
+ * Returns a new spy function.
1584
+ * > Note: `.spy()` assumes you are already familiar with our guide: [Stubs, Spies, and Clocks](https://on.cypress.io/stubs-spies-and-clocks)
1585
+ *
1586
+ * @see https://on.cypress.io/spy
1587
+ * @example
1588
+ * const fn = cy.spy() // returns "dumb" spy function
1589
+ * fn(42)
1590
+ * expect(fn).to.have.been.calledOnce
1591
+ * expect(fn).to.have.always.been.calledWithExactly(42)
1592
+ */
1593
+ spy(): Agent<sinon.SinonSpy>
1594
+ /**
1595
+ * Wraps existing function and spies on it, while passing arguments and results.
1596
+ * @see https://on.cypress.io/spy
1597
+ * @example
1598
+ * const add = (a, b) => a + b
1599
+ * const spy = cy.spy(add)
1600
+ * expect(spy(2, 3)).to.equal(5)
1601
+ * expect(spy).to.have.been.calledWithExactly(2, 3)
1602
+ */
1603
+ spy(func: (...args: any[]) => any): Agent<sinon.SinonSpy>
1604
+ /**
1605
+ * Spy on a method.
1606
+ * @see https://on.cypress.io/spy
1607
+ * @example
1608
+ * // assume App.start calls util.addListeners
1609
+ * cy.spy(util, 'addListeners')
1610
+ * App.start()
1611
+ * expect(util.addListeners).to.be.called
1612
+ */
1613
+ spy<T>(obj: T, method: keyof T): Agent<sinon.SinonSpy>
1614
+
1615
+ /**
1616
+ * Replace a function, record its usage and control its behavior.
1617
+ * > Note: `.stub()` assumes you are already familiar with our guide:
1618
+ * [Stubs, Spies, and Clocks](https://on.cypress.io/stubs-spies-and-clocks)
1619
+ *
1620
+ * @see https://on.cypress.io/stub
1621
+ * @example
1622
+ * const fn = cy.stub() // stub without any arguments acts like a spy
1623
+ * fn(42)
1624
+ * expect(fn).to.have.been.calledOnce
1625
+ * expect(fn).to.have.always.been.calledWithExactly(42)
1626
+ */
1627
+ stub(): Agent<sinon.SinonStub>
1628
+ /**
1629
+ * Stubs all the object’s methods.
1630
+ *
1631
+ * @see https://on.cypress.io/stub
1632
+ * @example
1633
+ * const o = {
1634
+ * toString () {
1635
+ * return 'foo'
1636
+ * }
1637
+ * }
1638
+ * expect(o.toString()).to.equal('foo')
1639
+ * cy.stub(o)
1640
+ * // because stub does not call original function
1641
+ * expect(o.toString()).to.equal(undefined)
1642
+ * expect(o.toString).to.have.been.calledOnce
1643
+ */
1644
+ stub(obj: any): Agent<sinon.SinonStub>
1645
+ /**
1646
+ * Stubs single method of an object.
1647
+ *
1648
+ * @see https://on.cypress.io/stub
1649
+ * @example
1650
+ * const o = {}
1651
+ * expect(o.toString()).to.equal('[object Object]')
1652
+ * cy.stub(o, 'toString').callsFake(() => 'foo')
1653
+ * expect(o.toString()).to.equal('foo')
1654
+ * expect(o.toString).to.have.been.calledOnce
1655
+ */
1656
+ stub<T>(obj: T, method: keyof T): Agent<sinon.SinonStub>
1657
+ /**
1658
+ * Stubs a method on an object
1659
+ *
1660
+ * @deprecated Use `cy.stub(object, name).callsFake(fn)` instead
1661
+ */
1662
+ stub<T>(obj: T, method: keyof T, func: (...args: any[]) => any): Agent<sinon.SinonStub>
1663
+
1664
+ /**
1665
+ * Submit a form.
1666
+ *
1667
+ * @see https://on.cypress.io/submit
1668
+ */
1669
+ submit(options?: Partial<Loggable & Timeoutable>): Chainable<Subject>
1670
+
1671
+ /**
1672
+ * Expand an array into multiple arguments.
1673
+ * @see https://on.cypress.io/spread
1674
+ * @example
1675
+ * cy.getCookies().spread((cookie1, cookie2, cookie3) => {
1676
+ * // each cookie is now an individual argument
1677
+ * })
1678
+ */
1679
+ spread<S extends object | any[] | string | number | boolean>(fn: (...args: any[]) => S): Chainable<S>
1680
+ /**
1681
+ * Expand an array into multiple arguments.
1682
+ * @see https://on.cypress.io/spread
1683
+ * @example
1684
+ * cy.getCookies().spread((cookie1, cookie2, cookie3) => {
1685
+ * // each cookie is now an individual argument
1686
+ * })
1687
+ */
1688
+ spread(fn: (...args: any[]) => void): Chainable<Subject>
1689
+
1690
+ /**
1691
+ * Run a task in Node via the plugins file.
1692
+ *
1693
+ * @see https://on.cypress.io/task
1694
+ */
1695
+ task(event: string, arg?: any, options?: Partial<Loggable & Timeoutable>): Chainable<Subject>
1696
+
1697
+ /**
1698
+ * Enables you to work with the subject yielded from the previous command.
1699
+ *
1700
+ * @see https://on.cypress.io/then
1701
+ */
1702
+ then<S>(fn: (this: ObjectLike, currentSubject: Subject) => Chainable<S>): Chainable<S>
1703
+ /**
1704
+ * Enables you to work with the subject yielded from the previous command.
1705
+ *
1706
+ * @see https://on.cypress.io/then
1707
+ */
1708
+ then<S>(options: Partial<Timeoutable>, fn: (this: ObjectLike, currentSubject: Subject) => Chainable<S>): Chainable<S>
1709
+ /**
1710
+ * Enables you to work with the subject yielded from the previous command / promise.
1711
+ *
1712
+ * @see https://on.cypress.io/then
1713
+ */
1714
+ then<S>(fn: (this: ObjectLike, currentSubject: Subject) => PromiseLike<S>): Chainable<S>
1715
+ /**
1716
+ * Enables you to work with the subject yielded from the previous command / promise.
1717
+ *
1718
+ * @see https://on.cypress.io/then
1719
+ */
1720
+ then<S>(options: Partial<Timeoutable>, fn: (this: ObjectLike, currentSubject: Subject) => PromiseLike<S>): Chainable<S>
1721
+ /**
1722
+ * Enables you to work with the subject yielded from the previous command / promise.
1723
+ *
1724
+ * @see https://on.cypress.io/then
1725
+ */
1726
+ then<S extends object | any[] | string | number | boolean>(fn: (this: ObjectLike, currentSubject: Subject) => S): Chainable<S>
1727
+ /**
1728
+ * Enables you to work with the subject yielded from the previous command / promise.
1729
+ *
1730
+ * @see https://on.cypress.io/then
1731
+ */
1732
+ then<S extends object | any[] | string | number | boolean>(options: Partial<Timeoutable>, fn: (this: ObjectLike, currentSubject: Subject) => S): Chainable<S>
1733
+ /**
1734
+ * Enables you to work with the subject yielded from the previous command.
1735
+ *
1736
+ * @see https://on.cypress.io/then
1737
+ * @example
1738
+ * cy.get('.nav').then(($nav) => {}) // Yields .nav as first arg
1739
+ * cy.location().then((loc) => {}) // Yields location object as first arg
1740
+ */
1741
+ then(fn: (this: ObjectLike, currentSubject: Subject) => void): Chainable<Subject>
1742
+ /**
1743
+ * Enables you to work with the subject yielded from the previous command.
1744
+ *
1745
+ * @see https://on.cypress.io/then
1746
+ * @example
1747
+ * cy.get('.nav').then(($nav) => {}) // Yields .nav as first arg
1748
+ * cy.location().then((loc) => {}) // Yields location object as first arg
1749
+ */
1750
+ then(options: Partial<Timeoutable>, fn: (this: ObjectLike, currentSubject: Subject) => void): Chainable<Subject>
1751
+
1752
+ /**
1753
+ * Move time after overriding a native time function with [cy.clock()](https://on.cypress.io/clock).
1754
+ * `cy.clock()` must be called before `cy.tick()`
1755
+ *
1756
+ * @see https://on.cypress.io/clock
1757
+ */
1758
+ tick(milliseconds: number): Chainable<Clock>
1759
+
1760
+ /**
1761
+ * Get the `document.title` property of the page that is currently active.
1762
+ *
1763
+ * @see https://on.cypress.io/title
1764
+ */
1765
+ title(options?: Partial<Loggable>): Chainable<string>
1766
+
1767
+ /**
1768
+ * Trigger an event on a DOM element.
1769
+ *
1770
+ * @see https://on.cypress.io/trigger
1771
+ */
1772
+ trigger<K extends keyof DocumentEventMap>(eventName: K, options?: Partial<TriggerOptions & ObjectLike & DocumentEventMap[K]>): Chainable<Subject>
1773
+ /**
1774
+ * Trigger an event on a DOM element.
1775
+ *
1776
+ * @see https://on.cypress.io/trigger
1777
+ */
1778
+ trigger<K extends keyof DocumentEventMap>(eventName: K, position?: PositionType, options?: Partial<TriggerOptions & ObjectLike & DocumentEventMap[K]>): Chainable<Subject>
1779
+ /**
1780
+ * Trigger an event on a DOM element.
1781
+ *
1782
+ * @see https://on.cypress.io/trigger
1783
+ */
1784
+ trigger<K extends keyof DocumentEventMap>(eventName: K, x: number, y: number, options?: Partial<TriggerOptions & ObjectLike & DocumentEventMap[K]>): Chainable<Subject>
1785
+ /**
1786
+ * Trigger an event on a DOM element.
1787
+ * Custom events... If the following were `.triggerCustom`,
1788
+ * `.trigger` strongly typed with event data
1789
+ *
1790
+ * @see https://on.cypress.io/trigger
1791
+ * @example
1792
+ * cy.get('a').trigger('mousedown')
1793
+ */
1794
+ trigger(eventName: string, position?: PositionType, options?: Partial<TriggerOptions & ObjectLike>): Chainable<Subject>
1795
+ /**
1796
+ * Trigger an event on a DOM element.
1797
+ * Custom events... If the following were `.triggerCustom`,
1798
+ * `.trigger` strongly typed with event data
1799
+ *
1800
+ * @see https://on.cypress.io/trigger
1801
+ * @example
1802
+ * cy.get('a').trigger('mousedown')
1803
+ */
1804
+ trigger(eventName: string, options?: Partial<TriggerOptions & ObjectLike>): Chainable<Subject>
1805
+ /**
1806
+ * Trigger an event on a DOM element.
1807
+ * Custom events... If the following were `.triggerCustom`,
1808
+ * `.trigger` strongly typed with event data
1809
+ *
1810
+ * @see https://on.cypress.io/trigger
1811
+ * @example
1812
+ * cy.get('a').trigger('mousedown')
1813
+ */
1814
+ trigger(eventName: string, x: number, y: number, options?: Partial<TriggerOptions & ObjectLike>): Chainable<Subject>
1815
+
1816
+ /**
1817
+ * Type into a DOM element.
1818
+ *
1819
+ * @see https://on.cypress.io/type
1820
+ * @example
1821
+ * cy.get('input').type('Hello, World')
1822
+ * // type "hello" + press Enter
1823
+ * cy.get('input').type('hello{enter}')
1824
+ */
1825
+ type(text: string, options?: Partial<TypeOptions>): Chainable<Subject>
1826
+
1827
+ /**
1828
+ * Uncheck checkbox(es).
1829
+ *
1830
+ * @see https://on.cypress.io/uncheck
1831
+ * @example
1832
+ * // Unchecks checkbox element
1833
+ * cy.get('[type="checkbox"]').uncheck()
1834
+ * // Uncheck element with the id ‘saveUserName’
1835
+ * cy.get('#saveUserName').uncheck()
1836
+ * // Uncheck all checkboxes
1837
+ * cy.get(':checkbox').uncheck()
1838
+ * // Uncheck the checkbox with the value of ‘ga’
1839
+ * cy.get('input[type="checkbox"]').uncheck(['ga'])
1840
+ */
1841
+ uncheck(options?: Partial<CheckOptions>): Chainable<Subject>
1842
+ /**
1843
+ * Uncheck specific checkbox.
1844
+ *
1845
+ * @see https://on.cypress.io/uncheck
1846
+ * @example
1847
+ * // Uncheck the checkbox with the value of ‘ga’
1848
+ * cy.get('input[type="checkbox"]').uncheck('ga')
1849
+ */
1850
+ uncheck(value: string, options?: Partial<CheckOptions>): Chainable<Subject>
1851
+ /**
1852
+ * Uncheck specific checkboxes.
1853
+ *
1854
+ * @see https://on.cypress.io/uncheck
1855
+ * @example
1856
+ * // Uncheck the checkbox with the value of ‘ga’, 'ma'
1857
+ * cy.get('input[type="checkbox"]').uncheck(['ga', 'ma'])
1858
+ */
1859
+ uncheck(values: string[], options?: Partial<CheckOptions>): Chainable<Subject>
1860
+
1861
+ /**
1862
+ * Get the current URL of the page that is currently active.
1863
+ *
1864
+ * @alias cy.location('href')
1865
+ * @see https://on.cypress.io/url
1866
+ */
1867
+ url(options?: Partial<Loggable & Timeoutable>): Chainable<string>
1868
+
1869
+ /**
1870
+ * Control the size and orientation of the screen for your application.
1871
+ *
1872
+ * @see https://on.cypress.io/viewport
1873
+ * @example
1874
+ * // Set viewport to 550px x 750px
1875
+ * cy.viewport(550, 750)
1876
+ * // Set viewport to 357px x 667px
1877
+ * cy.viewport('iphone-6')
1878
+ */
1879
+ viewport(preset: ViewportPreset, orientation?: ViewportOrientation, options?: Partial<Loggable>): Chainable<null>
1880
+ /**
1881
+ * Set viewport to the given resolution.
1882
+ *
1883
+ * @see https://on.cypress.io/viewport
1884
+ * @example
1885
+ * // Set viewport to 550px x 750px
1886
+ * cy.viewport(550, 750)
1887
+ */
1888
+ viewport(width: number, height: number, options?: Partial<Loggable>): Chainable<null>
1889
+
1890
+ /**
1891
+ * Visit the given url
1892
+ *
1893
+ * @param {string} url The URL to visit. If relative uses `baseUrl`
1894
+ * @param {VisitOptions} [options] Pass in an options object to change the default behavior of `cy.visit()`
1895
+ * @see https://on.cypress.io/visit
1896
+ * @example
1897
+ * cy.visit('http://localhost:3000')
1898
+ * cy.visit('/somewhere') // opens ${baseUrl}/somewhere
1899
+ * cy.visit({
1900
+ * url: 'http://google.com',
1901
+ * method: 'POST'
1902
+ * })
1903
+ *
1904
+ */
1905
+ visit(url: string, options?: Partial<VisitOptions>): Chainable<Window>
1906
+ visit(options: Partial<VisitOptions> & { url: string }): Chainable<Window>
1907
+
1908
+ /**
1909
+ * Wait for a number of milliseconds.
1910
+ * You almost never need to wait for an arbitrary period of time.
1911
+ * There are always better ways to express this in Cypress, see the documentation.
1912
+ *
1913
+ * @see https://on.cypress.io/wait
1914
+ * @param {number} ms - Milliseconds to wait.
1915
+ * @example
1916
+ * cy.wait(1000) // wait for 1 second
1917
+ */
1918
+ wait(ms: number, options?: Partial<Loggable & Timeoutable>): Chainable<undefined>
1919
+ /**
1920
+ * Wait for a specific XHR to respond.
1921
+ *
1922
+ * @see https://on.cypress.io/wait
1923
+ * @param {string} alias - Name of the alias to wait for.
1924
+ *
1925
+ ```
1926
+ // Wait for the route aliased as 'getAccount' to respond
1927
+ // without changing or stubbing its response
1928
+ cy.server()
1929
+ cy.route('/accounts/*').as('getAccount')
1930
+ cy.visit('/accounts/123')
1931
+ cy.wait('@getAccount').then((xhr) => {
1932
+ // we can now access the low level xhr
1933
+ // that contains the request body,
1934
+ // response body, status, etc
1935
+ })
1936
+ ```
1937
+ */
1938
+ wait(alias: string, options?: Partial<Loggable & Timeoutable & TimeoutableXHR>): Chainable<WaitXHR>
1939
+ /**
1940
+ * Wait for list of XHR requests to complete.
1941
+ *
1942
+ * @see https://on.cypress.io/wait
1943
+ * @param {string[]} aliases - An array of aliased routes as defined using the `.as()` command.
1944
+ *
1945
+ ```
1946
+ // wait for 3 XHR requests to complete
1947
+ cy.server()
1948
+ cy.route('users/*').as('getUsers')
1949
+ cy.route('activities/*').as('getActivities')
1950
+ cy.route('comments/*').as('getComments')
1951
+ cy.visit('/dashboard')
1952
+
1953
+ cy.wait(['@getUsers', '@getActivities', '@getComments'])
1954
+ .then((xhrs) => {
1955
+ // xhrs will now be an array of matching XHR's
1956
+ // xhrs[0] <-- getUsers
1957
+ // xhrs[1] <-- getActivities
1958
+ // xhrs[2] <-- getComments
1959
+ })
1960
+ ```
1961
+ */
1962
+ wait(alias: string[], options?: Partial<Loggable & Timeoutable & TimeoutableXHR>): Chainable<WaitXHR[]>
1963
+
1964
+ /**
1965
+ * Get the window object of the page that is currently active.
1966
+ *
1967
+ * @see https://on.cypress.io/window
1968
+ * @example
1969
+ ```
1970
+ cy.visit('http://localhost:8080/app')
1971
+ cy.window().then(function(win){
1972
+ // win is the remote window
1973
+ // of the page at: http://localhost:8080/app
1974
+ })
1975
+ ```
1976
+ */
1977
+ window(options?: Partial<Loggable & Timeoutable>): Chainable<Window>
1978
+
1979
+ /**
1980
+ * Scopes all subsequent cy commands to within this element.
1981
+ * Useful when working within a particular group of elements such as a `<form>`.
1982
+ * @see https://on.cypress.io/within
1983
+ * @example
1984
+ ```
1985
+ cy.get('form').within(($form) => {
1986
+ // cy.get() will only search for elements within form,
1987
+ // not within the entire document
1988
+ cy.get('input[name="username"]').type('john')
1989
+ cy.get('input[name="password"]').type('password')
1990
+ cy.root().submit()
1991
+ })
1992
+ ```
1993
+ */
1994
+ within(fn: (currentSubject: Subject) => void): Chainable<Subject>
1995
+ /**
1996
+ * Scopes all subsequent cy commands to within this element.
1997
+ * Useful when working within a particular group of elements such as a `<form>`.
1998
+ * @see https://on.cypress.io/within
1999
+ */
2000
+ within(options: Partial<Loggable>, fn: (currentSubject: Subject) => void): Chainable<Subject> // inconsistent argument order
2001
+
2002
+ /**
2003
+ * Yield the element passed into `.wrap()`.
2004
+ *
2005
+ * @see https://on.cypress.io/wrap
2006
+ * @example
2007
+ ```
2008
+ // wraps DOM element
2009
+ cy.get('form').within(($form) => {
2010
+ // more commands
2011
+ cy.wrap($form).should('have.class', 'form-container')
2012
+ })
2013
+ ```
2014
+ */
2015
+ wrap<E extends Node = HTMLElement>(element: E | JQuery<E>, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery<E>>
2016
+ /**
2017
+ * Yield the element passed into `.wrap()` to the next command in the Cypress chain.
2018
+ *
2019
+ * @see https://on.cypress.io/wrap
2020
+ * @example
2021
+ ```
2022
+ cy.wrap(new Promise((resolve, reject) => {
2023
+ setTimeout(resolve, 1000);
2024
+ }).then(result => {})
2025
+ ```
2026
+ */
2027
+ wrap<F extends Promise<S>, S>(promise: F, options?: Partial<Loggable & Timeoutable>): Chainable<S>
2028
+ /**
2029
+ * Yields whatever is passed into `.wrap()` to the next command in the Cypress chain.
2030
+ *
2031
+ * @see https://on.cypress.io/wrap
2032
+ * @example
2033
+ ```
2034
+ // Make assertions about object
2035
+ cy.wrap({ amount: 10 })
2036
+ .should('have.property', 'amount')
2037
+ .and('eq', 10)
2038
+ ```
2039
+ */
2040
+ wrap<S>(object: S, options?: Partial<Loggable & Timeoutable>): Chainable<S>
2041
+
2042
+ /**
2043
+ * Write to a file with the specified contents.
2044
+ *
2045
+ * @see https://on.cypress.io/writefile
2046
+ ```
2047
+ cy.writeFile('path/to/message.txt', 'Hello World')
2048
+ .then((text) => {
2049
+ expect(text).to.equal('Hello World') // true
2050
+ })
2051
+ ```
2052
+ */
2053
+ writeFile<C extends FileContents>(filePath: string, contents: C, encoding: Encodings): Chainable<C>
2054
+ /**
2055
+ * Write to a file with the specified encoding and contents.
2056
+ *
2057
+ * @see https://on.cypress.io/writefile
2058
+ ```
2059
+ cy.writeFile('path/to/ascii.txt', 'Hello World', {
2060
+ flag: 'a+',
2061
+ encoding: 'ascii'
2062
+ }).then((text) => {
2063
+ expect(text).to.equal('Hello World') // true
2064
+ })
2065
+ ```
2066
+ */
2067
+ writeFile<C extends FileContents>(filePath: string, contents: C, options?: Partial<WriteFileOptions>): Chainable<C>
2068
+
2069
+ /**
2070
+ * jQuery library bound to the AUT
2071
+ *
2072
+ * @see https://on.cypress.io/$
2073
+ * @example
2074
+ * cy.$$('p')
2075
+ */
2076
+ $$<TElement extends Element = HTMLElement>(selector: JQuery.Selector, context?: Element | Document | JQuery): JQuery<TElement>
2077
+ }
2078
+
2079
+ interface SinonSpyAgent<A extends sinon.SinonSpy> {
2080
+ log(shouldOutput?: boolean): Omit<A, 'withArgs'> & Agent<A>
2081
+
2082
+ /**
2083
+ * Saves current spy / stub under an alias.
2084
+ * @see https://on.cypress.io/stubs-spies-and-clocks
2085
+ * @see https://on.cypress.io/as
2086
+ * @example
2087
+ * cy.spy(win, 'fetch').as('winFetch') // Alias 'window.fetch' spy as "winFetch"
2088
+ */
2089
+ as(alias: string): Omit<A, 'withArgs'> & Agent<A>
2090
+
2091
+ /**
2092
+ * Creates a spy / stub but only for calls with given arguments.
2093
+ * @see https://on.cypress.io/stubs-spies-and-clocks
2094
+ * @see https://on.cypress.io/as
2095
+ * @example
2096
+ * const s = cy.stub(JSON, 'parse').withArgs('invalid').returns(42)
2097
+ * expect(JSON.parse('invalid')).to.equal(42)
2098
+ * expect(s).to.have.been.calledOnce
2099
+ */
2100
+ withArgs(...args: any[]): Omit<A, 'withArgs'> & Agent<A>
2101
+ }
2102
+
2103
+ type Agent<T extends sinon.SinonSpy> = SinonSpyAgent<T> & T
2104
+
2105
+ interface CookieDefaults {
2106
+ whitelist: string | string[] | RegExp | ((cookie: any) => boolean)
2107
+ }
2108
+
2109
+ interface Failable {
2110
+ /**
2111
+ * Whether to fail on response codes other than 2xx and 3xx
2112
+ *
2113
+ * @default {true}
2114
+ */
2115
+ failOnStatusCode: boolean
2116
+
2117
+ /**
2118
+ * Whether Cypress should automatically retry status code errors under the hood
2119
+ *
2120
+ * @default {false}
2121
+ */
2122
+ retryOnStatusCodeFailure: boolean
2123
+
2124
+ /**
2125
+ * Whether Cypress should automatically retry transient network errors under the hood
2126
+ *
2127
+ * @default {true}
2128
+ */
2129
+ retryOnNetworkFailure: boolean
2130
+ }
2131
+
2132
+ /**
2133
+ * Options that control how a command behaves in the `within` scope.
2134
+ * These options will determine how nodes are selected.
2135
+ */
2136
+
2137
+ interface Withinable {
2138
+ /**
2139
+ * Element to search for children in. If null, search begins from root-level DOM element.
2140
+ *
2141
+ * @default depends on context, null if outside of within wrapper
2142
+ */
2143
+ withinSubject: JQuery | HTMLElement | null
2144
+ }
2145
+
2146
+ /**
2147
+ * Options that control how a command is logged in the Reporter
2148
+ */
2149
+ interface Loggable {
2150
+ /**
2151
+ * Displays the command in the Command Log
2152
+ *
2153
+ * @default true
2154
+ */
2155
+ log: boolean
2156
+ }
2157
+
2158
+ /**
2159
+ * Options that control how long Test Runner is waiting for command to succeed
2160
+ */
2161
+ interface Timeoutable {
2162
+ /**
2163
+ * Time to wait (ms)
2164
+ *
2165
+ * @default defaultCommandTimeout
2166
+ * @see https://docs.cypress.io/guides/references/configuration.html#Timeouts
2167
+ */
2168
+ timeout: number
2169
+ }
2170
+
2171
+ /**
2172
+ * Options that check case sensitivity
2173
+ */
2174
+ interface CaseMatchable {
2175
+ /**
2176
+ * Check case sensitivity
2177
+ *
2178
+ * @default true
2179
+ */
2180
+ matchCase: boolean
2181
+ }
2182
+
2183
+ /**
2184
+ * Options that control how long the Test Runner waits for an XHR request and response to succeed
2185
+ */
2186
+ interface TimeoutableXHR {
2187
+ /**
2188
+ * Time to wait for the request (ms)
2189
+ *
2190
+ * @default {@link Timeoutable#timeout}
2191
+ * @see https://docs.cypress.io/guides/references/configuration.html#Timeouts
2192
+ */
2193
+ requestTimeout: number,
2194
+ /**
2195
+ * Time to wait for the response (ms)
2196
+ *
2197
+ * @default {@link Timeoutable#timeout}
2198
+ * @see https://docs.cypress.io/guides/references/configuration.html#Timeouts
2199
+ */
2200
+ responseTimeout: number
2201
+ }
2202
+
2203
+ /**
2204
+ * Options to force an event, skipping Actionability check
2205
+ * @see https://docs.cypress.io/guides/core-concepts/interacting-with-elements.html#Actionability
2206
+ */
2207
+ interface Forceable {
2208
+ /**
2209
+ * Forces the action, disables waiting for actionability
2210
+ *
2211
+ * @default false
2212
+ */
2213
+ force: boolean
2214
+ }
2215
+
2216
+ interface BlurOptions extends Loggable, Forceable { }
2217
+
2218
+ interface CheckOptions extends Loggable, Timeoutable, Forceable {
2219
+ interval: number
2220
+ }
2221
+
2222
+ interface ClearOptions extends Loggable, Timeoutable, Forceable {
2223
+ interval: number
2224
+ }
2225
+
2226
+ /**
2227
+ * Object to change the default behavior of .click().
2228
+ */
2229
+ interface ClickOptions extends Loggable, Timeoutable, Forceable {
2230
+ /**
2231
+ * Serially click multiple elements
2232
+ *
2233
+ * @default false
2234
+ */
2235
+ multiple: boolean
2236
+ }
2237
+
2238
+ interface ResolvedConfigOptions {
2239
+ /**
2240
+ * Url used as prefix for [cy.visit()](https://on.cypress.io/visit) or [cy.request()](https://on.cypress.io/request) command’s url
2241
+ * @default null
2242
+ */
2243
+ baseUrl: string | null
2244
+ /**
2245
+ * Any values to be set as [environment variables](https://docs.cypress.io/guides/guides/environment-variables.html)
2246
+ * @default {}
2247
+ */
2248
+ env: { [key: string]: any }
2249
+ /**
2250
+ * A String or Array of glob patterns used to ignore test files that would otherwise be shown in your list of tests. Cypress uses minimatch with the options: {dot: true, matchBase: true}. We suggest using http://globtester.com to test what files would match.
2251
+ * @default "*.hot-update.js"
2252
+ */
2253
+ ignoreTestFiles: string | string[]
2254
+ /**
2255
+ * The number of tests for which snapshots and command data are kept in memory. Reduce this number if you are experiencing high memory consumption in your browser during a test run.
2256
+ * @default 50
2257
+ */
2258
+ numTestsKeptInMemory: number
2259
+ /**
2260
+ * Port used to host Cypress. Normally this is a randomly generated port
2261
+ * @default null
2262
+ */
2263
+ port: number | null
2264
+ /**
2265
+ * The [reporter](https://docs.cypress.io/guides/guides/reporters.html) used when running headlessly or in CI
2266
+ * @default "spec"
2267
+ */
2268
+ reporter: string
2269
+ /**
2270
+ * Whether to take a screenshot on test failure when running headlessly or in CI
2271
+ * @default true
2272
+ */
2273
+ watchForFileChanges: boolean
2274
+ /**
2275
+ * Time, in milliseconds, to wait until most DOM based commands are considered timed out
2276
+ * @default 4000
2277
+ */
2278
+ defaultCommandTimeout: number
2279
+ /**
2280
+ * Time, in milliseconds, to wait for a system command to finish executing during a [cy.exec()](https://on.cypress.io/exec) command
2281
+ * @default 60000
2282
+ */
2283
+ execTimeout: number
2284
+ /**
2285
+ * Time, in milliseconds, to wait for page transition events or [cy.visit()](https://on.cypress.io/visit), [cy.go()](https://on.cypress.io/go), [cy.reload()](https://on.cypress.io/reload) commands to fire their page load events
2286
+ * @default 60000
2287
+ */
2288
+ pageLoadTimeout: number
2289
+ /**
2290
+ * Time, in milliseconds, to wait for an XHR request to go out in a [cy.wait()](https://on.cypress.io/wait) command
2291
+ * @default 5000
2292
+ */
2293
+ requestTimeout: number
2294
+ /**
2295
+ * Time, in milliseconds, to wait until a response in a [cy.request()](https://on.cypress.io/request), [cy.wait()](https://on.cypress.io/wait), [cy.fixture()](https://on.cypress.io/fixture), [cy.getCookie()](https://on.cypress.io/getcookie), [cy.getCookies()](https://on.cypress.io/getcookies), [cy.setCookie()](https://on.cypress.io/setcookie), [cy.clearCookie()](https://on.cypress.io/clearcookie), [cy.clearCookies()](https://on.cypress.io/clearcookies), and [cy.screenshot()](https://on.cypress.io/screenshot) commands
2296
+ * @default 30000
2297
+ */
2298
+ responseTimeout: number
2299
+ /**
2300
+ * Path to folder where application files will attempt to be served from
2301
+ * @default root project folder
2302
+ */
2303
+ fileServerFolder: string
2304
+ /**
2305
+ * Path to folder containing fixture files (Pass false to disable)
2306
+ * @default "cypress/fixtures"
2307
+ */
2308
+ fixturesFolder: string
2309
+ /**
2310
+ * Path to folder containing integration test files
2311
+ * @default "cypress/integration"
2312
+ */
2313
+ integrationFolder: string
2314
+ /**
2315
+ * If set to `system`, Cypress will try to find a `node` executable on your path to use when executing your plugins. Otherwise, Cypress will use the Node version bundled with Cypress.
2316
+ * @default "bundled"
2317
+ */
2318
+ nodeVersion: "system" | "bundled"
2319
+ /**
2320
+ * Path to plugins file. (Pass false to disable)
2321
+ * @default "cypress/plugins/index.js"
2322
+ */
2323
+ pluginsFile: string
2324
+ /**
2325
+ * If `nodeVersion === 'system'` and a `node` executable is found, this will be the full filesystem path to that executable.
2326
+ * @default null
2327
+ */
2328
+ resolvedNodePath: string
2329
+ /**
2330
+ * The version of `node` that is being used to execute plugins.
2331
+ * @example 1.2.3
2332
+ */
2333
+ resolvedNodeVersion: string
2334
+ /**
2335
+ * Path to folder where screenshots will be saved from [cy.screenshot()](https://on.cypress.io/screenshot) command or after a headless or CI run’s test failure
2336
+ * @default "cypress/screenshots"
2337
+ */
2338
+ screenshotsFolder: string
2339
+ /**
2340
+ * Path to file to load before test files load. This file is compiled and bundled. (Pass false to disable)
2341
+ * @default "cypress/support/index.js"
2342
+ */
2343
+ supportFile: string
2344
+ /**
2345
+ * Path to folder where videos will be saved after a headless or CI run
2346
+ * @default "cypress/videos"
2347
+ */
2348
+ videosFolder: string
2349
+ /**
2350
+ * Whether Cypress will trash assets within the screenshotsFolder and videosFolder before headless test runs.
2351
+ * @default true
2352
+ */
2353
+ trashAssetsBeforeRuns: boolean
2354
+ /**
2355
+ * The quality setting for the video compression, in Constant Rate Factor (CRF). The value can be false to disable compression or a value between 0 and 51, where a lower value results in better quality (at the expense of a higher file size).
2356
+ * @default 32
2357
+ */
2358
+ videoCompression: number
2359
+ /**
2360
+ * Whether Cypress will record a video of the test run when running headlessly.
2361
+ * @default true
2362
+ */
2363
+ video: boolean
2364
+ /**
2365
+ * Whether Cypress will upload the video to the Dashboard even if all tests are passing. This applies only when recording your runs to the Dashboard. Turn this off if you’d like the video uploaded only when there are failing tests.
2366
+ * @default true
2367
+ */
2368
+ videoUploadOnPasses: boolean
2369
+ /**
2370
+ * Whether Chrome Web Security for same-origin policy and insecure mixed content is enabled. Read more about this here
2371
+ * @default true
2372
+ */
2373
+ chromeWebSecurity: boolean
2374
+ /**
2375
+ * Default height in pixels for the application under tests’ viewport (Override with [cy.viewport()](https://on.cypress.io/viewport) command)
2376
+ * @default 660
2377
+ */
2378
+ viewportHeight: number
2379
+ /**
2380
+ * Default width in pixels for the application under tests’ viewport. (Override with [cy.viewport()](https://on.cypress.io/viewport) command)
2381
+ * @default 1000
2382
+ */
2383
+ viewportWidth: number
2384
+ /**
2385
+ * The distance in pixels an element must exceed over time to be considered animating
2386
+ * @default 5
2387
+ */
2388
+ animationDistanceThreshold: number
2389
+ /**
2390
+ * Whether to wait for elements to finish animating before executing commands
2391
+ * @default true
2392
+ */
2393
+ waitForAnimations: boolean
2394
+ /**
2395
+ * Firefox-only: The number of tests that will run between forced garbage collections.
2396
+ * If a number is supplied, it will apply to `run` mode and `open` mode.
2397
+ * Set the interval to `null` or 0 to disable forced garbage collections.
2398
+ * @default { runMode: 1, openMode: null }
2399
+ */
2400
+ firefoxGcInterval: Nullable<number | { runMode: Nullable<number>, openMode: Nullable<number> }>
2401
+ /**
2402
+ * If `true`, Cypress will add `sameSite` values to the objects yielded from `cy.setCookie()`,
2403
+ * `cy.getCookie()`, and `cy.getCookies()`. This will become the default behavior in Cypress 5.0.
2404
+ * @default false
2405
+ */
2406
+ experimentalGetCookiesSameSite: boolean
2407
+ /**
2408
+ * Enables AST-based JS/HTML rewriting. This may fix issues caused by the existing regex-based JS/HTML replacement
2409
+ * algorithm.
2410
+ * @default false
2411
+ */
2412
+ experimentalSourceRewriting: boolean
2413
+ }
2414
+
2415
+ /**
2416
+ * All configuration items are optional.
2417
+ */
2418
+ type ConfigOptions = Partial<ResolvedConfigOptions>
2419
+
2420
+ interface PluginConfigOptions extends ResolvedConfigOptions {
2421
+ /**
2422
+ * Absolute path to the config file (default: <projectRoot>/cypress.json) or false
2423
+ */
2424
+ configFile: string | false
2425
+ /**
2426
+ * Absolute path to the root of the project
2427
+ */
2428
+ projectRoot: string
2429
+ }
2430
+
2431
+ interface DebugOptions {
2432
+ verbose: boolean
2433
+ }
2434
+
2435
+ /**
2436
+ * Options object to change the default behavior of cy.exec().
2437
+ */
2438
+ interface ExecOptions extends Loggable, Timeoutable {
2439
+ /**
2440
+ * Whether to fail if the command exits with a non-zero code
2441
+ *
2442
+ * @default true
2443
+ */
2444
+ failOnNonZeroExit: boolean
2445
+ /**
2446
+ * Object of environment variables to set before the command executes
2447
+ * (e.g. {USERNAME: 'johndoe'}). Will be merged with existing
2448
+ * system environment variables
2449
+ *
2450
+ * @default {}
2451
+ */
2452
+ env: object
2453
+ }
2454
+
2455
+ /**
2456
+ * Full set of possible options for cy.request call
2457
+ */
2458
+ interface RequestOptions extends Loggable, Timeoutable, Failable {
2459
+ auth: object
2460
+ body: RequestBody
2461
+ followRedirect: boolean
2462
+ form: boolean
2463
+ gzip: boolean
2464
+ headers: object
2465
+ method: HttpMethod
2466
+ qs: object
2467
+ url: string
2468
+ }
2469
+
2470
+ interface RouteOptions {
2471
+ method: HttpMethod
2472
+ url: string | RegExp
2473
+ response: any
2474
+ status: number
2475
+ delay: number
2476
+ headers: object | null
2477
+ force404: boolean
2478
+ onRequest(...args: any[]): void
2479
+ onResponse(...args: any[]): void
2480
+ onAbort(...args: any[]): void
2481
+ }
2482
+
2483
+ interface Dimensions {
2484
+ x: number
2485
+ y: number
2486
+ width: number
2487
+ height: number
2488
+ }
2489
+
2490
+ type Padding =
2491
+ | number
2492
+ | [number]
2493
+ | [number, number]
2494
+ | [number, number, number]
2495
+ | [number, number, number, number]
2496
+
2497
+ interface ScreenshotOptions {
2498
+ blackout: string[]
2499
+ capture: 'runner' | 'viewport' | 'fullPage'
2500
+ clip: Dimensions
2501
+ disableTimersAndAnimations: boolean
2502
+ padding: Padding
2503
+ scale: boolean
2504
+ beforeScreenshot(doc: Document): void
2505
+ afterScreenshot(doc: Document): void
2506
+ }
2507
+
2508
+ interface ScreenshotDefaultsOptions extends ScreenshotOptions {
2509
+ screenshotOnRunFailure: boolean
2510
+ }
2511
+
2512
+ interface ScrollToOptions extends Loggable, Timeoutable {
2513
+ /**
2514
+ * Scrolls over the duration (in ms)
2515
+ *
2516
+ * @default 0
2517
+ */
2518
+ duration: number
2519
+ /**
2520
+ * Will scroll with the easing animation
2521
+ *
2522
+ * @default 'swing'
2523
+ */
2524
+ easing: 'swing' | 'linear',
2525
+ }
2526
+
2527
+ interface ScrollIntoViewOptions extends ScrollToOptions {
2528
+ /**
2529
+ * Amount to scroll after the element has been scrolled into view
2530
+ *
2531
+ * @default {top: 0, left: 0}
2532
+ */
2533
+ offset: Offset
2534
+ }
2535
+
2536
+ interface SelectOptions extends Loggable, Timeoutable, Forceable {
2537
+ interval: number
2538
+ }
2539
+
2540
+ /**
2541
+ * Setting default options for cy.server()
2542
+ * @see https://on.cypress.io/server
2543
+ */
2544
+ interface ServerOptions {
2545
+ delay: number
2546
+ method: HttpMethod
2547
+ status: number
2548
+ headers: object
2549
+ response: any
2550
+ onRequest(...args: any[]): void
2551
+ onResponse(...args: any[]): void
2552
+ onAbort(...args: any[]): void
2553
+ enable: boolean
2554
+ force404: boolean
2555
+ urlMatchingOptions: object
2556
+ whitelist(xhr: Request): void
2557
+ onAnyRequest(route: RouteOptions, proxy: any): void
2558
+ onAnyResponse(route: RouteOptions, proxy: any): void
2559
+ onAnyAbort(route: RouteOptions, proxy: any): void
2560
+ }
2561
+
2562
+ type SameSiteStatus = 'no_restriction' | 'strict' | 'lax'
2563
+
2564
+ interface SetCookieOptions extends Loggable, Timeoutable {
2565
+ path: string
2566
+ domain: string
2567
+ secure: boolean
2568
+ httpOnly: boolean
2569
+ expiry: number
2570
+ sameSite: SameSiteStatus
2571
+ }
2572
+
2573
+ /**
2574
+ * Options that control `cy.type` command
2575
+ *
2576
+ * @see https://on.cypress.io/type
2577
+ */
2578
+ interface TypeOptions extends Loggable, Timeoutable {
2579
+ /**
2580
+ * Delay after each keypress (ms)
2581
+ *
2582
+ * @default 10
2583
+ */
2584
+ delay: number
2585
+ /**
2586
+ * Parse special characters for strings surrounded by `{}`,
2587
+ * such as `{esc}`. Set to `false` to type the literal characters instead
2588
+ *
2589
+ * @default true
2590
+ */
2591
+ parseSpecialCharSequences: boolean
2592
+ /**
2593
+ * Forces the action, disables waiting for actionability
2594
+ *
2595
+ * @default false
2596
+ */
2597
+ force: boolean
2598
+ /**
2599
+ * Keep a modifier activated between commands
2600
+ *
2601
+ * @default true
2602
+ */
2603
+ release: boolean
2604
+ }
2605
+
2606
+ /**
2607
+ * Visit website options
2608
+ *
2609
+ * @see https://on.cypress.io/visit
2610
+ */
2611
+ interface VisitOptions extends Loggable, Timeoutable, Failable {
2612
+ /**
2613
+ * The URL to visit. Behaves the same as the `url` argument.
2614
+ */
2615
+ url: string
2616
+
2617
+ /**
2618
+ * The HTTP method to use in the visit. Can be `GET` or `POST`.
2619
+ *
2620
+ * @default "GET"
2621
+ */
2622
+ method: 'GET' | 'POST'
2623
+
2624
+ /**
2625
+ * An optional body to send along with a `POST` request. If it is a string, it will be passed along unmodified. If it is an object, it will be URL encoded to a string and sent with a `Content-Type: application/x-www-urlencoded` header.
2626
+ *
2627
+ * @example
2628
+ * cy.visit({
2629
+ * url: 'http://www.example.com/form.html',
2630
+ * method: 'POST',
2631
+ * body: {
2632
+ * "field1": "foo",
2633
+ * "field2": "bar"
2634
+ * }
2635
+ * })
2636
+ */
2637
+ body: RequestBody
2638
+
2639
+ /**
2640
+ * An object that maps HTTP header names to values to be sent along with the request.
2641
+ *
2642
+ * @example
2643
+ * cy.visit({
2644
+ * url: 'http://www.example.com',
2645
+ * headers: {
2646
+ * 'Accept-Language': 'en-US'
2647
+ * }
2648
+ * })
2649
+ */
2650
+ headers: { [header: string]: string }
2651
+
2652
+ /**
2653
+ * Called before your page has loaded all of its resources.
2654
+ *
2655
+ * @param {Window} contentWindow the remote page's window object
2656
+ */
2657
+ onBeforeLoad(win: Window): void
2658
+
2659
+ /**
2660
+ * Called once your page has fired its load event.
2661
+ *
2662
+ * @param {Window} contentWindow the remote page's window object
2663
+ */
2664
+ onLoad(win: Window): void
2665
+
2666
+ /**
2667
+ * Cypress will automatically apply the right authorization headers
2668
+ * if you’re attempting to visit an application that requires
2669
+ * Basic Authentication.
2670
+ *
2671
+ * @example
2672
+ * cy.visit('https://www.acme.com/', {
2673
+ * auth: {
2674
+ * username: 'wile',
2675
+ * password: 'coyote'
2676
+ * }
2677
+ * })
2678
+ */
2679
+ auth: Auth
2680
+
2681
+ /**
2682
+ * Query parameters to append to the `url` of the request.
2683
+ */
2684
+ qs: object
2685
+ }
2686
+
2687
+ /**
2688
+ * Options to change the default behavior of .trigger()
2689
+ */
2690
+ interface TriggerOptions extends Loggable, Timeoutable, Forceable {
2691
+ /**
2692
+ * Whether the event bubbles
2693
+ *
2694
+ * @default true
2695
+ */
2696
+ bubbles: boolean
2697
+ /**
2698
+ * Whether the event is cancelable
2699
+ *
2700
+ * @default true
2701
+ */
2702
+ cancelable: boolean
2703
+ }
2704
+
2705
+ /** Options to change the default behavior of .writeFile */
2706
+ interface WriteFileOptions extends Loggable {
2707
+ flag: string
2708
+ encoding: Encodings
2709
+ }
2710
+
2711
+ // Kind of onerous, but has a nice auto-complete. Also fallbacks at the end for custom stuff
2712
+ /**
2713
+ * @see https://on.cypress.io/should
2714
+ *
2715
+ * @interface Chainer
2716
+ * @template Subject
2717
+ */
2718
+ interface Chainer<Subject> {
2719
+ // chai
2720
+ /**
2721
+ * Asserts that the target’s `type` is equal to the given string type.
2722
+ * Types are case insensitive. See the `type-detect` project page for info on the type detection algorithm:
2723
+ * https://github.com/chaijs/type-detect.
2724
+ * @example
2725
+ * cy.wrap('foo').should('be.a', 'string')
2726
+ * @see http://chaijs.com/api/bdd/#method_a
2727
+ * @see https://on.cypress.io/assertions
2728
+ */
2729
+ (chainer: 'be.a', type: string): Chainable<Subject>
2730
+ /**
2731
+ * Asserts that the target is a number or a date greater than the given number or date n respectively.
2732
+ * However, it’s often best to assert that the target is equal to its expected value.
2733
+ * @example
2734
+ * cy.wrap(6).should('be.above', 5)
2735
+ * @see http://chaijs.com/api/bdd/#method_above
2736
+ * @see https://on.cypress.io/assertions
2737
+ */
2738
+ (chainer: 'be.above', value: number | Date): Chainable<Subject>
2739
+ /**
2740
+ * Asserts that the target’s `type` is equal to the given string type.
2741
+ * Types are case insensitive. See the `type-detect` project page for info on the type detection algorithm:
2742
+ * https://github.com/chaijs/type-detect.
2743
+ * @example
2744
+ * cy.wrap({ foo: 'bar' }).should('be.an', 'object')
2745
+ * @alias a
2746
+ * @see http://chaijs.com/api/bdd/#method_a
2747
+ * @see https://on.cypress.io/assertions
2748
+ */
2749
+ (chainer: 'be.an', value: string): Chainable<Subject>
2750
+ /**
2751
+ * Asserts that the target is a number or a `n` date greater than or equal to the given number or date n respectively.
2752
+ * However, it’s often best to assert that the target is equal to its expected value.
2753
+ * @example
2754
+ * cy.wrap(6).should('be.at.least', 5)
2755
+ * @see http://chaijs.com/api/bdd/#method_least
2756
+ * @see https://on.cypress.io/assertions
2757
+ */
2758
+ (chainer: 'be.at.least', value: number | Date): Chainable<Subject>
2759
+ /**
2760
+ * Asserts that the target is a number or a `n` date less than or equal to the given number or date n respectively.
2761
+ * However, it’s often best to assert that the target is equal to its expected value.
2762
+ * @example
2763
+ * cy.wrap(4).should('be.below', 5)
2764
+ * @see http://chaijs.com/api/bdd/#method_below
2765
+ * @see https://on.cypress.io/assertions
2766
+ */
2767
+ (chainer: 'be.below', value: number): Chainable<Subject>
2768
+ /**
2769
+ * Asserts that the target is an `arguments` object.
2770
+ * @example
2771
+ * cy.wrap(arguments).should('be.arguments')
2772
+ * @see http://chaijs.com/api/bdd/#method_arguments
2773
+ * @see https://on.cypress.io/assertions
2774
+ */
2775
+ (chainer: 'be.arguments'): Chainable<Subject>
2776
+ /**
2777
+ * Asserts that the target is a number that’s within a given +/- `delta` range of the given number `expected`. However, it’s often best to assert that the target is equal to its expected value.
2778
+ * @example
2779
+ * cy.wrap(5.1).should('be.approximately', 5, 0.5)
2780
+ * @alias closeTo
2781
+ * @see http://chaijs.com/api/bdd/#method_closeto
2782
+ * @see https://on.cypress.io/assertions
2783
+ */
2784
+ (chainer: 'be.approximately', value: number, delta: number): Chainable<Subject>
2785
+ /**
2786
+ * Asserts that the target is a number that’s within a given +/- `delta` range of the given number `expected`. However, it’s often best to assert that the target is equal to its expected value.
2787
+ * @example
2788
+ * cy.wrap(5.1).should('be.closeTo', 5, 0.5)
2789
+ * @see http://chaijs.com/api/bdd/#method_closeto
2790
+ * @see https://on.cypress.io/assertions
2791
+ */
2792
+ (chainer: 'be.closeTo', value: number, delta: number): Chainable<Subject>
2793
+ /**
2794
+ * When the target is a string or array, .empty asserts that the target’s length property is strictly (===) equal to 0
2795
+ * @example
2796
+ * cy.wrap([]).should('be.empty')
2797
+ * cy.wrap('').should('be.empty')
2798
+ * @see http://chaijs.com/api/bdd/#method_empty
2799
+ * @see https://on.cypress.io/assertions
2800
+ */
2801
+ (chainer: 'be.empty'): Chainable<Subject>
2802
+ /**
2803
+ * Asserts that the target is an instance of the given `constructor`.
2804
+ * @example
2805
+ * cy.wrap([1, 2]).should('be.instanceOf', Array)
2806
+ * @see http://chaijs.com/api/bdd/#method_instanceof
2807
+ * @see https://on.cypress.io/assertions
2808
+ */
2809
+ (chainer: 'be.instanceOf', value: any): Chainable<Subject>
2810
+ /**
2811
+ * Asserts that the target is strictly (`===`) equal to `false`.
2812
+ * @example
2813
+ * cy.wrap(false).should('be.false')
2814
+ * @see http://chaijs.com/api/bdd/#method_false
2815
+ * @see https://on.cypress.io/assertions
2816
+ */
2817
+ (chainer: 'be.false'): Chainable<Subject>
2818
+ /**
2819
+ * Asserts that the target is a number or a date greater than the given number or date n respectively.
2820
+ * However, it’s often best to assert that the target is equal to its expected value.
2821
+ * @example
2822
+ * cy.wrap(6).should('be.greaterThan', 5)
2823
+ * @alias above
2824
+ * @see http://chaijs.com/api/bdd/#method_above
2825
+ * @see https://on.cypress.io/assertions
2826
+ */
2827
+ (chainer: 'be.greaterThan', value: number): Chainable<Subject>
2828
+ /**
2829
+ * Asserts that the target is a number or a date greater than the given number or date n respectively.
2830
+ * However, it’s often best to assert that the target is equal to its expected value.
2831
+ * @example
2832
+ * cy.wrap(6).should('be.gt', 5)
2833
+ * @alias above
2834
+ * @see http://chaijs.com/api/bdd/#method_above
2835
+ * @see https://on.cypress.io/assertions
2836
+ */
2837
+ (chainer: 'be.gt', value: number): Chainable<Subject>
2838
+ /**
2839
+ * Asserts that the target is a number or a `n` date greater than or equal to the given number or date n respectively.
2840
+ * However, it’s often best to assert that the target is equal to its expected value.
2841
+ * @example
2842
+ * cy.wrap(6).should('be.gte', 5)
2843
+ * @alias least
2844
+ * @see http://chaijs.com/api/bdd/#method_least
2845
+ * @see https://on.cypress.io/assertions
2846
+ */
2847
+ (chainer: 'be.gte', value: number): Chainable<Subject>
2848
+ /**
2849
+ * Asserts that the target is a number or a `n` date less than or equal to the given number or date n respectively.
2850
+ * However, it’s often best to assert that the target is equal to its expected value.
2851
+ * @example
2852
+ * cy.wrap(4).should('be.lessThan', 5)
2853
+ * @alias below
2854
+ * @see http://chaijs.com/api/bdd/#method_below
2855
+ * @see https://on.cypress.io/assertions
2856
+ */
2857
+ (chainer: 'be.lessThan', value: number): Chainable<Subject>
2858
+ /**
2859
+ * Asserts that the target is a number or a `n` date less than or equal to the given number or date n respectively.
2860
+ * However, it’s often best to assert that the target is equal to its expected value.
2861
+ * @example
2862
+ * cy.wrap(4).should('be.lt', 5)
2863
+ * @alias below
2864
+ * @see http://chaijs.com/api/bdd/#method_below
2865
+ * @see https://on.cypress.io/assertions
2866
+ */
2867
+ (chainer: 'be.lt', value: number): Chainable<Subject>
2868
+ /**
2869
+ * Asserts that the target is a number or a date less than or equal to the given number or date n respectively.
2870
+ * However, it’s often best to assert that the target is equal to its expected value.
2871
+ * @example
2872
+ * cy.wrap(4).should('be.lte', 5)
2873
+ * @alias most
2874
+ * @see http://chaijs.com/api/bdd/#method_most
2875
+ * @see https://on.cypress.io/assertions
2876
+ */
2877
+ (chainer: 'be.lte', value: number): Chainable<Subject>
2878
+ /**
2879
+ * Asserts that the target is loosely (`==`) equal to `true`. However, it’s often best to assert that the target is strictly (`===`) or deeply equal to its expected value.
2880
+ * @example
2881
+ * cy.wrap(1).should('be.ok')
2882
+ * @see http://chaijs.com/api/bdd/#method_ok
2883
+ * @see https://on.cypress.io/assertions
2884
+ */
2885
+ (chainer: 'be.ok'): Chainable<Subject>
2886
+ /**
2887
+ * Asserts that the target is strictly (`===`) equal to true.
2888
+ * @example
2889
+ * cy.wrap(true).should('be.true')
2890
+ * @see http://chaijs.com/api/bdd/#method_true
2891
+ * @see https://on.cypress.io/assertions
2892
+ */
2893
+ (chainer: 'be.true'): Chainable<Subject>
2894
+ /**
2895
+ * Asserts that the target is strictly (`===`) equal to undefined.
2896
+ * @example
2897
+ * cy.wrap(undefined).should('be.undefined')
2898
+ * @see http://chaijs.com/api/bdd/#method_undefined
2899
+ * @see https://on.cypress.io/assertions
2900
+ */
2901
+ (chainer: 'be.undefined'): Chainable<Subject>
2902
+ /**
2903
+ * Asserts that the target is a number or a date greater than or equal to the given number or date `start`, and less than or equal to the given number or date `finish` respectively.
2904
+ * However, it’s often best to assert that the target is equal to its expected value.
2905
+ * @example
2906
+ * cy.wrap(6).should('be.within', 5, 10)
2907
+ * @see http://chaijs.com/api/bdd/#method_within
2908
+ * @see https://on.cypress.io/assertions
2909
+ */
2910
+ (chainer: 'be.within', start: number, end: number): Chainable<Subject>
2911
+ (chainer: 'be.within', start: Date, end: Date): Chainable<Subject>
2912
+ /**
2913
+ * When one argument is provided, `.change` asserts that the given function `subject` returns a different value when it’s invoked before the target function compared to when it’s invoked afterward.
2914
+ * However, it’s often best to assert that `subject` is equal to its expected value.
2915
+ * @example
2916
+ * let dots = ''
2917
+ * function addDot() { dots += '.' }
2918
+ * function getDots() { return dots }
2919
+ * cy.wrap(addDot).should('change', getDots)
2920
+ * @see http://chaijs.com/api/bdd/#method_change
2921
+ * @see https://on.cypress.io/assertions
2922
+ */
2923
+ (chainer: 'change', fn: (...args: any[]) => any): Chainable<Subject>
2924
+ /**
2925
+ * When two arguments are provided, `.change` asserts that the value of the given object `subject`'s `prop` property is different before invoking the target function compared to afterward.
2926
+ * @example
2927
+ * const myObj = { dots: '' }
2928
+ * function addDot() { myObj.dots += '.' }
2929
+ * cy.wrap(addDot).should('change', myObj, 'dots')
2930
+ * @see http://chaijs.com/api/bdd/#method_change
2931
+ * @see https://on.cypress.io/assertions
2932
+ */
2933
+ (chainer: 'change', obj: object, prop: string): Chainable<Subject>
2934
+ /**
2935
+ * When the target is a string, `.include` asserts that the given string val is a substring of the target.
2936
+ * @example
2937
+ * cy.wrap('tester').should('contain', 'test')
2938
+ * @alias include
2939
+ * @see http://chaijs.com/api/bdd/#method_include
2940
+ * @see https://on.cypress.io/assertions
2941
+ */
2942
+ (chainer: 'contain', value: any): Chainable<Subject>
2943
+ /**
2944
+ * When one argument is provided, `.decrease` asserts that the given function `subject` returns a lesser number when it’s invoked after invoking the target function compared to when it’s invoked beforehand.
2945
+ * `.decrease` also causes all `.by` assertions that follow in the chain to assert how much lesser of a number is returned. It’s often best to assert that the return value decreased by the expected amount, rather than asserting it decreased by any amount.
2946
+ * @example
2947
+ * let val = 1
2948
+ * function subtractTwo() { val -= 2 }
2949
+ * function getVal() { return val }
2950
+ * cy.wrap(subtractTwo).should('decrease', getVal)
2951
+ * @see http://chaijs.com/api/bdd/#method_decrease
2952
+ * @see https://on.cypress.io/assertions
2953
+ */
2954
+ (chainer: 'decrease', fn: (...args: any[]) => any): Chainable<Subject>
2955
+ /**
2956
+ * When two arguments are provided, `.decrease` asserts that the value of the given object `subject`'s `prop` property is lesser after invoking the target function compared to beforehand.
2957
+ * @example
2958
+ * let val = 1
2959
+ * function subtractTwo() { val -= 2 }
2960
+ * function getVal() { return val }
2961
+ * cy.wrap(subtractTwo).should('decrease', getVal)
2962
+ * @see http://chaijs.com/api/bdd/#method_decrease
2963
+ * @see https://on.cypress.io/assertions
2964
+ */
2965
+ (chainer: 'decrease', obj: object, prop: string): Chainable<Subject>
2966
+ /**
2967
+ * Causes all `.equal`, `.include`, `.members`, `.keys`, and `.property` assertions that follow in the chain to use deep equality instead of strict (`===`) equality. See the `deep-eql` project page for info on the deep equality algorithm: https://github.com/chaijs/deep-eql.
2968
+ * @example
2969
+ * cy.wrap({ a: 1 }).should('deep.equal', { a: 1 })
2970
+ * @see http://chaijs.com/api/bdd/#method_deep
2971
+ * @see https://on.cypress.io/assertions
2972
+ */
2973
+ (chainer: 'deep.equal', value: Subject): Chainable<Subject>
2974
+ /**
2975
+ * Asserts that the target is not strictly (`===`) equal to either `null` or `undefined`. However, it’s often best to assert that the target is equal to its expected value.
2976
+ * @example
2977
+ * cy.wrap(1).should('exist')
2978
+ * @see http://chaijs.com/api/bdd/#method_exist
2979
+ * @see https://on.cypress.io/assertions
2980
+ */
2981
+ (chainer: 'exist'): Chainable<Subject>
2982
+ /**
2983
+ * Asserts that the target is strictly (`===`) equal to the given `val`.
2984
+ * @example
2985
+ * cy.wrap(1).should('eq', 1)
2986
+ * @alias equal
2987
+ * @see http://chaijs.com/api/bdd/#method_equal
2988
+ * @see https://on.cypress.io/assertions
2989
+ */
2990
+ (chainer: 'eq', value: any): Chainable<Subject>
2991
+ /**
2992
+ * Asserts that the target is deeply equal to the given `obj`. See the `deep-eql` project page for info on the deep equality algorithm: https://github.com/chaijs/deep-eql.
2993
+ * @example
2994
+ * cy.wrap({a: 1}).should('eql', {a: 1}).and('not.equal', {a: 1})
2995
+ * @see http://chaijs.com/api/bdd/#method_eql
2996
+ * @see https://on.cypress.io/assertions
2997
+ */
2998
+ (chainer: 'eql', value: any): Chainable<Subject>
2999
+ /**
3000
+ * Asserts that the target is strictly (`===`) equal to the given `val`.
3001
+ * @example
3002
+ * cy.wrap(1).should('equal', 1)
3003
+ * @see http://chaijs.com/api/bdd/#method_equal
3004
+ * @see https://on.cypress.io/assertions
3005
+ */
3006
+ (chainer: 'equal', value: any): Chainable<Subject>
3007
+ /**
3008
+ * Causes all `.keys` assertions that follow in the chain to require that the target have all of the given keys. This is the opposite of `.any`, which only requires that the target have at least one of the given keys.
3009
+ * @example
3010
+ * cy.wrap({ a: 1, b: 2 }).should('have.all.keys', 'a', 'b')
3011
+ * @see http://chaijs.com/api/bdd/#method_all
3012
+ * @see https://on.cypress.io/assertions
3013
+ */
3014
+ (chainer: 'have.all.keys', ...value: string[]): Chainable<Subject>
3015
+ /**
3016
+ * Causes all `.keys` assertions that follow in the chain to only require that the target have at least one of the given keys. This is the opposite of `.all`, which requires that the target have all of the given keys.
3017
+ * @example
3018
+ * cy.wrap({ a: 1, b: 2 }).should('have.any.keys', 'a')
3019
+ * @see http://chaijs.com/api/bdd/#method_any
3020
+ * @see https://on.cypress.io/assertions
3021
+ */
3022
+ (chainer: 'have.any.keys', ...value: string[]): Chainable<Subject>
3023
+ /**
3024
+ * Asserts that the target has a property with the given key `name`. See the `deep-eql` project page for info on the deep equality algorithm: https://github.com/chaijs/deep-eql.
3025
+ * @example
3026
+ * cy.wrap({ x: {a: 1 }}).should('have.deep.property', 'x', { a: 1 })
3027
+ * @see http://chaijs.com/api/bdd/#method_property
3028
+ * @see https://on.cypress.io/assertions
3029
+ */
3030
+ (chainer: 'have.deep.property', value: string, obj: object): Chainable<Subject>
3031
+ /**
3032
+ * Asserts that the target’s `length` property is equal to the given number `n`.
3033
+ * @example
3034
+ * cy.wrap([1, 2, 3]).should('have.length', 3)
3035
+ * cy.wrap('foo').should('have.length', 3)
3036
+ * @alias lengthOf
3037
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3038
+ * @see https://on.cypress.io/assertions
3039
+ */
3040
+ (chainer: 'have.length', value: number): Chainable<Subject>
3041
+ /**
3042
+ * Asserts that the target’s `length` property is greater than to the given number `n`.
3043
+ * @example
3044
+ * cy.wrap([1, 2, 3]).should('have.length.greaterThan', 2)
3045
+ * cy.wrap('foo').should('have.length.greaterThan', 2)
3046
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3047
+ * @see https://on.cypress.io/assertions
3048
+ */
3049
+ (chainer: 'have.length.greaterThan', value: number): Chainable<Subject>
3050
+ /**
3051
+ * Asserts that the target’s `length` property is greater than to the given number `n`.
3052
+ * @example
3053
+ * cy.wrap([1, 2, 3]).should('have.length.gt', 2)
3054
+ * cy.wrap('foo').should('have.length.gt', 2)
3055
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3056
+ * @see https://on.cypress.io/assertions
3057
+ */
3058
+ (chainer: 'have.length.gt', value: number): Chainable<Subject>
3059
+ /**
3060
+ * Asserts that the target’s `length` property is greater than or equal to the given number `n`.
3061
+ * @example
3062
+ * cy.wrap([1, 2, 3]).should('have.length.gte', 2)
3063
+ * cy.wrap('foo').should('have.length.gte', 2)
3064
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3065
+ * @see https://on.cypress.io/assertions
3066
+ */
3067
+ (chainer: 'have.length.gte', value: number): Chainable<Subject>
3068
+ /**
3069
+ * Asserts that the target’s `length` property is less than to the given number `n`.
3070
+ * @example
3071
+ * cy.wrap([1, 2, 3]).should('have.length.lessThan', 4)
3072
+ * cy.wrap('foo').should('have.length.lessThan', 4)
3073
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3074
+ * @see https://on.cypress.io/assertions
3075
+ */
3076
+ (chainer: 'have.length.lessThan', value: number): Chainable<Subject>
3077
+ /**
3078
+ * Asserts that the target’s `length` property is less than to the given number `n`.
3079
+ * @example
3080
+ * cy.wrap([1, 2, 3]).should('have.length.lt', 4)
3081
+ * cy.wrap('foo').should('have.length.lt', 4)
3082
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3083
+ * @see https://on.cypress.io/assertions
3084
+ */
3085
+ (chainer: 'have.length.lt', value: number): Chainable<Subject>
3086
+ /**
3087
+ * Asserts that the target’s `length` property is less than or equal to the given number `n`.
3088
+ * @example
3089
+ * cy.wrap([1, 2, 3]).should('have.length.lte', 4)
3090
+ * cy.wrap('foo').should('have.length.lte', 4)
3091
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3092
+ * @see https://on.cypress.io/assertions
3093
+ */
3094
+ (chainer: 'have.length.lte', value: number): Chainable<Subject>
3095
+ /**
3096
+ * Asserts that the target array has the same members as the given array `set`.
3097
+ * @example
3098
+ * cy.wrap([1, 2, 3]).should('have.members', [2, 1, 3])
3099
+ * @see http://chaijs.com/api/bdd/#method_members
3100
+ * @see https://on.cypress.io/assertions
3101
+ */
3102
+ (chainer: 'have.members', values: any[]): Chainable<Subject>
3103
+ /**
3104
+ * Asserts that the target array has the same members as the given array where order matters.
3105
+ * @example
3106
+ * cy.wrap([1, 2, 3]).should('have.ordered.members', [1, 2, 3])
3107
+ * @see http://chaijs.com/api/bdd/#method_members
3108
+ * @see https://on.cypress.io/assertions
3109
+ */
3110
+ (chainer: 'have.ordered.members', values: any[]): Chainable<Subject>
3111
+ /**
3112
+ * Causes all `.property` and `.include` assertions that follow in the chain to ignore inherited properties.
3113
+ * @example
3114
+ * Object.prototype.b = 2
3115
+ * cy.wrap({ a: 1 }).should('have.property', 'a').and('not.have.ownProperty', 'b')
3116
+ * @see http://chaijs.com/api/bdd/#method_ownproperty
3117
+ * @see https://on.cypress.io/assertions
3118
+ */
3119
+ (chainer: 'have.ownProperty', property: string): Chainable<Subject>
3120
+ /**
3121
+ * Asserts that the target has a property with the given key `name`.
3122
+ * @example
3123
+ * cy.wrap({ a: 1 }).should('have.property', 'a')
3124
+ * cy.wrap({ a: 1 }).should('have.property', 'a', 1)
3125
+ * @see http://chaijs.com/api/bdd/#method_property
3126
+ * @see https://on.cypress.io/assertions
3127
+ */
3128
+ (chainer: 'have.property', property: string, value?: any): Chainable<Subject>
3129
+ /**
3130
+ * Asserts that the target string contains the given substring `str`.
3131
+ * @example
3132
+ * cy.wrap('foobar').should('have.string', 'bar')
3133
+ * @see http://chaijs.com/api/bdd/#method_string
3134
+ * @see https://on.cypress.io/assertions
3135
+ */
3136
+ (chainer: 'have.string', match: string | RegExp): Chainable<Subject>
3137
+ /**
3138
+ * When the target is a string, `.include` asserts that the given string `val` is a substring of the target.
3139
+ * @example
3140
+ * cy.wrap('foobar').should('include', 'foo')
3141
+ * @see http://chaijs.com/api/bdd/#method_include
3142
+ * @see https://on.cypress.io/assertions
3143
+ */
3144
+ (chainer: 'include', value: any): Chainable<Subject>
3145
+ /**
3146
+ * When the target is a string, `.include` asserts that the given string `val` is a substring of the target.
3147
+ * @example
3148
+ * cy.wrap([1, 2, 3]).should('include.members', [1, 2])
3149
+ * @see http://chaijs.com/api/bdd/#method_members
3150
+ * @see https://on.cypress.io/assertions
3151
+ */
3152
+ (chainer: 'include.members', value: any[]): Chainable<Subject>
3153
+ /**
3154
+ * When one argument is provided, `.increase` asserts that the given function `subject` returns a greater number when it’s
3155
+ * invoked after invoking the target function compared to when it’s invoked beforehand.
3156
+ * `.increase` also causes all `.by` assertions that follow in the chain to assert how much greater of a number is returned.
3157
+ * It’s often best to assert that the return value increased by the expected amount, rather than asserting it increased by any amount.
3158
+ * @example
3159
+ * let val = 1
3160
+ * function addTwo() { val += 2 }
3161
+ * function getVal() { return val }
3162
+ * cy.wrap(addTwo).should('increase', getVal)
3163
+ * @see http://chaijs.com/api/bdd/#method_increase
3164
+ * @see https://on.cypress.io/assertions
3165
+ */
3166
+ (chainer: 'increase', value: object, property: string): Chainable<Subject>
3167
+ /**
3168
+ * Asserts that the target matches the given regular expression `re`.
3169
+ * @example
3170
+ * cy.wrap('foobar').should('match', /^foo/)
3171
+ * @see http://chaijs.com/api/bdd/#method_match
3172
+ * @see https://on.cypress.io/assertions
3173
+ */
3174
+ (chainer: 'match', value: RegExp): Chainable<Subject>
3175
+ /**
3176
+ * When the target is a non-function object, `.respondTo` asserts that the target has a `method` with the given name method. The method can be own or inherited, and it can be enumerable or non-enumerable.
3177
+ * @example
3178
+ * class Cat {
3179
+ * meow() {}
3180
+ * }
3181
+ * cy.wrap(new Cat()).should('respondTo', 'meow')
3182
+ * @see http://chaijs.com/api/bdd/#method_respondto
3183
+ * @see https://on.cypress.io/assertions
3184
+ */
3185
+ (chainer: 'respondTo', value: string): Chainable<Subject>
3186
+ /**
3187
+ * Invokes the given `matcher` function with the target being passed as the first argument, and asserts that the value returned is truthy.
3188
+ * @example
3189
+ * cy.wrap(1).should('satisfy', (num) => num > 0)
3190
+ * @see http://chaijs.com/api/bdd/#method_satisfy
3191
+ * @see https://on.cypress.io/assertions
3192
+ */
3193
+ (chainer: 'satisfy', fn: (val: any) => boolean): Chainable<Subject>
3194
+ /**
3195
+ * When no arguments are provided, `.throw` invokes the target function and asserts that an error is thrown.
3196
+ * When one argument is provided, and it’s a string, `.throw` invokes the target function and asserts that an error is thrown with a message that contains that string.
3197
+ * @example
3198
+ * function badFn() { throw new TypeError('Illegal salmon!') }
3199
+ * cy.wrap(badFn).should('throw')
3200
+ * cy.wrap(badFn).should('throw', 'salmon')
3201
+ * cy.wrap(badFn).should('throw', /salmon/)
3202
+ * @see http://chaijs.com/api/bdd/#method_throw
3203
+ * @see https://on.cypress.io/assertions
3204
+ */
3205
+ (chainer: 'throw', value?: string | RegExp): Chainable<Subject>
3206
+ /**
3207
+ * When no arguments are provided, `.throw` invokes the target function and asserts that an error is thrown.
3208
+ * When one argument is provided, and it’s a string, `.throw` invokes the target function and asserts that an error is thrown with a message that contains that string.
3209
+ * @example
3210
+ * function badFn() { throw new TypeError('Illegal salmon!') }
3211
+ * cy.wrap(badFn).should('throw')
3212
+ * cy.wrap(badFn).should('throw', 'salmon')
3213
+ * cy.wrap(badFn).should('throw', /salmon/)
3214
+ * @see http://chaijs.com/api/bdd/#method_throw
3215
+ * @see https://on.cypress.io/assertions
3216
+ */
3217
+ // tslint:disable-next-line ban-types
3218
+ (chainer: 'throw', error: Error | Function, expected?: string | RegExp): Chainable<Subject>
3219
+
3220
+ // chai.not
3221
+ /**
3222
+ * Asserts that the target’s `type` is not equal to the given string type.
3223
+ * Types are case insensitive. See the `type-detect` project page for info on the type detection algorithm:
3224
+ * https://github.com/chaijs/type-detect.
3225
+ * @example
3226
+ * cy.wrap('foo').should('not.be.a', 'number')
3227
+ * @see http://chaijs.com/api/bdd/#method_a
3228
+ * @see https://on.cypress.io/assertions
3229
+ */
3230
+ (chainer: 'not.be.a', type: string): Chainable<Subject>
3231
+ /**
3232
+ * Asserts that the target is a not number or not a date greater than the given number or date n respectively.
3233
+ * However, it’s often best to assert that the target is equal to its expected value.
3234
+ * @example
3235
+ * cy.wrap(6).should('not.be.above', 10)
3236
+ * @see http://chaijs.com/api/bdd/#method_above
3237
+ * @see https://on.cypress.io/assertions
3238
+ */
3239
+ (chainer: 'not.be.above', value: number | Date): Chainable<Subject>
3240
+ /**
3241
+ * Asserts that the target’s `type` is not equal to the given string type.
3242
+ * Types are case insensitive. See the `type-detect` project page for info on the type detection algorithm:
3243
+ * https://github.com/chaijs/type-detect.
3244
+ * @example
3245
+ * cy.wrap('foo').should('not.be.an', 'object')
3246
+ * @alias a
3247
+ * @see http://chaijs.com/api/bdd/#method_a
3248
+ * @see https://on.cypress.io/assertions
3249
+ */
3250
+ (chainer: 'not.be.an', value: string): Chainable<Subject>
3251
+ /**
3252
+ * Asserts that the target is not a number or not a `n` date greater than or equal to the given number or date n respectively.
3253
+ * However, it’s often best to assert that the target is equal to its expected value.
3254
+ * @example
3255
+ * cy.wrap(6).should('not.be.at.least', 10)
3256
+ * @see http://chaijs.com/api/bdd/#method_least
3257
+ * @see https://on.cypress.io/assertions
3258
+ */
3259
+ (chainer: 'not.be.at.least', value: number | Date): Chainable<Subject>
3260
+ /**
3261
+ * Asserts that the target is not a number or not a `n` date less than or equal to the given number or date n respectively.
3262
+ * However, it’s often best to assert that the target is equal to its expected value.
3263
+ * @example
3264
+ * cy.wrap(4).should('not.be.below', 1)
3265
+ * @see http://chaijs.com/api/bdd/#method_below
3266
+ * @see https://on.cypress.io/assertions
3267
+ */
3268
+ (chainer: 'not.be.below', value: number): Chainable<Subject>
3269
+ /**
3270
+ * Asserts that the target is not an `arguments` object.
3271
+ * @example
3272
+ * cy.wrap(1).should('not.be.arguments')
3273
+ * @see http://chaijs.com/api/bdd/#method_arguments
3274
+ * @see https://on.cypress.io/assertions
3275
+ */
3276
+ (chainer: 'not.be.arguments'): Chainable<Subject>
3277
+ /**
3278
+ * Asserts that the target is a not number that’s within a given +/- `delta` range of the given number `expected`. However, it’s often best to assert that the target is equal to its expected value.
3279
+ * @example
3280
+ * cy.wrap(5.1).should('not.be.approximately', 6, 0.5)
3281
+ * @alias closeTo
3282
+ * @see http://chaijs.com/api/bdd/#method_closeto
3283
+ * @see https://on.cypress.io/assertions
3284
+ */
3285
+ (chainer: 'not.be.approximately', value: number, delta: number): Chainable<Subject>
3286
+ /**
3287
+ * Asserts that the target is not a number that’s within a given +/- `delta` range of the given number `expected`. However, it’s often best to assert that the target is equal to its expected value.
3288
+ * @example
3289
+ * cy.wrap(5.1).should('not.be.closeTo', 6, 0.5)
3290
+ * @see http://chaijs.com/api/bdd/#method_closeto
3291
+ * @see https://on.cypress.io/assertions
3292
+ */
3293
+ (chainer: 'not.be.closeTo', value: number, delta: number): Chainable<Subject>
3294
+ /**
3295
+ * When the target is a not string or array, .empty asserts that the target’s length property is strictly (===) equal to 0
3296
+ * @example
3297
+ * cy.wrap([1]).should('not.be.empty')
3298
+ * cy.wrap('foo').should('not.be.empty')
3299
+ * @see http://chaijs.com/api/bdd/#method_empty
3300
+ * @see https://on.cypress.io/assertions
3301
+ */
3302
+ (chainer: 'not.be.empty'): Chainable<Subject>
3303
+ /**
3304
+ * Asserts that the target is not an instance of the given `constructor`.
3305
+ * @example
3306
+ * cy.wrap([1, 2]).should('not.be.instanceOf', String)
3307
+ * @see http://chaijs.com/api/bdd/#method_instanceof
3308
+ * @see https://on.cypress.io/assertions
3309
+ */
3310
+ (chainer: 'not.be.instanceOf', value: any): Chainable<Subject>
3311
+ /**
3312
+ * Asserts that the target is not strictly (`===`) equal to `false`.
3313
+ * @example
3314
+ * cy.wrap(true).should('not.be.false')
3315
+ * @see http://chaijs.com/api/bdd/#method_false
3316
+ * @see https://on.cypress.io/assertions
3317
+ */
3318
+ (chainer: 'not.be.false'): Chainable<Subject>
3319
+ /**
3320
+ * Asserts that the target is a not number or a date greater than the given number or date n respectively.
3321
+ * However, it’s often best to assert that the target is equal to its expected value.
3322
+ * @example
3323
+ * cy.wrap(6).should('be.greaterThan', 7)
3324
+ * @alias above
3325
+ * @see http://chaijs.com/api/bdd/#method_above
3326
+ * @see https://on.cypress.io/assertions
3327
+ */
3328
+ (chainer: 'not.be.greaterThan', value: number): Chainable<Subject>
3329
+ /**
3330
+ * Asserts that the target is a not number or a date greater than the given number or date n respectively.
3331
+ * However, it’s often best to assert that the target is equal to its expected value.
3332
+ * @example
3333
+ * cy.wrap(6).should('not.be.gt', 7)
3334
+ * @alias above
3335
+ * @see http://chaijs.com/api/bdd/#method_above
3336
+ * @see https://on.cypress.io/assertions
3337
+ */
3338
+ (chainer: 'not.be.gt', value: number): Chainable<Subject>
3339
+ /**
3340
+ * Asserts that the target is a not number or a `n` date greater than or equal to the given number or date n respectively.
3341
+ * However, it’s often best to assert that the target is equal to its expected value.
3342
+ * @example
3343
+ * cy.wrap(6).should('not.be.gte', 7)
3344
+ * @alias least
3345
+ * @see http://chaijs.com/api/bdd/#method_least
3346
+ * @see https://on.cypress.io/assertions
3347
+ */
3348
+ (chainer: 'not.be.gte', value: number): Chainable<Subject>
3349
+ /**
3350
+ * Asserts that the target is not a number or a `n` date less than or equal to the given number or date n respectively.
3351
+ * However, it’s often best to assert that the target is equal to its expected value.
3352
+ * @example
3353
+ * cy.wrap(4).should('not.be.lessThan', 3)
3354
+ * @alias below
3355
+ * @see http://chaijs.com/api/bdd/#method_below
3356
+ * @see https://on.cypress.io/assertions
3357
+ */
3358
+ (chainer: 'not.be.lessThan', value: number): Chainable<Subject>
3359
+ /**
3360
+ * Asserts that the target is not a number or a `n` date less than or equal to the given number or date n respectively.
3361
+ * However, it’s often best to assert that the target is equal to its expected value.
3362
+ * @example
3363
+ * cy.wrap(4).should('not.be.lt', 3)
3364
+ * @alias below
3365
+ * @see http://chaijs.com/api/bdd/#method_below
3366
+ * @see https://on.cypress.io/assertions
3367
+ */
3368
+ (chainer: 'not.be.lt', value: number): Chainable<Subject>
3369
+ /**
3370
+ * Asserts that the target is not a number or a date less than or equal to the given number or date n respectively.
3371
+ * However, it’s often best to assert that the target is equal to its expected value.
3372
+ * @example
3373
+ * cy.wrap(4).should('not.be.lte', 3)
3374
+ * @alias most
3375
+ * @see http://chaijs.com/api/bdd/#method_most
3376
+ * @see https://on.cypress.io/assertions
3377
+ */
3378
+ (chainer: 'not.be.lte', value: number): Chainable<Subject>
3379
+ /**
3380
+ * Asserts that the target is not loosely (`==`) equal to `true`. However, it’s often best to assert that the target is strictly (`===`) or deeply equal to its expected value.
3381
+ * @example
3382
+ * cy.wrap(0).should('not.be.ok')
3383
+ * @see http://chaijs.com/api/bdd/#method_ok
3384
+ * @see https://on.cypress.io/assertions
3385
+ */
3386
+ (chainer: 'not.be.ok'): Chainable<Subject>
3387
+ /**
3388
+ * Asserts that the target is not strictly (`===`) equal to true.
3389
+ * @example
3390
+ * cy.wrap(false).should('not.be.true')
3391
+ * @see http://chaijs.com/api/bdd/#method_true
3392
+ * @see https://on.cypress.io/assertions
3393
+ */
3394
+ (chainer: 'not.be.true'): Chainable<Subject>
3395
+ /**
3396
+ * Asserts that the target is not strictly (`===`) equal to undefined.
3397
+ * @example
3398
+ * cy.wrap(true).should('not.be.undefined')
3399
+ * @see http://chaijs.com/api/bdd/#method_undefined
3400
+ * @see https://on.cypress.io/assertions
3401
+ */
3402
+ (chainer: 'not.be.undefined'): Chainable<Subject>
3403
+ /**
3404
+ * Asserts that the target is not a number or a date greater than or equal to the given number or date `start`, and less than or equal to the given number or date `finish` respectively.
3405
+ * However, it’s often best to assert that the target is equal to its expected value.
3406
+ * @example
3407
+ * cy.wrap(3).should('not.be.within', 5, 10)
3408
+ * @see http://chaijs.com/api/bdd/#method_within
3409
+ * @see https://on.cypress.io/assertions
3410
+ */
3411
+ (chainer: 'not.be.within', start: number, end: number): Chainable<Subject>
3412
+ (chainer: 'not.be.within', start: Date, end: Date): Chainable<Subject>
3413
+ /**
3414
+ * When one argument is provided, `.change` asserts that the given function `subject` returns a different value when it’s invoked before the target function compared to when it’s invoked afterward.
3415
+ * However, it’s often best to assert that `subject` is equal to its expected value.
3416
+ * @example
3417
+ * let dots = ''
3418
+ * function addDot() { dots += '.' }
3419
+ * function getDots() { return dots }
3420
+ * cy.wrap(() => {}).should('not.change', getDots)
3421
+ * @see http://chaijs.com/api/bdd/#method_change
3422
+ * @see https://on.cypress.io/assertions
3423
+ */
3424
+ (chainer: 'not.change', fn: (...args: any[]) => any): Chainable<Subject>
3425
+ /**
3426
+ * When two arguments are provided, `.change` asserts that the value of the given object `subject`'s `prop` property is different before invoking the target function compared to afterward.
3427
+ * @example
3428
+ * const myObj = { dots: '' }
3429
+ * function addDot() { myObj.dots += '.' }
3430
+ * cy.wrap(() => {}).should('not.change', myObj, 'dots')
3431
+ * @see http://chaijs.com/api/bdd/#method_change
3432
+ * @see https://on.cypress.io/assertions
3433
+ */
3434
+ (chainer: 'not.change', obj: object, prop: string): Chainable<Subject>
3435
+ /**
3436
+ * When the target is a string, `.include` asserts that the given string val is a substring of the target.
3437
+ * @example
3438
+ * cy.wrap('tester').should('not.contain', 'foo')
3439
+ * @alias include
3440
+ * @see http://chaijs.com/api/bdd/#method_include
3441
+ * @see https://on.cypress.io/assertions
3442
+ */
3443
+ (chainer: 'not.contain', value: any): Chainable<Subject>
3444
+ /**
3445
+ * When one argument is provided, `.decrease` asserts that the given function `subject` does not returns a lesser number when it’s invoked after invoking the target function compared to when it’s invoked beforehand.
3446
+ * `.decrease` also causes all `.by` assertions that follow in the chain to assert how much lesser of a number is returned. It’s often best to assert that the return value decreased by the expected amount, rather than asserting it decreased by any amount.
3447
+ * @example
3448
+ * let val = 1
3449
+ * function subtractTwo() { val -= 2 }
3450
+ * function getVal() { return val }
3451
+ * cy.wrap(() => {}).should('not.decrease', getVal)
3452
+ * @see http://chaijs.com/api/bdd/#method_decrease
3453
+ * @see https://on.cypress.io/assertions
3454
+ */
3455
+ (chainer: 'not.decrease', fn: (...args: any[]) => any): Chainable<Subject>
3456
+ /**
3457
+ * When two arguments are provided, `.decrease` asserts that the value of the given object `subject`'s `prop` property is not lesser after invoking the target function compared to beforehand.
3458
+ * @example
3459
+ * const myObj = { val: 1 }
3460
+ * function subtractTwo() { myObj.val -= 2 }
3461
+ * cy.wrap(() => {}).should('not.decrease', myObj, 'val')
3462
+ * @see http://chaijs.com/api/bdd/#method_decrease
3463
+ * @see https://on.cypress.io/assertions
3464
+ */
3465
+ (chainer: 'not.decrease', obj: object, prop: string): Chainable<Subject>
3466
+ /**
3467
+ * Causes all `.equal`, `.include`, `.members`, `.keys`, and `.property` assertions that follow in the chain to not use deep equality instead of strict (`===`) equality. See the `deep-eql` project page for info on the deep equality algorithm: https://github.com/chaijs/deep-eql.
3468
+ * @example
3469
+ * cy.wrap({ a: 1 }).should('not.deep.equal', { b: 1 })
3470
+ * @see http://chaijs.com/api/bdd/#method_deep
3471
+ * @see https://on.cypress.io/assertions
3472
+ */
3473
+ (chainer: 'not.deep.equal', value: Subject): Chainable<Subject>
3474
+ /**
3475
+ * Asserts that the target is not strictly (`===`) equal to either `null` or `undefined`. However, it’s often best to assert that the target is equal to its expected value.
3476
+ * @example
3477
+ * cy.wrap(null).should('not.exist')
3478
+ * @see http://chaijs.com/api/bdd/#method_exist
3479
+ * @see https://on.cypress.io/assertions
3480
+ */
3481
+ (chainer: 'not.exist'): Chainable<Subject>
3482
+ /**
3483
+ * Asserts that the target is not strictly (`===`) equal to the given `val`.
3484
+ * @example
3485
+ * cy.wrap(1).should('not.eq', 2)
3486
+ * @alias equal
3487
+ * @see http://chaijs.com/api/bdd/#method_equal
3488
+ * @see https://on.cypress.io/assertions
3489
+ */
3490
+ (chainer: 'not.eq', value: any): Chainable<Subject>
3491
+ /**
3492
+ * Asserts that the target is not deeply equal to the given `obj`. See the `deep-eql` project page for info on the deep equality algorithm: https://github.com/chaijs/deep-eql.
3493
+ * @example
3494
+ * cy.wrap({a: 1}).should('not.eql', {c: 1}).and('not.equal', {a: 1})
3495
+ * @see http://chaijs.com/api/bdd/#method_eql
3496
+ * @see https://on.cypress.io/assertions
3497
+ */
3498
+ (chainer: 'not.eql', value: any): Chainable<Subject>
3499
+ /**
3500
+ * Asserts that the target is not strictly (`===`) equal to the given `val`.
3501
+ * @example
3502
+ * cy.wrap(1).should('not.equal', 2)
3503
+ * @see http://chaijs.com/api/bdd/#method_equal
3504
+ * @see https://on.cypress.io/assertions
3505
+ */
3506
+ (chainer: 'not.equal', value: any): Chainable<Subject>
3507
+ /**
3508
+ * Causes all `.keys` assertions that follow in the chain to not require that the target have all of the given keys. This is the opposite of `.any`, which only requires that the target have at least one of the given keys.
3509
+ * @example
3510
+ * cy.wrap({ a: 1, b: 2 }).should('not.have.all.keys', 'c', 'd')
3511
+ * @see http://chaijs.com/api/bdd/#method_all
3512
+ * @see https://on.cypress.io/assertions
3513
+ */
3514
+ (chainer: 'not.have.all.keys', ...value: string[]): Chainable<Subject>
3515
+ /**
3516
+ * Causes all `.keys` assertions that follow in the chain to only require that the target not have at least one of the given keys. This is the opposite of `.all`, which requires that the target have all of the given keys.
3517
+ * @example
3518
+ * cy.wrap({ a: 1, b: 2 }).should('not.have.any.keys', 'c')
3519
+ * @see http://chaijs.com/api/bdd/#method_any
3520
+ * @see https://on.cypress.io/assertions
3521
+ */
3522
+ (chainer: 'not.have.any.keys', ...value: string[]): Chainable<Subject>
3523
+ /**
3524
+ * Asserts that the target does not have a property with the given key `name`. See the `deep-eql` project page for info on the deep equality algorithm: https://github.com/chaijs/deep-eql.
3525
+ * @example
3526
+ * cy.wrap({ x: {a: 1 }}).should('not.have.deep.property', 'y', { a: 1 })
3527
+ * @see http://chaijs.com/api/bdd/#method_property
3528
+ * @see https://on.cypress.io/assertions
3529
+ */
3530
+ (chainer: 'not.have.deep.property', value: string, obj: object): Chainable<Subject>
3531
+ /**
3532
+ * Asserts that the target’s `length` property is not equal to the given number `n`.
3533
+ * @example
3534
+ * cy.wrap([1, 2, 3]).should('not.have.length', 2)
3535
+ * cy.wrap('foo').should('not.have.length', 2)
3536
+ * @alias lengthOf
3537
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3538
+ * @see https://on.cypress.io/assertions
3539
+ */
3540
+ (chainer: 'not.have.length', value: number): Chainable<Subject>
3541
+ /**
3542
+ * Asserts that the target’s `length` property is not greater than to the given number `n`.
3543
+ * @example
3544
+ * cy.wrap([1, 2, 3]).should('not.have.length.greaterThan', 4)
3545
+ * cy.wrap('foo').should('not.have.length.greaterThan', 4)
3546
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3547
+ * @see https://on.cypress.io/assertions
3548
+ */
3549
+ (chainer: 'not.have.length.greaterThan', value: number): Chainable<Subject>
3550
+ /**
3551
+ * Asserts that the target’s `length` property is not greater than to the given number `n`.
3552
+ * @example
3553
+ * cy.wrap([1, 2, 3]).should('not.have.length.gt', 4)
3554
+ * cy.wrap('foo').should('not.have.length.gt', 4)
3555
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3556
+ * @see https://on.cypress.io/assertions
3557
+ */
3558
+ (chainer: 'not.have.length.gt', value: number): Chainable<Subject>
3559
+ /**
3560
+ * Asserts that the target’s `length` property is not greater than or equal to the given number `n`.
3561
+ * @example
3562
+ * cy.wrap([1, 2, 3]).should('not.have.length.gte', 4)
3563
+ * cy.wrap('foo').should('not.have.length.gte', 4)
3564
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3565
+ * @see https://on.cypress.io/assertions
3566
+ */
3567
+ (chainer: 'have.length.gte', value: number): Chainable<Subject>
3568
+ /**
3569
+ * Asserts that the target’s `length` property is less than to the given number `n`.
3570
+ * @example
3571
+ * cy.wrap([1, 2, 3]).should('have.length.lessThan', 2)
3572
+ * cy.wrap('foo').should('have.length.lessThan', 2)
3573
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3574
+ * @see https://on.cypress.io/assertions
3575
+ */
3576
+ (chainer: 'not.have.length.lessThan', value: number): Chainable<Subject>
3577
+ /**
3578
+ * Asserts that the target’s `length` property is not less than to the given number `n`.
3579
+ * @example
3580
+ * cy.wrap([1, 2, 3]).should('not.have.length.lt', 2)
3581
+ * cy.wrap('foo').should('not.have.length.lt', 2)
3582
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3583
+ * @see https://on.cypress.io/assertions
3584
+ */
3585
+ (chainer: 'not.have.length.lt', value: number): Chainable<Subject>
3586
+ /**
3587
+ * Asserts that the target’s `length` property is not less than or equal to the given number `n`.
3588
+ * @example
3589
+ * cy.wrap([1, 2, 3]).should('not.have.length.let', 2)
3590
+ * cy.wrap('foo').should('not.have.length.lte', 2)
3591
+ * @see http://chaijs.com/api/bdd/#method_lengthof
3592
+ * @see https://on.cypress.io/assertions
3593
+ */
3594
+ (chainer: 'not.have.length.lte', value: number): Chainable<Subject>
3595
+ /**
3596
+ * Asserts that the target array does not have the same members as the given array `set`.
3597
+ * @example
3598
+ * cy.wrap([1, 2, 3]).should('not.have.members', [4, 5, 6])
3599
+ * @see http://chaijs.com/api/bdd/#method_members
3600
+ * @see https://on.cypress.io/assertions
3601
+ */
3602
+ (chainer: 'not.have.members', values: any[]): Chainable<Subject>
3603
+ /**
3604
+ * Asserts that the target array does not have the same members as the given array where order matters.
3605
+ * @example
3606
+ * cy.wrap([1, 2, 3]).should('not. have.ordered.members', [4, 5, 6])
3607
+ * @see http://chaijs.com/api/bdd/#method_members
3608
+ * @see https://on.cypress.io/assertions
3609
+ */
3610
+ (chainer: 'not.have.ordered.members', values: any[]): Chainable<Subject>
3611
+ /**
3612
+ * Causes all `.property` and `.include` assertions that follow in the chain to ignore inherited properties.
3613
+ * @example
3614
+ * Object.prototype.b = 2
3615
+ * cy.wrap({ a: 1 }).should('have.property', 'a').and('not.have.ownProperty', 'b')
3616
+ * @see http://chaijs.com/api/bdd/#method_ownproperty
3617
+ * @see https://on.cypress.io/assertions
3618
+ */
3619
+ (chainer: 'not.have.ownProperty', property: string): Chainable<Subject>
3620
+ /**
3621
+ * Asserts that the target has a property with the given key `name`.
3622
+ * @example
3623
+ * cy.wrap({ a: 1 }).should('not.have.property', 'b')
3624
+ * cy.wrap({ a: 1 }).should('not.have.property', 'b', 1)
3625
+ * @see http://chaijs.com/api/bdd/#method_property
3626
+ * @see https://on.cypress.io/assertions
3627
+ */
3628
+ (chainer: 'not.have.property', property: string, value?: any): Chainable<Subject>
3629
+ /**
3630
+ * Asserts that the target string does not contains the given substring `str`.
3631
+ * @example
3632
+ * cy.wrap('foobar').should('not.have.string', 'baz')
3633
+ * @see http://chaijs.com/api/bdd/#method_string
3634
+ * @see https://on.cypress.io/assertions
3635
+ */
3636
+ (chainer: 'not.have.string', match: string | RegExp): Chainable<Subject>
3637
+ /**
3638
+ * When the target is a string, `.include` asserts that the given string `val` is not a substring of the target.
3639
+ * @example
3640
+ * cy.wrap('foobar').should('not.include', 'baz')
3641
+ * @see http://chaijs.com/api/bdd/#method_include
3642
+ * @see https://on.cypress.io/assertions
3643
+ */
3644
+ (chainer: 'not.include', value: any): Chainable<Subject>
3645
+ /**
3646
+ * When the target is a string, `.include` asserts that the given string `val` is not a substring of the target.
3647
+ * @example
3648
+ * cy.wrap([1, 2, 3]).should('not.include.members', [4, 5])
3649
+ * @see http://chaijs.com/api/bdd/#method_members
3650
+ * @see https://on.cypress.io/assertions
3651
+ */
3652
+ (chainer: 'not.include.members', value: any[]): Chainable<Subject>
3653
+ /**
3654
+ * When one argument is provided, `.increase` asserts that the given function `subject` returns a greater number when it’s
3655
+ * invoked after invoking the target function compared to when it’s invoked beforehand.
3656
+ * `.increase` also causes all `.by` assertions that follow in the chain to assert how much greater of a number is returned.
3657
+ * It’s often best to assert that the return value increased by the expected amount, rather than asserting it increased by any amount.
3658
+ * @example
3659
+ * let val = 1
3660
+ * function addTwo() { val += 2 }
3661
+ * function getVal() { return val }
3662
+ * cy.wrap(() => {}).should('not.increase', getVal)
3663
+ * @see http://chaijs.com/api/bdd/#method_increase
3664
+ * @see https://on.cypress.io/assertions
3665
+ */
3666
+ (chainer: 'not.increase', value: object, property: string): Chainable<Subject>
3667
+ /**
3668
+ * Asserts that the target does not match the given regular expression `re`.
3669
+ * @example
3670
+ * cy.wrap('foobar').should('not.match', /baz$/)
3671
+ * @see http://chaijs.com/api/bdd/#method_match
3672
+ * @see https://on.cypress.io/assertions
3673
+ */
3674
+ (chainer: 'not.match', value: RegExp): Chainable<Subject>
3675
+ /**
3676
+ * When the target is a non-function object, `.respondTo` asserts that the target does not have a `method` with the given name method. The method can be own or inherited, and it can be enumerable or non-enumerable.
3677
+ * @example
3678
+ * class Cat {
3679
+ * meow() {}
3680
+ * }
3681
+ * cy.wrap(new Cat()).should('not.respondTo', 'bark')
3682
+ * @see http://chaijs.com/api/bdd/#method_respondto
3683
+ * @see https://on.cypress.io/assertions
3684
+ */
3685
+ (chainer: 'not.respondTo', value: string): Chainable<Subject>
3686
+ /**
3687
+ * Invokes the given `matcher` function with the target being passed as the first argument, and asserts that the value returned is falsy.
3688
+ * @example
3689
+ * cy.wrap(1).should('not.satisfy', (num) => num < 0)
3690
+ * @see http://chaijs.com/api/bdd/#method_satisfy
3691
+ * @see https://on.cypress.io/assertions
3692
+ */
3693
+ (chainer: 'not.satisfy', fn: (val: any) => boolean): Chainable<Subject>
3694
+ /**
3695
+ * When no arguments are provided, `.throw` invokes the target function and asserts that no error is thrown.
3696
+ * When one argument is provided, and it’s a string, `.throw` invokes the target function and asserts that no error is thrown with a message that contains that string.
3697
+ * @example
3698
+ * function badFn() { console.log('Illegal salmon!') }
3699
+ * cy.wrap(badFn).should('not.throw')
3700
+ * cy.wrap(badFn).should('not.throw', 'salmon')
3701
+ * cy.wrap(badFn).should('not.throw', /salmon/)
3702
+ * @see http://chaijs.com/api/bdd/#method_throw
3703
+ * @see https://on.cypress.io/assertions
3704
+ */
3705
+ (chainer: 'throw', value?: string | RegExp): Chainable<Subject>
3706
+ /**
3707
+ * When no arguments are provided, `.throw` invokes the target function and asserts that no error is thrown.
3708
+ * When one argument is provided, and it’s a string, `.throw` invokes the target function and asserts that no error is thrown with a message that contains that string.
3709
+ * @example
3710
+ * function badFn() { console.log('Illegal salmon!') }
3711
+ * cy.wrap(badFn).should('not.throw')
3712
+ * cy.wrap(badFn).should('not.throw', 'salmon')
3713
+ * cy.wrap(badFn).should('not.throw', /salmon/)
3714
+ * @see http://chaijs.com/api/bdd/#method_throw
3715
+ * @see https://on.cypress.io/assertions
3716
+ */
3717
+ // tslint:disable-next-line ban-types
3718
+ (chainer: 'throw', error: Error | Function, expected?: string | RegExp): Chainable<Subject>
3719
+
3720
+ // sinon-chai
3721
+ /**
3722
+ * Assert spy/stub was called the `new` operator.
3723
+ * Beware that this is inferred based on the value of the this object and the spy function’s prototype, so it may give false positives if you actively return the right kind of object.
3724
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledwithnew
3725
+ * @see https://on.cypress.io/assertions
3726
+ */
3727
+ (chainer: 'be.always.calledWithNew'): Chainable<Subject>
3728
+ /**
3729
+ * Assert if spy was always called with matching arguments (and possibly others).
3730
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spyalwayscalledwithmatcharg1-arg2-
3731
+ * @see https://on.cypress.io/assertions
3732
+ */
3733
+ (chainer: 'be.always.calledWithMatch', ...args: any[]): Chainable<Subject>
3734
+ /**
3735
+ * Assert spy always returned the provided value.
3736
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spyalwaysreturnedobj
3737
+ * @see https://on.cypress.io/assertions
3738
+ */
3739
+ (chainer: 'always.returned', value: any): Chainable<Subject>
3740
+ /**
3741
+ * `true` if the spy was called at least once
3742
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalled
3743
+ * @see https://on.cypress.io/assertions
3744
+ */
3745
+ (chainer: 'be.called'): Chainable<Subject>
3746
+ /**
3747
+ * Assert spy was called after `anotherSpy`
3748
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledafteranotherspy
3749
+ * @see https://on.cypress.io/assertions
3750
+ */
3751
+ (chainer: 'be.calledAfter', spy: sinon.SinonSpy): Chainable<Subject>
3752
+ /**
3753
+ * Assert spy was called before `anotherSpy`
3754
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledbeforeanotherspy
3755
+ * @see https://on.cypress.io/assertions
3756
+ */
3757
+ (chainer: 'be.calledBefore', spy: sinon.SinonSpy): Chainable<Subject>
3758
+ /**
3759
+ * Assert spy was called at least once with `obj` as `this`. `calledOn` also accepts a matcher (see [matchers](http://sinonjs.org/releases/v4.1.3/spies/#matchers)).
3760
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledonobj
3761
+ * @see https://on.cypress.io/assertions
3762
+ */
3763
+ (chainer: 'be.calledOn', context: any): Chainable<Subject>
3764
+ /**
3765
+ * Assert spy was called exactly once
3766
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledonce
3767
+ * @see https://on.cypress.io/assertions
3768
+ */
3769
+ (chainer: 'be.calledOnce'): Chainable<Subject>
3770
+ /**
3771
+ * Assert spy was called exactly three times
3772
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledthrice
3773
+ * @see https://on.cypress.io/assertions
3774
+ */
3775
+ (chainer: 'be.calledThrice'): Chainable<Subject>
3776
+ /**
3777
+ * Assert spy was called exactly twice
3778
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledtwice
3779
+ * @see https://on.cypress.io/assertions
3780
+ */
3781
+ (chainer: 'be.calledTwice'): Chainable<Subject>
3782
+ /**
3783
+ * Assert spy was called at least once with the provided arguments and no others.
3784
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledwithexactlyarg1-arg2-
3785
+ * @see https://on.cypress.io/assertions
3786
+ */
3787
+ (chainer: 'be.calledWithExactly', ...args: any[]): Chainable<Subject>
3788
+ /**
3789
+ * Assert spy was called with matching arguments (and possibly others).
3790
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledwithmatcharg1-arg2-
3791
+ * @see https://on.cypress.io/assertions
3792
+ */
3793
+ (chainer: 'be.calledWithMatch', ...args: any[]): Chainable<Subject>
3794
+ /**
3795
+ * Assert spy/stub was called the `new` operator.
3796
+ * Beware that this is inferred based on the value of the this object and the spy function’s prototype, so it may give false positives if you actively return the right kind of object.
3797
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledwithnew
3798
+ * @see https://on.cypress.io/assertions
3799
+ */
3800
+ (chainer: 'be.calledWithNew'): Chainable<Subject>
3801
+ /**
3802
+ * Assert spy always threw an exception.
3803
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spyalwaysthrew
3804
+ * @see https://on.cypress.io/assertions
3805
+ */
3806
+ (chainer: 'have.always.thrown', value?: Error | typeof Error | string): Chainable<Subject>
3807
+ /**
3808
+ * Assert the number of calls.
3809
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycallcount
3810
+ * @see https://on.cypress.io/assertions
3811
+ */
3812
+ (chainer: 'have.callCount', value: number): Chainable<Subject>
3813
+ /**
3814
+ * Assert spy threw an exception at least once.
3815
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spythrew
3816
+ * @see https://on.cypress.io/assertions
3817
+ */
3818
+ (chainer: 'have.thrown', value?: Error | typeof Error | string): Chainable<Subject>
3819
+ /**
3820
+ * Assert spy returned the provided value at least once. (see [matchers](http://sinonjs.org/releases/v4.1.3/spies/#matchers))
3821
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spyreturnedobj
3822
+ * @see https://on.cypress.io/assertions
3823
+ */
3824
+ (chainer: 'returned', value: any): Chainable<Subject>
3825
+
3826
+ // sinon-chai.not
3827
+ /**
3828
+ * Assert spy/stub was not called the `new` operator.
3829
+ * Beware that this is inferred based on the value of the this object and the spy function’s prototype, so it may give false positives if you actively return the right kind of object.
3830
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledwithnew
3831
+ * @see https://on.cypress.io/assertions
3832
+ */
3833
+ (chainer: 'not.be.always.calledWithNew'): Chainable<Subject>
3834
+ /**
3835
+ * Assert if spy was not always called with matching arguments (and possibly others).
3836
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spyalwayscalledwithmatcharg1-arg2-
3837
+ * @see https://on.cypress.io/assertions
3838
+ */
3839
+ (chainer: 'not.be.always.calledWithMatch', ...args: any[]): Chainable<Subject>
3840
+ /**
3841
+ * Assert spy not always returned the provided value.
3842
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spyalwaysreturnedobj
3843
+ * @see https://on.cypress.io/assertions
3844
+ */
3845
+ (chainer: 'not.always.returned', value: any): Chainable<Subject>
3846
+ /**
3847
+ * `true` if the spy was not called at least once
3848
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalled
3849
+ * @see https://on.cypress.io/assertions
3850
+ */
3851
+ (chainer: 'not.be.called'): Chainable<Subject>
3852
+ /**
3853
+ * Assert spy was not.called after `anotherSpy`
3854
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledafteranotherspy
3855
+ * @see https://on.cypress.io/assertions
3856
+ */
3857
+ (chainer: 'not.be.calledAfter', spy: sinon.SinonSpy): Chainable<Subject>
3858
+ /**
3859
+ * Assert spy was not called before `anotherSpy`
3860
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledbeforeanotherspy
3861
+ * @see https://on.cypress.io/assertions
3862
+ */
3863
+ (chainer: 'not.be.calledBefore', spy: sinon.SinonSpy): Chainable<Subject>
3864
+ /**
3865
+ * Assert spy was not called at least once with `obj` as `this`. `calledOn` also accepts a matcher (see [matchers](http://sinonjs.org/releases/v4.1.3/spies/#matchers)).
3866
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledonobj
3867
+ * @see https://on.cypress.io/assertions
3868
+ */
3869
+ (chainer: 'not.be.calledOn', context: any): Chainable<Subject>
3870
+ /**
3871
+ * Assert spy was not called exactly once
3872
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledonce
3873
+ * @see https://on.cypress.io/assertions
3874
+ */
3875
+ (chainer: 'not.be.calledOnce'): Chainable<Subject>
3876
+ /**
3877
+ * Assert spy was not called exactly three times
3878
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledthrice
3879
+ * @see https://on.cypress.io/assertions
3880
+ */
3881
+ (chainer: 'not.be.calledThrice'): Chainable<Subject>
3882
+ /**
3883
+ * Assert spy was not called exactly twice
3884
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledtwice
3885
+ * @see https://on.cypress.io/assertions
3886
+ */
3887
+ (chainer: 'not.be.calledTwice'): Chainable<Subject>
3888
+ /**
3889
+ * Assert spy was not called at least once with the provided arguments and no others.
3890
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledwithexactlyarg1-arg2-
3891
+ * @see https://on.cypress.io/assertions
3892
+ */
3893
+ (chainer: 'not.be.calledWithExactly', ...args: any[]): Chainable<Subject>
3894
+ /**
3895
+ * Assert spy was not called with matching arguments (and possibly others).
3896
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledwithmatcharg1-arg2-
3897
+ * @see https://on.cypress.io/assertions
3898
+ */
3899
+ (chainer: 'not.be.calledWithMatch', ...args: any[]): Chainable<Subject>
3900
+ /**
3901
+ * Assert spy/stub was not called the `new` operator.
3902
+ * Beware that this is inferred based on the value of the this object and the spy function’s prototype, so it may give false positives if you actively return the right kind of object.
3903
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycalledwithnew
3904
+ * @see https://on.cypress.io/assertions
3905
+ */
3906
+ (chainer: 'not.be.calledWithNew'): Chainable<Subject>
3907
+ /**
3908
+ * Assert spy did not always throw an exception.
3909
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spyalwaysthrew
3910
+ * @see https://on.cypress.io/assertions
3911
+ */
3912
+ (chainer: 'not.have.always.thrown', value?: Error | typeof Error | string): Chainable<Subject>
3913
+ /**
3914
+ * Assert not the number of calls.
3915
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spycallcount
3916
+ * @see https://on.cypress.io/assertions
3917
+ */
3918
+ (chainer: 'not.have.callCount', value: number): Chainable<Subject>
3919
+ /**
3920
+ * Assert spy did not throw an exception at least once.
3921
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spythrew
3922
+ * @see https://on.cypress.io/assertions
3923
+ */
3924
+ (chainer: 'not.have.thrown', value?: Error | typeof Error | string): Chainable<Subject>
3925
+ /**
3926
+ * Assert spy did not return the provided value at least once. (see [matchers](http://sinonjs.org/releases/v4.1.3/spies/#matchers))
3927
+ * @see http://sinonjs.org/releases/v4.1.3/spies/#spyreturnedobj
3928
+ * @see https://on.cypress.io/assertions
3929
+ */
3930
+ (chainer: 'not.returned', value: any): Chainable<Subject>
3931
+
3932
+ // jquery-chai
3933
+ /**
3934
+ * Assert that at least one element of the selection is checked, using `.is(':checked')`.
3935
+ * @example
3936
+ * cy.get('#result').should('be.checked')
3937
+ * @see http://chaijs.com/plugins/chai-jquery/#checked
3938
+ * @see https://on.cypress.io/assertions
3939
+ */
3940
+ (chainer: 'be.checked'): Chainable<Subject>
3941
+ /**
3942
+ * Assert that at least one element of the selection is disabled, using `.is(':disabled')`.
3943
+ * @example
3944
+ * cy.get('#result').should('be.disabled')
3945
+ * @see http://chaijs.com/plugins/chai-jquery/#disabled
3946
+ * @see https://on.cypress.io/assertions
3947
+ */
3948
+ (chainer: 'be.disabled'): Chainable<Subject>
3949
+ /**
3950
+ * Assert that at least one element of the selection is empty, using `.is(':empty')`. If the object asserted against is not a jQuery object, the original implementation will be called.
3951
+ * @example
3952
+ * cy.get('#result').should('be.empty')
3953
+ * @see http://chaijs.com/plugins/chai-jquery/#empty
3954
+ * @see https://on.cypress.io/assertions
3955
+ */
3956
+ (chainer: 'be.empty'): Chainable<Subject>
3957
+ /**
3958
+ * Assert that at least one element of the selection is enabled, using `.is(':enabled')`.
3959
+ * @example
3960
+ * cy.get('#result').should('be.enabled')
3961
+ * @see http://chaijs.com/plugins/chai-jquery/#enabled
3962
+ * @see https://on.cypress.io/assertions
3963
+ */
3964
+ (chainer: 'be.enabled'): Chainable<Subject>
3965
+ /**
3966
+ * Assert that at least one element of the selection is hidden, using `.is(':hidden')`.
3967
+ * @example
3968
+ * cy.get('#result').should('be.hidden')
3969
+ * @see http://chaijs.com/plugins/chai-jquery/#hidden
3970
+ * @see https://on.cypress.io/assertions
3971
+ */
3972
+ (chainer: 'be.hidden'): Chainable<Subject>
3973
+ /**
3974
+ * Assert that at least one element of the selection is selected, using `.is(':selected')`.
3975
+ * @example
3976
+ * cy.get('#result').should('be.selected')
3977
+ * @see http://chaijs.com/plugins/chai-jquery/#selected
3978
+ * @see https://on.cypress.io/assertions
3979
+ */
3980
+ (chainer: 'be.selected'): Chainable<Subject>
3981
+ /**
3982
+ * Assert that at least one element of the selection is visible, using `.is(':visible')`.
3983
+ * @example
3984
+ * cy.get('#result').should('be.visible')
3985
+ * @see http://chaijs.com/plugins/chai-jquery/#visible
3986
+ * @see https://on.cypress.io/assertions
3987
+ */
3988
+ (chainer: 'be.visible'): Chainable<Subject>
3989
+ /**
3990
+ * Assert that the selection contains the given text, using `:contains()`. If the object asserted against is not a jQuery object, or if `contain` is not called as a function, the original implementation will be called.
3991
+ * @example
3992
+ * cy.get('#result').should('contain', 'text')
3993
+ * @see http://chaijs.com/plugins/chai-jquery/#containtext
3994
+ * @see https://on.cypress.io/assertions
3995
+ */
3996
+ (chainer: 'contain', value: string): Chainable<Subject>
3997
+ /**
3998
+ * Assert that at least one element of the selection is focused.
3999
+ * @example
4000
+ * cy.get('#result').should('have.focus')
4001
+ * cy.get('#result').should('be.focused')
4002
+ * @see https://on.cypress.io/assertions
4003
+ */
4004
+ (chainer: 'have.focus'): Chainable<Subject>
4005
+ /**
4006
+ * Assert that at least one element of the selection is focused.
4007
+ * @example
4008
+ * cy.get('#result').should('be.focused')
4009
+ * cy.get('#result').should('have.focus')
4010
+ * @see https://on.cypress.io/assertions
4011
+ */
4012
+ (chainer: 'be.focused'): Chainable<Subject>
4013
+ /**
4014
+ * Assert that the selection is not empty. Note that this overrides the built-in chai assertion. If the object asserted against is not a jQuery object, the original implementation will be called.
4015
+ * @example
4016
+ * cy.get('#result').should('exist')
4017
+ * @see http://chaijs.com/plugins/chai-jquery/#exist
4018
+ * @see https://on.cypress.io/assertions
4019
+ */
4020
+ (chainer: 'exist'): Chainable<Subject>
4021
+ /**
4022
+ * Assert that the first element of the selection has the given attribute, using `.attr()`. Optionally, assert a particular value as well. The return value is available for chaining.
4023
+ * @example
4024
+ * cy.get('#result').should('have.attr', 'role')
4025
+ * cy.get('#result').should('have.attr', 'role', 'menu')
4026
+ * @see http://chaijs.com/plugins/chai-jquery/#attrname-value
4027
+ * @see https://on.cypress.io/assertions
4028
+ */
4029
+ (chainer: 'have.attr', value: string, match?: string): Chainable<Subject>
4030
+ /**
4031
+ * Assert that the first element of the selection has the given attribute, using `.attr()`. Optionally, assert a particular value as well. The return value is available for chaining.
4032
+ * @example
4033
+ * cy.get('#result').should('have.class', 'success')
4034
+ * @see http://chaijs.com/plugins/chai-jquery/#classclassname
4035
+ * @see https://on.cypress.io/assertions
4036
+ */
4037
+ (chainer: 'have.class', value: string): Chainable<Subject>
4038
+ /**
4039
+ * Assert that the first element of the selection has the given CSS property, using `.css()`. Optionally, assert a particular value as well. The return value is available for chaining.
4040
+ * @example
4041
+ * cy.get('#result').should('have.css', 'display', 'none')
4042
+ * @see http://chaijs.com/plugins/chai-jquery/#cssname-value
4043
+ * @see https://on.cypress.io/assertions
4044
+ */
4045
+ (chainer: 'have.css', value: string, match?: string): Chainable<Subject>
4046
+ /**
4047
+ * Assert that the first element of the selection has the given data value, using `.data()`. Optionally, assert a particular value as well. The return value is available for chaining.
4048
+ * @example
4049
+ * cy.get('#result').should('have.data', 'foo', 'bar')
4050
+ * @see http://chaijs.com/plugins/chai-jquery/#dataname-value
4051
+ * @see https://on.cypress.io/assertions
4052
+ */
4053
+ (chainer: 'have.data', value: string, match?: string): Chainable<Subject>
4054
+ /**
4055
+ * Assert that the selection contains at least one element which has a descendant matching the given selector, using `.has()`.
4056
+ * @example
4057
+ * cy.get('#result').should('have.descendants', 'h1')
4058
+ * @see http://chaijs.com/plugins/chai-jquery/#descendantsselector
4059
+ * @see https://on.cypress.io/assertions
4060
+ */
4061
+ (chainer: 'have.descendants', selector: string): Chainable<Subject>
4062
+ /**
4063
+ * Assert that the html of the first element of the selection is equal to the given html, using `.html()`.
4064
+ * @example
4065
+ * cy.get('#result').should('have.html', '<em>John Doe</em>')
4066
+ * @see http://chaijs.com/plugins/chai-jquery/#htmlhtml
4067
+ * @see https://on.cypress.io/assertions
4068
+ */
4069
+ (chainer: 'have.html', value: string): Chainable<Subject>
4070
+ /**
4071
+ * Assert that the html of the first element of the selection partially contains the given html, using `.html()`.
4072
+ * @example
4073
+ * cy.get('#result').should('contain.html', '<em>John Doe</em>')
4074
+ * @see http://chaijs.com/plugins/chai-jquery/#htmlhtml
4075
+ * @see https://on.cypress.io/assertions
4076
+ */
4077
+ (chainer: 'contain.html', value: string): Chainable<Subject>
4078
+ /**
4079
+ * Assert that the html of the first element of the selection partially contains the given html, using `.html()`.
4080
+ * @example
4081
+ * cy.get('#result').should('include.html', '<em>John Doe</em>')
4082
+ * @see http://chaijs.com/plugins/chai-jquery/#htmlhtml
4083
+ * @see https://on.cypress.io/assertions
4084
+ */
4085
+ (chainer: 'include.html', value: string): Chainable<Subject>
4086
+ /**
4087
+ * Assert that the first element of the selection has the given id, using `.attr('id')`.
4088
+ * @example
4089
+ * cy.get('#result').should('have.id', 'result')
4090
+ * @see http://chaijs.com/plugins/chai-jquery/#idid
4091
+ * @see https://on.cypress.io/assertions
4092
+ */
4093
+ (chainer: 'have.id', value: string, match?: string): Chainable<Subject>
4094
+ /**
4095
+ * Assert that the first element of the selection has the given property, using `.prop()`. Optionally, assert a particular value as well. The return value is available for chaining.
4096
+ * @example
4097
+ * cy.get('#result').should('have.prop', 'disabled')
4098
+ * cy.get('#result').should('have.prop', 'disabled', false)
4099
+ * @see http://chaijs.com/plugins/chai-jquery/#propname-value
4100
+ * @see https://on.cypress.io/assertions
4101
+ */
4102
+ (chainer: 'have.prop', value: string, match?: any): Chainable<Subject>
4103
+ /**
4104
+ * Assert that the text of the first element of the selection is equal to the given text, using `.text()`.
4105
+ * @example
4106
+ * cy.get('#result').should('have.text', 'John Doe')
4107
+ * @see http://chaijs.com/plugins/chai-jquery/#texttext
4108
+ * @see https://on.cypress.io/assertions
4109
+ */
4110
+ (chainer: 'have.text', value: string): Chainable<Subject>
4111
+ /**
4112
+ * Assert that the text of the first element of the selection partially contains the given text, using `.text()`.
4113
+ * @example
4114
+ * cy.get('#result').should('contain.text', 'John Doe')
4115
+ * @see http://chaijs.com/plugins/chai-jquery/#texttext
4116
+ * @see https://on.cypress.io/assertions
4117
+ */
4118
+ (chainer: 'contain.text', value: string): Chainable<Subject>
4119
+ /**
4120
+ * Assert that the text of the first element of the selection partially contains the given text, using `.text()`.
4121
+ * @example
4122
+ * cy.get('#result').should('include.text', 'John Doe')
4123
+ * @see http://chaijs.com/plugins/chai-jquery/#texttext
4124
+ * @see https://on.cypress.io/assertions
4125
+ */
4126
+ (chainer: 'include.text', value: string): Chainable<Subject>
4127
+ /**
4128
+ * Assert that the first element of the selection has the given value, using `.val()`.
4129
+ * @example
4130
+ * cy.get('textarea').should('have.value', 'foo bar baz')
4131
+ * @see http://chaijs.com/plugins/chai-jquery/#valuevalue
4132
+ * @see https://on.cypress.io/assertions
4133
+ */
4134
+ (chainer: 'have.value', value: string): Chainable<Subject>
4135
+ /**
4136
+ * Assert that the first element of the selection partially contains the given value, using `.val()`.
4137
+ * @example
4138
+ * cy.get('textarea').should('contain.value', 'foo bar baz')
4139
+ * @see http://chaijs.com/plugins/chai-jquery/#valuevalue
4140
+ * @see https://on.cypress.io/assertions
4141
+ */
4142
+ (chainer: 'contain.value', value: string): Chainable<Subject>
4143
+ /**
4144
+ * Assert that the first element of the selection partially contains the given value, using `.val()`.
4145
+ * @example
4146
+ * cy.get('textarea').should('include.value', 'foo bar baz')
4147
+ * @see http://chaijs.com/plugins/chai-jquery/#valuevalue
4148
+ * @see https://on.cypress.io/assertions
4149
+ */
4150
+ (chainer: 'include.value', value: string): Chainable<Subject>
4151
+ /**
4152
+ * Assert that the selection matches a given selector, using `.is()`. Note that this overrides the built-in chai assertion. If the object asserted against is not a jQuery object, the original implementation will be called.
4153
+ * @example
4154
+ * cy.get('#result').should('match', ':empty')
4155
+ * @see http://chaijs.com/plugins/chai-jquery/#matchselector
4156
+ * @see https://on.cypress.io/assertions
4157
+ */
4158
+ (chainer: 'match', value: string): Chainable<Subject>
4159
+
4160
+ // jquery-chai.not
4161
+ /**
4162
+ * Assert that at least one element of the selection is not checked, using `.is(':checked')`.
4163
+ * @example
4164
+ * cy.get('#result').should('not.be.checked')
4165
+ * @see http://chaijs.com/plugins/chai-jquery/#checked
4166
+ * @see https://on.cypress.io/assertions
4167
+ */
4168
+ (chainer: 'not.be.checked'): Chainable<Subject>
4169
+ /**
4170
+ * Assert that at least one element of the selection is not disabled, using `.is(':disabled')`.
4171
+ * @example
4172
+ * cy.get('#result').should('not.be.disabled')
4173
+ * @see http://chaijs.com/plugins/chai-jquery/#disabled
4174
+ * @see https://on.cypress.io/assertions
4175
+ */
4176
+ (chainer: 'not.be.disabled'): Chainable<Subject>
4177
+ /**
4178
+ * Assert that at least one element of the selection is not empty, using `.is(':empty')`. If the object asserted against is not a jQuery object, the original implementation will be called.
4179
+ * @example
4180
+ * cy.get('#result').should('not.be.empty')
4181
+ * @see http://chaijs.com/plugins/chai-jquery/#empty
4182
+ * @see https://on.cypress.io/assertions
4183
+ */
4184
+ (chainer: 'not.be.empty'): Chainable<Subject>
4185
+ /**
4186
+ * Assert that at least one element of the selection is not enabled, using `.is(':enabled')`.
4187
+ * @example
4188
+ * cy.get('#result').should('not.be.enabled')
4189
+ * @see http://chaijs.com/plugins/chai-jquery/#enabled
4190
+ * @see https://on.cypress.io/assertions
4191
+ */
4192
+ (chainer: 'not.be.enabled'): Chainable<Subject>
4193
+ /**
4194
+ * Assert that at least one element of the selection is not hidden, using `.is(':hidden')`.
4195
+ * @example
4196
+ * cy.get('#result').should('not.be.hidden')
4197
+ * @see http://chaijs.com/plugins/chai-jquery/#hidden
4198
+ * @see https://on.cypress.io/assertions
4199
+ */
4200
+ (chainer: 'not.be.hidden'): Chainable<Subject>
4201
+ /**
4202
+ * Assert that at least one element of the selection is not selected, using `.is(':selected')`.
4203
+ * @example
4204
+ * cy.get('#result').should('not.be.selected')
4205
+ * @see http://chaijs.com/plugins/chai-jquery/#selected
4206
+ * @see https://on.cypress.io/assertions
4207
+ */
4208
+ (chainer: 'not.be.selected'): Chainable<Subject>
4209
+ /**
4210
+ * Assert that at least one element of the selection is not visible, using `.is(':visible')`.
4211
+ * @example
4212
+ * cy.get('#result').should('not.be.visible')
4213
+ * @see http://chaijs.com/plugins/chai-jquery/#visible
4214
+ * @see https://on.cypress.io/assertions
4215
+ */
4216
+ (chainer: 'not.be.visible'): Chainable<Subject>
4217
+ /**
4218
+ * Assert that no element of the selection is focused.
4219
+ * @example
4220
+ * cy.get('#result').should('not.have.focus')
4221
+ * cy.get('#result').should('not.be.focused')
4222
+ * @see https://on.cypress.io/assertions
4223
+ */
4224
+ (chainer: 'not.have.focus'): Chainable<Subject>
4225
+ /**
4226
+ * Assert that no element of the selection is focused.
4227
+ * @example
4228
+ * cy.get('#result').should('not.be.focused')
4229
+ * cy.get('#result').should('not.have.focus')
4230
+ * @see https://on.cypress.io/assertions
4231
+ */
4232
+ (chainer: 'not.be.focused'): Chainable<Subject>
4233
+ /**
4234
+ * Assert that the selection does not contain the given text, using `:contains()`. If the object asserted against is not a jQuery object, or if `contain` is not called as a function, the original implementation will be called.
4235
+ * @example
4236
+ * cy.get('#result').should('not.contain', 'text')
4237
+ * @see http://chaijs.com/plugins/chai-jquery/#containtext
4238
+ * @see https://on.cypress.io/assertions
4239
+ */
4240
+ (chainer: 'not.contain', value: string): Chainable<Subject>
4241
+ /**
4242
+ * Assert that the selection is empty. Note that this overrides the built-in chai assertion. If the object asserted against is not a jQuery object, the original implementation will be called.
4243
+ * @example
4244
+ * cy.get('#result').should('not.exist')
4245
+ * @see http://chaijs.com/plugins/chai-jquery/#exist
4246
+ * @see https://on.cypress.io/assertions
4247
+ */
4248
+ (chainer: 'not.exist'): Chainable<Subject>
4249
+ /**
4250
+ * Assert that the first element of the selection does not have the given attribute, using `.attr()`. Optionally, assert a particular value as well. The return value is available for chaining.
4251
+ * @example
4252
+ * cy.get('#result').should('not.have.attr', 'role')
4253
+ * cy.get('#result').should('not.have.attr', 'role', 'menu')
4254
+ * @see http://chaijs.com/plugins/chai-jquery/#attrname-value
4255
+ * @see https://on.cypress.io/assertions
4256
+ */
4257
+ (chainer: 'not.have.attr', value: string, match?: string): Chainable<Subject>
4258
+ /**
4259
+ * Assert that the first element of the selection does not have the given attribute, using `.attr()`. Optionally, assert a particular value as well. The return value is available for chaining.
4260
+ * @example
4261
+ * cy.get('#result').should('not.have.class', 'success')
4262
+ * @see http://chaijs.com/plugins/chai-jquery/#classclassname
4263
+ * @see https://on.cypress.io/assertions
4264
+ */
4265
+ (chainer: 'not.have.class', value: string): Chainable<Subject>
4266
+ /**
4267
+ * Assert that the first element of the selection does not have the given CSS property, using `.css()`. Optionally, assert a particular value as well. The return value is available for chaining.
4268
+ * @example
4269
+ * cy.get('#result').should('not.have.css', 'display', 'none')
4270
+ * @see http://chaijs.com/plugins/chai-jquery/#cssname-value
4271
+ * @see https://on.cypress.io/assertions
4272
+ */
4273
+ (chainer: 'not.have.css', value: string, match?: string): Chainable<Subject>
4274
+ /**
4275
+ * Assert that the first element of the selection does not have the given data value, using `.data()`. Optionally, assert a particular value as well. The return value is available for chaining.
4276
+ * @example
4277
+ * cy.get('#result').should('not.have.data', 'foo', 'bar')
4278
+ * @see http://chaijs.com/plugins/chai-jquery/#dataname-value
4279
+ * @see https://on.cypress.io/assertions
4280
+ */
4281
+ (chainer: 'not.have.data', value: string, match?: string): Chainable<Subject>
4282
+ /**
4283
+ * Assert that the selection does not contain at least one element which has a descendant matching the given selector, using `.has()`.
4284
+ * @example
4285
+ * cy.get('#result').should('not.have.descendants', 'h1')
4286
+ * @see http://chaijs.com/plugins/chai-jquery/#descendantsselector
4287
+ * @see https://on.cypress.io/assertions
4288
+ */
4289
+ (chainer: 'not.have.descendants', selector: string): Chainable<Subject>
4290
+ /**
4291
+ * Assert that the html of the first element of the selection is not equal to the given html, using `.html()`.
4292
+ * @example
4293
+ * cy.get('#result').should('not.have.html', '<em>John Doe</em>')
4294
+ * @see http://chaijs.com/plugins/chai-jquery/#htmlhtml
4295
+ * @see https://on.cypress.io/assertions
4296
+ */
4297
+ (chainer: 'not.have.html', value: string): Chainable<Subject>
4298
+ /**
4299
+ * Assert that the html of the first element of the selection does not contain the given html, using `.html()`.
4300
+ * @example
4301
+ * cy.get('#result').should('not.contain.html', '<em>John Doe</em>')
4302
+ * @see http://chaijs.com/plugins/chai-jquery/#htmlhtml
4303
+ * @see https://on.cypress.io/assertions
4304
+ */
4305
+ (chainer: 'not.contain.html', value: string): Chainable<Subject>
4306
+ /**
4307
+ * Assert that the html of the first element of the selection does not contain the given html, using `.html()`.
4308
+ * @example
4309
+ * cy.get('#result').should('not.include.html', '<em>John Doe</em>')
4310
+ * @see http://chaijs.com/plugins/chai-jquery/#htmlhtml
4311
+ * @see https://on.cypress.io/assertions
4312
+ */
4313
+ (chainer: 'not.include.html', value: string): Chainable<Subject>
4314
+ /**
4315
+ * Assert that the first element of the selection does not have the given id, using `.attr('id')`.
4316
+ * @example
4317
+ * cy.get('#result').should('not.have.id', 'result')
4318
+ * @see http://chaijs.com/plugins/chai-jquery/#idid
4319
+ * @see https://on.cypress.io/assertions
4320
+ */
4321
+ (chainer: 'not.have.id', value: string, match?: string): Chainable<Subject>
4322
+ /**
4323
+ * Assert that the first element of the selection does not have the given property, using `.prop()`. Optionally, assert a particular value as well. The return value is available for chaining.
4324
+ * @example
4325
+ * cy.get('#result').should('not.have.prop', 'disabled')
4326
+ * cy.get('#result').should('not.have.prop', 'disabled', false)
4327
+ * @see http://chaijs.com/plugins/chai-jquery/#propname-value
4328
+ * @see https://on.cypress.io/assertions
4329
+ */
4330
+ (chainer: 'not.have.prop', value: string, match?: any): Chainable<Subject>
4331
+ /**
4332
+ * Assert that the text of the first element of the selection is not equal to the given text, using `.text()`.
4333
+ * @example
4334
+ * cy.get('#result').should('not.have.text', 'John Doe')
4335
+ * @see http://chaijs.com/plugins/chai-jquery/#texttext
4336
+ * @see https://on.cypress.io/assertions
4337
+ */
4338
+ (chainer: 'not.have.text', value: string): Chainable<Subject>
4339
+ /**
4340
+ * Assert that the text of the first element of the selection does not contain the given text, using `.text()`.
4341
+ * @example
4342
+ * cy.get('#result').should('not.contain.text', 'John Doe')
4343
+ * @see http://chaijs.com/plugins/chai-jquery/#texttext
4344
+ * @see https://on.cypress.io/assertions
4345
+ */
4346
+ (chainer: 'not.contain.text', value: string): Chainable<Subject>
4347
+ /**
4348
+ * Assert that the text of the first element of the selection does not contain the given text, using `.text()`.
4349
+ * @example
4350
+ * cy.get('#result').should('not.include.text', 'John Doe')
4351
+ * @see http://chaijs.com/plugins/chai-jquery/#texttext
4352
+ * @see https://on.cypress.io/assertions
4353
+ */
4354
+ (chainer: 'not.include.text', value: string): Chainable<Subject>
4355
+ /**
4356
+ * Assert that the first element of the selection does not have the given value, using `.val()`.
4357
+ * @example
4358
+ * cy.get('textarea').should('not.have.value', 'foo bar baz')
4359
+ * @see http://chaijs.com/plugins/chai-jquery/#valuevalue
4360
+ * @see https://on.cypress.io/assertions
4361
+ */
4362
+ (chainer: 'not.have.value', value: string): Chainable<Subject>
4363
+ /**
4364
+ * Assert that the first element of the selection does not contain the given value, using `.val()`.
4365
+ * @example
4366
+ * cy.get('textarea').should('not.contain.value', 'foo bar baz')
4367
+ * @see http://chaijs.com/plugins/chai-jquery/#valuevalue
4368
+ * @see https://on.cypress.io/assertions
4369
+ */
4370
+ (chainer: 'not.contain.value', value: string): Chainable<Subject>
4371
+ /**
4372
+ * Assert that the first element of the selection does not contain the given value, using `.val()`.
4373
+ * @example
4374
+ * cy.get('textarea').should('not.include.value', 'foo bar baz')
4375
+ * @see http://chaijs.com/plugins/chai-jquery/#valuevalue
4376
+ * @see https://on.cypress.io/assertions
4377
+ */
4378
+ (chainer: 'not.include.value', value: string): Chainable<Subject>
4379
+ /**
4380
+ * Assert that the selection does not match a given selector, using `.is()`. Note that this overrides the built-in chai assertion. If the object asserted against is not a jQuery object, the original implementation will be called.
4381
+ * @example
4382
+ * cy.get('#result').should('not.match', ':empty')
4383
+ * @see http://chaijs.com/plugins/chai-jquery/#matchselector
4384
+ * @see https://on.cypress.io/assertions
4385
+ */
4386
+ (chainer: 'not.match', value: string): Chainable<Subject>
4387
+
4388
+ // fallback
4389
+ /**
4390
+ * Create an assertion. Assertions are automatically retried until they pass or time out.
4391
+ * Ctrl+Space will invoke auto-complete in most editors.
4392
+ * @see https://on.cypress.io/should
4393
+ */
4394
+ (chainers: string, value?: any): Chainable<Subject>
4395
+ (chainers: string, value: any, match: any): Chainable<Subject>
4396
+
4397
+ /**
4398
+ * Create an assertion. Assertions are automatically retried until they pass or time out.
4399
+ * Passing a function to `.should()` enables you to make multiple assertions on the yielded subject. This also gives you the opportunity to massage what you’d like to assert on.
4400
+ * Just be sure _not_ to include any code that has side effects in your callback function. The callback function will be retried over and over again until no assertions within it throw.
4401
+ * @example
4402
+ * cy
4403
+ * .get('p')
4404
+ * .should(($p) => {
4405
+ * // should have found 3 elements
4406
+ * expect($p).to.have.length(3)
4407
+ *
4408
+ * // make sure the first contains some text content
4409
+ * expect($p.first()).to.contain('Hello World')
4410
+ *
4411
+ * // use jquery's map to grab all of their classes
4412
+ * // jquery's map returns a new jquery object
4413
+ * const classes = $p.map((i, el) => {
4414
+ * return Cypress.$(el).attr('class')
4415
+ * })
4416
+ *
4417
+ * // call classes.get() to make this a plain array
4418
+ * expect(classes.get()).to.deep.eq([
4419
+ * 'text-primary',
4420
+ * 'text-danger',
4421
+ * 'text-default'
4422
+ * ])
4423
+ * })
4424
+ * @see https://on.cypress.io/should
4425
+ */
4426
+ (fn: (currentSubject: Subject) => void): Chainable<Subject>
4427
+ }
4428
+
4429
+ interface BrowserLaunchOptions {
4430
+ extensions: string[],
4431
+ preferences: { [key: string]: any }
4432
+ args: string[],
4433
+ }
4434
+
4435
+ interface Dimensions {
4436
+ width: number
4437
+ height: number
4438
+ }
4439
+
4440
+ interface ScreenshotDetails {
4441
+ size: number
4442
+ takenAt: string
4443
+ duration: number
4444
+ dimensions: Dimensions
4445
+ multipart: boolean
4446
+ pixelRatio: number
4447
+ name: string
4448
+ specName: string
4449
+ testFailure: boolean
4450
+ path: string
4451
+ scaled: boolean
4452
+ blackout: string[]
4453
+ }
4454
+
4455
+ interface AfterScreenshotReturnObject {
4456
+ path?: string
4457
+ size?: number
4458
+ dimensions?: Dimensions
4459
+ }
4460
+
4461
+ interface FileObject {
4462
+ filePath: string
4463
+ outputPath: string
4464
+ shouldWatch: boolean
4465
+ }
4466
+
4467
+ /**
4468
+ * Individual task callback. Receives a single argument and _should_ return
4469
+ * anything but `undefined` or a promise that resolves anything but `undefined`
4470
+ * TODO: find a way to express "anything but undefined" in TypeScript
4471
+ */
4472
+ type Task = (value: any) => any
4473
+
4474
+ interface Tasks {
4475
+ [key: string]: Task
4476
+ }
4477
+
4478
+ interface PluginEvents {
4479
+ (action: 'before:browser:launch', fn: (browser: Browser, browserLaunchOptions: BrowserLaunchOptions) => void | BrowserLaunchOptions | Promise<BrowserLaunchOptions>): void
4480
+ (action: 'after:screenshot', fn: (details: ScreenshotDetails) => void | AfterScreenshotReturnObject | Promise<AfterScreenshotReturnObject>): void
4481
+ (action: 'file:preprocessor', fn: (file: FileObject) => string | Promise<string>): void
4482
+ (action: 'task', tasks: Tasks): void
4483
+ }
4484
+
4485
+ // for just a few events like "window:alert" it makes sense to allow passing cy.stub() or
4486
+ // a user callback function. Others probably only need a callback function.
4487
+
4488
+ /**
4489
+ * These events come from the application currently under test (your application).
4490
+ * These are the most useful events for you to listen to.
4491
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4492
+ */
4493
+ interface Actions {
4494
+ /**
4495
+ * Fires when an uncaught exception occurs in your application.
4496
+ * Cypress will fail the test when this fires.
4497
+ * Return `false` from this event and Cypress will not fail the test. Also useful for debugging purposes because the actual `error` instance is provided to you.
4498
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4499
+ * @example
4500
+ ```
4501
+ // likely want to do this in a support file
4502
+ // so it's applied to all spec files
4503
+ // cypress/support/index.js
4504
+
4505
+ Cypress.on('uncaught:exception', (err, runnable) => {
4506
+ // returning false here prevents Cypress from
4507
+ // failing the test
4508
+ return false
4509
+ })
4510
+ // stub "window.alert" in a single test
4511
+ it('shows alert', () => {
4512
+ const stub = cy.stub()
4513
+ cy.on('window:alert', stub)
4514
+ // trigger application code that calls alert(...)
4515
+ .then(() => {
4516
+ expect(stub).to.have.been.calledOnce
4517
+ })
4518
+ })
4519
+ ```
4520
+ */
4521
+ (action: 'uncaught:exception', fn: (error: Error, runnable: Mocha.IRunnable) => false | void): void
4522
+ /**
4523
+ * Fires when your app calls the global `window.confirm()` method.
4524
+ * Cypress will auto accept confirmations. Return `false` from this event and the confirmation will be canceled.
4525
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4526
+ * @example
4527
+ ```
4528
+ cy.on('window:confirm', (str) => {
4529
+ console.log(str)
4530
+ return false // simulate "Cancel"
4531
+ })
4532
+ ```
4533
+ */
4534
+ (action: 'window:confirm', fn: ((text: string) => false | void) | SinonSpyAgent<sinon.SinonSpy> | SinonSpyAgent<sinon.SinonStub>): void
4535
+ /**
4536
+ * Fires when your app calls the global `window.alert()` method.
4537
+ * Cypress will auto accept alerts. You cannot change this behavior.
4538
+ * @example
4539
+ ```
4540
+ const stub = cy.stub()
4541
+ cy.on('window:alert', stub)
4542
+ // assume the button calls window.alert()
4543
+ cy.get('.my-button')
4544
+ .click()
4545
+ .then(() => {
4546
+ expect(stub).to.have.been.calledOnce
4547
+ })
4548
+ ```
4549
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4550
+ */
4551
+ (action: 'window:alert', fn: ((text: string) => void) | SinonSpyAgent<sinon.SinonSpy> | SinonSpyAgent<sinon.SinonStub>): void
4552
+ /**
4553
+ * Fires as the page begins to load, but before any of your applications JavaScript has executed. This fires at the exact same time as `cy.visit()` `onBeforeLoad` callback. Useful to modify the window on a page transition.
4554
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4555
+ */
4556
+ (action: 'window:before:load', fn: (win: Window) => void): void
4557
+ /**
4558
+ * Fires after all your resources have finished loading after a page transition. This fires at the exact same time as a `cy.visit()` `onLoad` callback.
4559
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4560
+ */
4561
+ (action: 'window:load', fn: (win: Window) => void): void
4562
+ /**
4563
+ * Fires when your application is about to navigate away. The real event object is provided to you. Your app may have set a `returnValue` on the event, which is useful to assert on.
4564
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4565
+ */
4566
+ (action: 'window:before:unload', fn: (event: BeforeUnloadEvent) => void): void
4567
+ /**
4568
+ * Fires when your application is has unloaded and is navigating away. The real event object is provided to you. This event is not cancelable.
4569
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4570
+ */
4571
+ (action: 'window:unload', fn: (event: Event) => void): void
4572
+ /**
4573
+ * Fires whenever Cypress detects that your application's URL has changed.
4574
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4575
+ */
4576
+ (action: 'url:changed', fn: (url: string) => void): void
4577
+ /**
4578
+ * Fires when the test has failed. It is technically possible to prevent the test from actually failing by binding to this event and invoking an async `done` callback. However this is **strongly discouraged**. Tests should never legitimately fail. This event exists because it's extremely useful for debugging purposes.
4579
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4580
+ */
4581
+ (action: 'fail', fn: (error: Error, mocha: Mocha.IRunnable) => void): void
4582
+ /**
4583
+ * Fires whenever the viewport changes via a `cy.viewport()` or naturally when Cypress resets the viewport to the default between tests. Useful for debugging purposes.
4584
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4585
+ */
4586
+ (action: 'viewport:changed', fn: (viewport: Viewport) => void): void
4587
+ /**
4588
+ * Fires whenever **Cypress** is scrolling your application. This event is fired when Cypress is {% url 'waiting for and calculating actionability' interacting-with-elements %}. It will scroll to 'uncover' elements currently being covered. This event is extremely useful to debug why Cypress may think an element is not interactive.
4589
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4590
+ */
4591
+ (action: 'scrolled', fn: ($el: JQuery) => void): void
4592
+ /**
4593
+ * Fires when a cy command is first invoked and enqueued to be run later. Useful for debugging purposes if you're confused about the order in which commands will execute.
4594
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4595
+ */
4596
+ (action: 'command:enqueued', fn: (command: EnqueuedCommand) => void): void
4597
+ /**
4598
+ * Fires when cy begins actually running and executing your command. Useful for debugging and understanding how the command queue is async.
4599
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4600
+ */
4601
+ (action: 'command:start', fn: (command: CommandQueue) => void): void
4602
+ /**
4603
+ * Fires when cy finishes running and executing your command. Useful for debugging and understanding how commands are handled.
4604
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4605
+ */
4606
+ (action: 'command:end', fn: (command: CommandQueue) => void): void
4607
+ /**
4608
+ * Fires whenever a command begins its retrying routines. This is called on the trailing edge after Cypress has internally waited for the retry interval. Useful to understand **why** a command is retrying, and generally includes the actual error causing the retry to happen. When commands fail the final error is the one that actually bubbles up to fail the test. This event is essentially to debug why Cypress is failing.
4609
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4610
+ */
4611
+ (action: 'command:retry', fn: (command: CommandQueue) => void): void
4612
+ /**
4613
+ * Fires whenever a command emits this event so it can be displayed in the Command Log. Useful to see how internal cypress commands utilize the {% url 'Cypress.log()' cypress-log %} API.
4614
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4615
+ */
4616
+ (action: 'log:added', fn: (log: any, interactive: boolean) => void): void
4617
+ /**
4618
+ * Fires whenever a command's attributes changes. This event is debounced to prevent it from firing too quickly and too often. Useful to see how internal cypress commands utilize the {% url 'Cypress.log()' cypress-log %} API.
4619
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4620
+ */
4621
+ (action: 'log:changed', fn: (log: any, interactive: boolean) => void): void
4622
+ /**
4623
+ * Fires before the test and all **before** and **beforeEach** hooks run.
4624
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4625
+ */
4626
+ (action: 'test:before:run', fn: (attributes: ObjectLike, test: Mocha.ITest) => void): void
4627
+ /**
4628
+ * Fires before the test and all **before** and **beforeEach** hooks run. If a `Promise` is returned, it will be awaited before proceeding.
4629
+ */
4630
+ (action: 'test:before:run:async', fn: (attributes: ObjectLike, test: Mocha.ITest) => void | Promise<any>): void
4631
+ /**
4632
+ * Fires after the test and all **afterEach** and **after** hooks run.
4633
+ * @see https://on.cypress.io/catalog-of-events#App-Events
4634
+ */
4635
+ (action: 'test:after:run', fn: (attributes: ObjectLike, test: Mocha.ITest) => void): void
4636
+ }
4637
+
4638
+ // $CommandQueue from `command_queue.coffee` - a lot to type. Might be more useful if it was written in TS
4639
+ interface CommandQueue extends ObjectLike {
4640
+ logs(filters: any): any
4641
+ add(obj: any): any
4642
+ get(): any
4643
+ get<K extends keyof CommandQueue>(key: string): CommandQueue[K]
4644
+ toJSON(): string[]
4645
+ create(): CommandQueue
4646
+ }
4647
+
4648
+ /**
4649
+ * The clock starts at the unix epoch (timestamp of 0). This means that when you instantiate new Date in your application, it will have a time of January 1st, 1970.
4650
+ */
4651
+ interface Clock {
4652
+ /**
4653
+ * Move the clock the specified number of `milliseconds`.
4654
+ * Any timers within the affected range of time will be called.
4655
+ * @param time Number in ms to advance the clock
4656
+ */
4657
+ tick(time: number): void
4658
+ /**
4659
+ * Restore all overridden native functions. This is automatically called between tests, so should not generally be needed.
4660
+ */
4661
+ restore(): void
4662
+ }
4663
+
4664
+ interface Cookie {
4665
+ name: string
4666
+ value: string
4667
+ path: string
4668
+ domain: string
4669
+ httpOnly: boolean
4670
+ secure: boolean
4671
+ expiry?: string
4672
+ sameSite?: SameSiteStatus
4673
+ }
4674
+
4675
+ interface EnqueuedCommand {
4676
+ name: string
4677
+ args: any[]
4678
+ type: string
4679
+ chainerId: string
4680
+ fn(...args: any[]): any
4681
+ }
4682
+
4683
+ interface Exec {
4684
+ code: number
4685
+ stdout: string
4686
+ stderr: string
4687
+ }
4688
+
4689
+ interface LogAttrs {
4690
+ url: string
4691
+ consoleProps: ObjectLike
4692
+ }
4693
+
4694
+ interface Log {
4695
+ end(): Log
4696
+ finish(): void
4697
+ get<K extends keyof LogConfig>(attr: K): LogConfig[K]
4698
+ get(): LogConfig
4699
+ set<K extends keyof LogConfig>(key: K, value: LogConfig[K]): Log
4700
+ set(options: Partial<LogConfig>): Log
4701
+ snapshot(name?: string, options?: { at?: number, next: string }): Log
4702
+ }
4703
+
4704
+ interface LogConfig {
4705
+ /** The JQuery element for the command. This will highlight the command in the main window when debugging */
4706
+ $el: JQuery
4707
+ /** Allows the name of the command to be overwritten */
4708
+ name: string
4709
+ /** Override *name* for display purposes only */
4710
+ displayName: string
4711
+ message: any[]
4712
+ /** Return an object that will be printed in the dev tools console */
4713
+ consoleProps(): ObjectLike
4714
+ }
4715
+
4716
+ interface Response {
4717
+ allRequestResponses: any[]
4718
+ body: any
4719
+ duration: number
4720
+ headers: { [key: string]: string }
4721
+ isOkStatusCode: boolean
4722
+ redirectedToUrl: string
4723
+ requestHeaders: { [key: string]: string }
4724
+ status: number
4725
+ statusText: string
4726
+ }
4727
+
4728
+ interface Server extends RouteOptions {
4729
+ enable: boolean
4730
+ whitelist: (xhr: any) => boolean
4731
+ }
4732
+
4733
+ interface Viewport {
4734
+ viewportWidth: number
4735
+ viewportHeight: number
4736
+ }
4737
+
4738
+ interface WaitXHR {
4739
+ duration: number
4740
+ id: string
4741
+ method: HttpMethod
4742
+ request: {
4743
+ body: string | ObjectLike
4744
+ headers: ObjectLike
4745
+ }
4746
+ requestBody: WaitXHR['request']['body']
4747
+ requestHeaders: WaitXHR['request']['headers']
4748
+ response: {
4749
+ body: string | ObjectLike
4750
+ headers: ObjectLike
4751
+ }
4752
+ responseBody: WaitXHR['response']['body']
4753
+ responseHeaders: WaitXHR['response']['headers']
4754
+ status: number
4755
+ statusMessage: string
4756
+ url: string
4757
+ xhr: XMLHttpRequest
4758
+ }
4759
+
4760
+ type Encodings = 'ascii' | 'base64' | 'binary' | 'hex' | 'latin1' | 'utf8' | 'utf-8' | 'ucs2' | 'ucs-2' | 'utf16le' | 'utf-16le'
4761
+ type PositionType = "topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight"
4762
+ type ViewportPreset = 'macbook-15' | 'macbook-13' | 'macbook-11' | 'ipad-2' | 'ipad-mini' | 'iphone-xr' | 'iphone-x' | 'iphone-6+' | 'iphone-6' | 'iphone-5' | 'iphone-4' | 'iphone-3' | 'samsung-s10' | 'samsung-note9'
4763
+ interface Offset {
4764
+ top: number,
4765
+ left: number
4766
+ }
4767
+
4768
+ // Diff taken from https://github.com/Microsoft/TypeScript/issues/12215#issuecomment-311923766
4769
+ type Diff<T extends string, U extends string> = ({ [P in T]: P } & { [P in U]: never } & { [x: string]: never })[T]
4770
+ type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>
4771
+
4772
+ /**
4773
+ * Public interface for the global "cy" object. If you want to add
4774
+ * a custom property to this object, you should extend this interface.
4775
+ * @see https://on.cypress.io/typescript#Types-for-custom-commands
4776
+ *
4777
+ ```
4778
+ // in your TS file
4779
+ declare namespace Cypress {
4780
+ interface cy {
4781
+ // declare additional properties on "cy" object, like
4782
+ // label: string
4783
+ }
4784
+ interface Chainable {
4785
+ // declare additional custom commands as methods, like
4786
+ // login(username: string, password: string)
4787
+ }
4788
+ }
4789
+ ```
4790
+ */
4791
+ interface cy extends Chainable<undefined> {}
4792
+ }