cypress 4.3.0 → 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1448) hide show
  1. package/index.js +15 -6
  2. package/lib/cli.js +57 -54
  3. package/lib/cypress.js +8 -9
  4. package/lib/errors.js +216 -84
  5. package/lib/exec/info.js +17 -13
  6. package/lib/exec/open.js +4 -1
  7. package/lib/exec/run.js +20 -24
  8. package/lib/exec/spawn.js +56 -53
  9. package/lib/exec/versions.js +9 -6
  10. package/lib/exec/xvfb.js +29 -27
  11. package/lib/fs.js +1 -1
  12. package/lib/logger.js +26 -10
  13. package/lib/tasks/cache.js +19 -16
  14. package/lib/tasks/download.js +100 -73
  15. package/lib/tasks/install.js +125 -73
  16. package/lib/tasks/state.js +35 -19
  17. package/lib/tasks/unzip.js +38 -44
  18. package/lib/tasks/verify.js +101 -64
  19. package/lib/util.js +112 -107
  20. package/package.json +2 -11
  21. package/types/blob-util/index.d.ts +97 -0
  22. package/types/bluebird/index.d.ts +1261 -0
  23. package/types/chai/index.d.ts +1944 -0
  24. package/types/chai-jquery/index.d.ts +2587 -0
  25. package/types/cy-blob-util.d.ts +13 -0
  26. package/types/cy-bluebird.d.ts +11 -0
  27. package/types/cy-chai.d.ts +10 -0
  28. package/types/cy-minimatch.d.ts +96 -0
  29. package/types/cy-moment.d.ts +7 -0
  30. package/types/cypress-eventemitter.d.ts +8 -0
  31. package/types/cypress-expect.d.ts +3 -0
  32. package/types/cypress-global-vars.d.ts +24 -0
  33. package/types/cypress-npm-api.d.ts +13 -215
  34. package/types/cypress-type-helpers.d.ts +2 -0
  35. package/types/cypress.d.ts +4792 -0
  36. package/types/index.d.ts +33 -4856
  37. package/types/jquery/JQuery.d.ts +12942 -0
  38. package/types/jquery/JQueryStatic.d.ts +13521 -0
  39. package/types/jquery/index.d.ts +34 -0
  40. package/types/jquery/legacy.d.ts +204 -0
  41. package/types/jquery/misc.d.ts +6661 -0
  42. package/types/lodash/add.d.ts +2 -0
  43. package/types/lodash/after.d.ts +2 -0
  44. package/types/lodash/ary.d.ts +2 -0
  45. package/types/lodash/assign.d.ts +2 -0
  46. package/types/lodash/assignIn.d.ts +2 -0
  47. package/types/lodash/assignInWith.d.ts +2 -0
  48. package/types/lodash/assignWith.d.ts +2 -0
  49. package/types/lodash/at.d.ts +2 -0
  50. package/types/lodash/attempt.d.ts +2 -0
  51. package/types/lodash/before.d.ts +2 -0
  52. package/types/lodash/bind.d.ts +2 -0
  53. package/types/lodash/bindAll.d.ts +2 -0
  54. package/types/lodash/bindKey.d.ts +2 -0
  55. package/types/lodash/camelCase.d.ts +2 -0
  56. package/types/lodash/capitalize.d.ts +2 -0
  57. package/types/lodash/castArray.d.ts +2 -0
  58. package/types/lodash/ceil.d.ts +2 -0
  59. package/types/lodash/chain.d.ts +2 -0
  60. package/types/lodash/chunk.d.ts +2 -0
  61. package/types/lodash/clamp.d.ts +2 -0
  62. package/types/lodash/clone.d.ts +2 -0
  63. package/types/lodash/cloneDeep.d.ts +2 -0
  64. package/types/lodash/cloneDeepWith.d.ts +2 -0
  65. package/types/lodash/cloneWith.d.ts +2 -0
  66. package/types/lodash/common/array.d.ts +3713 -0
  67. package/types/lodash/common/collection.d.ts +2587 -0
  68. package/types/lodash/common/common.d.ts +270 -0
  69. package/types/lodash/common/date.d.ts +27 -0
  70. package/types/lodash/common/function.d.ts +1489 -0
  71. package/types/lodash/common/lang.d.ts +1936 -0
  72. package/types/lodash/common/math.d.ts +532 -0
  73. package/types/lodash/common/number.d.ts +178 -0
  74. package/types/lodash/common/object.d.ts +4109 -0
  75. package/types/lodash/common/seq.d.ts +196 -0
  76. package/types/lodash/common/string.d.ts +1059 -0
  77. package/types/lodash/common/util.d.ts +1521 -0
  78. package/types/lodash/compact.d.ts +2 -0
  79. package/types/lodash/concat.d.ts +2 -0
  80. package/types/lodash/cond.d.ts +2 -0
  81. package/types/lodash/conformsTo.d.ts +2 -0
  82. package/types/lodash/constant.d.ts +2 -0
  83. package/types/lodash/countBy.d.ts +2 -0
  84. package/types/lodash/create.d.ts +2 -0
  85. package/types/lodash/curry.d.ts +2 -0
  86. package/types/lodash/curryRight.d.ts +2 -0
  87. package/types/lodash/debounce.d.ts +2 -0
  88. package/types/lodash/deburr.d.ts +2 -0
  89. package/types/lodash/defaultTo.d.ts +2 -0
  90. package/types/lodash/defaults.d.ts +2 -0
  91. package/types/lodash/defaultsDeep.d.ts +2 -0
  92. package/types/lodash/defer.d.ts +2 -0
  93. package/types/lodash/delay.d.ts +2 -0
  94. package/types/lodash/difference.d.ts +2 -0
  95. package/types/lodash/differenceBy.d.ts +2 -0
  96. package/types/lodash/differenceWith.d.ts +2 -0
  97. package/types/lodash/divide.d.ts +2 -0
  98. package/types/lodash/drop.d.ts +2 -0
  99. package/types/lodash/dropRight.d.ts +2 -0
  100. package/types/lodash/dropRightWhile.d.ts +2 -0
  101. package/types/lodash/dropWhile.d.ts +2 -0
  102. package/types/lodash/each.d.ts +2 -0
  103. package/types/lodash/eachRight.d.ts +2 -0
  104. package/types/lodash/endsWith.d.ts +2 -0
  105. package/types/lodash/entries.d.ts +2 -0
  106. package/types/lodash/entriesIn.d.ts +2 -0
  107. package/types/lodash/eq.d.ts +2 -0
  108. package/types/lodash/escape.d.ts +2 -0
  109. package/types/lodash/escapeRegExp.d.ts +2 -0
  110. package/types/lodash/every.d.ts +2 -0
  111. package/types/lodash/extend.d.ts +2 -0
  112. package/types/lodash/extendWith.d.ts +2 -0
  113. package/types/lodash/fill.d.ts +2 -0
  114. package/types/lodash/filter.d.ts +2 -0
  115. package/types/lodash/find.d.ts +2 -0
  116. package/types/lodash/findIndex.d.ts +2 -0
  117. package/types/lodash/findKey.d.ts +2 -0
  118. package/types/lodash/findLast.d.ts +2 -0
  119. package/types/lodash/findLastIndex.d.ts +2 -0
  120. package/types/lodash/findLastKey.d.ts +2 -0
  121. package/types/lodash/first.d.ts +2 -0
  122. package/types/lodash/flatMap.d.ts +2 -0
  123. package/types/lodash/flatMapDeep.d.ts +2 -0
  124. package/types/lodash/flatMapDepth.d.ts +2 -0
  125. package/types/lodash/flatten.d.ts +2 -0
  126. package/types/lodash/flattenDeep.d.ts +2 -0
  127. package/types/lodash/flattenDepth.d.ts +2 -0
  128. package/types/lodash/flip.d.ts +2 -0
  129. package/types/lodash/floor.d.ts +2 -0
  130. package/types/lodash/flow.d.ts +2 -0
  131. package/types/lodash/flowRight.d.ts +2 -0
  132. package/types/lodash/forEach.d.ts +2 -0
  133. package/types/lodash/forEachRight.d.ts +2 -0
  134. package/types/lodash/forIn.d.ts +2 -0
  135. package/types/lodash/forInRight.d.ts +2 -0
  136. package/types/lodash/forOwn.d.ts +2 -0
  137. package/types/lodash/forOwnRight.d.ts +2 -0
  138. package/types/lodash/fp/F.d.ts +2 -0
  139. package/types/lodash/fp/T.d.ts +2 -0
  140. package/types/lodash/fp/__.d.ts +3 -0
  141. package/types/lodash/fp/add.d.ts +2 -0
  142. package/types/lodash/fp/after.d.ts +2 -0
  143. package/types/lodash/fp/all.d.ts +2 -0
  144. package/types/lodash/fp/allPass.d.ts +2 -0
  145. package/types/lodash/fp/always.d.ts +2 -0
  146. package/types/lodash/fp/any.d.ts +2 -0
  147. package/types/lodash/fp/anyPass.d.ts +2 -0
  148. package/types/lodash/fp/apply.d.ts +2 -0
  149. package/types/lodash/fp/ary.d.ts +2 -0
  150. package/types/lodash/fp/assign.d.ts +2 -0
  151. package/types/lodash/fp/assignAll.d.ts +2 -0
  152. package/types/lodash/fp/assignAllWith.d.ts +2 -0
  153. package/types/lodash/fp/assignIn.d.ts +2 -0
  154. package/types/lodash/fp/assignInAll.d.ts +2 -0
  155. package/types/lodash/fp/assignInAllWith.d.ts +2 -0
  156. package/types/lodash/fp/assignInWith.d.ts +2 -0
  157. package/types/lodash/fp/assignWith.d.ts +2 -0
  158. package/types/lodash/fp/assoc.d.ts +2 -0
  159. package/types/lodash/fp/assocPath.d.ts +2 -0
  160. package/types/lodash/fp/at.d.ts +2 -0
  161. package/types/lodash/fp/attempt.d.ts +2 -0
  162. package/types/lodash/fp/before.d.ts +2 -0
  163. package/types/lodash/fp/bind.d.ts +2 -0
  164. package/types/lodash/fp/bindAll.d.ts +2 -0
  165. package/types/lodash/fp/bindKey.d.ts +2 -0
  166. package/types/lodash/fp/camelCase.d.ts +2 -0
  167. package/types/lodash/fp/capitalize.d.ts +2 -0
  168. package/types/lodash/fp/castArray.d.ts +2 -0
  169. package/types/lodash/fp/ceil.d.ts +2 -0
  170. package/types/lodash/fp/chunk.d.ts +2 -0
  171. package/types/lodash/fp/clamp.d.ts +2 -0
  172. package/types/lodash/fp/clone.d.ts +2 -0
  173. package/types/lodash/fp/cloneDeep.d.ts +2 -0
  174. package/types/lodash/fp/cloneDeepWith.d.ts +2 -0
  175. package/types/lodash/fp/cloneWith.d.ts +2 -0
  176. package/types/lodash/fp/compact.d.ts +2 -0
  177. package/types/lodash/fp/complement.d.ts +2 -0
  178. package/types/lodash/fp/compose.d.ts +2 -0
  179. package/types/lodash/fp/concat.d.ts +2 -0
  180. package/types/lodash/fp/cond.d.ts +2 -0
  181. package/types/lodash/fp/conforms.d.ts +2 -0
  182. package/types/lodash/fp/conformsTo.d.ts +2 -0
  183. package/types/lodash/fp/constant.d.ts +2 -0
  184. package/types/lodash/fp/contains.d.ts +2 -0
  185. package/types/lodash/fp/convert.d.ts +15 -0
  186. package/types/lodash/fp/countBy.d.ts +2 -0
  187. package/types/lodash/fp/create.d.ts +2 -0
  188. package/types/lodash/fp/curry.d.ts +2 -0
  189. package/types/lodash/fp/curryN.d.ts +2 -0
  190. package/types/lodash/fp/curryRight.d.ts +2 -0
  191. package/types/lodash/fp/curryRightN.d.ts +2 -0
  192. package/types/lodash/fp/debounce.d.ts +2 -0
  193. package/types/lodash/fp/deburr.d.ts +2 -0
  194. package/types/lodash/fp/defaultTo.d.ts +2 -0
  195. package/types/lodash/fp/defaults.d.ts +2 -0
  196. package/types/lodash/fp/defaultsAll.d.ts +2 -0
  197. package/types/lodash/fp/defaultsDeep.d.ts +2 -0
  198. package/types/lodash/fp/defaultsDeepAll.d.ts +2 -0
  199. package/types/lodash/fp/defer.d.ts +2 -0
  200. package/types/lodash/fp/delay.d.ts +2 -0
  201. package/types/lodash/fp/difference.d.ts +2 -0
  202. package/types/lodash/fp/differenceBy.d.ts +2 -0
  203. package/types/lodash/fp/differenceWith.d.ts +2 -0
  204. package/types/lodash/fp/dissoc.d.ts +2 -0
  205. package/types/lodash/fp/dissocPath.d.ts +2 -0
  206. package/types/lodash/fp/divide.d.ts +2 -0
  207. package/types/lodash/fp/drop.d.ts +2 -0
  208. package/types/lodash/fp/dropLast.d.ts +2 -0
  209. package/types/lodash/fp/dropLastWhile.d.ts +2 -0
  210. package/types/lodash/fp/dropRight.d.ts +2 -0
  211. package/types/lodash/fp/dropRightWhile.d.ts +2 -0
  212. package/types/lodash/fp/dropWhile.d.ts +2 -0
  213. package/types/lodash/fp/each.d.ts +2 -0
  214. package/types/lodash/fp/eachRight.d.ts +2 -0
  215. package/types/lodash/fp/endsWith.d.ts +2 -0
  216. package/types/lodash/fp/entries.d.ts +2 -0
  217. package/types/lodash/fp/entriesIn.d.ts +2 -0
  218. package/types/lodash/fp/eq.d.ts +2 -0
  219. package/types/lodash/fp/equals.d.ts +2 -0
  220. package/types/lodash/fp/escape.d.ts +2 -0
  221. package/types/lodash/fp/escapeRegExp.d.ts +2 -0
  222. package/types/lodash/fp/every.d.ts +2 -0
  223. package/types/lodash/fp/extend.d.ts +2 -0
  224. package/types/lodash/fp/extendAll.d.ts +2 -0
  225. package/types/lodash/fp/extendAllWith.d.ts +2 -0
  226. package/types/lodash/fp/extendWith.d.ts +2 -0
  227. package/types/lodash/fp/fill.d.ts +2 -0
  228. package/types/lodash/fp/filter.d.ts +2 -0
  229. package/types/lodash/fp/find.d.ts +2 -0
  230. package/types/lodash/fp/findFrom.d.ts +2 -0
  231. package/types/lodash/fp/findIndex.d.ts +2 -0
  232. package/types/lodash/fp/findIndexFrom.d.ts +2 -0
  233. package/types/lodash/fp/findKey.d.ts +2 -0
  234. package/types/lodash/fp/findLast.d.ts +2 -0
  235. package/types/lodash/fp/findLastFrom.d.ts +2 -0
  236. package/types/lodash/fp/findLastIndex.d.ts +2 -0
  237. package/types/lodash/fp/findLastIndexFrom.d.ts +2 -0
  238. package/types/lodash/fp/findLastKey.d.ts +2 -0
  239. package/types/lodash/fp/first.d.ts +2 -0
  240. package/types/lodash/fp/flatMap.d.ts +2 -0
  241. package/types/lodash/fp/flatMapDeep.d.ts +2 -0
  242. package/types/lodash/fp/flatMapDepth.d.ts +2 -0
  243. package/types/lodash/fp/flatten.d.ts +2 -0
  244. package/types/lodash/fp/flattenDeep.d.ts +2 -0
  245. package/types/lodash/fp/flattenDepth.d.ts +2 -0
  246. package/types/lodash/fp/flip.d.ts +2 -0
  247. package/types/lodash/fp/floor.d.ts +2 -0
  248. package/types/lodash/fp/flow.d.ts +2 -0
  249. package/types/lodash/fp/flowRight.d.ts +2 -0
  250. package/types/lodash/fp/forEach.d.ts +2 -0
  251. package/types/lodash/fp/forEachRight.d.ts +2 -0
  252. package/types/lodash/fp/forIn.d.ts +2 -0
  253. package/types/lodash/fp/forInRight.d.ts +2 -0
  254. package/types/lodash/fp/forOwn.d.ts +2 -0
  255. package/types/lodash/fp/forOwnRight.d.ts +2 -0
  256. package/types/lodash/fp/fromPairs.d.ts +2 -0
  257. package/types/lodash/fp/functions.d.ts +2 -0
  258. package/types/lodash/fp/functionsIn.d.ts +2 -0
  259. package/types/lodash/fp/get.d.ts +2 -0
  260. package/types/lodash/fp/getOr.d.ts +2 -0
  261. package/types/lodash/fp/groupBy.d.ts +2 -0
  262. package/types/lodash/fp/gt.d.ts +2 -0
  263. package/types/lodash/fp/gte.d.ts +2 -0
  264. package/types/lodash/fp/has.d.ts +2 -0
  265. package/types/lodash/fp/hasIn.d.ts +2 -0
  266. package/types/lodash/fp/head.d.ts +2 -0
  267. package/types/lodash/fp/identical.d.ts +2 -0
  268. package/types/lodash/fp/identity.d.ts +2 -0
  269. package/types/lodash/fp/inRange.d.ts +2 -0
  270. package/types/lodash/fp/includes.d.ts +2 -0
  271. package/types/lodash/fp/includesFrom.d.ts +2 -0
  272. package/types/lodash/fp/indexBy.d.ts +2 -0
  273. package/types/lodash/fp/indexOf.d.ts +2 -0
  274. package/types/lodash/fp/indexOfFrom.d.ts +2 -0
  275. package/types/lodash/fp/init.d.ts +2 -0
  276. package/types/lodash/fp/initial.d.ts +2 -0
  277. package/types/lodash/fp/intersection.d.ts +2 -0
  278. package/types/lodash/fp/intersectionBy.d.ts +2 -0
  279. package/types/lodash/fp/intersectionWith.d.ts +2 -0
  280. package/types/lodash/fp/invert.d.ts +2 -0
  281. package/types/lodash/fp/invertBy.d.ts +2 -0
  282. package/types/lodash/fp/invertObj.d.ts +2 -0
  283. package/types/lodash/fp/invoke.d.ts +2 -0
  284. package/types/lodash/fp/invokeArgs.d.ts +2 -0
  285. package/types/lodash/fp/invokeArgsMap.d.ts +2 -0
  286. package/types/lodash/fp/invokeMap.d.ts +2 -0
  287. package/types/lodash/fp/isArguments.d.ts +2 -0
  288. package/types/lodash/fp/isArray.d.ts +2 -0
  289. package/types/lodash/fp/isArrayBuffer.d.ts +2 -0
  290. package/types/lodash/fp/isArrayLike.d.ts +2 -0
  291. package/types/lodash/fp/isArrayLikeObject.d.ts +2 -0
  292. package/types/lodash/fp/isBoolean.d.ts +2 -0
  293. package/types/lodash/fp/isBuffer.d.ts +2 -0
  294. package/types/lodash/fp/isDate.d.ts +2 -0
  295. package/types/lodash/fp/isElement.d.ts +2 -0
  296. package/types/lodash/fp/isEmpty.d.ts +2 -0
  297. package/types/lodash/fp/isEqual.d.ts +2 -0
  298. package/types/lodash/fp/isEqualWith.d.ts +2 -0
  299. package/types/lodash/fp/isError.d.ts +2 -0
  300. package/types/lodash/fp/isFinite.d.ts +2 -0
  301. package/types/lodash/fp/isFunction.d.ts +2 -0
  302. package/types/lodash/fp/isInteger.d.ts +2 -0
  303. package/types/lodash/fp/isLength.d.ts +2 -0
  304. package/types/lodash/fp/isMap.d.ts +2 -0
  305. package/types/lodash/fp/isMatch.d.ts +2 -0
  306. package/types/lodash/fp/isMatchWith.d.ts +2 -0
  307. package/types/lodash/fp/isNaN.d.ts +2 -0
  308. package/types/lodash/fp/isNative.d.ts +2 -0
  309. package/types/lodash/fp/isNil.d.ts +2 -0
  310. package/types/lodash/fp/isNull.d.ts +2 -0
  311. package/types/lodash/fp/isNumber.d.ts +2 -0
  312. package/types/lodash/fp/isObject.d.ts +2 -0
  313. package/types/lodash/fp/isObjectLike.d.ts +2 -0
  314. package/types/lodash/fp/isPlainObject.d.ts +2 -0
  315. package/types/lodash/fp/isRegExp.d.ts +2 -0
  316. package/types/lodash/fp/isSafeInteger.d.ts +2 -0
  317. package/types/lodash/fp/isSet.d.ts +2 -0
  318. package/types/lodash/fp/isString.d.ts +2 -0
  319. package/types/lodash/fp/isSymbol.d.ts +2 -0
  320. package/types/lodash/fp/isTypedArray.d.ts +2 -0
  321. package/types/lodash/fp/isUndefined.d.ts +2 -0
  322. package/types/lodash/fp/isWeakMap.d.ts +2 -0
  323. package/types/lodash/fp/isWeakSet.d.ts +2 -0
  324. package/types/lodash/fp/iteratee.d.ts +2 -0
  325. package/types/lodash/fp/join.d.ts +2 -0
  326. package/types/lodash/fp/juxt.d.ts +2 -0
  327. package/types/lodash/fp/kebabCase.d.ts +2 -0
  328. package/types/lodash/fp/keyBy.d.ts +2 -0
  329. package/types/lodash/fp/keys.d.ts +2 -0
  330. package/types/lodash/fp/keysIn.d.ts +2 -0
  331. package/types/lodash/fp/last.d.ts +2 -0
  332. package/types/lodash/fp/lastIndexOf.d.ts +2 -0
  333. package/types/lodash/fp/lastIndexOfFrom.d.ts +2 -0
  334. package/types/lodash/fp/lowerCase.d.ts +2 -0
  335. package/types/lodash/fp/lowerFirst.d.ts +2 -0
  336. package/types/lodash/fp/lt.d.ts +2 -0
  337. package/types/lodash/fp/lte.d.ts +2 -0
  338. package/types/lodash/fp/map.d.ts +2 -0
  339. package/types/lodash/fp/mapKeys.d.ts +2 -0
  340. package/types/lodash/fp/mapValues.d.ts +2 -0
  341. package/types/lodash/fp/matches.d.ts +2 -0
  342. package/types/lodash/fp/matchesProperty.d.ts +2 -0
  343. package/types/lodash/fp/max.d.ts +2 -0
  344. package/types/lodash/fp/maxBy.d.ts +2 -0
  345. package/types/lodash/fp/mean.d.ts +2 -0
  346. package/types/lodash/fp/meanBy.d.ts +2 -0
  347. package/types/lodash/fp/memoize.d.ts +2 -0
  348. package/types/lodash/fp/merge.d.ts +2 -0
  349. package/types/lodash/fp/mergeAll.d.ts +2 -0
  350. package/types/lodash/fp/mergeAllWith.d.ts +2 -0
  351. package/types/lodash/fp/mergeWith.d.ts +2 -0
  352. package/types/lodash/fp/method.d.ts +2 -0
  353. package/types/lodash/fp/methodOf.d.ts +2 -0
  354. package/types/lodash/fp/min.d.ts +2 -0
  355. package/types/lodash/fp/minBy.d.ts +2 -0
  356. package/types/lodash/fp/multiply.d.ts +2 -0
  357. package/types/lodash/fp/nAry.d.ts +2 -0
  358. package/types/lodash/fp/negate.d.ts +2 -0
  359. package/types/lodash/fp/noConflict.d.ts +2 -0
  360. package/types/lodash/fp/noop.d.ts +2 -0
  361. package/types/lodash/fp/now.d.ts +2 -0
  362. package/types/lodash/fp/nth.d.ts +2 -0
  363. package/types/lodash/fp/nthArg.d.ts +2 -0
  364. package/types/lodash/fp/omit.d.ts +2 -0
  365. package/types/lodash/fp/omitAll.d.ts +2 -0
  366. package/types/lodash/fp/omitBy.d.ts +2 -0
  367. package/types/lodash/fp/once.d.ts +2 -0
  368. package/types/lodash/fp/orderBy.d.ts +2 -0
  369. package/types/lodash/fp/over.d.ts +2 -0
  370. package/types/lodash/fp/overArgs.d.ts +2 -0
  371. package/types/lodash/fp/overEvery.d.ts +2 -0
  372. package/types/lodash/fp/overSome.d.ts +2 -0
  373. package/types/lodash/fp/pad.d.ts +2 -0
  374. package/types/lodash/fp/padChars.d.ts +2 -0
  375. package/types/lodash/fp/padCharsEnd.d.ts +2 -0
  376. package/types/lodash/fp/padCharsStart.d.ts +2 -0
  377. package/types/lodash/fp/padEnd.d.ts +2 -0
  378. package/types/lodash/fp/padStart.d.ts +2 -0
  379. package/types/lodash/fp/parseInt.d.ts +2 -0
  380. package/types/lodash/fp/partial.d.ts +2 -0
  381. package/types/lodash/fp/partialRight.d.ts +2 -0
  382. package/types/lodash/fp/partition.d.ts +2 -0
  383. package/types/lodash/fp/path.d.ts +2 -0
  384. package/types/lodash/fp/pathEq.d.ts +2 -0
  385. package/types/lodash/fp/pathOr.d.ts +2 -0
  386. package/types/lodash/fp/paths.d.ts +2 -0
  387. package/types/lodash/fp/pick.d.ts +2 -0
  388. package/types/lodash/fp/pickAll.d.ts +2 -0
  389. package/types/lodash/fp/pickBy.d.ts +2 -0
  390. package/types/lodash/fp/pipe.d.ts +2 -0
  391. package/types/lodash/fp/placeholder.d.ts +3 -0
  392. package/types/lodash/fp/pluck.d.ts +2 -0
  393. package/types/lodash/fp/prop.d.ts +2 -0
  394. package/types/lodash/fp/propEq.d.ts +2 -0
  395. package/types/lodash/fp/propOr.d.ts +2 -0
  396. package/types/lodash/fp/property.d.ts +2 -0
  397. package/types/lodash/fp/propertyOf.d.ts +2 -0
  398. package/types/lodash/fp/props.d.ts +2 -0
  399. package/types/lodash/fp/pull.d.ts +2 -0
  400. package/types/lodash/fp/pullAll.d.ts +2 -0
  401. package/types/lodash/fp/pullAllBy.d.ts +2 -0
  402. package/types/lodash/fp/pullAllWith.d.ts +2 -0
  403. package/types/lodash/fp/pullAt.d.ts +2 -0
  404. package/types/lodash/fp/random.d.ts +2 -0
  405. package/types/lodash/fp/range.d.ts +2 -0
  406. package/types/lodash/fp/rangeRight.d.ts +2 -0
  407. package/types/lodash/fp/rangeStep.d.ts +2 -0
  408. package/types/lodash/fp/rangeStepRight.d.ts +2 -0
  409. package/types/lodash/fp/rearg.d.ts +2 -0
  410. package/types/lodash/fp/reduce.d.ts +2 -0
  411. package/types/lodash/fp/reduceRight.d.ts +2 -0
  412. package/types/lodash/fp/reject.d.ts +2 -0
  413. package/types/lodash/fp/remove.d.ts +2 -0
  414. package/types/lodash/fp/repeat.d.ts +2 -0
  415. package/types/lodash/fp/replace.d.ts +2 -0
  416. package/types/lodash/fp/rest.d.ts +2 -0
  417. package/types/lodash/fp/restFrom.d.ts +2 -0
  418. package/types/lodash/fp/result.d.ts +2 -0
  419. package/types/lodash/fp/reverse.d.ts +2 -0
  420. package/types/lodash/fp/round.d.ts +2 -0
  421. package/types/lodash/fp/runInContext.d.ts +2 -0
  422. package/types/lodash/fp/sample.d.ts +2 -0
  423. package/types/lodash/fp/sampleSize.d.ts +2 -0
  424. package/types/lodash/fp/set.d.ts +2 -0
  425. package/types/lodash/fp/setWith.d.ts +2 -0
  426. package/types/lodash/fp/shuffle.d.ts +2 -0
  427. package/types/lodash/fp/size.d.ts +2 -0
  428. package/types/lodash/fp/slice.d.ts +2 -0
  429. package/types/lodash/fp/snakeCase.d.ts +2 -0
  430. package/types/lodash/fp/some.d.ts +2 -0
  431. package/types/lodash/fp/sortBy.d.ts +2 -0
  432. package/types/lodash/fp/sortedIndex.d.ts +2 -0
  433. package/types/lodash/fp/sortedIndexBy.d.ts +2 -0
  434. package/types/lodash/fp/sortedIndexOf.d.ts +2 -0
  435. package/types/lodash/fp/sortedLastIndex.d.ts +2 -0
  436. package/types/lodash/fp/sortedLastIndexBy.d.ts +2 -0
  437. package/types/lodash/fp/sortedLastIndexOf.d.ts +2 -0
  438. package/types/lodash/fp/sortedUniq.d.ts +2 -0
  439. package/types/lodash/fp/sortedUniqBy.d.ts +2 -0
  440. package/types/lodash/fp/split.d.ts +2 -0
  441. package/types/lodash/fp/spread.d.ts +2 -0
  442. package/types/lodash/fp/spreadFrom.d.ts +2 -0
  443. package/types/lodash/fp/startCase.d.ts +2 -0
  444. package/types/lodash/fp/startsWith.d.ts +2 -0
  445. package/types/lodash/fp/stubArray.d.ts +2 -0
  446. package/types/lodash/fp/stubFalse.d.ts +2 -0
  447. package/types/lodash/fp/stubObject.d.ts +2 -0
  448. package/types/lodash/fp/stubString.d.ts +2 -0
  449. package/types/lodash/fp/stubTrue.d.ts +2 -0
  450. package/types/lodash/fp/subtract.d.ts +2 -0
  451. package/types/lodash/fp/sum.d.ts +2 -0
  452. package/types/lodash/fp/sumBy.d.ts +2 -0
  453. package/types/lodash/fp/symmetricDifference.d.ts +2 -0
  454. package/types/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
  455. package/types/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
  456. package/types/lodash/fp/tail.d.ts +2 -0
  457. package/types/lodash/fp/take.d.ts +2 -0
  458. package/types/lodash/fp/takeLast.d.ts +2 -0
  459. package/types/lodash/fp/takeLastWhile.d.ts +2 -0
  460. package/types/lodash/fp/takeRight.d.ts +2 -0
  461. package/types/lodash/fp/takeRightWhile.d.ts +2 -0
  462. package/types/lodash/fp/takeWhile.d.ts +2 -0
  463. package/types/lodash/fp/tap.d.ts +2 -0
  464. package/types/lodash/fp/template.d.ts +2 -0
  465. package/types/lodash/fp/throttle.d.ts +2 -0
  466. package/types/lodash/fp/thru.d.ts +2 -0
  467. package/types/lodash/fp/times.d.ts +2 -0
  468. package/types/lodash/fp/toArray.d.ts +2 -0
  469. package/types/lodash/fp/toFinite.d.ts +2 -0
  470. package/types/lodash/fp/toInteger.d.ts +2 -0
  471. package/types/lodash/fp/toLength.d.ts +2 -0
  472. package/types/lodash/fp/toLower.d.ts +2 -0
  473. package/types/lodash/fp/toNumber.d.ts +2 -0
  474. package/types/lodash/fp/toPairs.d.ts +2 -0
  475. package/types/lodash/fp/toPairsIn.d.ts +2 -0
  476. package/types/lodash/fp/toPath.d.ts +2 -0
  477. package/types/lodash/fp/toPlainObject.d.ts +2 -0
  478. package/types/lodash/fp/toSafeInteger.d.ts +2 -0
  479. package/types/lodash/fp/toString.d.ts +2 -0
  480. package/types/lodash/fp/toUpper.d.ts +2 -0
  481. package/types/lodash/fp/transform.d.ts +2 -0
  482. package/types/lodash/fp/trim.d.ts +2 -0
  483. package/types/lodash/fp/trimChars.d.ts +2 -0
  484. package/types/lodash/fp/trimCharsEnd.d.ts +2 -0
  485. package/types/lodash/fp/trimCharsStart.d.ts +2 -0
  486. package/types/lodash/fp/trimEnd.d.ts +2 -0
  487. package/types/lodash/fp/trimStart.d.ts +2 -0
  488. package/types/lodash/fp/truncate.d.ts +2 -0
  489. package/types/lodash/fp/unapply.d.ts +2 -0
  490. package/types/lodash/fp/unary.d.ts +2 -0
  491. package/types/lodash/fp/unescape.d.ts +2 -0
  492. package/types/lodash/fp/union.d.ts +2 -0
  493. package/types/lodash/fp/unionBy.d.ts +2 -0
  494. package/types/lodash/fp/unionWith.d.ts +2 -0
  495. package/types/lodash/fp/uniq.d.ts +2 -0
  496. package/types/lodash/fp/uniqBy.d.ts +2 -0
  497. package/types/lodash/fp/uniqWith.d.ts +2 -0
  498. package/types/lodash/fp/uniqueId.d.ts +2 -0
  499. package/types/lodash/fp/unnest.d.ts +2 -0
  500. package/types/lodash/fp/unset.d.ts +2 -0
  501. package/types/lodash/fp/unzip.d.ts +2 -0
  502. package/types/lodash/fp/unzipWith.d.ts +2 -0
  503. package/types/lodash/fp/update.d.ts +2 -0
  504. package/types/lodash/fp/updateWith.d.ts +2 -0
  505. package/types/lodash/fp/upperCase.d.ts +2 -0
  506. package/types/lodash/fp/upperFirst.d.ts +2 -0
  507. package/types/lodash/fp/useWith.d.ts +2 -0
  508. package/types/lodash/fp/values.d.ts +2 -0
  509. package/types/lodash/fp/valuesIn.d.ts +2 -0
  510. package/types/lodash/fp/where.d.ts +2 -0
  511. package/types/lodash/fp/whereEq.d.ts +2 -0
  512. package/types/lodash/fp/without.d.ts +2 -0
  513. package/types/lodash/fp/words.d.ts +2 -0
  514. package/types/lodash/fp/wrap.d.ts +2 -0
  515. package/types/lodash/fp/xor.d.ts +2 -0
  516. package/types/lodash/fp/xorBy.d.ts +2 -0
  517. package/types/lodash/fp/xorWith.d.ts +2 -0
  518. package/types/lodash/fp/zip.d.ts +2 -0
  519. package/types/lodash/fp/zipAll.d.ts +2 -0
  520. package/types/lodash/fp/zipObj.d.ts +2 -0
  521. package/types/lodash/fp/zipObject.d.ts +2 -0
  522. package/types/lodash/fp/zipObjectDeep.d.ts +2 -0
  523. package/types/lodash/fp/zipWith.d.ts +2 -0
  524. package/types/lodash/fp.d.ts +4992 -0
  525. package/types/lodash/fromPairs.d.ts +2 -0
  526. package/types/lodash/functions.d.ts +2 -0
  527. package/types/lodash/functionsIn.d.ts +2 -0
  528. package/types/lodash/get.d.ts +2 -0
  529. package/types/lodash/groupBy.d.ts +2 -0
  530. package/types/lodash/gt.d.ts +2 -0
  531. package/types/lodash/gte.d.ts +2 -0
  532. package/types/lodash/has.d.ts +2 -0
  533. package/types/lodash/hasIn.d.ts +2 -0
  534. package/types/lodash/head.d.ts +2 -0
  535. package/types/lodash/identity.d.ts +2 -0
  536. package/types/lodash/inRange.d.ts +2 -0
  537. package/types/lodash/includes.d.ts +2 -0
  538. package/types/lodash/index.d.ts +47 -0
  539. package/types/lodash/indexOf.d.ts +2 -0
  540. package/types/lodash/initial.d.ts +2 -0
  541. package/types/lodash/intersection.d.ts +2 -0
  542. package/types/lodash/intersectionBy.d.ts +2 -0
  543. package/types/lodash/intersectionWith.d.ts +2 -0
  544. package/types/lodash/invert.d.ts +2 -0
  545. package/types/lodash/invertBy.d.ts +2 -0
  546. package/types/lodash/invoke.d.ts +2 -0
  547. package/types/lodash/invokeMap.d.ts +2 -0
  548. package/types/lodash/isArguments.d.ts +2 -0
  549. package/types/lodash/isArray.d.ts +2 -0
  550. package/types/lodash/isArrayBuffer.d.ts +2 -0
  551. package/types/lodash/isArrayLike.d.ts +2 -0
  552. package/types/lodash/isArrayLikeObject.d.ts +2 -0
  553. package/types/lodash/isBoolean.d.ts +2 -0
  554. package/types/lodash/isBuffer.d.ts +2 -0
  555. package/types/lodash/isDate.d.ts +2 -0
  556. package/types/lodash/isElement.d.ts +2 -0
  557. package/types/lodash/isEmpty.d.ts +2 -0
  558. package/types/lodash/isEqual.d.ts +2 -0
  559. package/types/lodash/isEqualWith.d.ts +2 -0
  560. package/types/lodash/isError.d.ts +2 -0
  561. package/types/lodash/isFinite.d.ts +2 -0
  562. package/types/lodash/isFunction.d.ts +2 -0
  563. package/types/lodash/isInteger.d.ts +2 -0
  564. package/types/lodash/isLength.d.ts +2 -0
  565. package/types/lodash/isMap.d.ts +2 -0
  566. package/types/lodash/isMatch.d.ts +2 -0
  567. package/types/lodash/isMatchWith.d.ts +2 -0
  568. package/types/lodash/isNaN.d.ts +2 -0
  569. package/types/lodash/isNative.d.ts +2 -0
  570. package/types/lodash/isNil.d.ts +2 -0
  571. package/types/lodash/isNull.d.ts +2 -0
  572. package/types/lodash/isNumber.d.ts +2 -0
  573. package/types/lodash/isObject.d.ts +2 -0
  574. package/types/lodash/isObjectLike.d.ts +2 -0
  575. package/types/lodash/isPlainObject.d.ts +2 -0
  576. package/types/lodash/isRegExp.d.ts +2 -0
  577. package/types/lodash/isSafeInteger.d.ts +2 -0
  578. package/types/lodash/isSet.d.ts +2 -0
  579. package/types/lodash/isString.d.ts +2 -0
  580. package/types/lodash/isSymbol.d.ts +2 -0
  581. package/types/lodash/isTypedArray.d.ts +2 -0
  582. package/types/lodash/isUndefined.d.ts +2 -0
  583. package/types/lodash/isWeakMap.d.ts +2 -0
  584. package/types/lodash/isWeakSet.d.ts +2 -0
  585. package/types/lodash/iteratee.d.ts +2 -0
  586. package/types/lodash/join.d.ts +2 -0
  587. package/types/lodash/kebabCase.d.ts +2 -0
  588. package/types/lodash/keyBy.d.ts +2 -0
  589. package/types/lodash/keys.d.ts +2 -0
  590. package/types/lodash/keysIn.d.ts +2 -0
  591. package/types/lodash/last.d.ts +2 -0
  592. package/types/lodash/lastIndexOf.d.ts +2 -0
  593. package/types/lodash/lowerCase.d.ts +2 -0
  594. package/types/lodash/lowerFirst.d.ts +2 -0
  595. package/types/lodash/lt.d.ts +2 -0
  596. package/types/lodash/lte.d.ts +2 -0
  597. package/types/lodash/map.d.ts +2 -0
  598. package/types/lodash/mapKeys.d.ts +2 -0
  599. package/types/lodash/mapValues.d.ts +2 -0
  600. package/types/lodash/matches.d.ts +2 -0
  601. package/types/lodash/matchesProperty.d.ts +2 -0
  602. package/types/lodash/max.d.ts +2 -0
  603. package/types/lodash/maxBy.d.ts +2 -0
  604. package/types/lodash/mean.d.ts +2 -0
  605. package/types/lodash/meanBy.d.ts +2 -0
  606. package/types/lodash/memoize.d.ts +2 -0
  607. package/types/lodash/merge.d.ts +2 -0
  608. package/types/lodash/mergeWith.d.ts +2 -0
  609. package/types/lodash/method.d.ts +2 -0
  610. package/types/lodash/methodOf.d.ts +2 -0
  611. package/types/lodash/min.d.ts +2 -0
  612. package/types/lodash/minBy.d.ts +2 -0
  613. package/types/lodash/mixin.d.ts +2 -0
  614. package/types/lodash/multiply.d.ts +2 -0
  615. package/types/lodash/negate.d.ts +2 -0
  616. package/types/lodash/noConflict.d.ts +2 -0
  617. package/types/lodash/noop.d.ts +2 -0
  618. package/types/lodash/now.d.ts +2 -0
  619. package/types/lodash/nth.d.ts +2 -0
  620. package/types/lodash/nthArg.d.ts +2 -0
  621. package/types/lodash/omit.d.ts +2 -0
  622. package/types/lodash/omitBy.d.ts +2 -0
  623. package/types/lodash/once.d.ts +2 -0
  624. package/types/lodash/orderBy.d.ts +2 -0
  625. package/types/lodash/over.d.ts +2 -0
  626. package/types/lodash/overArgs.d.ts +2 -0
  627. package/types/lodash/overEvery.d.ts +2 -0
  628. package/types/lodash/overSome.d.ts +2 -0
  629. package/types/lodash/pad.d.ts +2 -0
  630. package/types/lodash/padEnd.d.ts +2 -0
  631. package/types/lodash/padStart.d.ts +2 -0
  632. package/types/lodash/parseInt.d.ts +2 -0
  633. package/types/lodash/partial.d.ts +2 -0
  634. package/types/lodash/partialRight.d.ts +2 -0
  635. package/types/lodash/partition.d.ts +2 -0
  636. package/types/lodash/pick.d.ts +2 -0
  637. package/types/lodash/pickBy.d.ts +2 -0
  638. package/types/lodash/property.d.ts +2 -0
  639. package/types/lodash/propertyOf.d.ts +2 -0
  640. package/types/lodash/pull.d.ts +2 -0
  641. package/types/lodash/pullAll.d.ts +2 -0
  642. package/types/lodash/pullAllBy.d.ts +2 -0
  643. package/types/lodash/pullAllWith.d.ts +2 -0
  644. package/types/lodash/pullAt.d.ts +2 -0
  645. package/types/lodash/random.d.ts +2 -0
  646. package/types/lodash/range.d.ts +2 -0
  647. package/types/lodash/rangeRight.d.ts +2 -0
  648. package/types/lodash/rearg.d.ts +2 -0
  649. package/types/lodash/reduce.d.ts +2 -0
  650. package/types/lodash/reduceRight.d.ts +2 -0
  651. package/types/lodash/reject.d.ts +2 -0
  652. package/types/lodash/remove.d.ts +2 -0
  653. package/types/lodash/repeat.d.ts +2 -0
  654. package/types/lodash/replace.d.ts +2 -0
  655. package/types/lodash/rest.d.ts +2 -0
  656. package/types/lodash/result.d.ts +2 -0
  657. package/types/lodash/reverse.d.ts +2 -0
  658. package/types/lodash/round.d.ts +2 -0
  659. package/types/lodash/runInContext.d.ts +2 -0
  660. package/types/lodash/sample.d.ts +2 -0
  661. package/types/lodash/sampleSize.d.ts +2 -0
  662. package/types/lodash/set.d.ts +2 -0
  663. package/types/lodash/setWith.d.ts +2 -0
  664. package/types/lodash/shuffle.d.ts +2 -0
  665. package/types/lodash/size.d.ts +2 -0
  666. package/types/lodash/slice.d.ts +2 -0
  667. package/types/lodash/snakeCase.d.ts +2 -0
  668. package/types/lodash/some.d.ts +2 -0
  669. package/types/lodash/sortBy.d.ts +2 -0
  670. package/types/lodash/sortedIndex.d.ts +2 -0
  671. package/types/lodash/sortedIndexBy.d.ts +2 -0
  672. package/types/lodash/sortedIndexOf.d.ts +2 -0
  673. package/types/lodash/sortedLastIndex.d.ts +2 -0
  674. package/types/lodash/sortedLastIndexBy.d.ts +2 -0
  675. package/types/lodash/sortedLastIndexOf.d.ts +2 -0
  676. package/types/lodash/sortedUniq.d.ts +2 -0
  677. package/types/lodash/sortedUniqBy.d.ts +2 -0
  678. package/types/lodash/split.d.ts +2 -0
  679. package/types/lodash/spread.d.ts +2 -0
  680. package/types/lodash/startCase.d.ts +2 -0
  681. package/types/lodash/startsWith.d.ts +2 -0
  682. package/types/lodash/stubFalse.d.ts +2 -0
  683. package/types/lodash/stubTrue.d.ts +2 -0
  684. package/types/lodash/subtract.d.ts +2 -0
  685. package/types/lodash/sum.d.ts +2 -0
  686. package/types/lodash/sumBy.d.ts +2 -0
  687. package/types/lodash/tail.d.ts +2 -0
  688. package/types/lodash/take.d.ts +2 -0
  689. package/types/lodash/takeRight.d.ts +2 -0
  690. package/types/lodash/takeRightWhile.d.ts +2 -0
  691. package/types/lodash/takeWhile.d.ts +2 -0
  692. package/types/lodash/tap.d.ts +2 -0
  693. package/types/lodash/template.d.ts +2 -0
  694. package/types/lodash/throttle.d.ts +2 -0
  695. package/types/lodash/thru.d.ts +2 -0
  696. package/types/lodash/times.d.ts +2 -0
  697. package/types/lodash/toArray.d.ts +2 -0
  698. package/types/lodash/toFinite.d.ts +2 -0
  699. package/types/lodash/toInteger.d.ts +2 -0
  700. package/types/lodash/toLength.d.ts +2 -0
  701. package/types/lodash/toLower.d.ts +2 -0
  702. package/types/lodash/toNumber.d.ts +2 -0
  703. package/types/lodash/toPairs.d.ts +2 -0
  704. package/types/lodash/toPairsIn.d.ts +2 -0
  705. package/types/lodash/toPath.d.ts +2 -0
  706. package/types/lodash/toPlainObject.d.ts +2 -0
  707. package/types/lodash/toSafeInteger.d.ts +2 -0
  708. package/types/lodash/toString.d.ts +2 -0
  709. package/types/lodash/toUpper.d.ts +2 -0
  710. package/types/lodash/transform.d.ts +2 -0
  711. package/types/lodash/trim.d.ts +2 -0
  712. package/types/lodash/trimEnd.d.ts +2 -0
  713. package/types/lodash/trimStart.d.ts +2 -0
  714. package/types/lodash/truncate.d.ts +2 -0
  715. package/types/lodash/ts3.1/add.d.ts +2 -0
  716. package/types/lodash/ts3.1/after.d.ts +2 -0
  717. package/types/lodash/ts3.1/ary.d.ts +2 -0
  718. package/types/lodash/ts3.1/assign.d.ts +2 -0
  719. package/types/lodash/ts3.1/assignIn.d.ts +2 -0
  720. package/types/lodash/ts3.1/assignInWith.d.ts +2 -0
  721. package/types/lodash/ts3.1/assignWith.d.ts +2 -0
  722. package/types/lodash/ts3.1/at.d.ts +2 -0
  723. package/types/lodash/ts3.1/attempt.d.ts +2 -0
  724. package/types/lodash/ts3.1/before.d.ts +2 -0
  725. package/types/lodash/ts3.1/bind.d.ts +2 -0
  726. package/types/lodash/ts3.1/bindAll.d.ts +2 -0
  727. package/types/lodash/ts3.1/bindKey.d.ts +2 -0
  728. package/types/lodash/ts3.1/camelCase.d.ts +2 -0
  729. package/types/lodash/ts3.1/capitalize.d.ts +2 -0
  730. package/types/lodash/ts3.1/castArray.d.ts +2 -0
  731. package/types/lodash/ts3.1/ceil.d.ts +2 -0
  732. package/types/lodash/ts3.1/chain.d.ts +2 -0
  733. package/types/lodash/ts3.1/chunk.d.ts +2 -0
  734. package/types/lodash/ts3.1/clamp.d.ts +2 -0
  735. package/types/lodash/ts3.1/clone.d.ts +2 -0
  736. package/types/lodash/ts3.1/cloneDeep.d.ts +2 -0
  737. package/types/lodash/ts3.1/cloneDeepWith.d.ts +2 -0
  738. package/types/lodash/ts3.1/cloneWith.d.ts +2 -0
  739. package/types/lodash/ts3.1/common/array.d.ts +2127 -0
  740. package/types/lodash/ts3.1/common/collection.d.ts +1930 -0
  741. package/types/lodash/ts3.1/common/common.d.ts +284 -0
  742. package/types/lodash/ts3.1/common/date.d.ts +23 -0
  743. package/types/lodash/ts3.1/common/function.d.ts +1392 -0
  744. package/types/lodash/ts3.1/common/lang.d.ts +1694 -0
  745. package/types/lodash/ts3.1/common/math.d.ts +405 -0
  746. package/types/lodash/ts3.1/common/number.d.ts +131 -0
  747. package/types/lodash/ts3.1/common/object.d.ts +2507 -0
  748. package/types/lodash/ts3.1/common/seq.d.ts +210 -0
  749. package/types/lodash/ts3.1/common/string.d.ts +788 -0
  750. package/types/lodash/ts3.1/common/util.d.ts +1219 -0
  751. package/types/lodash/ts3.1/compact.d.ts +2 -0
  752. package/types/lodash/ts3.1/concat.d.ts +2 -0
  753. package/types/lodash/ts3.1/cond.d.ts +2 -0
  754. package/types/lodash/ts3.1/conformsTo.d.ts +2 -0
  755. package/types/lodash/ts3.1/constant.d.ts +2 -0
  756. package/types/lodash/ts3.1/countBy.d.ts +2 -0
  757. package/types/lodash/ts3.1/create.d.ts +2 -0
  758. package/types/lodash/ts3.1/curry.d.ts +2 -0
  759. package/types/lodash/ts3.1/curryRight.d.ts +2 -0
  760. package/types/lodash/ts3.1/debounce.d.ts +2 -0
  761. package/types/lodash/ts3.1/deburr.d.ts +2 -0
  762. package/types/lodash/ts3.1/defaultTo.d.ts +2 -0
  763. package/types/lodash/ts3.1/defaults.d.ts +2 -0
  764. package/types/lodash/ts3.1/defaultsDeep.d.ts +2 -0
  765. package/types/lodash/ts3.1/defer.d.ts +2 -0
  766. package/types/lodash/ts3.1/delay.d.ts +2 -0
  767. package/types/lodash/ts3.1/difference.d.ts +2 -0
  768. package/types/lodash/ts3.1/differenceBy.d.ts +2 -0
  769. package/types/lodash/ts3.1/differenceWith.d.ts +2 -0
  770. package/types/lodash/ts3.1/divide.d.ts +2 -0
  771. package/types/lodash/ts3.1/drop.d.ts +2 -0
  772. package/types/lodash/ts3.1/dropRight.d.ts +2 -0
  773. package/types/lodash/ts3.1/dropRightWhile.d.ts +2 -0
  774. package/types/lodash/ts3.1/dropWhile.d.ts +2 -0
  775. package/types/lodash/ts3.1/each.d.ts +2 -0
  776. package/types/lodash/ts3.1/eachRight.d.ts +2 -0
  777. package/types/lodash/ts3.1/endsWith.d.ts +2 -0
  778. package/types/lodash/ts3.1/entries.d.ts +2 -0
  779. package/types/lodash/ts3.1/entriesIn.d.ts +2 -0
  780. package/types/lodash/ts3.1/eq.d.ts +2 -0
  781. package/types/lodash/ts3.1/escape.d.ts +2 -0
  782. package/types/lodash/ts3.1/escapeRegExp.d.ts +2 -0
  783. package/types/lodash/ts3.1/every.d.ts +2 -0
  784. package/types/lodash/ts3.1/extend.d.ts +2 -0
  785. package/types/lodash/ts3.1/extendWith.d.ts +2 -0
  786. package/types/lodash/ts3.1/fill.d.ts +2 -0
  787. package/types/lodash/ts3.1/filter.d.ts +2 -0
  788. package/types/lodash/ts3.1/find.d.ts +2 -0
  789. package/types/lodash/ts3.1/findIndex.d.ts +2 -0
  790. package/types/lodash/ts3.1/findKey.d.ts +2 -0
  791. package/types/lodash/ts3.1/findLast.d.ts +2 -0
  792. package/types/lodash/ts3.1/findLastIndex.d.ts +2 -0
  793. package/types/lodash/ts3.1/findLastKey.d.ts +2 -0
  794. package/types/lodash/ts3.1/first.d.ts +2 -0
  795. package/types/lodash/ts3.1/flatMap.d.ts +2 -0
  796. package/types/lodash/ts3.1/flatMapDeep.d.ts +2 -0
  797. package/types/lodash/ts3.1/flatMapDepth.d.ts +2 -0
  798. package/types/lodash/ts3.1/flatten.d.ts +2 -0
  799. package/types/lodash/ts3.1/flattenDeep.d.ts +2 -0
  800. package/types/lodash/ts3.1/flattenDepth.d.ts +2 -0
  801. package/types/lodash/ts3.1/flip.d.ts +2 -0
  802. package/types/lodash/ts3.1/floor.d.ts +2 -0
  803. package/types/lodash/ts3.1/flow.d.ts +2 -0
  804. package/types/lodash/ts3.1/flowRight.d.ts +2 -0
  805. package/types/lodash/ts3.1/forEach.d.ts +2 -0
  806. package/types/lodash/ts3.1/forEachRight.d.ts +2 -0
  807. package/types/lodash/ts3.1/forIn.d.ts +2 -0
  808. package/types/lodash/ts3.1/forInRight.d.ts +2 -0
  809. package/types/lodash/ts3.1/forOwn.d.ts +2 -0
  810. package/types/lodash/ts3.1/forOwnRight.d.ts +2 -0
  811. package/types/lodash/ts3.1/fp/F.d.ts +2 -0
  812. package/types/lodash/ts3.1/fp/T.d.ts +2 -0
  813. package/types/lodash/ts3.1/fp/__.d.ts +3 -0
  814. package/types/lodash/ts3.1/fp/add.d.ts +2 -0
  815. package/types/lodash/ts3.1/fp/after.d.ts +2 -0
  816. package/types/lodash/ts3.1/fp/all.d.ts +2 -0
  817. package/types/lodash/ts3.1/fp/allPass.d.ts +2 -0
  818. package/types/lodash/ts3.1/fp/always.d.ts +2 -0
  819. package/types/lodash/ts3.1/fp/any.d.ts +2 -0
  820. package/types/lodash/ts3.1/fp/anyPass.d.ts +2 -0
  821. package/types/lodash/ts3.1/fp/apply.d.ts +2 -0
  822. package/types/lodash/ts3.1/fp/ary.d.ts +2 -0
  823. package/types/lodash/ts3.1/fp/assign.d.ts +2 -0
  824. package/types/lodash/ts3.1/fp/assignAll.d.ts +2 -0
  825. package/types/lodash/ts3.1/fp/assignAllWith.d.ts +2 -0
  826. package/types/lodash/ts3.1/fp/assignIn.d.ts +2 -0
  827. package/types/lodash/ts3.1/fp/assignInAll.d.ts +2 -0
  828. package/types/lodash/ts3.1/fp/assignInAllWith.d.ts +2 -0
  829. package/types/lodash/ts3.1/fp/assignInWith.d.ts +2 -0
  830. package/types/lodash/ts3.1/fp/assignWith.d.ts +2 -0
  831. package/types/lodash/ts3.1/fp/assoc.d.ts +2 -0
  832. package/types/lodash/ts3.1/fp/assocPath.d.ts +2 -0
  833. package/types/lodash/ts3.1/fp/at.d.ts +2 -0
  834. package/types/lodash/ts3.1/fp/attempt.d.ts +2 -0
  835. package/types/lodash/ts3.1/fp/before.d.ts +2 -0
  836. package/types/lodash/ts3.1/fp/bind.d.ts +2 -0
  837. package/types/lodash/ts3.1/fp/bindAll.d.ts +2 -0
  838. package/types/lodash/ts3.1/fp/bindKey.d.ts +2 -0
  839. package/types/lodash/ts3.1/fp/camelCase.d.ts +2 -0
  840. package/types/lodash/ts3.1/fp/capitalize.d.ts +2 -0
  841. package/types/lodash/ts3.1/fp/castArray.d.ts +2 -0
  842. package/types/lodash/ts3.1/fp/ceil.d.ts +2 -0
  843. package/types/lodash/ts3.1/fp/chunk.d.ts +2 -0
  844. package/types/lodash/ts3.1/fp/clamp.d.ts +2 -0
  845. package/types/lodash/ts3.1/fp/clone.d.ts +2 -0
  846. package/types/lodash/ts3.1/fp/cloneDeep.d.ts +2 -0
  847. package/types/lodash/ts3.1/fp/cloneDeepWith.d.ts +2 -0
  848. package/types/lodash/ts3.1/fp/cloneWith.d.ts +2 -0
  849. package/types/lodash/ts3.1/fp/compact.d.ts +2 -0
  850. package/types/lodash/ts3.1/fp/complement.d.ts +2 -0
  851. package/types/lodash/ts3.1/fp/compose.d.ts +2 -0
  852. package/types/lodash/ts3.1/fp/concat.d.ts +2 -0
  853. package/types/lodash/ts3.1/fp/cond.d.ts +2 -0
  854. package/types/lodash/ts3.1/fp/conforms.d.ts +2 -0
  855. package/types/lodash/ts3.1/fp/conformsTo.d.ts +2 -0
  856. package/types/lodash/ts3.1/fp/constant.d.ts +2 -0
  857. package/types/lodash/ts3.1/fp/contains.d.ts +2 -0
  858. package/types/lodash/ts3.1/fp/convert.d.ts +15 -0
  859. package/types/lodash/ts3.1/fp/countBy.d.ts +2 -0
  860. package/types/lodash/ts3.1/fp/create.d.ts +2 -0
  861. package/types/lodash/ts3.1/fp/curry.d.ts +2 -0
  862. package/types/lodash/ts3.1/fp/curryN.d.ts +2 -0
  863. package/types/lodash/ts3.1/fp/curryRight.d.ts +2 -0
  864. package/types/lodash/ts3.1/fp/curryRightN.d.ts +2 -0
  865. package/types/lodash/ts3.1/fp/debounce.d.ts +2 -0
  866. package/types/lodash/ts3.1/fp/deburr.d.ts +2 -0
  867. package/types/lodash/ts3.1/fp/defaultTo.d.ts +2 -0
  868. package/types/lodash/ts3.1/fp/defaults.d.ts +2 -0
  869. package/types/lodash/ts3.1/fp/defaultsAll.d.ts +2 -0
  870. package/types/lodash/ts3.1/fp/defaultsDeep.d.ts +2 -0
  871. package/types/lodash/ts3.1/fp/defaultsDeepAll.d.ts +2 -0
  872. package/types/lodash/ts3.1/fp/defer.d.ts +2 -0
  873. package/types/lodash/ts3.1/fp/delay.d.ts +2 -0
  874. package/types/lodash/ts3.1/fp/difference.d.ts +2 -0
  875. package/types/lodash/ts3.1/fp/differenceBy.d.ts +2 -0
  876. package/types/lodash/ts3.1/fp/differenceWith.d.ts +2 -0
  877. package/types/lodash/ts3.1/fp/dissoc.d.ts +2 -0
  878. package/types/lodash/ts3.1/fp/dissocPath.d.ts +2 -0
  879. package/types/lodash/ts3.1/fp/divide.d.ts +2 -0
  880. package/types/lodash/ts3.1/fp/drop.d.ts +2 -0
  881. package/types/lodash/ts3.1/fp/dropLast.d.ts +2 -0
  882. package/types/lodash/ts3.1/fp/dropLastWhile.d.ts +2 -0
  883. package/types/lodash/ts3.1/fp/dropRight.d.ts +2 -0
  884. package/types/lodash/ts3.1/fp/dropRightWhile.d.ts +2 -0
  885. package/types/lodash/ts3.1/fp/dropWhile.d.ts +2 -0
  886. package/types/lodash/ts3.1/fp/each.d.ts +2 -0
  887. package/types/lodash/ts3.1/fp/eachRight.d.ts +2 -0
  888. package/types/lodash/ts3.1/fp/endsWith.d.ts +2 -0
  889. package/types/lodash/ts3.1/fp/entries.d.ts +2 -0
  890. package/types/lodash/ts3.1/fp/entriesIn.d.ts +2 -0
  891. package/types/lodash/ts3.1/fp/eq.d.ts +2 -0
  892. package/types/lodash/ts3.1/fp/equals.d.ts +2 -0
  893. package/types/lodash/ts3.1/fp/escape.d.ts +2 -0
  894. package/types/lodash/ts3.1/fp/escapeRegExp.d.ts +2 -0
  895. package/types/lodash/ts3.1/fp/every.d.ts +2 -0
  896. package/types/lodash/ts3.1/fp/extend.d.ts +2 -0
  897. package/types/lodash/ts3.1/fp/extendAll.d.ts +2 -0
  898. package/types/lodash/ts3.1/fp/extendAllWith.d.ts +2 -0
  899. package/types/lodash/ts3.1/fp/extendWith.d.ts +2 -0
  900. package/types/lodash/ts3.1/fp/fill.d.ts +2 -0
  901. package/types/lodash/ts3.1/fp/filter.d.ts +2 -0
  902. package/types/lodash/ts3.1/fp/find.d.ts +2 -0
  903. package/types/lodash/ts3.1/fp/findFrom.d.ts +2 -0
  904. package/types/lodash/ts3.1/fp/findIndex.d.ts +2 -0
  905. package/types/lodash/ts3.1/fp/findIndexFrom.d.ts +2 -0
  906. package/types/lodash/ts3.1/fp/findKey.d.ts +2 -0
  907. package/types/lodash/ts3.1/fp/findLast.d.ts +2 -0
  908. package/types/lodash/ts3.1/fp/findLastFrom.d.ts +2 -0
  909. package/types/lodash/ts3.1/fp/findLastIndex.d.ts +2 -0
  910. package/types/lodash/ts3.1/fp/findLastIndexFrom.d.ts +2 -0
  911. package/types/lodash/ts3.1/fp/findLastKey.d.ts +2 -0
  912. package/types/lodash/ts3.1/fp/first.d.ts +2 -0
  913. package/types/lodash/ts3.1/fp/flatMap.d.ts +2 -0
  914. package/types/lodash/ts3.1/fp/flatMapDeep.d.ts +2 -0
  915. package/types/lodash/ts3.1/fp/flatMapDepth.d.ts +2 -0
  916. package/types/lodash/ts3.1/fp/flatten.d.ts +2 -0
  917. package/types/lodash/ts3.1/fp/flattenDeep.d.ts +2 -0
  918. package/types/lodash/ts3.1/fp/flattenDepth.d.ts +2 -0
  919. package/types/lodash/ts3.1/fp/flip.d.ts +2 -0
  920. package/types/lodash/ts3.1/fp/floor.d.ts +2 -0
  921. package/types/lodash/ts3.1/fp/flow.d.ts +2 -0
  922. package/types/lodash/ts3.1/fp/flowRight.d.ts +2 -0
  923. package/types/lodash/ts3.1/fp/forEach.d.ts +2 -0
  924. package/types/lodash/ts3.1/fp/forEachRight.d.ts +2 -0
  925. package/types/lodash/ts3.1/fp/forIn.d.ts +2 -0
  926. package/types/lodash/ts3.1/fp/forInRight.d.ts +2 -0
  927. package/types/lodash/ts3.1/fp/forOwn.d.ts +2 -0
  928. package/types/lodash/ts3.1/fp/forOwnRight.d.ts +2 -0
  929. package/types/lodash/ts3.1/fp/fromPairs.d.ts +2 -0
  930. package/types/lodash/ts3.1/fp/functions.d.ts +2 -0
  931. package/types/lodash/ts3.1/fp/functionsIn.d.ts +2 -0
  932. package/types/lodash/ts3.1/fp/get.d.ts +2 -0
  933. package/types/lodash/ts3.1/fp/getOr.d.ts +2 -0
  934. package/types/lodash/ts3.1/fp/groupBy.d.ts +2 -0
  935. package/types/lodash/ts3.1/fp/gt.d.ts +2 -0
  936. package/types/lodash/ts3.1/fp/gte.d.ts +2 -0
  937. package/types/lodash/ts3.1/fp/has.d.ts +2 -0
  938. package/types/lodash/ts3.1/fp/hasIn.d.ts +2 -0
  939. package/types/lodash/ts3.1/fp/head.d.ts +2 -0
  940. package/types/lodash/ts3.1/fp/identical.d.ts +2 -0
  941. package/types/lodash/ts3.1/fp/identity.d.ts +2 -0
  942. package/types/lodash/ts3.1/fp/inRange.d.ts +2 -0
  943. package/types/lodash/ts3.1/fp/includes.d.ts +2 -0
  944. package/types/lodash/ts3.1/fp/includesFrom.d.ts +2 -0
  945. package/types/lodash/ts3.1/fp/indexBy.d.ts +2 -0
  946. package/types/lodash/ts3.1/fp/indexOf.d.ts +2 -0
  947. package/types/lodash/ts3.1/fp/indexOfFrom.d.ts +2 -0
  948. package/types/lodash/ts3.1/fp/init.d.ts +2 -0
  949. package/types/lodash/ts3.1/fp/initial.d.ts +2 -0
  950. package/types/lodash/ts3.1/fp/intersection.d.ts +2 -0
  951. package/types/lodash/ts3.1/fp/intersectionBy.d.ts +2 -0
  952. package/types/lodash/ts3.1/fp/intersectionWith.d.ts +2 -0
  953. package/types/lodash/ts3.1/fp/invert.d.ts +2 -0
  954. package/types/lodash/ts3.1/fp/invertBy.d.ts +2 -0
  955. package/types/lodash/ts3.1/fp/invertObj.d.ts +2 -0
  956. package/types/lodash/ts3.1/fp/invoke.d.ts +2 -0
  957. package/types/lodash/ts3.1/fp/invokeArgs.d.ts +2 -0
  958. package/types/lodash/ts3.1/fp/invokeArgsMap.d.ts +2 -0
  959. package/types/lodash/ts3.1/fp/invokeMap.d.ts +2 -0
  960. package/types/lodash/ts3.1/fp/isArguments.d.ts +2 -0
  961. package/types/lodash/ts3.1/fp/isArray.d.ts +2 -0
  962. package/types/lodash/ts3.1/fp/isArrayBuffer.d.ts +2 -0
  963. package/types/lodash/ts3.1/fp/isArrayLike.d.ts +2 -0
  964. package/types/lodash/ts3.1/fp/isArrayLikeObject.d.ts +2 -0
  965. package/types/lodash/ts3.1/fp/isBoolean.d.ts +2 -0
  966. package/types/lodash/ts3.1/fp/isBuffer.d.ts +2 -0
  967. package/types/lodash/ts3.1/fp/isDate.d.ts +2 -0
  968. package/types/lodash/ts3.1/fp/isElement.d.ts +2 -0
  969. package/types/lodash/ts3.1/fp/isEmpty.d.ts +2 -0
  970. package/types/lodash/ts3.1/fp/isEqual.d.ts +2 -0
  971. package/types/lodash/ts3.1/fp/isEqualWith.d.ts +2 -0
  972. package/types/lodash/ts3.1/fp/isError.d.ts +2 -0
  973. package/types/lodash/ts3.1/fp/isFinite.d.ts +2 -0
  974. package/types/lodash/ts3.1/fp/isFunction.d.ts +2 -0
  975. package/types/lodash/ts3.1/fp/isInteger.d.ts +2 -0
  976. package/types/lodash/ts3.1/fp/isLength.d.ts +2 -0
  977. package/types/lodash/ts3.1/fp/isMap.d.ts +2 -0
  978. package/types/lodash/ts3.1/fp/isMatch.d.ts +2 -0
  979. package/types/lodash/ts3.1/fp/isMatchWith.d.ts +2 -0
  980. package/types/lodash/ts3.1/fp/isNaN.d.ts +2 -0
  981. package/types/lodash/ts3.1/fp/isNative.d.ts +2 -0
  982. package/types/lodash/ts3.1/fp/isNil.d.ts +2 -0
  983. package/types/lodash/ts3.1/fp/isNull.d.ts +2 -0
  984. package/types/lodash/ts3.1/fp/isNumber.d.ts +2 -0
  985. package/types/lodash/ts3.1/fp/isObject.d.ts +2 -0
  986. package/types/lodash/ts3.1/fp/isObjectLike.d.ts +2 -0
  987. package/types/lodash/ts3.1/fp/isPlainObject.d.ts +2 -0
  988. package/types/lodash/ts3.1/fp/isRegExp.d.ts +2 -0
  989. package/types/lodash/ts3.1/fp/isSafeInteger.d.ts +2 -0
  990. package/types/lodash/ts3.1/fp/isSet.d.ts +2 -0
  991. package/types/lodash/ts3.1/fp/isString.d.ts +2 -0
  992. package/types/lodash/ts3.1/fp/isSymbol.d.ts +2 -0
  993. package/types/lodash/ts3.1/fp/isTypedArray.d.ts +2 -0
  994. package/types/lodash/ts3.1/fp/isUndefined.d.ts +2 -0
  995. package/types/lodash/ts3.1/fp/isWeakMap.d.ts +2 -0
  996. package/types/lodash/ts3.1/fp/isWeakSet.d.ts +2 -0
  997. package/types/lodash/ts3.1/fp/iteratee.d.ts +2 -0
  998. package/types/lodash/ts3.1/fp/join.d.ts +2 -0
  999. package/types/lodash/ts3.1/fp/juxt.d.ts +2 -0
  1000. package/types/lodash/ts3.1/fp/kebabCase.d.ts +2 -0
  1001. package/types/lodash/ts3.1/fp/keyBy.d.ts +2 -0
  1002. package/types/lodash/ts3.1/fp/keys.d.ts +2 -0
  1003. package/types/lodash/ts3.1/fp/keysIn.d.ts +2 -0
  1004. package/types/lodash/ts3.1/fp/last.d.ts +2 -0
  1005. package/types/lodash/ts3.1/fp/lastIndexOf.d.ts +2 -0
  1006. package/types/lodash/ts3.1/fp/lastIndexOfFrom.d.ts +2 -0
  1007. package/types/lodash/ts3.1/fp/lowerCase.d.ts +2 -0
  1008. package/types/lodash/ts3.1/fp/lowerFirst.d.ts +2 -0
  1009. package/types/lodash/ts3.1/fp/lt.d.ts +2 -0
  1010. package/types/lodash/ts3.1/fp/lte.d.ts +2 -0
  1011. package/types/lodash/ts3.1/fp/map.d.ts +2 -0
  1012. package/types/lodash/ts3.1/fp/mapKeys.d.ts +2 -0
  1013. package/types/lodash/ts3.1/fp/mapValues.d.ts +2 -0
  1014. package/types/lodash/ts3.1/fp/matches.d.ts +2 -0
  1015. package/types/lodash/ts3.1/fp/matchesProperty.d.ts +2 -0
  1016. package/types/lodash/ts3.1/fp/max.d.ts +2 -0
  1017. package/types/lodash/ts3.1/fp/maxBy.d.ts +2 -0
  1018. package/types/lodash/ts3.1/fp/mean.d.ts +2 -0
  1019. package/types/lodash/ts3.1/fp/meanBy.d.ts +2 -0
  1020. package/types/lodash/ts3.1/fp/memoize.d.ts +2 -0
  1021. package/types/lodash/ts3.1/fp/merge.d.ts +2 -0
  1022. package/types/lodash/ts3.1/fp/mergeAll.d.ts +2 -0
  1023. package/types/lodash/ts3.1/fp/mergeAllWith.d.ts +2 -0
  1024. package/types/lodash/ts3.1/fp/mergeWith.d.ts +2 -0
  1025. package/types/lodash/ts3.1/fp/method.d.ts +2 -0
  1026. package/types/lodash/ts3.1/fp/methodOf.d.ts +2 -0
  1027. package/types/lodash/ts3.1/fp/min.d.ts +2 -0
  1028. package/types/lodash/ts3.1/fp/minBy.d.ts +2 -0
  1029. package/types/lodash/ts3.1/fp/multiply.d.ts +2 -0
  1030. package/types/lodash/ts3.1/fp/nAry.d.ts +2 -0
  1031. package/types/lodash/ts3.1/fp/negate.d.ts +2 -0
  1032. package/types/lodash/ts3.1/fp/noConflict.d.ts +2 -0
  1033. package/types/lodash/ts3.1/fp/noop.d.ts +2 -0
  1034. package/types/lodash/ts3.1/fp/now.d.ts +2 -0
  1035. package/types/lodash/ts3.1/fp/nth.d.ts +2 -0
  1036. package/types/lodash/ts3.1/fp/nthArg.d.ts +2 -0
  1037. package/types/lodash/ts3.1/fp/omit.d.ts +2 -0
  1038. package/types/lodash/ts3.1/fp/omitAll.d.ts +2 -0
  1039. package/types/lodash/ts3.1/fp/omitBy.d.ts +2 -0
  1040. package/types/lodash/ts3.1/fp/once.d.ts +2 -0
  1041. package/types/lodash/ts3.1/fp/orderBy.d.ts +2 -0
  1042. package/types/lodash/ts3.1/fp/over.d.ts +2 -0
  1043. package/types/lodash/ts3.1/fp/overArgs.d.ts +2 -0
  1044. package/types/lodash/ts3.1/fp/overEvery.d.ts +2 -0
  1045. package/types/lodash/ts3.1/fp/overSome.d.ts +2 -0
  1046. package/types/lodash/ts3.1/fp/pad.d.ts +2 -0
  1047. package/types/lodash/ts3.1/fp/padChars.d.ts +2 -0
  1048. package/types/lodash/ts3.1/fp/padCharsEnd.d.ts +2 -0
  1049. package/types/lodash/ts3.1/fp/padCharsStart.d.ts +2 -0
  1050. package/types/lodash/ts3.1/fp/padEnd.d.ts +2 -0
  1051. package/types/lodash/ts3.1/fp/padStart.d.ts +2 -0
  1052. package/types/lodash/ts3.1/fp/parseInt.d.ts +2 -0
  1053. package/types/lodash/ts3.1/fp/partial.d.ts +2 -0
  1054. package/types/lodash/ts3.1/fp/partialRight.d.ts +2 -0
  1055. package/types/lodash/ts3.1/fp/partition.d.ts +2 -0
  1056. package/types/lodash/ts3.1/fp/path.d.ts +2 -0
  1057. package/types/lodash/ts3.1/fp/pathEq.d.ts +2 -0
  1058. package/types/lodash/ts3.1/fp/pathOr.d.ts +2 -0
  1059. package/types/lodash/ts3.1/fp/paths.d.ts +2 -0
  1060. package/types/lodash/ts3.1/fp/pick.d.ts +2 -0
  1061. package/types/lodash/ts3.1/fp/pickAll.d.ts +2 -0
  1062. package/types/lodash/ts3.1/fp/pickBy.d.ts +2 -0
  1063. package/types/lodash/ts3.1/fp/pipe.d.ts +2 -0
  1064. package/types/lodash/ts3.1/fp/placeholder.d.ts +3 -0
  1065. package/types/lodash/ts3.1/fp/pluck.d.ts +2 -0
  1066. package/types/lodash/ts3.1/fp/prop.d.ts +2 -0
  1067. package/types/lodash/ts3.1/fp/propEq.d.ts +2 -0
  1068. package/types/lodash/ts3.1/fp/propOr.d.ts +2 -0
  1069. package/types/lodash/ts3.1/fp/property.d.ts +2 -0
  1070. package/types/lodash/ts3.1/fp/propertyOf.d.ts +2 -0
  1071. package/types/lodash/ts3.1/fp/props.d.ts +2 -0
  1072. package/types/lodash/ts3.1/fp/pull.d.ts +2 -0
  1073. package/types/lodash/ts3.1/fp/pullAll.d.ts +2 -0
  1074. package/types/lodash/ts3.1/fp/pullAllBy.d.ts +2 -0
  1075. package/types/lodash/ts3.1/fp/pullAllWith.d.ts +2 -0
  1076. package/types/lodash/ts3.1/fp/pullAt.d.ts +2 -0
  1077. package/types/lodash/ts3.1/fp/random.d.ts +2 -0
  1078. package/types/lodash/ts3.1/fp/range.d.ts +2 -0
  1079. package/types/lodash/ts3.1/fp/rangeRight.d.ts +2 -0
  1080. package/types/lodash/ts3.1/fp/rangeStep.d.ts +2 -0
  1081. package/types/lodash/ts3.1/fp/rangeStepRight.d.ts +2 -0
  1082. package/types/lodash/ts3.1/fp/rearg.d.ts +2 -0
  1083. package/types/lodash/ts3.1/fp/reduce.d.ts +2 -0
  1084. package/types/lodash/ts3.1/fp/reduceRight.d.ts +2 -0
  1085. package/types/lodash/ts3.1/fp/reject.d.ts +2 -0
  1086. package/types/lodash/ts3.1/fp/remove.d.ts +2 -0
  1087. package/types/lodash/ts3.1/fp/repeat.d.ts +2 -0
  1088. package/types/lodash/ts3.1/fp/replace.d.ts +2 -0
  1089. package/types/lodash/ts3.1/fp/rest.d.ts +2 -0
  1090. package/types/lodash/ts3.1/fp/restFrom.d.ts +2 -0
  1091. package/types/lodash/ts3.1/fp/result.d.ts +2 -0
  1092. package/types/lodash/ts3.1/fp/reverse.d.ts +2 -0
  1093. package/types/lodash/ts3.1/fp/round.d.ts +2 -0
  1094. package/types/lodash/ts3.1/fp/runInContext.d.ts +2 -0
  1095. package/types/lodash/ts3.1/fp/sample.d.ts +2 -0
  1096. package/types/lodash/ts3.1/fp/sampleSize.d.ts +2 -0
  1097. package/types/lodash/ts3.1/fp/set.d.ts +2 -0
  1098. package/types/lodash/ts3.1/fp/setWith.d.ts +2 -0
  1099. package/types/lodash/ts3.1/fp/shuffle.d.ts +2 -0
  1100. package/types/lodash/ts3.1/fp/size.d.ts +2 -0
  1101. package/types/lodash/ts3.1/fp/slice.d.ts +2 -0
  1102. package/types/lodash/ts3.1/fp/snakeCase.d.ts +2 -0
  1103. package/types/lodash/ts3.1/fp/some.d.ts +2 -0
  1104. package/types/lodash/ts3.1/fp/sortBy.d.ts +2 -0
  1105. package/types/lodash/ts3.1/fp/sortedIndex.d.ts +2 -0
  1106. package/types/lodash/ts3.1/fp/sortedIndexBy.d.ts +2 -0
  1107. package/types/lodash/ts3.1/fp/sortedIndexOf.d.ts +2 -0
  1108. package/types/lodash/ts3.1/fp/sortedLastIndex.d.ts +2 -0
  1109. package/types/lodash/ts3.1/fp/sortedLastIndexBy.d.ts +2 -0
  1110. package/types/lodash/ts3.1/fp/sortedLastIndexOf.d.ts +2 -0
  1111. package/types/lodash/ts3.1/fp/sortedUniq.d.ts +2 -0
  1112. package/types/lodash/ts3.1/fp/sortedUniqBy.d.ts +2 -0
  1113. package/types/lodash/ts3.1/fp/split.d.ts +2 -0
  1114. package/types/lodash/ts3.1/fp/spread.d.ts +2 -0
  1115. package/types/lodash/ts3.1/fp/spreadFrom.d.ts +2 -0
  1116. package/types/lodash/ts3.1/fp/startCase.d.ts +2 -0
  1117. package/types/lodash/ts3.1/fp/startsWith.d.ts +2 -0
  1118. package/types/lodash/ts3.1/fp/stubArray.d.ts +2 -0
  1119. package/types/lodash/ts3.1/fp/stubFalse.d.ts +2 -0
  1120. package/types/lodash/ts3.1/fp/stubObject.d.ts +2 -0
  1121. package/types/lodash/ts3.1/fp/stubString.d.ts +2 -0
  1122. package/types/lodash/ts3.1/fp/stubTrue.d.ts +2 -0
  1123. package/types/lodash/ts3.1/fp/subtract.d.ts +2 -0
  1124. package/types/lodash/ts3.1/fp/sum.d.ts +2 -0
  1125. package/types/lodash/ts3.1/fp/sumBy.d.ts +2 -0
  1126. package/types/lodash/ts3.1/fp/symmetricDifference.d.ts +2 -0
  1127. package/types/lodash/ts3.1/fp/symmetricDifferenceBy.d.ts +2 -0
  1128. package/types/lodash/ts3.1/fp/symmetricDifferenceWith.d.ts +2 -0
  1129. package/types/lodash/ts3.1/fp/tail.d.ts +2 -0
  1130. package/types/lodash/ts3.1/fp/take.d.ts +2 -0
  1131. package/types/lodash/ts3.1/fp/takeLast.d.ts +2 -0
  1132. package/types/lodash/ts3.1/fp/takeLastWhile.d.ts +2 -0
  1133. package/types/lodash/ts3.1/fp/takeRight.d.ts +2 -0
  1134. package/types/lodash/ts3.1/fp/takeRightWhile.d.ts +2 -0
  1135. package/types/lodash/ts3.1/fp/takeWhile.d.ts +2 -0
  1136. package/types/lodash/ts3.1/fp/tap.d.ts +2 -0
  1137. package/types/lodash/ts3.1/fp/template.d.ts +2 -0
  1138. package/types/lodash/ts3.1/fp/throttle.d.ts +2 -0
  1139. package/types/lodash/ts3.1/fp/thru.d.ts +2 -0
  1140. package/types/lodash/ts3.1/fp/times.d.ts +2 -0
  1141. package/types/lodash/ts3.1/fp/toArray.d.ts +2 -0
  1142. package/types/lodash/ts3.1/fp/toFinite.d.ts +2 -0
  1143. package/types/lodash/ts3.1/fp/toInteger.d.ts +2 -0
  1144. package/types/lodash/ts3.1/fp/toLength.d.ts +2 -0
  1145. package/types/lodash/ts3.1/fp/toLower.d.ts +2 -0
  1146. package/types/lodash/ts3.1/fp/toNumber.d.ts +2 -0
  1147. package/types/lodash/ts3.1/fp/toPairs.d.ts +2 -0
  1148. package/types/lodash/ts3.1/fp/toPairsIn.d.ts +2 -0
  1149. package/types/lodash/ts3.1/fp/toPath.d.ts +2 -0
  1150. package/types/lodash/ts3.1/fp/toPlainObject.d.ts +2 -0
  1151. package/types/lodash/ts3.1/fp/toSafeInteger.d.ts +2 -0
  1152. package/types/lodash/ts3.1/fp/toString.d.ts +2 -0
  1153. package/types/lodash/ts3.1/fp/toUpper.d.ts +2 -0
  1154. package/types/lodash/ts3.1/fp/transform.d.ts +2 -0
  1155. package/types/lodash/ts3.1/fp/trim.d.ts +2 -0
  1156. package/types/lodash/ts3.1/fp/trimChars.d.ts +2 -0
  1157. package/types/lodash/ts3.1/fp/trimCharsEnd.d.ts +2 -0
  1158. package/types/lodash/ts3.1/fp/trimCharsStart.d.ts +2 -0
  1159. package/types/lodash/ts3.1/fp/trimEnd.d.ts +2 -0
  1160. package/types/lodash/ts3.1/fp/trimStart.d.ts +2 -0
  1161. package/types/lodash/ts3.1/fp/truncate.d.ts +2 -0
  1162. package/types/lodash/ts3.1/fp/unapply.d.ts +2 -0
  1163. package/types/lodash/ts3.1/fp/unary.d.ts +2 -0
  1164. package/types/lodash/ts3.1/fp/unescape.d.ts +2 -0
  1165. package/types/lodash/ts3.1/fp/union.d.ts +2 -0
  1166. package/types/lodash/ts3.1/fp/unionBy.d.ts +2 -0
  1167. package/types/lodash/ts3.1/fp/unionWith.d.ts +2 -0
  1168. package/types/lodash/ts3.1/fp/uniq.d.ts +2 -0
  1169. package/types/lodash/ts3.1/fp/uniqBy.d.ts +2 -0
  1170. package/types/lodash/ts3.1/fp/uniqWith.d.ts +2 -0
  1171. package/types/lodash/ts3.1/fp/uniqueId.d.ts +2 -0
  1172. package/types/lodash/ts3.1/fp/unnest.d.ts +2 -0
  1173. package/types/lodash/ts3.1/fp/unset.d.ts +2 -0
  1174. package/types/lodash/ts3.1/fp/unzip.d.ts +2 -0
  1175. package/types/lodash/ts3.1/fp/unzipWith.d.ts +2 -0
  1176. package/types/lodash/ts3.1/fp/update.d.ts +2 -0
  1177. package/types/lodash/ts3.1/fp/updateWith.d.ts +2 -0
  1178. package/types/lodash/ts3.1/fp/upperCase.d.ts +2 -0
  1179. package/types/lodash/ts3.1/fp/upperFirst.d.ts +2 -0
  1180. package/types/lodash/ts3.1/fp/useWith.d.ts +2 -0
  1181. package/types/lodash/ts3.1/fp/values.d.ts +2 -0
  1182. package/types/lodash/ts3.1/fp/valuesIn.d.ts +2 -0
  1183. package/types/lodash/ts3.1/fp/where.d.ts +2 -0
  1184. package/types/lodash/ts3.1/fp/whereEq.d.ts +2 -0
  1185. package/types/lodash/ts3.1/fp/without.d.ts +2 -0
  1186. package/types/lodash/ts3.1/fp/words.d.ts +2 -0
  1187. package/types/lodash/ts3.1/fp/wrap.d.ts +2 -0
  1188. package/types/lodash/ts3.1/fp/xor.d.ts +2 -0
  1189. package/types/lodash/ts3.1/fp/xorBy.d.ts +2 -0
  1190. package/types/lodash/ts3.1/fp/xorWith.d.ts +2 -0
  1191. package/types/lodash/ts3.1/fp/zip.d.ts +2 -0
  1192. package/types/lodash/ts3.1/fp/zipAll.d.ts +2 -0
  1193. package/types/lodash/ts3.1/fp/zipObj.d.ts +2 -0
  1194. package/types/lodash/ts3.1/fp/zipObject.d.ts +2 -0
  1195. package/types/lodash/ts3.1/fp/zipObjectDeep.d.ts +2 -0
  1196. package/types/lodash/ts3.1/fp/zipWith.d.ts +2 -0
  1197. package/types/lodash/ts3.1/fp.d.ts +4938 -0
  1198. package/types/lodash/ts3.1/fromPairs.d.ts +2 -0
  1199. package/types/lodash/ts3.1/functions.d.ts +2 -0
  1200. package/types/lodash/ts3.1/functionsIn.d.ts +2 -0
  1201. package/types/lodash/ts3.1/get.d.ts +2 -0
  1202. package/types/lodash/ts3.1/groupBy.d.ts +2 -0
  1203. package/types/lodash/ts3.1/gt.d.ts +2 -0
  1204. package/types/lodash/ts3.1/gte.d.ts +2 -0
  1205. package/types/lodash/ts3.1/has.d.ts +2 -0
  1206. package/types/lodash/ts3.1/hasIn.d.ts +2 -0
  1207. package/types/lodash/ts3.1/head.d.ts +2 -0
  1208. package/types/lodash/ts3.1/identity.d.ts +2 -0
  1209. package/types/lodash/ts3.1/inRange.d.ts +2 -0
  1210. package/types/lodash/ts3.1/includes.d.ts +2 -0
  1211. package/types/lodash/ts3.1/index.d.ts +33 -0
  1212. package/types/lodash/ts3.1/indexOf.d.ts +2 -0
  1213. package/types/lodash/ts3.1/initial.d.ts +2 -0
  1214. package/types/lodash/ts3.1/intersection.d.ts +2 -0
  1215. package/types/lodash/ts3.1/intersectionBy.d.ts +2 -0
  1216. package/types/lodash/ts3.1/intersectionWith.d.ts +2 -0
  1217. package/types/lodash/ts3.1/invert.d.ts +2 -0
  1218. package/types/lodash/ts3.1/invertBy.d.ts +2 -0
  1219. package/types/lodash/ts3.1/invoke.d.ts +2 -0
  1220. package/types/lodash/ts3.1/invokeMap.d.ts +2 -0
  1221. package/types/lodash/ts3.1/isArguments.d.ts +2 -0
  1222. package/types/lodash/ts3.1/isArray.d.ts +2 -0
  1223. package/types/lodash/ts3.1/isArrayBuffer.d.ts +2 -0
  1224. package/types/lodash/ts3.1/isArrayLike.d.ts +2 -0
  1225. package/types/lodash/ts3.1/isArrayLikeObject.d.ts +2 -0
  1226. package/types/lodash/ts3.1/isBoolean.d.ts +2 -0
  1227. package/types/lodash/ts3.1/isBuffer.d.ts +2 -0
  1228. package/types/lodash/ts3.1/isDate.d.ts +2 -0
  1229. package/types/lodash/ts3.1/isElement.d.ts +2 -0
  1230. package/types/lodash/ts3.1/isEmpty.d.ts +2 -0
  1231. package/types/lodash/ts3.1/isEqual.d.ts +2 -0
  1232. package/types/lodash/ts3.1/isEqualWith.d.ts +2 -0
  1233. package/types/lodash/ts3.1/isError.d.ts +2 -0
  1234. package/types/lodash/ts3.1/isFinite.d.ts +2 -0
  1235. package/types/lodash/ts3.1/isFunction.d.ts +2 -0
  1236. package/types/lodash/ts3.1/isInteger.d.ts +2 -0
  1237. package/types/lodash/ts3.1/isLength.d.ts +2 -0
  1238. package/types/lodash/ts3.1/isMap.d.ts +2 -0
  1239. package/types/lodash/ts3.1/isMatch.d.ts +2 -0
  1240. package/types/lodash/ts3.1/isMatchWith.d.ts +2 -0
  1241. package/types/lodash/ts3.1/isNaN.d.ts +2 -0
  1242. package/types/lodash/ts3.1/isNative.d.ts +2 -0
  1243. package/types/lodash/ts3.1/isNil.d.ts +2 -0
  1244. package/types/lodash/ts3.1/isNull.d.ts +2 -0
  1245. package/types/lodash/ts3.1/isNumber.d.ts +2 -0
  1246. package/types/lodash/ts3.1/isObject.d.ts +2 -0
  1247. package/types/lodash/ts3.1/isObjectLike.d.ts +2 -0
  1248. package/types/lodash/ts3.1/isPlainObject.d.ts +2 -0
  1249. package/types/lodash/ts3.1/isRegExp.d.ts +2 -0
  1250. package/types/lodash/ts3.1/isSafeInteger.d.ts +2 -0
  1251. package/types/lodash/ts3.1/isSet.d.ts +2 -0
  1252. package/types/lodash/ts3.1/isString.d.ts +2 -0
  1253. package/types/lodash/ts3.1/isSymbol.d.ts +2 -0
  1254. package/types/lodash/ts3.1/isTypedArray.d.ts +2 -0
  1255. package/types/lodash/ts3.1/isUndefined.d.ts +2 -0
  1256. package/types/lodash/ts3.1/isWeakMap.d.ts +2 -0
  1257. package/types/lodash/ts3.1/isWeakSet.d.ts +2 -0
  1258. package/types/lodash/ts3.1/iteratee.d.ts +2 -0
  1259. package/types/lodash/ts3.1/join.d.ts +2 -0
  1260. package/types/lodash/ts3.1/kebabCase.d.ts +2 -0
  1261. package/types/lodash/ts3.1/keyBy.d.ts +2 -0
  1262. package/types/lodash/ts3.1/keys.d.ts +2 -0
  1263. package/types/lodash/ts3.1/keysIn.d.ts +2 -0
  1264. package/types/lodash/ts3.1/last.d.ts +2 -0
  1265. package/types/lodash/ts3.1/lastIndexOf.d.ts +2 -0
  1266. package/types/lodash/ts3.1/lowerCase.d.ts +2 -0
  1267. package/types/lodash/ts3.1/lowerFirst.d.ts +2 -0
  1268. package/types/lodash/ts3.1/lt.d.ts +2 -0
  1269. package/types/lodash/ts3.1/lte.d.ts +2 -0
  1270. package/types/lodash/ts3.1/map.d.ts +2 -0
  1271. package/types/lodash/ts3.1/mapKeys.d.ts +2 -0
  1272. package/types/lodash/ts3.1/mapValues.d.ts +2 -0
  1273. package/types/lodash/ts3.1/matches.d.ts +2 -0
  1274. package/types/lodash/ts3.1/matchesProperty.d.ts +2 -0
  1275. package/types/lodash/ts3.1/max.d.ts +2 -0
  1276. package/types/lodash/ts3.1/maxBy.d.ts +2 -0
  1277. package/types/lodash/ts3.1/mean.d.ts +2 -0
  1278. package/types/lodash/ts3.1/meanBy.d.ts +2 -0
  1279. package/types/lodash/ts3.1/memoize.d.ts +2 -0
  1280. package/types/lodash/ts3.1/merge.d.ts +2 -0
  1281. package/types/lodash/ts3.1/mergeWith.d.ts +2 -0
  1282. package/types/lodash/ts3.1/method.d.ts +2 -0
  1283. package/types/lodash/ts3.1/methodOf.d.ts +2 -0
  1284. package/types/lodash/ts3.1/min.d.ts +2 -0
  1285. package/types/lodash/ts3.1/minBy.d.ts +2 -0
  1286. package/types/lodash/ts3.1/mixin.d.ts +2 -0
  1287. package/types/lodash/ts3.1/multiply.d.ts +2 -0
  1288. package/types/lodash/ts3.1/negate.d.ts +2 -0
  1289. package/types/lodash/ts3.1/noConflict.d.ts +2 -0
  1290. package/types/lodash/ts3.1/noop.d.ts +2 -0
  1291. package/types/lodash/ts3.1/now.d.ts +2 -0
  1292. package/types/lodash/ts3.1/nth.d.ts +2 -0
  1293. package/types/lodash/ts3.1/nthArg.d.ts +2 -0
  1294. package/types/lodash/ts3.1/omit.d.ts +2 -0
  1295. package/types/lodash/ts3.1/omitBy.d.ts +2 -0
  1296. package/types/lodash/ts3.1/once.d.ts +2 -0
  1297. package/types/lodash/ts3.1/orderBy.d.ts +2 -0
  1298. package/types/lodash/ts3.1/over.d.ts +2 -0
  1299. package/types/lodash/ts3.1/overArgs.d.ts +2 -0
  1300. package/types/lodash/ts3.1/overEvery.d.ts +2 -0
  1301. package/types/lodash/ts3.1/overSome.d.ts +2 -0
  1302. package/types/lodash/ts3.1/pad.d.ts +2 -0
  1303. package/types/lodash/ts3.1/padEnd.d.ts +2 -0
  1304. package/types/lodash/ts3.1/padStart.d.ts +2 -0
  1305. package/types/lodash/ts3.1/parseInt.d.ts +2 -0
  1306. package/types/lodash/ts3.1/partial.d.ts +2 -0
  1307. package/types/lodash/ts3.1/partialRight.d.ts +2 -0
  1308. package/types/lodash/ts3.1/partition.d.ts +2 -0
  1309. package/types/lodash/ts3.1/pick.d.ts +2 -0
  1310. package/types/lodash/ts3.1/pickBy.d.ts +2 -0
  1311. package/types/lodash/ts3.1/property.d.ts +2 -0
  1312. package/types/lodash/ts3.1/propertyOf.d.ts +2 -0
  1313. package/types/lodash/ts3.1/pull.d.ts +2 -0
  1314. package/types/lodash/ts3.1/pullAll.d.ts +2 -0
  1315. package/types/lodash/ts3.1/pullAllBy.d.ts +2 -0
  1316. package/types/lodash/ts3.1/pullAllWith.d.ts +2 -0
  1317. package/types/lodash/ts3.1/pullAt.d.ts +2 -0
  1318. package/types/lodash/ts3.1/random.d.ts +2 -0
  1319. package/types/lodash/ts3.1/range.d.ts +2 -0
  1320. package/types/lodash/ts3.1/rangeRight.d.ts +2 -0
  1321. package/types/lodash/ts3.1/rearg.d.ts +2 -0
  1322. package/types/lodash/ts3.1/reduce.d.ts +2 -0
  1323. package/types/lodash/ts3.1/reduceRight.d.ts +2 -0
  1324. package/types/lodash/ts3.1/reject.d.ts +2 -0
  1325. package/types/lodash/ts3.1/remove.d.ts +2 -0
  1326. package/types/lodash/ts3.1/repeat.d.ts +2 -0
  1327. package/types/lodash/ts3.1/replace.d.ts +2 -0
  1328. package/types/lodash/ts3.1/rest.d.ts +2 -0
  1329. package/types/lodash/ts3.1/result.d.ts +2 -0
  1330. package/types/lodash/ts3.1/reverse.d.ts +2 -0
  1331. package/types/lodash/ts3.1/round.d.ts +2 -0
  1332. package/types/lodash/ts3.1/runInContext.d.ts +2 -0
  1333. package/types/lodash/ts3.1/sample.d.ts +2 -0
  1334. package/types/lodash/ts3.1/sampleSize.d.ts +2 -0
  1335. package/types/lodash/ts3.1/set.d.ts +2 -0
  1336. package/types/lodash/ts3.1/setWith.d.ts +2 -0
  1337. package/types/lodash/ts3.1/shuffle.d.ts +2 -0
  1338. package/types/lodash/ts3.1/size.d.ts +2 -0
  1339. package/types/lodash/ts3.1/slice.d.ts +2 -0
  1340. package/types/lodash/ts3.1/snakeCase.d.ts +2 -0
  1341. package/types/lodash/ts3.1/some.d.ts +2 -0
  1342. package/types/lodash/ts3.1/sortBy.d.ts +2 -0
  1343. package/types/lodash/ts3.1/sortedIndex.d.ts +2 -0
  1344. package/types/lodash/ts3.1/sortedIndexBy.d.ts +2 -0
  1345. package/types/lodash/ts3.1/sortedIndexOf.d.ts +2 -0
  1346. package/types/lodash/ts3.1/sortedLastIndex.d.ts +2 -0
  1347. package/types/lodash/ts3.1/sortedLastIndexBy.d.ts +2 -0
  1348. package/types/lodash/ts3.1/sortedLastIndexOf.d.ts +2 -0
  1349. package/types/lodash/ts3.1/sortedUniq.d.ts +2 -0
  1350. package/types/lodash/ts3.1/sortedUniqBy.d.ts +2 -0
  1351. package/types/lodash/ts3.1/split.d.ts +2 -0
  1352. package/types/lodash/ts3.1/spread.d.ts +2 -0
  1353. package/types/lodash/ts3.1/startCase.d.ts +2 -0
  1354. package/types/lodash/ts3.1/startsWith.d.ts +2 -0
  1355. package/types/lodash/ts3.1/stubFalse.d.ts +2 -0
  1356. package/types/lodash/ts3.1/stubTrue.d.ts +2 -0
  1357. package/types/lodash/ts3.1/subtract.d.ts +2 -0
  1358. package/types/lodash/ts3.1/sum.d.ts +2 -0
  1359. package/types/lodash/ts3.1/sumBy.d.ts +2 -0
  1360. package/types/lodash/ts3.1/tail.d.ts +2 -0
  1361. package/types/lodash/ts3.1/take.d.ts +2 -0
  1362. package/types/lodash/ts3.1/takeRight.d.ts +2 -0
  1363. package/types/lodash/ts3.1/takeRightWhile.d.ts +2 -0
  1364. package/types/lodash/ts3.1/takeWhile.d.ts +2 -0
  1365. package/types/lodash/ts3.1/tap.d.ts +2 -0
  1366. package/types/lodash/ts3.1/template.d.ts +2 -0
  1367. package/types/lodash/ts3.1/throttle.d.ts +2 -0
  1368. package/types/lodash/ts3.1/thru.d.ts +2 -0
  1369. package/types/lodash/ts3.1/times.d.ts +2 -0
  1370. package/types/lodash/ts3.1/toArray.d.ts +2 -0
  1371. package/types/lodash/ts3.1/toFinite.d.ts +2 -0
  1372. package/types/lodash/ts3.1/toInteger.d.ts +2 -0
  1373. package/types/lodash/ts3.1/toLength.d.ts +2 -0
  1374. package/types/lodash/ts3.1/toLower.d.ts +2 -0
  1375. package/types/lodash/ts3.1/toNumber.d.ts +2 -0
  1376. package/types/lodash/ts3.1/toPairs.d.ts +2 -0
  1377. package/types/lodash/ts3.1/toPairsIn.d.ts +2 -0
  1378. package/types/lodash/ts3.1/toPath.d.ts +2 -0
  1379. package/types/lodash/ts3.1/toPlainObject.d.ts +2 -0
  1380. package/types/lodash/ts3.1/toSafeInteger.d.ts +2 -0
  1381. package/types/lodash/ts3.1/toString.d.ts +2 -0
  1382. package/types/lodash/ts3.1/toUpper.d.ts +2 -0
  1383. package/types/lodash/ts3.1/transform.d.ts +2 -0
  1384. package/types/lodash/ts3.1/trim.d.ts +2 -0
  1385. package/types/lodash/ts3.1/trimEnd.d.ts +2 -0
  1386. package/types/lodash/ts3.1/trimStart.d.ts +2 -0
  1387. package/types/lodash/ts3.1/truncate.d.ts +2 -0
  1388. package/types/lodash/ts3.1/unary.d.ts +2 -0
  1389. package/types/lodash/ts3.1/unescape.d.ts +2 -0
  1390. package/types/lodash/ts3.1/union.d.ts +2 -0
  1391. package/types/lodash/ts3.1/unionBy.d.ts +2 -0
  1392. package/types/lodash/ts3.1/unionWith.d.ts +2 -0
  1393. package/types/lodash/ts3.1/uniq.d.ts +2 -0
  1394. package/types/lodash/ts3.1/uniqBy.d.ts +2 -0
  1395. package/types/lodash/ts3.1/uniqWith.d.ts +2 -0
  1396. package/types/lodash/ts3.1/uniqueId.d.ts +2 -0
  1397. package/types/lodash/ts3.1/unset.d.ts +2 -0
  1398. package/types/lodash/ts3.1/unzip.d.ts +2 -0
  1399. package/types/lodash/ts3.1/unzipWith.d.ts +2 -0
  1400. package/types/lodash/ts3.1/update.d.ts +2 -0
  1401. package/types/lodash/ts3.1/updateWith.d.ts +2 -0
  1402. package/types/lodash/ts3.1/upperCase.d.ts +2 -0
  1403. package/types/lodash/ts3.1/upperFirst.d.ts +2 -0
  1404. package/types/lodash/ts3.1/values.d.ts +2 -0
  1405. package/types/lodash/ts3.1/valuesIn.d.ts +2 -0
  1406. package/types/lodash/ts3.1/without.d.ts +2 -0
  1407. package/types/lodash/ts3.1/words.d.ts +2 -0
  1408. package/types/lodash/ts3.1/wrap.d.ts +2 -0
  1409. package/types/lodash/ts3.1/xor.d.ts +2 -0
  1410. package/types/lodash/ts3.1/xorBy.d.ts +2 -0
  1411. package/types/lodash/ts3.1/xorWith.d.ts +2 -0
  1412. package/types/lodash/ts3.1/zip.d.ts +2 -0
  1413. package/types/lodash/ts3.1/zipObject.d.ts +2 -0
  1414. package/types/lodash/ts3.1/zipObjectDeep.d.ts +2 -0
  1415. package/types/lodash/ts3.1/zipWith.d.ts +2 -0
  1416. package/types/lodash/unary.d.ts +2 -0
  1417. package/types/lodash/unescape.d.ts +2 -0
  1418. package/types/lodash/union.d.ts +2 -0
  1419. package/types/lodash/unionBy.d.ts +2 -0
  1420. package/types/lodash/unionWith.d.ts +2 -0
  1421. package/types/lodash/uniq.d.ts +2 -0
  1422. package/types/lodash/uniqBy.d.ts +2 -0
  1423. package/types/lodash/uniqWith.d.ts +2 -0
  1424. package/types/lodash/uniqueId.d.ts +2 -0
  1425. package/types/lodash/unset.d.ts +2 -0
  1426. package/types/lodash/unzip.d.ts +2 -0
  1427. package/types/lodash/unzipWith.d.ts +2 -0
  1428. package/types/lodash/update.d.ts +2 -0
  1429. package/types/lodash/updateWith.d.ts +2 -0
  1430. package/types/lodash/upperCase.d.ts +2 -0
  1431. package/types/lodash/upperFirst.d.ts +2 -0
  1432. package/types/lodash/values.d.ts +2 -0
  1433. package/types/lodash/valuesIn.d.ts +2 -0
  1434. package/types/lodash/without.d.ts +2 -0
  1435. package/types/lodash/words.d.ts +2 -0
  1436. package/types/lodash/wrap.d.ts +2 -0
  1437. package/types/lodash/xor.d.ts +2 -0
  1438. package/types/lodash/xorBy.d.ts +2 -0
  1439. package/types/lodash/xorWith.d.ts +2 -0
  1440. package/types/lodash/zip.d.ts +2 -0
  1441. package/types/lodash/zipObject.d.ts +2 -0
  1442. package/types/lodash/zipObjectDeep.d.ts +2 -0
  1443. package/types/lodash/zipWith.d.ts +2 -0
  1444. package/types/minimatch/index.d.ts +214 -0
  1445. package/types/mocha/index.d.ts +2986 -0
  1446. package/types/sinon/index.d.ts +1622 -0
  1447. package/types/sinon/ts3.1/index.d.ts +1698 -0
  1448. package/types/sinon-chai/index.d.ts +109 -0
