sinonjs / fake-timers

Fake setTimeout and friends (collectively known as "timers"). Useful in your JavaScript tests. Extracted from Sinon.JS
BSD 3-Clause "New" or "Revised" License
797 stars 104 forks source link

Fix up some typescript types #370

Closed 43081j closed 3 years ago

43081j commented 3 years ago

Purpose (TL;DR) - mandatory

Just trying to clean up some mistakes in the JSDoc types.

These are the only problems im aware of. I will do another PR at some point that improves the types if i can (e.g. getting rid of the any).

cc @fatso83

codecov[bot] commented 3 years ago

Codecov Report

Merging #370 (46fcf2f) into master (2e89ee9) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #370   +/-   ##
=======================================
  Coverage   93.49%   93.49%           
=======================================
  Files           1        1           
  Lines         553      553           
=======================================
  Hits          517      517           
  Misses         36       36           
Flag Coverage Δ
unit 93.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/fake-timers-src.js 93.49% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2e89ee9...46fcf2f. Read the comment docs.

mroderick commented 3 years ago

This has been published to the npm registry as part of @sinonjs/fake-timers@7.0.5