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

Add docs about typings #357

Closed vovkasm closed 3 years ago

vovkasm commented 3 years ago

Purpose (TL;DR) - mandatory

New incomplete typings distributed with version 7 will be selected by typescript. That breaks projects. Add recipe how to guide typescript to select typings from DefinitelyTyped.

Background (Problem in detail)

codecov[bot] commented 3 years ago

Codecov Report

Merging #357 (afdbfea) into master (7f5f89b) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #357   +/-   ##
=======================================
  Coverage   93.98%   93.98%           
=======================================
  Files           1        1           
  Lines         549      549           
=======================================
  Hits          516      516           
  Misses         33       33           
Flag Coverage Δ
unit 93.98% <ø> (ø)

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


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 7f5f89b...afdbfea. Read the comment docs.