@@ -0,0 +1,2986 @@
1
+ // Type definitions for mocha 5.2
2
+ // Project: https://mochajs.org
3
+ // Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid>
4
+ // otiai10 <https://github.com/otiai10>
5
+ // jt000 <https://github.com/jt000>
6
+ // Vadim Macagon <https://github.com/enlight>
7
+ // Andrew Bradley <https://github.com/cspotcode>
8
+ // Dmitrii Sorin <https://github.com/1999>
9
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
10
+ // TypeScript Version: 2.1
11
+
12
+ /**
13
+ * Mocha API
14
+ *
15
+ * @see https://mochajs.org/api/mocha
16
+ */
17
+ declare class Mocha {
18
+ private _growl;
19
+ private _reporter;
20
+ private _ui;
21
+
22
+ constructor(options?: Mocha.MochaOptions);
23
+
24
+ suite: Mocha.Suite;
25
+ files: string[];
26
+ options: Mocha.MochaInstanceOptions;
27
+
28
+ /**
29
+ * Enable or disable bailing on the first failure.
30
+ *
31
+ * @see https://mochajs.org/api/mocha#bail
32
+ */
33
+ bail(bail?: boolean): this;
34
+
35
+ /**
36
+ * Add test `file`.
37
+ *
38
+ * @see https://mochajs.org/api/mocha#addFile
39
+ */
40
+ addFile(file: string): this;
41
+
42
+ /**
43
+ * Set reporter to one of the built-in reporters.
44
+ *
45
+ * @see https://mochajs.org/api/mocha#reporter
46
+ */
47
+ reporter(reporter: Mocha.Reporter, reporterOptions?: any): this;
48
+
49
+ /**
50
+ * Set reporter to the provided constructor, one of the built-in reporters, or loads a reporter
51
+ * from a module path. Defaults to `"spec"`.
52
+ *
53
+ * @see https://mochajs.org/api/mocha#reporter
54
+ */
55
+ reporter(reporter?: string | Mocha.ReporterConstructor, reporterOptions?: any): this;
56
+
57
+ /**
58
+ * Set test UI to one of the built-in test interfaces.
59
+ *
60
+ * @see https://mochajs.org/api/mocha#ui
61
+ */
62
+ ui(name: Mocha.Interface): this;
63
+
64
+ /**
65
+ * Set test UI to one of the built-in test interfaces or loads a test interface from a module
66
+ * path. Defaults to `"bdd"`.
67
+ *
68
+ * @see https://mochajs.org/api/mocha#ui
69
+ */
70
+ ui(name?: string): this;
71
+
72
+ /**
73
+ * Escape string and add it to grep as a RegExp.
74
+ *
75
+ * @see https://mochajs.org/api/mocha#fgrep
76
+ */
77
+ fgrep(str: string): this;
78
+
79
+ /**
80
+ * Add regexp to grep, if `re` is a string it is escaped.
81
+ *
82
+ * @see https://mochajs.org/api/mocha#grep
83
+ */
84
+ grep(re: string | RegExp): this;
85
+
86
+ /**
87
+ * Invert `.grep()` matches.
88
+ *
89
+ * @see https://mochajs.org/api/mocha#invert
90
+ */
91
+ invert(): this;
92
+
93
+ /**
94
+ * Ignore global leaks.
95
+ *
96
+ * @see https://mochajs.org/api/mocha#ignoreLeaks
97
+ */
98
+ ignoreLeaks(ignore: boolean): this;
99
+
100
+ /**
101
+ * Enable global leak checking.
102
+ *
103
+ * @see https://mochajs.org/api/mocha#checkLeaks
104
+ */
105
+ checkLeaks(): this;
106
+
107
+ /**
108
+ * Display long stack-trace on failing
109
+ *
110
+ * @see https://mochajs.org/api/mocha#fullTrace
111
+ */
112
+ fullTrace(): this;
113
+
114
+ /**
115
+ * Enable growl support.
116
+ *
117
+ * @see https://mochajs.org/api/mocha#growl
118
+ */
119
+ growl(): this;
120
+
121
+ /**
122
+ * Ignore `globals` array or string.
123
+ *
124
+ * @see https://mochajs.org/api/mocha#globals
125
+ */
126
+ globals(globals: string | ReadonlyArray<string>): this;
127
+
128
+ /**
129
+ * Emit color output.
130
+ *
131
+ * @see https://mochajs.org/api/mocha#useColors
132
+ */
133
+ useColors(colors: boolean): this;
134
+
135
+ /**
136
+ * Use inline diffs rather than +/-.
137
+ *
138
+ * @see https://mochajs.org/api/mocha#useInlineDiffs
139
+ */
140
+ useInlineDiffs(inlineDiffs: boolean): this;
141
+
142
+ /**
143
+ * Do not show diffs at all.
144
+ *
145
+ * @see https://mochajs.org/api/mocha#hideDiff
146
+ */
147
+ hideDiff(hideDiff: boolean): this;
148
+
149
+ /**
150
+ * Set the timeout in milliseconds.
151
+ *
152
+ * @see https://mochajs.org/api/mocha#timeout
153
+ */
154
+ timeout(timeout: string | number): this;
155
+
156
+ /**
157
+ * Set the number of times to retry failed tests.
158
+ *
159
+ * @see https://mochajs.org/api/mocha#retries
160
+ */
161
+ retries(n: number): this;
162
+
163
+ /**
164
+ * Set slowness threshold in milliseconds.
165
+ *
166
+ * @see https://mochajs.org/api/mocha#slow
167
+ */
168
+ slow(slow: string | number): this;
169
+
170
+ /**
171
+ * Enable timeouts.
172
+ *
173
+ * @see https://mochajs.org/api/mocha#enableTimeouts
174
+ */
175
+ enableTimeouts(enabled?: boolean): this;
176
+
177
+ /**
178
+ * Makes all tests async (accepting a callback)
179
+ *
180
+ * @see https://mochajs.org/api/mocha#asyncOnly.
181
+ */
182
+ asyncOnly(): this;
183
+
184
+ /**
185
+ * Disable syntax highlighting (in browser).
186
+ *
187
+ * @see https://mochajs.org/api/mocha#noHighlighting
188
+ */
189
+ noHighlighting(): this;
190
+
191
+ /**
192
+ * Enable uncaught errors to propagate (in browser).
193
+ *
194
+ * @see https://mochajs.org/api/mocha#allowUncaught
195
+ */
196
+ allowUncaught(): boolean;
197
+
198
+ /**
199
+ * Delay root suite execution.
200
+ *
201
+ * @see https://mochajs.org/api/mocha#delay
202
+ */
203
+ delay(): boolean;
204
+
205
+ /**
206
+ * Tests marked only fail the suite
207
+ *
208
+ * @see https://mochajs.org/api/mocha#forbidOnly
209
+ */
210
+ forbidOnly(): boolean;
211
+
212
+ /**
213
+ * Pending tests and tests marked skip fail the suite
214
+ *
215
+ * @see https://mochajs.org/api/mocha#forbidPending
216
+ */
217
+ forbidPending(): boolean;
218
+
219
+ /**
220
+ * Run tests and invoke `fn()` when complete.
221
+ *
222
+ * Note that `run` relies on Node's `require` to execute
223
+ * the test interface functions and will be subject to the
224
+ * cache - if the files are already in the `require` cache,
225
+ * they will effectively be skipped. Therefore, to run tests
226
+ * multiple times or to run tests in files that are already
227
+ * in the `require` cache, make sure to clear them from the
228
+ * cache first in whichever manner best suits your needs.
229
+ *
230
+ * @see https://mochajs.org/api/mocha#run
231
+ */
232
+ run(fn?: (failures: number) => void): Mocha.Runner;
233
+
234
+ /**
235
+ * Load registered files.
236
+ *
237
+ * @see https://mochajs.org/api/mocha#loadFiles
238
+ */
239
+ protected loadFiles(fn?: () => void): void;
240
+ }
241
+
242
+ declare namespace Mocha {
243
+ namespace utils {
244
+ /**
245
+ * Compute a slug from the given `str`.
246
+ *
247
+ * @see https://mochajs.org/api/module-utils.html#.slug
248
+ */
249
+ function slug(str: string): string;
250
+
251
+ /**
252
+ * Strip the function definition from `str`, and re-indent for pre whitespace.
253
+ *
254
+ * @see https://mochajs.org/api/module-utils.html#.clean
255
+ */
256
+ function clean(str: string): string;
257
+
258
+ /**
259
+ * Highlight the given string of `js`.
260
+ */
261
+ function highlight(js: string): string;
262
+
263
+ /**
264
+ * Takes some variable and asks `Object.prototype.toString()` what it thinks it is.
265
+ */
266
+ function type(value: any): string;
267
+
268
+ /**
269
+ * Stringify `value`. Different behavior depending on type of value:
270
+ *
271
+ * - If `value` is undefined or null, return `'[undefined]'` or `'[null]'`, respectively.
272
+ * - If `value` is not an object, function or array, return result of `value.toString()` wrapped in double-quotes.
273
+ * - If `value` is an *empty* object, function, or array, returns `'{}'`, `'[Function]'`, or `'[]'` respectively.
274
+ * - If `value` has properties, call canonicalize} on it, then return result of `JSON.stringify()`
275
+ *
276
+ * @see https://mochajs.org/api/module-utils.html#.stringify
277
+ */
278
+ function stringify(value: any): string;
279
+
280
+ /**
281
+ * Return a new Thing that has the keys in sorted order. Recursive.
282
+ *
283
+ * If the Thing...
284
+ * - has already been seen, return string `'[Circular]'`
285
+ * - is `undefined`, return string `'[undefined]'`
286
+ * - is `null`, return value `null`
287
+ * - is some other primitive, return the value
288
+ * - is not a primitive or an `Array`, `Object`, or `Function`, return the value of the Thing's `toString()` method
289
+ * - is a non-empty `Array`, `Object`, or `Function`, return the result of calling this function again.
290
+ * - is an empty `Array`, `Object`, or `Function`, returns `'[]'`, `'{}'`, or `'[Function]'` respectively.
291
+ *
292
+ * @see https://mochajs.org/api/module-utils.html#.canonicalize
293
+ */
294
+ function canonicalize(value: any, stack: any[], typeHint: string): any;
295
+
296
+ /**
297
+ * Lookup file names at the given `path`.
298
+ *
299
+ * @see https://mochajs.org/api/Mocha.utils.html#.exports.lookupFiles
300
+ */
301
+ function lookupFiles(filepath: string, extensions?: string[], recursive?: boolean): string[];
302
+
303
+ /**
304
+ * Generate an undefined error with a message warning the user.
305
+ *
306
+ * @see https://mochajs.org/api/module-utils.html#.undefinedError
307
+ */
308
+ function undefinedError(): Error;
309
+
310
+ /**
311
+ * Generate an undefined error if `err` is not defined.
312
+ *
313
+ * @see https://mochajs.org/api/module-utils.html#.getError
314
+ */
315
+ function getError(err: Error | undefined): Error;
316
+
317
+ /**
318
+ * When invoking this function you get a filter function that get the Error.stack as an
319
+ * input, and return a prettify output. (i.e: strip Mocha and internal node functions from
320
+ * stack trace).
321
+ *
322
+ * @see https://mochajs.org/api/module-utils.html#.stackTraceFilter
323
+ */
324
+ function stackTraceFilter(): (stack: string) => string;
325
+ }
326
+
327
+ namespace interfaces {
328
+ function bdd(suite: Suite): void;
329
+ function tdd(suite: Suite): void;
330
+ function qunit(suite: Suite): void;
331
+ function exports(suite: Suite): void;
332
+ }
333
+
334
+ // #region Test interface augmentations
335
+
336
+ interface HookFunction {
337
+ /**
338
+ * [bdd, qunit, tdd] Describe a "hook" to execute the given callback `fn`. The name of the
339
+ * function is used as the name of the hook.
340
+ *
341
+ * - _Only available when invoked via the mocha CLI._
342
+ */
343
+ (fn: Func): void;
344
+
345
+ /**
346
+ * [bdd, qunit, tdd] Describe a "hook" to execute the given callback `fn`. The name of the
347
+ * function is used as the name of the hook.
348
+ *
349
+ * - _Only available when invoked via the mocha CLI._
350
+ */
351
+ (fn: AsyncFunc): void;
352
+
353
+ /**
354
+ * [bdd, qunit, tdd] Describe a "hook" to execute the given `title` and callback `fn`.
355
+ *
356
+ * - _Only available when invoked via the mocha CLI._
357
+ */
358
+ (name: string, fn?: Func): void;
359
+
360
+ /**
361
+ * [bdd, qunit, tdd] Describe a "hook" to execute the given `title` and callback `fn`.
362
+ *
363
+ * - _Only available when invoked via the mocha CLI._
364
+ */
365
+ (name: string, fn?: AsyncFunc): void;
366
+ }
367
+
368
+ interface SuiteFunction {
369
+ /**
370
+ * [bdd, tdd] Describe a "suite" with the given `title` and callback `fn` containing
371
+ * nested suites.
372
+ *
373
+ * - _Only available when invoked via the mocha CLI._
374
+ */
375
+ (title: string, fn: (this: Suite) => void): Suite;
376
+
377
+ /**
378
+ * [qunit] Describe a "suite" with the given `title`.
379
+ *
380
+ * - _Only available when invoked via the mocha CLI._
381
+ */
382
+ (title: string): Suite;
383
+
384
+ /**
385
+ * [bdd, tdd, qunit] Indicates this suite should be executed exclusively.
386
+ *
387
+ * - _Only available when invoked via the mocha CLI._
388
+ */
389
+ only: ExclusiveSuiteFunction;
390
+
391
+ /**
392
+ * [bdd, tdd] Indicates this suite should not be executed.
393
+ *
394
+ * - _Only available when invoked via the mocha CLI._
395
+ */
396
+ skip: PendingSuiteFunction;
397
+ }
398
+
399
+ interface ExclusiveSuiteFunction {
400
+ /**
401
+ * [bdd, tdd] Describe a "suite" with the given `title` and callback `fn` containing
402
+ * nested suites. Indicates this suite should be executed exclusively.
403
+ *
404
+ * - _Only available when invoked via the mocha CLI._
405
+ */
406
+ (title: string, fn: (this: Suite) => void): Suite;
407
+
408
+ /**
409
+ * [qunit] Describe a "suite" with the given `title`. Indicates this suite should be executed
410
+ * exclusively.
411
+ *
412
+ * - _Only available when invoked via the mocha CLI._
413
+ */
414
+ (title: string): Suite;
415
+ }
416
+
417
+ /**
418
+ * [bdd, tdd] Describe a "suite" with the given `title` and callback `fn` containing
419
+ * nested suites. Indicates this suite should not be executed.
420
+ *
421
+ * - _Only available when invoked via the mocha CLI._
422
+ *
423
+ * @returns [bdd] `Suite`
424
+ * @returns [tdd] `void`
425
+ */
426
+ interface PendingSuiteFunction {
427
+ (title: string, fn: (this: Suite) => void): Suite | void;
428
+ }
429
+
430
+ interface TestFunction {
431
+ /**
432
+ * Describe a specification or test-case with the given callback `fn` acting as a thunk.
433
+ * The name of the function is used as the name of the test.
434
+ *
435
+ * - _Only available when invoked via the mocha CLI._
436
+ */
437
+ (fn: Func): Test;
438
+
439
+ /**
440
+ * Describe a specification or test-case with the given callback `fn` acting as a thunk.
441
+ * The name of the function is used as the name of the test.
442
+ *
443
+ * - _Only available when invoked via the mocha CLI._
444
+ */
445
+ (fn: AsyncFunc): Test;
446
+
447
+ /**
448
+ * Describe a specification or test-case with the given `title` and callback `fn` acting
449
+ * as a thunk.
450
+ *
451
+ * - _Only available when invoked via the mocha CLI._
452
+ */
453
+ (title: string, fn?: Func): Test;
454
+
455
+ /**
456
+ * Describe a specification or test-case with the given `title` and callback `fn` acting
457
+ * as a thunk.
458
+ *
459
+ * - _Only available when invoked via the mocha CLI._
460
+ */
461
+ (title: string, fn?: AsyncFunc): Test;
462
+
463
+ /**
464
+ * Indicates this test should be executed exclusively.
465
+ *
466
+ * - _Only available when invoked via the mocha CLI._
467
+ */
468
+ only: ExclusiveTestFunction;
469
+
470
+ /**
471
+ * Indicates this test should not be executed.
472
+ *
473
+ * - _Only available when invoked via the mocha CLI._
474
+ */
475
+ skip: PendingTestFunction;
476
+
477
+ /**
478
+ * Number of attempts to retry.
479
+ *
480
+ * - _Only available when invoked via the mocha CLI._
481
+ */
482
+ retries(n: number): void;
483
+ }
484
+
485
+ interface ExclusiveTestFunction {
486
+ /**
487
+ * [bdd, tdd, qunit] Describe a specification or test-case with the given callback `fn`
488
+ * acting as a thunk. The name of the function is used as the name of the test. Indicates
489
+ * this test should be executed exclusively.
490
+ *
491
+ * - _Only available when invoked via the mocha CLI._
492
+ */
493
+ (fn: Func): Test;
494
+
495
+ /**
496
+ * [bdd, tdd, qunit] Describe a specification or test-case with the given callback `fn`
497
+ * acting as a thunk. The name of the function is used as the name of the test. Indicates
498
+ * this test should be executed exclusively.
499
+ *
500
+ * - _Only available when invoked via the mocha CLI._
501
+ */
502
+ (fn: AsyncFunc): Test;
503
+
504
+ /**
505
+ * [bdd, tdd, qunit] Describe a specification or test-case with the given `title` and
506
+ * callback `fn` acting as a thunk. Indicates this test should be executed exclusively.
507
+ *
508
+ * - _Only available when invoked via the mocha CLI._
509
+ */
510
+ (title: string, fn?: Func): Test;
511
+
512
+ /**
513
+ * [bdd, tdd, qunit] Describe a specification or test-case with the given `title` and
514
+ * callback `fn` acting as a thunk. Indicates this test should be executed exclusively.
515
+ *
516
+ * - _Only available when invoked via the mocha CLI._
517
+ */
518
+ (title: string, fn?: AsyncFunc): Test;
519
+ }
520
+
521
+ interface PendingTestFunction {
522
+ /**
523
+ * [bdd, tdd, qunit] Describe a specification or test-case with the given callback `fn`
524
+ * acting as a thunk. The name of the function is used as the name of the test. Indicates
525
+ * this test should not be executed.
526
+ *
527
+ * - _Only available when invoked via the mocha CLI._
528
+ */
529
+ (fn: Func): Test;
530
+
531
+ /**
532
+ * [bdd, tdd, qunit] Describe a specification or test-case with the given callback `fn`
533
+ * acting as a thunk. The name of the function is used as the name of the test. Indicates
534
+ * this test should not be executed.
535
+ *
536
+ * - _Only available when invoked via the mocha CLI._
537
+ */
538
+ (fn: AsyncFunc): Test;
539
+
540
+ /**
541
+ * [bdd, tdd, qunit] Describe a specification or test-case with the given `title` and
542
+ * callback `fn` acting as a thunk. Indicates this test should not be executed.
543
+ *
544
+ * - _Only available when invoked via the mocha CLI._
545
+ */
546
+ (title: string, fn?: Func): Test;
547
+
548
+ /**
549
+ * [bdd, tdd, qunit] Describe a specification or test-case with the given `title` and
550
+ * callback `fn` acting as a thunk. Indicates this test should not be executed.
551
+ *
552
+ * - _Only available when invoked via the mocha CLI._
553
+ */
554
+ (title: string, fn?: AsyncFunc): Test;
555
+ }
556
+
557
+ /**
558
+ * Execute after each test case.
559
+ *
560
+ * - _Only available when invoked via the mocha CLI._
561
+ *
562
+ * @see https://mochajs.org/api/global.html#afterEach
563
+ */
564
+ let afterEach: HookFunction;
565
+
566
+ /**
567
+ * Execute after running tests.
568
+ *
569
+ * - _Only available when invoked via the mocha CLI._
570
+ *
571
+ * @see https://mochajs.org/api/global.html#after
572
+ */
573
+ let after: HookFunction;
574
+
575
+ /**
576
+ * Execute before each test case.
577
+ *
578
+ * - _Only available when invoked via the mocha CLI._
579
+ *
580
+ * @see https://mochajs.org/api/global.html#beforeEach
581
+ */
582
+ let beforeEach: HookFunction;
583
+
584
+ /**
585
+ * Execute before running tests.
586
+ *
587
+ * - _Only available when invoked via the mocha CLI._
588
+ *
589
+ * @see https://mochajs.org/api/global.html#before
590
+ */
591
+ let before: HookFunction;
592
+
593
+ /**
594
+ * Describe a "suite" containing nested suites and tests.
595
+ *
596
+ * - _Only available when invoked via the mocha CLI._
597
+ */
598
+ let describe: SuiteFunction;
599
+
600
+ /**
601
+ * Describes a test case.
602
+ *
603
+ * - _Only available when invoked via the mocha CLI._
604
+ */
605
+ let it: TestFunction;
606
+
607
+ /**
608
+ * Describes a pending test case.
609
+ *
610
+ * - _Only available when invoked via the mocha CLI._
611
+ */
612
+ let xit: PendingTestFunction;
613
+
614
+ /**
615
+ * Execute before each test case.
616
+ *
617
+ * - _Only available when invoked via the mocha CLI._
618
+ *
619
+ * @see https://mochajs.org/api/global.html#beforeEach
620
+ */
621
+ let setup: HookFunction;
622
+
623
+ /**
624
+ * Execute before running tests.
625
+ *
626
+ * - _Only available when invoked via the mocha CLI._
627
+ *
628
+ * @see https://mochajs.org/api/global.html#before
629
+ */
630
+ let suiteSetup: HookFunction;
631
+
632
+ /**
633
+ * Execute after running tests.
634
+ *
635
+ * - _Only available when invoked via the mocha CLI._
636
+ *
637
+ * @see https://mochajs.org/api/global.html#after
638
+ */
639
+ let suiteTeardown: HookFunction;
640
+
641
+ /**
642
+ * Describe a "suite" containing nested suites and tests.
643
+ *
644
+ * - _Only available when invoked via the mocha CLI._
645
+ */
646
+ let suite: SuiteFunction;
647
+
648
+ /**
649
+ * Execute after each test case.
650
+ *
651
+ * - _Only available when invoked via the mocha CLI._
652
+ *
653
+ * @see https://mochajs.org/api/global.html#afterEach
654
+ */
655
+ let teardown: HookFunction;
656
+
657
+ /**
658
+ * Describes a test case.
659
+ *
660
+ * - _Only available when invoked via the mocha CLI._
661
+ */
662
+ let test: TestFunction;
663
+
664
+ /**
665
+ * Triggers root suite execution.
666
+ *
667
+ * - _Only available if flag --delay is passed into Mocha._
668
+ * - _Only available when invoked via the mocha CLI._
669
+ *
670
+ * @see https://mochajs.org/api/global.html#runWithSuite
671
+ */
672
+ function run(): void;
673
+
674
+ // #endregion Test interface augmentations
675
+
676
+ namespace reporters {
677
+ /**
678
+ * Initialize a new `Base` reporter.
679
+ *
680
+ * All other reporters generally inherit from this reporter, providing stats such as test duration,
681
+ * number of tests passed / failed, etc.
682
+ *
683
+ * @see https://mochajs.org/api/Mocha.reporters.Base.html
684
+ */
685
+ class Base {
686
+ constructor(runner: Runner, options?: MochaOptions);
687
+ /** @deprecated Use the overload that accepts `Mocha.Runner` instead. */
688
+ constructor(runner: IRunner, options?: MochaOptions);
689
+
690
+ /**
691
+ * Test run statistics
692
+ */
693
+ stats: Stats;
694
+
695
+ /**
696
+ * Test failures
697
+ */
698
+ failures: Test[];
699
+
700
+ /**
701
+ * The configured runner
702
+ */
703
+ runner: Runner;
704
+
705
+ /**
706
+ * Output common epilogue used by many of the bundled reporters.
707
+ *
708
+ * @see https://mochajs.org/api/Mocha.reporters.Base.html#.Base#epilogue
709
+ */
710
+ epilogue(): void;
711
+
712
+ done?(failures: number, fn?: (failures: number) => void): void;
713
+ }
714
+
715
+ namespace Base {
716
+ /**
717
+ * Enables coloring by default
718
+ *
719
+ * @see https://mochajs.org/api/module-base#.useColors
720
+ */
721
+ let useColors: boolean;
722
+
723
+ /**
724
+ * Inline diffs instead of +/-
725
+ *
726
+ * @see https://mochajs.org/api/module-base#.inlineDiffs
727
+ */
728
+ let inlineDiffs: boolean;
729
+
730
+ /**
731
+ * Default color map
732
+ *
733
+ * @see https://mochajs.org/api/module-base#.colors
734
+ */
735
+ const colors: ColorMap;
736
+
737
+ /**
738
+ * Default color map
739
+ *
740
+ * @see https://mochajs.org/api/module-base#.colors
741
+ */
742
+ interface ColorMap {
743
+ // added by Base
744
+ pass: number;
745
+ fail: number;
746
+ "bright pass": number;
747
+ "bright fail": number;
748
+ "bright yellow": number;
749
+ pending: number;
750
+ suite: number;
751
+ "error title": number;
752
+ "error message": number;
753
+ "error stack": number;
754
+ checkmark: number;
755
+ fast: number;
756
+ medium: number;
757
+ slow: number;
758
+ green: number;
759
+ light: number;
760
+ "diff gutter": number;
761
+ "diff added": number;
762
+ "diff removed": number;
763
+
764
+ // added by Progress
765
+ progress: number;
766
+
767
+ // added by Landing
768
+ plane: number;
769
+ "plane crash": number;
770
+ runway: number;
771
+
772
+ [key: string]: number;
773
+ }
774
+
775
+ /**
776
+ * Default symbol map
777
+ *
778
+ * @see https://mochajs.org/api/module-base#.symbols
779
+ */
780
+ const symbols: SymbolMap;
781
+
782
+ /**
783
+ * Default symbol map
784
+ *
785
+ * @see https://mochajs.org/api/module-base#.symbols
786
+ */
787
+ interface SymbolMap {
788
+ ok: string;
789
+ err: string;
790
+ dot: string;
791
+ comma: string;
792
+ bang: string;
793
+ [key: string]: string;
794
+ }
795
+
796
+ /**
797
+ * Color `str` with the given `type` (from `colors`)
798
+ *
799
+ * @see https://mochajs.org/api/module-base#.color
800
+ */
801
+ function color(type: string, str: string): string;
802
+
803
+ /**
804
+ * Expose terminal window size
805
+ *
806
+ * @see https://mochajs.org/api/module-base#.window
807
+ */
808
+ const window: {
809
+ width: number;
810
+ };
811
+
812
+ /**
813
+ * ANSI TTY control sequences common among reporters.
814
+ *
815
+ * @see https://mochajs.org/api/module-base#.cursor
816
+ */
817
+ namespace cursor {
818
+ /**
819
+ * Hides the cursor
820
+ */
821
+ function hide(): void;
822
+
823
+ /**
824
+ * Shows the cursor
825
+ */
826
+ function show(): void;
827
+
828
+ /**
829
+ * Deletes the current line
830
+ */
831
+ function deleteLine(): void;
832
+
833
+ /**
834
+ * Moves to the beginning of the line
835
+ */
836
+ function beginningOfLine(): void;
837
+
838
+ /**
839
+ * Clears the line and moves to the beginning of the line.
840
+ */
841
+ function CR(): void;
842
+ }
843
+
844
+ /**
845
+ * Returns a diff between two strings with colored ANSI output.
846
+ *
847
+ * @see https://mochajs.org/api/module-base#.generateDiff
848
+ */
849
+ function generateDiff(actual: string, expected: string): string;
850
+
851
+ /**
852
+ * Output the given `failures` as a list.
853
+ *
854
+ * @see https://mochajs.org/api/Mocha.reporters.Base.html#.exports.list1
855
+ */
856
+ function list(failures: Test[]): void;
857
+ }
858
+
859
+ /**
860
+ * Initialize a new `Dot` matrix test reporter.
861
+ *
862
+ * @see https://mochajs.org/api/Mocha.reporters.Dot.html
863
+ */
864
+ class Dot extends Base {
865
+ }
866
+
867
+ /**
868
+ * Initialize a new `Doc` reporter.
869
+ *
870
+ * @see https://mochajs.org/api/Mocha.reporters.Doc.html
871
+ */
872
+ class Doc extends Base {
873
+ }
874
+
875
+ /**
876
+ * Initialize a new `TAP` test reporter.
877
+ *
878
+ * @see https://mochajs.org/api/Mocha.reporters.TAP.html
879
+ */
880
+ class TAP extends Base {
881
+ }
882
+
883
+ /**
884
+ * Initialize a new `JSON` reporter
885
+ *
886
+ * @see https://mochajs.org/api/Mocha.reporters.JSON.html
887
+ */
888
+ class JSON extends Base {
889
+ }
890
+
891
+ /**
892
+ * Initialize a new `HTML` reporter.
893
+ *
894
+ * - _This reporter cannot be used on the console._
895
+ *
896
+ * @see https://mochajs.org/api/Mocha.reporters.HTML.html
897
+ */
898
+ class HTML extends Base {
899
+ /**
900
+ * Provide suite URL.
901
+ *
902
+ * @see https://mochajs.org/api/Mocha.reporters.HTML.html#suiteURL
903
+ */
904
+ suiteURL(suite: Suite): string;
905
+
906
+ /**
907
+ * Provide test URL.
908
+ *
909
+ * @see https://mochajs.org/api/Mocha.reporters.HTML.html#testURL
910
+ */
911
+ testURL(test: Test): string;
912
+
913
+ /**
914
+ * Adds code toggle functionality for the provided test's list element.
915
+ *
916
+ * @see https://mochajs.org/api/Mocha.reporters.HTML.html#addCodeToggle
917
+ */
918
+ addCodeToggle(el: HTMLLIElement, contents: string): void;
919
+ }
920
+
921
+ /**
922
+ * Initialize a new `List` test reporter.
923
+ *
924
+ * @see https://mochajs.org/api/Mocha.reporters.List.html
925
+ */
926
+ class List extends Base {
927
+ }
928
+
929
+ /**
930
+ * Initialize a new `Min` minimal test reporter (best used with --watch).
931
+ *
932
+ * @see https://mochajs.org/api/Mocha.reporters.Min.html
933
+ */
934
+ class Min extends Base {
935
+ }
936
+
937
+ /**
938
+ * Initialize a new `Spec` test reporter.
939
+ *
940
+ * @see https://mochajs.org/api/Mocha.reporters.Spec.html
941
+ */
942
+ class Spec extends Base {
943
+ }
944
+
945
+ /**
946
+ * Initialize a new `NyanCat` test reporter.
947
+ *
948
+ * @see https://mochajs.org/api/Mocha.reporters.Nyan.html
949
+ */
950
+ class Nyan extends Base {
951
+ private colorIndex;
952
+ private numberOfLines;
953
+ private rainbowColors;
954
+ private scoreboardWidth;
955
+ private tick;
956
+ private trajectories;
957
+ private trajectoryWidthMax;
958
+ private draw;
959
+ private drawScoreboard;
960
+ private appendRainbow;
961
+ private drawRainbow;
962
+ private drawNyanCat;
963
+ private face;
964
+ private cursorUp;
965
+ private cursorDown;
966
+ private generateColors;
967
+ private rainbowify;
968
+ }
969
+
970
+ /**
971
+ * Initialize a new `XUnit` test reporter.
972
+ *
973
+ * @see https://mochajs.org/api/Mocha.reporters.XUnit.html
974
+ */
975
+ class XUnit extends Base {
976
+ constructor(runner: Runner, options?: XUnit.MochaOptions);
977
+ /** @deprecated Use the overload that accepts `Mocha.Runner` instead. */
978
+ constructor(runner: IRunner, options?: XUnit.MochaOptions);
979
+
980
+ /**
981
+ * Override done to close the stream (if it's a file).
982
+ *
983
+ * @see https://mochajs.org/api/Mocha.reporters.XUnit.html#done
984
+ */
985
+ done(failures: number, fn: (failures: number) => void): void;
986
+
987
+ /**
988
+ * Write out the given line.
989
+ *
990
+ * @see https://mochajs.org/api/Mocha.reporters.XUnit.html#write
991
+ */
992
+ write(line: string): void;
993
+
994
+ /**
995
+ * Output tag for the given `test.`
996
+ *
997
+ * @see https://mochajs.org/api/Mocha.reporters.XUnit.html#test
998
+ */
999
+ test(test: Test): void;
1000
+ }
1001
+
1002
+ namespace XUnit {
1003
+ interface MochaOptions extends Mocha.MochaOptions {
1004
+ reporterOptions?: ReporterOptions;
1005
+ }
1006
+
1007
+ interface ReporterOptions {
1008
+ output?: string;
1009
+ suiteName?: string;
1010
+ }
1011
+ }
1012
+
1013
+ /**
1014
+ * Initialize a new `Markdown` test reporter.
1015
+ *
1016
+ * @see https://mochajs.org/api/Mocha.reporters.Markdown.html
1017
+ */
1018
+ class Markdown extends Base {
1019
+ }
1020
+
1021
+ /**
1022
+ * Initialize a new `Progress` bar test reporter.
1023
+ *
1024
+ * @see https://mochajs.org/api/Mocha.reporters.Progress.html
1025
+ */
1026
+ class Progress extends Base {
1027
+ constructor(runner: Runner, options?: Progress.MochaOptions);
1028
+ /** @deprecated Use the overload that accepts `Mocha.Runner` instead. */
1029
+ constructor(runner: IRunner, options?: Progress.MochaOptions);
1030
+ }
1031
+
1032
+ namespace Progress {
1033
+ interface MochaOptions extends Mocha.MochaOptions {
1034
+ reporterOptions?: ReporterOptions;
1035
+ }
1036
+
1037
+ interface ReporterOptions {
1038
+ open?: string;
1039
+ complete?: string;
1040
+ incomplete?: string;
1041
+ close?: string;
1042
+ verbose?: boolean;
1043
+ }
1044
+ }
1045
+
1046
+ /**
1047
+ * Initialize a new `Landing` reporter.
1048
+ *
1049
+ * @see https://mochajs.org/api/Mocha.reporters.Landing.html
1050
+ */
1051
+ class Landing extends Base {
1052
+ }
1053
+
1054
+ /**
1055
+ * Initialize a new `JSONStream` test reporter.
1056
+ *
1057
+ * @see https://mochajs.org/api/Mocha.reporters.JSONStream.html
1058
+ */
1059
+ class JSONStream extends Base {
1060
+ }
1061
+
1062
+ // value-only aliases
1063
+ const base: typeof Base;
1064
+ const dot: typeof Dot;
1065
+ const doc: typeof Doc;
1066
+ const tap: typeof TAP;
1067
+ const json: typeof JSON;
1068
+ const html: typeof HTML;
1069
+ const list: typeof List;
1070
+ const spec: typeof Spec;
1071
+ const nyan: typeof Nyan;
1072
+ const xunit: typeof XUnit;
1073
+ const markdown: typeof Markdown;
1074
+ const progress: typeof Progress;
1075
+ const landing: typeof Landing;
1076
+ // NOTE: not possible to type this correctly:
1077
+ // const "json-stream": typeof JSONStream;
1078
+ }
1079
+
1080
+ /**
1081
+ * Initialize a new `Runnable` with the given `title` and callback `fn`.
1082
+ *
1083
+ * @see https://mochajs.org/api/Runnable.html
1084
+ */
1085
+ class Runnable {
1086
+ private _slow;
1087
+ private _enableTimeouts;
1088
+ private _retries;
1089
+ private _currentRetry;
1090
+ private _timeout;
1091
+ private _timeoutError;
1092
+
1093
+ constructor(title: string, fn?: Func | AsyncFunc);
1094
+
1095
+ title: string;
1096
+ fn: Func | AsyncFunc | undefined;
1097
+ body: string;
1098
+ async: boolean;
1099
+ sync: boolean;
1100
+ timedOut: boolean;
1101
+ pending: boolean;
1102
+ duration?: number;
1103
+ parent?: Suite;
1104
+ state?: "failed" | "passed";
1105
+ timer?: any;
1106
+ ctx?: Context;
1107
+ callback?: Done;
1108
+ allowUncaught?: boolean;
1109
+ file?: string;
1110
+
1111
+ /**
1112
+ * Get test timeout.
1113
+ *
1114
+ * @see https://mochajs.org/api/Runnable.html#timeout
1115
+ */
1116
+ timeout(): number;
1117
+
1118
+ /**
1119
+ * Set test timeout.
1120
+ *
1121
+ * @see https://mochajs.org/api/Runnable.html#timeout
1122
+ */
1123
+ timeout(ms: string | number): this;
1124
+
1125
+ /**
1126
+ * Get test slowness threshold.
1127
+ *
1128
+ * @see https://mochajs.org/api/Runnable.html#slow
1129
+ */
1130
+ slow(): number;
1131
+
1132
+ /**
1133
+ * Set test slowness threshold.
1134
+ *
1135
+ * @see https://mochajs.org/api/Runnable.html#slow
1136
+ */
1137
+ slow(ms: string | number): this;
1138
+
1139
+ /**
1140
+ * Get whether timeouts are enabled.
1141
+ *
1142
+ * @see https://mochajs.org/api/Runnable.html#enableTimeouts
1143
+ */
1144
+ enableTimeouts(): boolean;
1145
+
1146
+ /**
1147
+ * Set whether timeouts are enabled.
1148
+ *
1149
+ * @see https://mochajs.org/api/Runnable.html#enableTimeouts
1150
+ */
1151
+ enableTimeouts(enabled: boolean): this;
1152
+
1153
+ /**
1154
+ * Halt and mark as pending.
1155
+ */
1156
+ skip(): never;
1157
+
1158
+ /**
1159
+ * Check if this runnable or its parent suite is marked as pending.
1160
+ *
1161
+ * @see https://mochajs.org/api/Runnable.html#isPending
1162
+ */
1163
+ isPending(): boolean;
1164
+
1165
+ /**
1166
+ * Return `true` if this Runnable has failed.
1167
+ */
1168
+ isFailed(): boolean;
1169
+
1170
+ /**
1171
+ * Return `true` if this Runnable has passed.
1172
+ */
1173
+ isPassed(): boolean;
1174
+
1175
+ /**
1176
+ * Set or get number of retries.
1177
+ *
1178
+ * @see https://mochajs.org/api/Runnable.html#retries
1179
+ */
1180
+ retries(): number;
1181
+
1182
+ /**
1183
+ * Set or get number of retries.
1184
+ *
1185
+ * @see https://mochajs.org/api/Runnable.html#retries
1186
+ */
1187
+ retries(n: number): void;
1188
+
1189
+ /**
1190
+ * Set or get current retry
1191
+ *
1192
+ * @see https://mochajs.org/api/Runnable.html#currentRetry
1193
+ */
1194
+ protected currentRetry(): number;
1195
+
1196
+ /**
1197
+ * Set or get current retry
1198
+ *
1199
+ * @see https://mochajs.org/api/Runnable.html#currentRetry
1200
+ */
1201
+ protected currentRetry(n: number): void;
1202
+
1203
+ /**
1204
+ * Return the full title generated by recursively concatenating the parent's full title.
1205
+ */
1206
+ fullTitle(): string;
1207
+
1208
+ /**
1209
+ * Return the title path generated by concatenating the parent's title path with the title.
1210
+ */
1211
+ titlePath(): string[];
1212
+
1213
+ /**
1214
+ * Clear the timeout.
1215
+ *
1216
+ * @see https://mochajs.org/api/Runnable.html#clearTimeout
1217
+ */
1218
+ clearTimeout(): void;
1219
+
1220
+ /**
1221
+ * Inspect the runnable void of private properties.
1222
+ *
1223
+ * @see https://mochajs.org/api/Runnable.html#inspect
1224
+ */
1225
+ inspect(): string;
1226
+
1227
+ /**
1228
+ * Reset the timeout.
1229
+ *
1230
+ * @see https://mochajs.org/api/Runnable.html#resetTimeout
1231
+ */
1232
+ resetTimeout(): void;
1233
+
1234
+ /**
1235
+ * Get a list of whitelisted globals for this test run.
1236
+ *
1237
+ * @see https://mochajs.org/api/Runnable.html#globals
1238
+ */
1239
+ globals(): string[];
1240
+
1241
+ /**
1242
+ * Set a list of whitelisted globals for this test run.
1243
+ *
1244
+ * @see https://mochajs.org/api/Runnable.html#globals
1245
+ */
1246
+ globals(globals: ReadonlyArray<string>): void;
1247
+
1248
+ /**
1249
+ * Run the test and invoke `fn(err)`.
1250
+ *
1251
+ * @see https://mochajs.org/api/Runnable.html#run
1252
+ */
1253
+ run(fn: Done): void;
1254
+ }
1255
+
1256
+ // #region Runnable "error" event
1257
+ interface Runnable extends NodeJS.EventEmitter {
1258
+ on(event: "error", listener: (error: any) => void): this;
1259
+ once(event: "error", listener: (error: any) => void): this;
1260
+ addListener(event: "error", listener: (error: any) => void): this;
1261
+ removeListener(event: "error", listener: (error: any) => void): this;
1262
+ prependListener(event: "error", listener: (error: any) => void): this;
1263
+ prependOnceListener(event: "error", listener: (error: any) => void): this;
1264
+ emit(name: "error", error: any): boolean;
1265
+ }
1266
+ // #endregion Runnable "error" event
1267
+ // #region Runnable untyped events
1268
+ interface Runnable extends NodeJS.EventEmitter {
1269
+ on(event: string, listener: (...args: any[]) => void): this;
1270
+ once(event: string, listener: (...args: any[]) => void): this;
1271
+ addListener(event: string, listener: (...args: any[]) => void): this;
1272
+ removeListener(event: string, listener: (...args: any[]) => void): this;
1273
+ prependListener(event: string, listener: (...args: any[]) => void): this;
1274
+ prependOnceListener(event: string, listener: (...args: any[]) => void): this;
1275
+ emit(name: string, ...args: any[]): boolean;
1276
+ }
1277
+ // #endregion Runnable untyped events
1278
+
1279
+ /**
1280
+ * Test context
1281
+ *
1282
+ * @see https://mochajs.org/api/module-Context.html#~Context
1283
+ */
1284
+ class Context {
1285
+ private _runnable;
1286
+
1287
+ test?: Runnable;
1288
+ currentTest?: Test;
1289
+
1290
+ /**
1291
+ * Get the context `Runnable`.
1292
+ */
1293
+ runnable(): Runnable;
1294
+
1295
+ /**
1296
+ * Set the context `Runnable`.
1297
+ */
1298
+ runnable(runnable: Runnable): this;
1299
+ /** @deprecated Use the overload that accepts `Mocha.Runnable` instead. */
1300
+ runnable(runnable: IRunnable): this;
1301
+
1302
+ /**
1303
+ * Get test timeout.
1304
+ */
1305
+ timeout(): number;
1306
+
1307
+ /**
1308
+ * Set test timeout.
1309
+ */
1310
+ timeout(ms: string | number): this;
1311
+
1312
+ /**
1313
+ * Get whether timeouts are enabled.
1314
+ */
1315
+ enableTimeouts(): boolean;
1316
+
1317
+ /**
1318
+ * Set whether timeouts are enabled.
1319
+ */
1320
+ enableTimeouts(enabled: boolean): this;
1321
+
1322
+ /**
1323
+ * Get test slowness threshold.
1324
+ */
1325
+ slow(): number;
1326
+
1327
+ /**
1328
+ * Set test slowness threshold.
1329
+ */
1330
+ slow(ms: string | number): this;
1331
+
1332
+ /**
1333
+ * Mark a test as skipped.
1334
+ */
1335
+ skip(): never;
1336
+
1337
+ /**
1338
+ * Get the number of allowed retries on failed tests.
1339
+ */
1340
+ retries(): number;
1341
+
1342
+ /**
1343
+ * Set the number of allowed retries on failed tests.
1344
+ */
1345
+ retries(n: number): this;
1346
+
1347
+ [key: string]: any;
1348
+ }
1349
+
1350
+ /**
1351
+ * Initialize a `Runner` for the given `suite`.
1352
+ *
1353
+ * @see https://mochajs.org/api/Mocha.Runner.html
1354
+ */
1355
+ class Runner {
1356
+ private _globals;
1357
+ private _abort;
1358
+ private _delay;
1359
+ private _defaultGrep;
1360
+ private next;
1361
+ private hookErr;
1362
+ private prevGlobalsLength;
1363
+ private nextSuite;
1364
+
1365
+ constructor(suite: Suite, delay: boolean);
1366
+
1367
+ /** @deprecated Use the overload that accepts `Mocha.Suite` instead. */
1368
+ constructor(suite: ISuite, delay: boolean);
1369
+
1370
+ suite: Suite;
1371
+ started: boolean;
1372
+ total: number;
1373
+ failures: number;
1374
+ asyncOnly?: boolean;
1375
+ allowUncaught?: boolean;
1376
+ fullStackTrace?: boolean;
1377
+ forbidOnly?: boolean;
1378
+ forbidPending?: boolean;
1379
+ ignoreLeaks?: boolean;
1380
+ test?: Test;
1381
+ currentRunnable?: Runnable;
1382
+ stats?: Stats; // added by reporters
1383
+
1384
+ /**
1385
+ * Run tests with full titles matching `re`. Updates runner.total
1386
+ * with number of tests matched.
1387
+ *
1388
+ * @see https://mochajs.org/api/Mocha.Runner.html#.Runner#grep
1389
+ */
1390
+ grep(re: RegExp, invert: boolean): this;
1391
+
1392
+ /**
1393
+ * Returns the number of tests matching the grep search for the
1394
+ * given suite.
1395
+ *
1396
+ * @see https://mochajs.org/api/Mocha.Runner.html#.Runner#grepTotal
1397
+ */
1398
+ grepTotal(suite: Suite): number;
1399
+
1400
+ /** @deprecated Use the overload that accepts `Mocha.Suite` instead. */
1401
+ grepTotal(suite: ISuite): number;
1402
+
1403
+ /**
1404
+ * Gets the allowed globals.
1405
+ *
1406
+ * @see https://mochajs.org/api/Mocha.Runner.html#.Runner#globals
1407
+ */
1408
+ globals(): string[];
1409
+
1410
+ /**
1411
+ * Allow the given `arr` of globals.
1412
+ *
1413
+ * @see https://mochajs.org/api/Mocha.Runner.html#.Runner#globals
1414
+ */
1415
+ globals(arr: ReadonlyArray<string>): this;
1416
+
1417
+ /**
1418
+ * Run the root suite and invoke `fn(failures)` on completion.
1419
+ *
1420
+ * @see https://mochajs.org/api/Mocha.Runner.html#.Runner#run
1421
+ */
1422
+ run(fn?: (failures: number) => void): this;
1423
+
1424
+ /**
1425
+ * Cleanly abort execution.
1426
+ *
1427
+ * @see https://mochajs.org/api/Mocha.Runner.html#.Runner#abort
1428
+ */
1429
+ abort(): this;
1430
+
1431
+ /**
1432
+ * Handle uncaught exceptions.
1433
+ *
1434
+ * @see https://mochajs.org/api/Mocha.Runner.html#uncaught
1435
+ */
1436
+ uncaught(err: any): void;
1437
+
1438
+ /**
1439
+ * Wrapper for setImmediate, process.nextTick, or browser polyfill.
1440
+ */
1441
+ protected static immediately(callback: Function): void;
1442
+
1443
+ /**
1444
+ * Return a list of global properties.
1445
+ *
1446
+ * @see https://mochajs.org/api/Mocha.Runner.html#globalProps
1447
+ */
1448
+ protected globalProps(): string[];
1449
+
1450
+ /**
1451
+ * Check for global variable leaks.
1452
+ *
1453
+ * @see https://mochajs.org/api/Mocha.Runner.html#checkGlobals
1454
+ */
1455
+ protected checkGlobals(test: Test): void;
1456
+
1457
+ /**
1458
+ * Fail the given `test`.
1459
+ *
1460
+ * @see https://mochajs.org/api/Mocha.Runner.html#fail
1461
+ */
1462
+ protected fail(test: Test, err: any): void;
1463
+
1464
+ /**
1465
+ * Fail the given `hook` with `err`.
1466
+ *
1467
+ * Hook failures work in the following pattern:
1468
+ * - If bail, then exit
1469
+ * - Failed `before` hook skips all tests in a suite and subsuites,
1470
+ * but jumps to corresponding `after` hook
1471
+ * - Failed `before each` hook skips remaining tests in a
1472
+ * suite and jumps to corresponding `after each` hook,
1473
+ * which is run only once
1474
+ * - Failed `after` hook does not alter
1475
+ * execution order
1476
+ * - Failed `after each` hook skips remaining tests in a
1477
+ * suite and subsuites, but executes other `after each`
1478
+ * hooks
1479
+ *
1480
+ * @see https://mochajs.org/api/Mocha.Runner.html#failHook
1481
+ */
1482
+ protected failHook(hook: Hook, err: any): void;
1483
+
1484
+ /**
1485
+ * Run hook `name` callbacks and then invoke `fn()`.
1486
+ *
1487
+ * @see https://mochajs.org/api/Mocha.Runner.html#hook
1488
+ */
1489
+ protected hook(name: string, fn: () => void): void;
1490
+
1491
+ /**
1492
+ * Run hook `name` for the given array of `suites`
1493
+ * in order, and callback `fn(err, errSuite)`.
1494
+ *
1495
+ * @see https://mochajs.org/api/Mocha.Runner.html#hooks
1496
+ */
1497
+ protected hooks(name: string, suites: Suite[], fn: (err?: any, errSuite?: Suite) => void): void;
1498
+
1499
+ /**
1500
+ * Run hooks from the top level down.
1501
+ *
1502
+ * @see https://mochajs.org/api/Mocha.Runner.html#hookUp
1503
+ */
1504
+ protected hookUp(name: string, fn: (err?: any, errSuite?: Suite) => void): void;
1505
+
1506
+ /**
1507
+ * Run hooks from the bottom up.
1508
+ *
1509
+ * @see https://mochajs.org/api/Mocha.Runner.html#hookDown
1510
+ */
1511
+ protected hookDown(name: string, fn: (err?: any, errSuite?: Suite) => void): void;
1512
+
1513
+ /**
1514
+ * Return an array of parent Suites from closest to furthest.
1515
+ *
1516
+ * @see https://mochajs.org/api/Mocha.Runner.html#parents
1517
+ */
1518
+ protected parents(): Suite[];
1519
+
1520
+ /**
1521
+ * Run the current test and callback `fn(err)`.
1522
+ *
1523
+ * @see https://mochajs.org/api/Mocha.Runner.html#runTest
1524
+ */
1525
+ protected runTest(fn: Done): any;
1526
+
1527
+ /**
1528
+ * Run tests in the given `suite` and invoke the callback `fn()` when complete.
1529
+ *
1530
+ * @see https://mochajs.org/api/Mocha.Runner.html#runTests
1531
+ */
1532
+ protected runTests(suite: Suite, fn: (errSuite?: Suite) => void): void;
1533
+
1534
+ /**
1535
+ * Run the given `suite` and invoke the callback `fn()` when complete.
1536
+ *
1537
+ * @see https://mochajs.org/api/Mocha.Runner.html#runSuite
1538
+ */
1539
+ protected runSuite(suite: Suite, fn: (errSuite?: Suite) => void): void;
1540
+ }
1541
+
1542
+ // #region Runner "waiting" event
1543
+ interface Runner {
1544
+ on(event: "waiting", listener: (rootSuite: Suite) => void): this;
1545
+ once(event: "waiting", listener: (rootSuite: Suite) => void): this;
1546
+ addListener(event: "waiting", listener: (rootSuite: Suite) => void): this;
1547
+ removeListener(event: "waiting", listener: (rootSuite: Suite) => void): this;
1548
+ prependListener(event: "waiting", listener: (rootSuite: Suite) => void): this;
1549
+ prependOnceListener(event: "waiting", listener: (rootSuite: Suite) => void): this;
1550
+ emit(name: "waiting", rootSuite: Suite): boolean;
1551
+ }
1552
+ // #endregion Runner "waiting" event
1553
+ // #region Runner "start" event
1554
+ interface Runner extends NodeJS.EventEmitter {
1555
+ on(event: "start", listener: () => void): this;
1556
+ once(event: "start", listener: () => void): this;
1557
+ addListener(event: "start", listener: () => void): this;
1558
+ removeListener(event: "start", listener: () => void): this;
1559
+ prependListener(event: "start", listener: () => void): this;
1560
+ prependOnceListener(event: "start", listener: () => void): this;
1561
+ emit(name: "start"): boolean;
1562
+ }
1563
+ // #endregion Runner "start" event
1564
+ // #region Runner "end" event
1565
+ interface Runner extends NodeJS.EventEmitter {
1566
+ on(event: "end", listener: () => void): this;
1567
+ once(event: "end", listener: () => void): this;
1568
+ addListener(event: "end", listener: () => void): this;
1569
+ removeListener(event: "end", listener: () => void): this;
1570
+ prependListener(event: "end", listener: () => void): this;
1571
+ prependOnceListener(event: "end", listener: () => void): this;
1572
+ emit(name: "end"): boolean;
1573
+ }
1574
+ // #endregion Runner "end" event
1575
+ // #region Runner "suite" event
1576
+ interface Runner extends NodeJS.EventEmitter {
1577
+ on(event: "suite", listener: (suite: Suite) => void): this;
1578
+ once(event: "suite", listener: (suite: Suite) => void): this;
1579
+ addListener(event: "suite", listener: (suite: Suite) => void): this;
1580
+ removeListener(event: "suite", listener: (suite: Suite) => void): this;
1581
+ prependListener(event: "suite", listener: (suite: Suite) => void): this;
1582
+ prependOnceListener(event: "suite", listener: (suite: Suite) => void): this;
1583
+ emit(name: "suite", suite: Suite): boolean;
1584
+ }
1585
+ // #endregion Runner "suite" event
1586
+ // #region Runner "suite end" event
1587
+ interface Runner extends NodeJS.EventEmitter {
1588
+ on(event: "suite end", listener: (suite: Suite) => void): this;
1589
+ once(event: "suite end", listener: (suite: Suite) => void): this;
1590
+ addListener(event: "suite end", listener: (suite: Suite) => void): this;
1591
+ removeListener(event: "suite end", listener: (suite: Suite) => void): this;
1592
+ prependListener(event: "suite end", listener: (suite: Suite) => void): this;
1593
+ prependOnceListener(event: "suite end", listener: (suite: Suite) => void): this;
1594
+ emit(name: "suite end", suite: Suite): boolean;
1595
+ }
1596
+ // #endregion Runner "suite end" event
1597
+ // #region Runner "test" event
1598
+ interface Runner extends NodeJS.EventEmitter {
1599
+ on(event: "test", listener: (test: Test) => void): this;
1600
+ once(event: "test", listener: (test: Test) => void): this;
1601
+ addListener(event: "test", listener: (test: Test) => void): this;
1602
+ removeListener(event: "test", listener: (test: Test) => void): this;
1603
+ prependListener(event: "test", listener: (test: Test) => void): this;
1604
+ prependOnceListener(event: "test", listener: (test: Test) => void): this;
1605
+ emit(name: "test", test: Test): boolean;
1606
+ }
1607
+ // #endregion Runner "test" event
1608
+ // #region Runner "test end" event
1609
+ interface Runner extends NodeJS.EventEmitter {
1610
+ on(event: "test end", listener: (test: Test) => void): this;
1611
+ once(event: "test end", listener: (test: Test) => void): this;
1612
+ addListener(event: "test end", listener: (test: Test) => void): this;
1613
+ removeListener(event: "test end", listener: (test: Test) => void): this;
1614
+ prependListener(event: "test end", listener: (test: Test) => void): this;
1615
+ prependOnceListener(event: "test end", listener: (test: Test) => void): this;
1616
+ emit(name: "test end", test: Test): boolean;
1617
+ }
1618
+ // #endregion Runner "test end" event
1619
+ // #region Runner "hook" event
1620
+ interface Runner extends NodeJS.EventEmitter {
1621
+ on(event: "hook", listener: (hook: Hook) => void): this;
1622
+ once(event: "hook", listener: (hook: Hook) => void): this;
1623
+ addListener(event: "hook", listener: (hook: Hook) => void): this;
1624
+ removeListener(event: "hook", listener: (hook: Hook) => void): this;
1625
+ prependListener(event: "hook", listener: (hook: Hook) => void): this;
1626
+ prependOnceListener(event: "hook", listener: (hook: Hook) => void): this;
1627
+ emit(name: "hook", hook: Hook): boolean;
1628
+ }
1629
+ // #endregion Runner "hook" event
1630
+ // #region Runner "hook end" event
1631
+ interface Runner extends NodeJS.EventEmitter {
1632
+ on(event: "hook end", listener: (hook: Hook) => void): this;
1633
+ once(event: "hook end", listener: (hook: Hook) => void): this;
1634
+ addListener(event: "hook end", listener: (hook: Hook) => void): this;
1635
+ removeListener(event: "hook end", listener: (hook: Hook) => void): this;
1636
+ prependListener(event: "hook end", listener: (hook: Hook) => void): this;
1637
+ prependOnceListener(event: "hook end", listener: (hook: Hook) => void): this;
1638
+ emit(name: "hook end", hook: Hook): boolean;
1639
+ }
1640
+ // #endregion Runner "hook end" event
1641
+ // #region Runner "pass" event
1642
+ interface Runner extends NodeJS.EventEmitter {
1643
+ on(event: "pass", listener: (test: Test) => void): this;
1644
+ once(event: "pass", listener: (test: Test) => void): this;
1645
+ addListener(event: "pass", listener: (test: Test) => void): this;
1646
+ removeListener(event: "pass", listener: (test: Test) => void): this;
1647
+ prependListener(event: "pass", listener: (test: Test) => void): this;
1648
+ prependOnceListener(event: "pass", listener: (test: Test) => void): this;
1649
+ emit(name: "pass", test: Test): boolean;
1650
+ }
1651
+ // #endregion Runner "pass" event
1652
+ // #region Runner "fail" event
1653
+ interface Runner extends NodeJS.EventEmitter {
1654
+ on(event: "fail", listener: (test: Test, err: any) => void): this;
1655
+ once(event: "fail", listener: (test: Test, err: any) => void): this;
1656
+ addListener(event: "fail", listener: (test: Test, err: any) => void): this;
1657
+ removeListener(event: "fail", listener: (test: Test, err: any) => void): this;
1658
+ prependListener(event: "fail", listener: (test: Test, err: any) => void): this;
1659
+ prependOnceListener(event: "fail", listener: (test: Test, err: any) => void): this;
1660
+ emit(name: "fail", test: Test, err: any): boolean;
1661
+ }
1662
+ // #endregion Runner "fail" event
1663
+ // #region Runner "pending" event
1664
+ interface Runner extends NodeJS.EventEmitter {
1665
+ on(event: "pending", listener: (test: Test) => void): this;
1666
+ once(event: "pending", listener: (test: Test) => void): this;
1667
+ addListener(event: "pending", listener: (test: Test) => void): this;
1668
+ removeListener(event: "pending", listener: (test: Test) => void): this;
1669
+ prependListener(event: "pending", listener: (test: Test) => void): this;
1670
+ prependOnceListener(event: "pending", listener: (test: Test) => void): this;
1671
+ emit(name: "pending", test: Test): boolean;
1672
+ }
1673
+ // #endregion Runner "pending" event
1674
+ // #region Runner untyped events
1675
+ interface Runner extends NodeJS.EventEmitter {
1676
+ on(event: string, listener: (...args: any[]) => void): this;
1677
+ once(event: string, listener: (...args: any[]) => void): this;
1678
+ addListener(event: string, listener: (...args: any[]) => void): this;
1679
+ removeListener(event: string, listener: (...args: any[]) => void): this;
1680
+ prependListener(event: string, listener: (...args: any[]) => void): this;
1681
+ prependOnceListener(event: string, listener: (...args: any[]) => void): this;
1682
+ emit(name: string, ...args: any[]): boolean;
1683
+ }
1684
+ // #endregion Runner untyped events
1685
+
1686
+ /**
1687
+ * Initialize a new `Suite` with the given `title` and `ctx`.
1688
+ *
1689
+ * @see https://mochajs.org/api/Mocha.Suite.html
1690
+ */
1691
+ class Suite {
1692
+ private _beforeEach;
1693
+ private _beforeAll;
1694
+ private _afterEach;
1695
+ private _afterAll;
1696
+ private _timeout;
1697
+ private _enableTimeouts;
1698
+ private _slow;
1699
+ private _bail;
1700
+ private _retries;
1701
+ private _onlyTests;
1702
+ private _onlySuites;
1703
+
1704
+ constructor(title: string, parentContext?: Context);
1705
+ /** @deprecated Use the overload that accepts `Mocha.Context` instead. */
1706
+ constructor(title: string, parentContext?: IContext);
1707
+
1708
+ ctx: Context;
1709
+ suites: Suite[];
1710
+ tests: Test[];
1711
+ pending: boolean;
1712
+ file?: string;
1713
+ root: boolean;
1714
+ delayed: boolean;
1715
+ parent: Suite | undefined;
1716
+ title: string;
1717
+
1718
+ /**
1719
+ * Create a new `Suite` with the given `title` and parent `Suite`. When a suite
1720
+ * with the same title is already present, that suite is returned to provide
1721
+ * nicer reporter and more flexible meta-testing.
1722
+ *
1723
+ * @see https://mochajs.org/api/mocha#.exports.create
1724
+ */
1725
+ static create(parent: Suite, title: string): Suite;
1726
+ /** @deprecated Use the overload that accepts `Mocha.Suite` instead. */
1727
+ static create(parent: ISuite, title: string): Suite;
1728
+
1729
+ /**
1730
+ * Return a clone of this `Suite`.
1731
+ *
1732
+ * @see https://mochajs.org/api/Mocha.Suite.html#clone
1733
+ */
1734
+ clone(): Suite;
1735
+
1736
+ /**
1737
+ * Get timeout `ms`.
1738
+ *
1739
+ * @see https://mochajs.org/api/Mocha.Suite.html#timeout
1740
+ */
1741
+ timeout(): number;
1742
+
1743
+ /**
1744
+ * Set timeout `ms` or short-hand such as "2s".
1745
+ *
1746
+ * @see https://mochajs.org/api/Mocha.Suite.html#timeout
1747
+ */
1748
+ timeout(ms: string | number): this;
1749
+
1750
+ /**
1751
+ * Get number of times to retry a failed test.
1752
+ *
1753
+ * @see https://mochajs.org/api/Mocha.Suite.html#retries
1754
+ */
1755
+ retries(): number;
1756
+
1757
+ /**
1758
+ * Set number of times to retry a failed test.
1759
+ *
1760
+ * @see https://mochajs.org/api/Mocha.Suite.html#retries
1761
+ */
1762
+ retries(n: string | number): this;
1763
+
1764
+ /**
1765
+ * Get whether timeouts are enabled.
1766
+ *
1767
+ * @see https://mochajs.org/api/Mocha.Suite.html#enableTimeouts
1768
+ */
1769
+ enableTimeouts(): boolean;
1770
+
1771
+ /**
1772
+ * Set whether timeouts are `enabled`.
1773
+ *
1774
+ * @see https://mochajs.org/api/Mocha.Suite.html#enableTimeouts
1775
+ */
1776
+ enableTimeouts(enabled: boolean): this;
1777
+
1778
+ /**
1779
+ * Get slow `ms`.
1780
+ *
1781
+ * @see https://mochajs.org/api/Mocha.Suite.html#slow
1782
+ */
1783
+ slow(): number;
1784
+
1785
+ /**
1786
+ * Set slow `ms` or short-hand such as "2s".
1787
+ *
1788
+ * @see https://mochajs.org/api/Mocha.Suite.html#slow
1789
+ */
1790
+ slow(ms: string | number): this;
1791
+
1792
+ /**
1793
+ * Get whether to bail after first error.
1794
+ *
1795
+ * @see https://mochajs.org/api/Mocha.Suite.html#bail
1796
+ */
1797
+ bail(): boolean;
1798
+
1799
+ /**
1800
+ * Set whether to bail after first error.
1801
+ *
1802
+ * @see https://mochajs.org/api/Mocha.Suite.html#bail
1803
+ */
1804
+ bail(bail: boolean): this;
1805
+
1806
+ /**
1807
+ * Check if this suite or its parent suite is marked as pending.
1808
+ *
1809
+ * @see https://mochajs.org/api/Mocha.Suite.html#isPending
1810
+ */
1811
+ isPending(): boolean;
1812
+
1813
+ /**
1814
+ * Run `fn(test[, done])` before running tests.
1815
+ *
1816
+ * @see https://mochajs.org/api/Mocha.Suite.html#beforeAll
1817
+ */
1818
+ beforeAll(fn?: Func): this;
1819
+
1820
+ /**
1821
+ * Run `fn(test[, done])` before running tests.
1822
+ *
1823
+ * @see https://mochajs.org/api/Mocha.Suite.html#beforeAll
1824
+ */
1825
+ beforeAll(fn?: AsyncFunc): this;
1826
+
1827
+ /**
1828
+ * Run `fn(test[, done])` before running tests.
1829
+ *
1830
+ * @see https://mochajs.org/api/Mocha.Suite.html#beforeAll
1831
+ */
1832
+ beforeAll(title: string, fn?: Func): this;
1833
+
1834
+ /**
1835
+ * Run `fn(test[, done])` before running tests.
1836
+ *
1837
+ * @see https://mochajs.org/api/Mocha.Suite.html#beforeAll
1838
+ */
1839
+ beforeAll(title: string, fn?: AsyncFunc): this;
1840
+
1841
+ /**
1842
+ * Run `fn(test[, done])` after running tests.
1843
+ *
1844
+ * @see https://mochajs.org/api/Mocha.Suite.html#afterAll
1845
+ */
1846
+ afterAll(fn?: Func): this;
1847
+
1848
+ /**
1849
+ * Run `fn(test[, done])` after running tests.
1850
+ *
1851
+ * @see https://mochajs.org/api/Mocha.Suite.html#afterAll
1852
+ */
1853
+ afterAll(fn?: AsyncFunc): this;
1854
+
1855
+ /**
1856
+ * Run `fn(test[, done])` after running tests.
1857
+ *
1858
+ * @see https://mochajs.org/api/Mocha.Suite.html#afterAll
1859
+ */
1860
+ afterAll(title: string, fn?: Func): this;
1861
+
1862
+ /**
1863
+ * Run `fn(test[, done])` after running tests.
1864
+ *
1865
+ * @see https://mochajs.org/api/Mocha.Suite.html#afterAll
1866
+ */
1867
+ afterAll(title: string, fn?: AsyncFunc): this;
1868
+
1869
+ /**
1870
+ * Run `fn(test[, done])` before each test case.
1871
+ *
1872
+ * @see https://mochajs.org/api/Mocha.Suite.html#beforeEach
1873
+ */
1874
+ beforeEach(fn?: Func): this;
1875
+
1876
+ /**
1877
+ * Run `fn(test[, done])` before each test case.
1878
+ *
1879
+ * @see https://mochajs.org/api/Mocha.Suite.html#beforeEach
1880
+ */
1881
+ beforeEach(fn?: AsyncFunc): this;
1882
+
1883
+ /**
1884
+ * Run `fn(test[, done])` before each test case.
1885
+ *
1886
+ * @see https://mochajs.org/api/Mocha.Suite.html#beforeEach
1887
+ */
1888
+ beforeEach(title: string, fn?: Func): this;
1889
+
1890
+ /**
1891
+ * Run `fn(test[, done])` before each test case.
1892
+ *
1893
+ * @see https://mochajs.org/api/Mocha.Suite.html#beforeEach
1894
+ */
1895
+ beforeEach(title: string, fn?: AsyncFunc): this;
1896
+
1897
+ /**
1898
+ * Run `fn(test[, done])` after each test case.
1899
+ *
1900
+ * @see https://mochajs.org/api/Mocha.Suite.html#afterEach
1901
+ */
1902
+ afterEach(fn?: Func): this;
1903
+
1904
+ /**
1905
+ * Run `fn(test[, done])` after each test case.
1906
+ *
1907
+ * @see https://mochajs.org/api/Mocha.Suite.html#afterEach
1908
+ */
1909
+ afterEach(fn?: AsyncFunc): this;
1910
+
1911
+ /**
1912
+ * Run `fn(test[, done])` after each test case.
1913
+ *
1914
+ * @see https://mochajs.org/api/Mocha.Suite.html#afterEach
1915
+ */
1916
+ afterEach(title: string, fn?: Func): this;
1917
+
1918
+ /**
1919
+ * Run `fn(test[, done])` after each test case.
1920
+ *
1921
+ * @see https://mochajs.org/api/Mocha.Suite.html#afterEach
1922
+ */
1923
+ afterEach(title: string, fn?: AsyncFunc): this;
1924
+
1925
+ /**
1926
+ * Add a test `suite`.
1927
+ *
1928
+ * @see https://mochajs.org/api/Mocha.Suite.html#addSuite
1929
+ */
1930
+ addSuite(suite: Suite): this;
1931
+ /** @deprecated Use the overload that accepts `Mocha.ISuite` instead. */
1932
+ addSuite(suite: ISuite): this;
1933
+
1934
+ /**
1935
+ * Add a `test` to this suite.
1936
+ *
1937
+ * @see https://mochajs.org/api/Mocha.Suite.html#addTest
1938
+ */
1939
+ addTest(test: Test): this;
1940
+ /** @deprecated Use the overload that accepts `Mocha.ITest` instead. */
1941
+ addTest(test: ITest): this;
1942
+
1943
+ /**
1944
+ * Return the full title generated by recursively concatenating the parent's
1945
+ * full title.
1946
+ *
1947
+ * @see https://mochajs.org/api/Mocha.Suite.html#.Suite#fullTitle
1948
+ */
1949
+ fullTitle(): string;
1950
+
1951
+ /**
1952
+ * Return the title path generated by recursively concatenating the parent's
1953
+ * title path.
1954
+ *
1955
+ * @see https://mochajs.org/api/Mocha.Suite.html#.Suite#titlePath
1956
+ */
1957
+ titlePath(): string[];
1958
+
1959
+ /**
1960
+ * Return the total number of tests.
1961
+ *
1962
+ * @see https://mochajs.org/api/Mocha.Suite.html#.Suite#total
1963
+ */
1964
+ total(): number;
1965
+
1966
+ /**
1967
+ * Iterates through each suite recursively to find all tests. Applies a
1968
+ * function in the format `fn(test)`.
1969
+ *
1970
+ * @see https://mochajs.org/api/Mocha.Suite.html#eachTest
1971
+ */
1972
+ eachTest(fn: (test: Test) => void): this;
1973
+
1974
+ /**
1975
+ * This will run the root suite if we happen to be running in delayed mode.
1976
+ *
1977
+ * @see https://mochajs.org/api/Mocha.Suite.html#run
1978
+ */
1979
+ run(): void;
1980
+
1981
+ /**
1982
+ * Generic hook-creator.
1983
+ */
1984
+ protected _createHook(title: string, fn?: Func | AsyncFunc): Hook;
1985
+ }
1986
+
1987
+ // #region Suite "beforeAll" event
1988
+ interface Suite extends NodeJS.EventEmitter {
1989
+ on(event: "beforeAll", listener: (hook: Hook) => void): this;
1990
+ once(event: "beforeAll", listener: (hook: Hook) => void): this;
1991
+ addListener(event: "beforeAll", listener: (hook: Hook) => void): this;
1992
+ removeListener(event: "beforeAll", listener: (hook: Hook) => void): this;
1993
+ prependListener(event: "beforeAll", listener: (hook: Hook) => void): this;
1994
+ prependOnceListener(event: "beforeAll", listener: (hook: Hook) => void): this;
1995
+ emit(name: "beforeAll", hook: Hook): boolean;
1996
+ }
1997
+ // #endregion Suite "beforeAll" event
1998
+ // #region Suite "afterAll" event
1999
+ interface Suite extends NodeJS.EventEmitter {
2000
+ on(event: "afterAll", listener: (hook: Hook) => void): this;
2001
+ once(event: "afterAll", listener: (hook: Hook) => void): this;
2002
+ addListener(event: "afterAll", listener: (hook: Hook) => void): this;
2003
+ removeListener(event: "afterAll", listener: (hook: Hook) => void): this;
2004
+ prependListener(event: "afterAll", listener: (hook: Hook) => void): this;
2005
+ prependOnceListener(event: "afterAll", listener: (hook: Hook) => void): this;
2006
+ emit(name: "afterAll", hook: Hook): boolean;
2007
+ }
2008
+ // #endregion Suite "afterAll" event
2009
+ // #region Suite "beforeEach" event
2010
+ interface Suite extends NodeJS.EventEmitter {
2011
+ on(event: "beforeEach", listener: (hook: Hook) => void): this;
2012
+ once(event: "beforeEach", listener: (hook: Hook) => void): this;
2013
+ addListener(event: "beforeEach", listener: (hook: Hook) => void): this;
2014
+ removeListener(event: "beforeEach", listener: (hook: Hook) => void): this;
2015
+ prependListener(event: "beforeEach", listener: (hook: Hook) => void): this;
2016
+ prependOnceListener(event: "beforeEach", listener: (hook: Hook) => void): this;
2017
+ emit(name: "beforeEach", hook: Hook): boolean;
2018
+ }
2019
+ // #endregion Suite "beforeEach" event
2020
+ // #region Suite "afterEach" event
2021
+ interface Suite extends NodeJS.EventEmitter {
2022
+ on(event: "afterEach", listener: (hook: Hook) => void): this;
2023
+ once(event: "afterEach", listener: (hook: Hook) => void): this;
2024
+ addListener(event: "afterEach", listener: (hook: Hook) => void): this;
2025
+ removeListener(event: "afterEach", listener: (hook: Hook) => void): this;
2026
+ prependListener(event: "afterEach", listener: (hook: Hook) => void): this;
2027
+ prependOnceListener(event: "afterEach", listener: (hook: Hook) => void): this;
2028
+ emit(name: "afterEach", hook: Hook): boolean;
2029
+ }
2030
+ // #endregion Suite "afterEach" event
2031
+ // #region Suite "suite" event
2032
+ interface Suite extends NodeJS.EventEmitter {
2033
+ on(event: "suite", listener: (suite: Suite) => void): this;
2034
+ once(event: "suite", listener: (suite: Suite) => void): this;
2035
+ addListener(event: "suite", listener: (suite: Suite) => void): this;
2036
+ removeListener(event: "suite", listener: (suite: Suite) => void): this;
2037
+ prependListener(event: "suite", listener: (suite: Suite) => void): this;
2038
+ prependOnceListener(event: "suite", listener: (suite: Suite) => void): this;
2039
+ emit(name: "suite", suite: Suite): boolean;
2040
+ }
2041
+ // #endregion Suite "suite" event
2042
+ // #region Suite "test" event
2043
+ interface Suite {
2044
+ on(event: "test", listener: (test: Test) => void): this;
2045
+ once(event: "test", listener: (test: Test) => void): this;
2046
+ addListener(event: "test", listener: (test: Test) => void): this;
2047
+ removeListener(event: "test", listener: (test: Test) => void): this;
2048
+ prependListener(event: "test", listener: (test: Test) => void): this;
2049
+ prependOnceListener(event: "test", listener: (test: Test) => void): this;
2050
+ emit(name: "test", test: Test): boolean;
2051
+ }
2052
+ // #endregion Suite "test" event
2053
+ // #region Suite "run" event
2054
+ interface Suite extends NodeJS.EventEmitter {
2055
+ on(event: "run", listener: () => void): this;
2056
+ once(event: "run", listener: () => void): this;
2057
+ addListener(event: "run", listener: () => void): this;
2058
+ removeListener(event: "run", listener: () => void): this;
2059
+ prependListener(event: "run", listener: () => void): this;
2060
+ prependOnceListener(event: "run", listener: () => void): this;
2061
+ emit(name: "run"): boolean;
2062
+ }
2063
+ // #endregion Suite "run" event
2064
+ // #region Suite "pre-require" event
2065
+ interface Suite extends NodeJS.EventEmitter {
2066
+ on(event: "pre-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
2067
+ once(event: "pre-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
2068
+ addListener(event: "pre-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
2069
+ removeListener(event: "pre-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
2070
+ prependListener(event: "pre-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
2071
+ prependOnceListener(event: "pre-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
2072
+ emit(name: "pre-require", context: MochaGlobals, file: string, mocha: Mocha): boolean;
2073
+ }
2074
+ // #endregion Suite "pre-require" event
2075
+ // #region Suite "require" event
2076
+ interface Suite extends NodeJS.EventEmitter {
2077
+ on(event: "require", listener: (module: any, file: string, mocha: Mocha) => void): this;
2078
+ once(event: "require", listener: (module: any, file: string, mocha: Mocha) => void): this;
2079
+ addListener(event: "require", listener: (module: any, file: string, mocha: Mocha) => void): this;
2080
+ removeListener(event: "require", listener: (module: any, file: string, mocha: Mocha) => void): this;
2081
+ prependListener(event: "require", listener: (module: any, file: string, mocha: Mocha) => void): this;
2082
+ prependOnceListener(event: "require", listener: (module: any, file: string, mocha: Mocha) => void): this;
2083
+ emit(name: "require", module: any, file: string, mocha: Mocha): boolean;
2084
+ }
2085
+ // #endregion Suite "require" event
2086
+ // #region Suite "post-require" event
2087
+ interface Suite extends NodeJS.EventEmitter {
2088
+ on(event: "post-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
2089
+ once(event: "post-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
2090
+ addListener(event: "post-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
2091
+ removeListener(event: "post-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
2092
+ prependListener(event: "post-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
2093
+ prependOnceListener(event: "post-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
2094
+ emit(name: "post-require", context: MochaGlobals, file: string, mocha: Mocha): boolean;
2095
+ }
2096
+ // #endregion Suite "post-require" event
2097
+ // #region Suite untyped events
2098
+ interface Suite extends NodeJS.EventEmitter {
2099
+ on(event: string, listener: (...args: any[]) => void): this;
2100
+ once(event: string, listener: (...args: any[]) => void): this;
2101
+ addListener(event: string, listener: (...args: any[]) => void): this;
2102
+ removeListener(event: string, listener: (...args: any[]) => void): this;
2103
+ prependListener(event: string, listener: (...args: any[]) => void): this;
2104
+ prependOnceListener(event: string, listener: (...args: any[]) => void): this;
2105
+ emit(name: string, ...args: any[]): boolean;
2106
+ }
2107
+ // #endregion Runner untyped events
2108
+
2109
+ /**
2110
+ * Initialize a new `Hook` with the given `title` and callback `fn`
2111
+ *
2112
+ * @see https://mochajs.org/api/Hook.html
2113
+ */
2114
+ class Hook extends Runnable {
2115
+ private _error;
2116
+
2117
+ type: "hook";
2118
+ originalTitle?: string; // added by Runner
2119
+
2120
+ /**
2121
+ * Get the test `err`.
2122
+ *
2123
+ * @see https://mochajs.org/api/Hook.html#error
2124
+ */
2125
+ error(): any;
2126
+
2127
+ /**
2128
+ * Set the test `err`.
2129
+ *
2130
+ * @see https://mochajs.org/api/Hook.html#error
2131
+ */
2132
+ error(err: any): void;
2133
+ }
2134
+
2135
+ /**
2136
+ * Initialize a new `Test` with the given `title` and callback `fn`.
2137
+ *
2138
+ * @see https://mochajs.org/api/Test.html
2139
+ */
2140
+ class Test extends Runnable {
2141
+ type: "test";
2142
+ speed?: "slow" | "medium" | "fast"; // added by reporters
2143
+ err?: Error; // added by reporters
2144
+ clone(): Test;
2145
+ }
2146
+
2147
+ /**
2148
+ * Test statistics
2149
+ */
2150
+ interface Stats {
2151
+ suites: number;
2152
+ tests: number;
2153
+ passes: number;
2154
+ pending: number;
2155
+ failures: number;
2156
+ start?: Date;
2157
+ end?: Date;
2158
+ duration?: number;
2159
+ }
2160
+
2161
+ type TestInterface = (suite: Suite) => void;
2162
+
2163
+ interface ReporterConstructor {
2164
+ new (runner: Runner, options: MochaOptions): reporters.Base;
2165
+ }
2166
+
2167
+ type Done = (err?: any) => void;
2168
+
2169
+ /**
2170
+ * Callback function used for tests and hooks.
2171
+ */
2172
+ type Func = (this: Context, done: Done) => void;
2173
+
2174
+ /**
2175
+ * Async callback function used for tests and hooks.
2176
+ */
2177
+ type AsyncFunc = (this: Context) => PromiseLike<any>;
2178
+
2179
+ /**
2180
+ * Options to pass to Mocha.
2181
+ */
2182
+ interface MochaOptions {
2183
+ /** Test interfaces ("bdd", "tdd", "exports", etc.). */
2184
+ ui?: Interface;
2185
+
2186
+ /**
2187
+ * Reporter constructor, built-in reporter name, or reporter module path. Defaults to
2188
+ * `"spec"`.
2189
+ */
2190
+ reporter?: string | ReporterConstructor;
2191
+
2192
+ /** Options to pass to the reporter. */
2193
+ reporterOptions?: any;
2194
+
2195
+ /** Array of accepted globals. */
2196
+ globals?: string[];
2197
+
2198
+ /** timeout in milliseconds. */
2199
+ timeout?: number;
2200
+
2201
+ enableTimeouts?: boolean;
2202
+
2203
+ /** number of times to retry failed tests. */
2204
+ retries?: number;
2205
+
2206
+ /** bail on the first test failure. */
2207
+ bail?: boolean;
2208
+
2209
+ /** milliseconds to wait before considering a test slow. */
2210
+ slow?: number;
2211
+
2212
+ /** ignore global leaks. */
2213
+ ignoreLeaks?: boolean;
2214
+
2215
+ /** display the full stack trace on failure. */
2216
+ fullStackTrace?: boolean;
2217
+
2218
+ /** string or regexp to filter tests with. */
2219
+ grep?: string | RegExp;
2220
+
2221
+ /** Enable growl support. */
2222
+ growl?: boolean;
2223
+
2224
+ /** Emit color output. */
2225
+ useColors?: boolean;
2226
+
2227
+ /** Use inline diffs rather than +/-. */
2228
+ inlineDiffs?: boolean;
2229
+
2230
+ /** Do not show diffs at all. */
2231
+ hideDiff?: boolean;
2232
+
2233
+ asyncOnly?: boolean;
2234
+ delay?: boolean;
2235
+ forbidOnly?: boolean;
2236
+ forbidPending?: boolean;
2237
+ noHighlighting?: boolean;
2238
+ allowUncaught?: boolean;
2239
+ }
2240
+
2241
+ interface MochaInstanceOptions extends MochaOptions {
2242
+ files?: string[];
2243
+ }
2244
+
2245
+ /**
2246
+ * Variables added to the global scope by Mocha when run in the CLI.
2247
+ */
2248
+ interface MochaGlobals {
2249
+ /**
2250
+ * Execute before running tests.
2251
+ *
2252
+ * - _Only available when invoked via the mocha CLI._
2253
+ *
2254
+ * @see https://mochajs.org/api/global.html#before
2255
+ */
2256
+ before: HookFunction;
2257
+
2258
+ /**
2259
+ * Execute after running tests.
2260
+ *
2261
+ * - _Only available when invoked via the mocha CLI._
2262
+ *
2263
+ * @see https://mochajs.org/api/global.html#after
2264
+ */
2265
+ after: HookFunction;
2266
+
2267
+ /**
2268
+ * Execute before each test case.
2269
+ *
2270
+ * - _Only available when invoked via the mocha CLI._
2271
+ *
2272
+ * @see https://mochajs.org/api/global.html#beforeEach
2273
+ */
2274
+ beforeEach: HookFunction;
2275
+
2276
+ /**
2277
+ * Execute after each test case.
2278
+ *
2279
+ * - _Only available when invoked via the mocha CLI._
2280
+ *
2281
+ * @see https://mochajs.org/api/global.html#afterEach
2282
+ */
2283
+ afterEach: HookFunction;
2284
+
2285
+ /**
2286
+ * Describe a "suite" containing nested suites and tests.
2287
+ *
2288
+ * - _Only available when invoked via the mocha CLI._
2289
+ */
2290
+ describe: SuiteFunction;
2291
+
2292
+ /**
2293
+ * Describe a "suite" containing nested suites and tests.
2294
+ *
2295
+ * - _Only available when invoked via the mocha CLI._
2296
+ */
2297
+ context: SuiteFunction;
2298
+
2299
+ /**
2300
+ * Pending suite.
2301
+ *
2302
+ * - _Only available when invoked via the mocha CLI._
2303
+ */
2304
+ xdescribe: PendingSuiteFunction;
2305
+
2306
+ /**
2307
+ * Pending suite.
2308
+ *
2309
+ * - _Only available when invoked via the mocha CLI._
2310
+ */
2311
+ xcontext: PendingSuiteFunction;
2312
+
2313
+ /**
2314
+ * Describes a test case.
2315
+ *
2316
+ * - _Only available when invoked via the mocha CLI._
2317
+ */
2318
+ it: TestFunction;
2319
+
2320
+ /**
2321
+ * Describes a test case.
2322
+ *
2323
+ * - _Only available when invoked via the mocha CLI._
2324
+ */
2325
+ specify: TestFunction;
2326
+
2327
+ /**
2328
+ * Describes a pending test case.
2329
+ *
2330
+ * - _Only available when invoked via the mocha CLI._
2331
+ */
2332
+ xit: PendingTestFunction;
2333
+
2334
+ /**
2335
+ * Describes a pending test case.
2336
+ *
2337
+ * - _Only available when invoked via the mocha CLI._
2338
+ */
2339
+ xspecify: PendingTestFunction;
2340
+
2341
+ /**
2342
+ * Execute before running tests.
2343
+ *
2344
+ * - _Only available when invoked via the mocha CLI._
2345
+ *
2346
+ * @see https://mochajs.org/api/global.html#before
2347
+ */
2348
+ suiteSetup: HookFunction;
2349
+
2350
+ /**
2351
+ * Execute after running tests.
2352
+ *
2353
+ * - _Only available when invoked via the mocha CLI._
2354
+ *
2355
+ * @see https://mochajs.org/api/global.html#after
2356
+ */
2357
+ suiteTeardown: HookFunction;
2358
+
2359
+ /**
2360
+ * Execute before each test case.
2361
+ *
2362
+ * - _Only available when invoked via the mocha CLI._
2363
+ *
2364
+ * @see https://mochajs.org/api/global.html#beforeEach
2365
+ */
2366
+ setup: HookFunction;
2367
+
2368
+ /**
2369
+ * Execute after each test case.
2370
+ *
2371
+ * - _Only available when invoked via the mocha CLI._
2372
+ *
2373
+ * @see https://mochajs.org/api/global.html#afterEach
2374
+ */
2375
+ teardown: HookFunction;
2376
+
2377
+ /**
2378
+ * Describe a "suite" containing nested suites and tests.
2379
+ *
2380
+ * - _Only available when invoked via the mocha CLI._
2381
+ */
2382
+ suite: SuiteFunction;
2383
+
2384
+ /**
2385
+ * Describes a test case.
2386
+ *
2387
+ * - _Only available when invoked via the mocha CLI._
2388
+ */
2389
+ test: TestFunction;
2390
+
2391
+ run: typeof run;
2392
+ }
2393
+
2394
+ /**
2395
+ * Third-party declarations that want to add new entries to the `Reporter` union can
2396
+ * contribute names here.
2397
+ */
2398
+ interface ReporterContributions {
2399
+ Base: never;
2400
+ base: never;
2401
+ Dot: never;
2402
+ dot: never;
2403
+ TAP: never;
2404
+ tap: never;
2405
+ JSON: never;
2406
+ json: never;
2407
+ HTML: never;
2408
+ html: never;
2409
+ List: never;
2410
+ list: never;
2411
+ Min: never;
2412
+ min: never;
2413
+ Spec: never;
2414
+ spec: never;
2415
+ Nyan: never;
2416
+ nyan: never;
2417
+ XUnit: never;
2418
+ xunit: never;
2419
+ Markdown: never;
2420
+ markdown: never;
2421
+ Progress: never;
2422
+ progress: never;
2423
+ Landing: never;
2424
+ landing: never;
2425
+ JSONStream: never;
2426
+ "json-stream": never;
2427
+ }
2428
+
2429
+ type Reporter = keyof ReporterContributions;
2430
+
2431
+ /**
2432
+ * Third-party declarations that want to add new entries to the `Interface` union can
2433
+ * contribute names here.
2434
+ */
2435
+ interface InterfaceContributions {
2436
+ bdd: never;
2437
+ tdd: never;
2438
+ qunit: never;
2439
+ exports: never;
2440
+ }
2441
+
2442
+ type Interface = keyof InterfaceContributions;
2443
+
2444
+ // #region Deprecations
2445
+
2446
+ /** @deprecated use `Mocha.Context` instead. */
2447
+ interface IContext {
2448
+ test?: IRunnable;
2449
+ runnable(): IRunnable | undefined;
2450
+ /** @deprecated `.runnable()` returns `this` in `Mocha.Context`. */
2451
+ runnable(runnable: IRunnable): IContext;
2452
+ timeout(): number;
2453
+ /** @deprecated `.timeout()` returns `this` in `Mocha.Context`. */
2454
+ timeout(timeout: number): IContext;
2455
+ /** @deprecated `.enableTimeouts()` has additional overloads in `Mocha.Context`. */
2456
+ /** @deprecated `.enableTimeouts()` returns `this` in `Mocha.Context`. */
2457
+ enableTimeouts(enableTimeouts: boolean): IContext;
2458
+ /** @deprecated `.slow()` has additional overloads in `Mocha.Context`. */
2459
+ /** @deprecated `.slow()` returns `this` in `Mocha.Context`. */
2460
+ slow(slow: number): IContext;
2461
+ /** @deprecated `.skip()` returns `never` in `Mocha.Context`. */
2462
+ skip(): IContext;
2463
+ retries(): number;
2464
+ /** @deprecated `.retries()` returns `this` in `Mocha.Context`. */
2465
+ retries(retries: number): IContext;
2466
+ }
2467
+
2468
+ /** @deprecated use `Mocha.Suite` instead. */
2469
+ interface ISuiteCallbackContext {
2470
+ /** @deprecated `.timeout()` has additional overloads in `Mocha.Suite`. */
2471
+ timeout(ms: number | string): this;
2472
+ /** @deprecated `.retries()` has additional overloads in `Mocha.Suite`. */
2473
+ retries(n: number): this;
2474
+ /** @deprecated `.slow()` has additional overloads in `Mocha.Suite`. */
2475
+ slow(ms: number): this;
2476
+ }
2477
+
2478
+ /** @deprecated use `Mocha.Context` instead. */
2479
+ interface IHookCallbackContext {
2480
+ /** @deprecated `.skip()` returns `never` in `Mocha.Context`. */
2481
+ skip(): this;
2482
+ /** @deprecated `.timeout()` has additional overloads in `Mocha.Context`. */
2483
+ timeout(ms: number | string): this;
2484
+ [index: string]: any;
2485
+ }
2486
+
2487
+ /** @deprecated use `Mocha.Context` instead. */
2488
+ interface ITestCallbackContext {
2489
+ /** @deprecated `.skip()` returns `never` in `Mocha.Context`. */
2490
+ skip(): this;
2491
+ /** @deprecated `.timeout()` has additional overloads in `Mocha.Context`. */
2492
+ timeout(ms: number | string): this;
2493
+ /** @deprecated `.retries()` has additional overloads in `Mocha.Context`. */
2494
+ retries(n: number): this;
2495
+ /** @deprecated `.slow()` has additional overloads in `Mocha.Context`. */
2496
+ slow(ms: number): this;
2497
+ [index: string]: any;
2498
+ }
2499
+
2500
+ /** Partial interface for Mocha's `Runnable` class. */
2501
+ /** @deprecated use `Mocha.Runnable` instead. */
2502
+ interface IRunnable extends NodeJS.EventEmitter {
2503
+ title: string;
2504
+ /** @deprecated `.fn` has type `Func | AsyncFunc` in `Mocha.Runnable`. */
2505
+ fn: Function | undefined;
2506
+ async: boolean;
2507
+ sync: boolean;
2508
+ timedOut: boolean;
2509
+ /** @deprecated `.timeout()` has additional overloads in `Mocha.Runnable`. */
2510
+ timeout(n: number | string): this;
2511
+ duration?: number;
2512
+ }
2513
+
2514
+ /** Partial interface for Mocha's `Suite` class. */
2515
+ /** @deprecated use `Mocha.Suite` instead. */
2516
+ interface ISuite {
2517
+ /** @deprecated `.ctx` has type `Mocha.Context` in `Mocha.Suite`. */
2518
+ ctx: IContext;
2519
+ /** @deprecated `.parent` has type `Mocha.Suite | undefined` in `Mocha.Suite`. */
2520
+ parent: ISuite | undefined;
2521
+ root: boolean;
2522
+ title: string;
2523
+ /** @deprecated `.suites` has type `Mocha.Suite[]` in `Mocha.Suite`. */
2524
+ suites: ISuite[];
2525
+ /** @deprecated `.tests` has type `Mocha.Test[]` in `Mocha.Suite`. */
2526
+ tests: ITest[];
2527
+
2528
+ bail(): boolean;
2529
+ /** @deprecated `.bail()` returns `this` in `Mocha.Suite`. */
2530
+ bail(bail: boolean): ISuite;
2531
+ fullTitle(): string;
2532
+ retries(): number;
2533
+ /** @deprecated `.retries()` returns `this` in `Mocha.Suite`. */
2534
+ retries(retries: number): ISuite;
2535
+ slow(): number;
2536
+ /** @deprecated `.slow()` returns `this` in `Mocha.Suite`. */
2537
+ slow(slow: number): ISuite;
2538
+ timeout(): number;
2539
+ /** @deprecated `.timeout()` returns `this` in `Mocha.Suite`. */
2540
+ timeout(timeout: number): ISuite;
2541
+ }
2542
+
2543
+ /** Partial interface for Mocha's `Test` class. */
2544
+ /** @deprecated use `Mocha.Test` instead. */
2545
+ interface ITest extends IRunnable {
2546
+ body?: string;
2547
+ file?: string;
2548
+ /** @deprecated `.parent` has type `Mocha.Suite | undefined` in `Mocha.Test`. */
2549
+ parent?: ISuite;
2550
+ pending: boolean;
2551
+ state?: 'failed' | 'passed';
2552
+ type: 'test';
2553
+ fullTitle(): string;
2554
+ }
2555
+
2556
+ /** @deprecated use `Mocha.Hook` instead. */
2557
+ interface IHook extends IRunnable {
2558
+ /** @deprecated `.ctx` has type `Mocha.Context` in `Mocha.Runnable`. */
2559
+ ctx?: IContext;
2560
+ /** @deprecated `.parent` has type `Mocha.Suite` in `Mocha.Runnable`. */
2561
+ parent?: ISuite;
2562
+ type: 'hook';
2563
+ /** @deprecated `.error()` has additional overloads in `Mocha.Hook`. */
2564
+ error(err: Error): void;
2565
+ }
2566
+
2567
+ /** @deprecated use `Mocha.Context` instead. */
2568
+ interface IBeforeAndAfterContext extends IHookCallbackContext {
2569
+ /** @deprecated `.currentTest` has type `Mocha.Test` in `Mocha.Context`. */
2570
+ currentTest?: ITest;
2571
+ }
2572
+
2573
+ /** @deprecated use `Mocha.Stats` instead. */
2574
+ type IStats = Stats;
2575
+
2576
+ /** Partial interface for Mocha's `Runner` class. */
2577
+ /** @deprecated use `Mocha.Runner` instead. */
2578
+ interface IRunner extends NodeJS.EventEmitter {
2579
+ asyncOnly?: boolean;
2580
+ stats?: IStats;
2581
+ started: boolean;
2582
+ /** @deprecated `.suite` has type `Mocha.Suite` in `Mocha.Runner`. */
2583
+ suite: ISuite;
2584
+ total: number;
2585
+ failures: number;
2586
+ forbidOnly?: boolean;
2587
+ forbidPending?: boolean;
2588
+ fullStackTrace?: boolean;
2589
+ ignoreLeaks?: boolean;
2590
+ grep(re: RegExp, invert: boolean): this;
2591
+ /** @deprecated Parameter `suite` has type `Mocha.Suite` in `Mocha.Runner`. */
2592
+ grepTotal(suite: ISuite): number;
2593
+ /** @deprecated `.globals()` has different overloads in `Mocha.Runner`. */
2594
+ globals(arr: ReadonlyArray<string>): this | string[];
2595
+ abort(): this;
2596
+ run(fn?: (failures: number) => void): this;
2597
+ }
2598
+
2599
+ /** @deprecated use `Mocha.SuiteFunction` instead. */
2600
+ interface IContextDefinition {
2601
+ /** @deprecated use `Mocha.SuiteFunction` instead. */
2602
+ (description: string, callback: (this: ISuiteCallbackContext) => void): ISuite;
2603
+ /** @deprecated use `Mocha.SuiteFunction` instead. */
2604
+ only(description: string, callback: (this: ISuiteCallbackContext) => void): ISuite;
2605
+ /** @deprecated use `Mocha.SuiteFunction` instead. */
2606
+ skip(description: string, callback: (this: ISuiteCallbackContext) => void): void;
2607
+ }
2608
+
2609
+ /** @deprecated use `Mocha.TestFunction` instead. */
2610
+ interface ITestDefinition {
2611
+ /** @deprecated use `Mocha.TestFunction` instead. */
2612
+ /** @deprecated `Mocha.TestFunction` does not allow mixing `done` with a return type of `PromiseLike<any>`. */
2613
+ (expectation: string, callback?: (this: ITestCallbackContext, done: MochaDone) => PromiseLike<any> | void): ITest;
2614
+ /** @deprecated use `Mocha.TestFunction` instead. */
2615
+ /** @deprecated `Mocha.TestFunction#only` does not allow mixing `done` with a return type of `PromiseLike<any>`. */
2616
+ only(expectation: string, callback?: (this: ITestCallbackContext, done: MochaDone) => PromiseLike<any> | void): ITest;
2617
+ /** @deprecated use `Mocha.TestFunction` instead. */
2618
+ /** @deprecated `Mocha.TestFunction#skip` does not allow mixing `done` with a return type of `PromiseLike<any>`. */
2619
+ skip(expectation: string, callback?: (this: ITestCallbackContext, done: MochaDone) => PromiseLike<any> | void): void;
2620
+ }
2621
+
2622
+ // #endregion
2623
+ }
2624
+
2625
+ // #region Test interface augmentations
2626
+
2627
+ /**
2628
+ * Triggers root suite execution.
2629
+ *
2630
+ * - _Only available if flag --delay is passed into Mocha._
2631
+ * - _Only available when invoked via the mocha CLI._
2632
+ *
2633
+ * @see https://mochajs.org/api/global.html#runWithSuite
2634
+ */
2635
+ declare function run(): void;
2636
+
2637
+ /**
2638
+ * Execute before running tests.
2639
+ *
2640
+ * - _Only available when invoked via the mocha CLI._
2641
+ *
2642
+ * @see https://mochajs.org/api/global.html#before
2643
+ */
2644
+ declare var before: Mocha.HookFunction;
2645
+
2646
+ /**
2647
+ * Execute before running tests.
2648
+ *
2649
+ * - _Only available when invoked via the mocha CLI._
2650
+ *
2651
+ * @see https://mochajs.org/api/global.html#before
2652
+ */
2653
+ declare var suiteSetup: Mocha.HookFunction;
2654
+
2655
+ /**
2656
+ * Execute after running tests.
2657
+ *
2658
+ * - _Only available when invoked via the mocha CLI._
2659
+ *
2660
+ * @see https://mochajs.org/api/global.html#after
2661
+ */
2662
+ declare var after: Mocha.HookFunction;
2663
+
2664
+ /**
2665
+ * Execute after running tests.
2666
+ *
2667
+ * - _Only available when invoked via the mocha CLI._
2668
+ *
2669
+ * @see https://mochajs.org/api/global.html#after
2670
+ */
2671
+ declare var suiteTeardown: Mocha.HookFunction;
2672
+
2673
+ /**
2674
+ * Execute before each test case.
2675
+ *
2676
+ * - _Only available when invoked via the mocha CLI._
2677
+ *
2678
+ * @see https://mochajs.org/api/global.html#beforeEach
2679
+ */
2680
+ declare var beforeEach: Mocha.HookFunction;
2681
+
2682
+ /**
2683
+ * Execute before each test case.
2684
+ *
2685
+ * - _Only available when invoked via the mocha CLI._
2686
+ *
2687
+ * @see https://mochajs.org/api/global.html#beforeEach
2688
+ */
2689
+ declare var setup: Mocha.HookFunction;
2690
+
2691
+ /**
2692
+ * Execute after each test case.
2693
+ *
2694
+ * - _Only available when invoked via the mocha CLI._
2695
+ *
2696
+ * @see https://mochajs.org/api/global.html#afterEach
2697
+ */
2698
+ declare var afterEach: Mocha.HookFunction;
2699
+
2700
+ /**
2701
+ * Execute after each test case.
2702
+ *
2703
+ * - _Only available when invoked via the mocha CLI._
2704
+ *
2705
+ * @see https://mochajs.org/api/global.html#afterEach
2706
+ */
2707
+ declare var teardown: Mocha.HookFunction;
2708
+
2709
+ /**
2710
+ * Describe a "suite" containing nested suites and tests.
2711
+ *
2712
+ * - _Only available when invoked via the mocha CLI._
2713
+ */
2714
+ declare var describe: Mocha.SuiteFunction;
2715
+
2716
+ /**
2717
+ * Describe a "suite" containing nested suites and tests.
2718
+ *
2719
+ * - _Only available when invoked via the mocha CLI._
2720
+ */
2721
+ declare var context: Mocha.SuiteFunction;
2722
+
2723
+ /**
2724
+ * Describe a "suite" containing nested suites and tests.
2725
+ *
2726
+ * - _Only available when invoked via the mocha CLI._
2727
+ */
2728
+ declare var suite: Mocha.SuiteFunction;
2729
+
2730
+ /**
2731
+ * Pending suite.
2732
+ *
2733
+ * - _Only available when invoked via the mocha CLI._
2734
+ */
2735
+ declare var xdescribe: Mocha.PendingSuiteFunction;
2736
+
2737
+ /**
2738
+ * Pending suite.
2739
+ *
2740
+ * - _Only available when invoked via the mocha CLI._
2741
+ */
2742
+ declare var xcontext: Mocha.PendingSuiteFunction;
2743
+
2744
+ /**
2745
+ * Describes a test case.
2746
+ *
2747
+ * - _Only available when invoked via the mocha CLI._
2748
+ */
2749
+ declare var it: Mocha.TestFunction;
2750
+
2751
+ /**
2752
+ * Describes a test case.
2753
+ *
2754
+ * - _Only available when invoked via the mocha CLI._
2755
+ */
2756
+ declare var specify: Mocha.TestFunction;
2757
+
2758
+ /**
2759
+ * Describes a test case.
2760
+ *
2761
+ * - _Only available when invoked via the mocha CLI._
2762
+ */
2763
+ declare var test: Mocha.TestFunction;
2764
+
2765
+ /**
2766
+ * Describes a pending test case.
2767
+ *
2768
+ * - _Only available when invoked via the mocha CLI._
2769
+ */
2770
+ declare var xit: Mocha.PendingTestFunction;
2771
+
2772
+ /**
2773
+ * Describes a pending test case.
2774
+ *
2775
+ * - _Only available when invoked via the mocha CLI._
2776
+ */
2777
+ declare var xspecify: Mocha.PendingTestFunction;
2778
+
2779
+ // #endregion Test interface augmentations
2780
+
2781
+ // #region Reporter augmentations
2782
+
2783
+ // Forward declaration for `HTMLLIElement` from lib.dom.d.ts.
2784
+ // Required by Mocha.reporters.HTML.
2785
+ // NOTE: Mocha *must not* have a direct dependency on DOM types.
2786
+ // tslint:disable-next-line no-empty-interface
2787
+ interface HTMLLIElement { }
2788
+
2789
+ // Augments the DOM `Window` object when lib.dom.d.ts is loaded.
2790
+ // tslint:disable-next-line no-empty-interface
2791
+ interface Window extends Mocha.MochaGlobals { }
2792
+
2793
+ declare namespace NodeJS {
2794
+ // Forward declaration for `NodeJS.EventEmitter` from node.d.ts.
2795
+ // Required by Mocha.Runnable, Mocha.Runner, and Mocha.Suite.
2796
+ // NOTE: Mocha *must not* have a direct dependency on @types/node.
2797
+ // tslint:disable-next-line no-empty-interface
2798
+ interface EventEmitter { }
2799
+
2800
+ // Augments NodeJS's `global` object when node.d.ts is loaded
2801
+ // tslint:disable-next-line no-empty-interface
2802
+ interface Global extends Mocha.MochaGlobals { }
2803
+ }
2804
+
2805
+ // #endregion Reporter augmentations
2806
+
2807
+ // #region Browser augmentations
2808
+
2809
+ /**
2810
+ * Mocha global.
2811
+ *
2812
+ * - _Only supported in the browser._
2813
+ */
2814
+ declare const mocha: BrowserMocha;
2815
+
2816
+ interface BrowserMocha extends Mocha {
2817
+ /**
2818
+ * Function to allow assertion libraries to throw errors directly into mocha.
2819
+ * This is useful when running tests in a browser because window.onerror will
2820
+ * only receive the 'message' attribute of the Error.
2821
+ *
2822
+ * - _Only supported in the browser._
2823
+ */
2824
+ throwError(err: any): never;
2825
+
2826
+ /**
2827
+ * Setup mocha with the given settings options.
2828
+ *
2829
+ * - _Only supported in the browser._
2830
+ */
2831
+ setup(opts?: Mocha.Interface | MochaSetupOptions): this;
2832
+ }
2833
+
2834
+ /**
2835
+ * Options to pass to `mocha.setup` in the browser.
2836
+ */
2837
+ interface MochaSetupOptions extends Mocha.MochaOptions {
2838
+ /** @deprecated This is not used by Mocha. Use `files` instead. */
2839
+ require?: string[];
2840
+ fullTrace?: boolean;
2841
+ }
2842
+
2843
+ // #endregion Browser augmentations
2844
+
2845
+ // #region Deprecations
2846
+
2847
+ /** @deprecated use `Mocha.Done` instead. */
2848
+ type MochaDone = Mocha.Done;
2849
+
2850
+ /** @deprecated use `Mocha.ReporterConstructor` instead. */
2851
+ type ReporterConstructor = Mocha.ReporterConstructor;
2852
+
2853
+ // #endregion Deprecations
2854
+
2855
+ declare module "mocha" {
2856
+ export = Mocha;
2857
+ }
2858
+
2859
+ declare module "mocha/lib/ms" {
2860
+ export = milliseconds;
2861
+ /**
2862
+ * Parse the given `str` and return milliseconds.
2863
+ *
2864
+ * @see {@link https://mochajs.org/api/module-milliseconds.html}
2865
+ * @see {@link https://mochajs.org/api/module-milliseconds.html#~parse}
2866
+ */
2867
+ function milliseconds(val: string): number;
2868
+
2869
+ /**
2870
+ * Format for `ms`.
2871
+ *
2872
+ * @see {@link https://mochajs.org/api/module-milliseconds.html}
2873
+ * @see {@link https://mochajs.org/api/module-milliseconds.html#~format}
2874
+ */
2875
+ function milliseconds(val: number): string;
2876
+ }
2877
+
2878
+ declare module "mocha/lib/interfaces/common" {
2879
+ export = common;
2880
+
2881
+ function common(suites: Mocha.Suite[], context: Mocha.MochaGlobals, mocha: Mocha): common.CommonFunctions;
2882
+
2883
+ namespace common {
2884
+ interface CommonFunctions {
2885
+ /**
2886
+ * This is only present if flag --delay is passed into Mocha. It triggers
2887
+ * root suite execution.
2888
+ */
2889
+ runWithSuite(suite: Mocha.Suite): () => void;
2890
+
2891
+ /**
2892
+ * Execute before running tests.
2893
+ */
2894
+ before(fn?: Mocha.Func | Mocha.AsyncFunc): void;
2895
+
2896
+ /**
2897
+ * Execute before running tests.
2898
+ */
2899
+ before(name: string, fn?: Mocha.Func | Mocha.AsyncFunc): void;
2900
+
2901
+ /**
2902
+ * Execute after running tests.
2903
+ */
2904
+ after(fn?: Mocha.Func | Mocha.AsyncFunc): void;
2905
+
2906
+ /**
2907
+ * Execute after running tests.
2908
+ */
2909
+ after(name: string, fn?: Mocha.Func | Mocha.AsyncFunc): void;
2910
+
2911
+ /**
2912
+ * Execute before each test case.
2913
+ */
2914
+ beforeEach(fn?: Mocha.Func | Mocha.AsyncFunc): void;
2915
+
2916
+ /**
2917
+ * Execute before each test case.
2918
+ */
2919
+ beforeEach(name: string, fn?: Mocha.Func | Mocha.AsyncFunc): void;
2920
+
2921
+ /**
2922
+ * Execute after each test case.
2923
+ */
2924
+ afterEach(fn?: Mocha.Func | Mocha.AsyncFunc): void;
2925
+
2926
+ /**
2927
+ * Execute after each test case.
2928
+ */
2929
+ afterEach(name: string, fn?: Mocha.Func | Mocha.AsyncFunc): void;
2930
+
2931
+ suite: SuiteFunctions;
2932
+ test: TestFunctions;
2933
+ }
2934
+
2935
+ interface CreateOptions {
2936
+ /** Title of suite */
2937
+ title: string;
2938
+
2939
+ /** Suite function */
2940
+ fn?: (this: Mocha.Suite) => void;
2941
+
2942
+ /** Is suite pending? */
2943
+ pending?: boolean;
2944
+
2945
+ /** Filepath where this Suite resides */
2946
+ file?: string;
2947
+
2948
+ /** Is suite exclusive? */
2949
+ isOnly?: boolean;
2950
+ }
2951
+
2952
+ interface SuiteFunctions {
2953
+ /**
2954
+ * Create an exclusive Suite; convenience function
2955
+ */
2956
+ only(opts: CreateOptions): Mocha.Suite;
2957
+
2958
+ /**
2959
+ * Create a Suite, but skip it; convenience function
2960
+ */
2961
+ skip(opts: CreateOptions): Mocha.Suite;
2962
+
2963
+ /**
2964
+ * Creates a suite.
2965
+ */
2966
+ create(opts: CreateOptions): Mocha.Suite;
2967
+ }
2968
+
2969
+ interface TestFunctions {
2970
+ /**
2971
+ * Exclusive test-case.
2972
+ */
2973
+ only(mocha: Mocha, test: Mocha.Test): Mocha.Test;
2974
+
2975
+ /**
2976
+ * Pending test case.
2977
+ */
2978
+ skip(title: string): void;
2979
+
2980
+ /**
2981
+ * Number of retry attempts
2982
+ */
2983
+ retries(n: number): void;
2984
+ }
2985
+ }
2986
+ }