sinon: add missing methods on fake timers

This commit is contained in:
Endel Dreyer
2017-11-11 17:18:58 -02:00
committed by GitHub
parent 1a051f0000
commit a0fafe2088

View File

@@ -204,6 +204,9 @@ declare namespace Sinon {
setInterval(callback: (...args: any[]) => void, timeout: number, ...args: any[]): number;
clearInterval(id: number): void;
tick(ms: number): number;
next(): void;
runAll(): void;
runToLast(): void;
reset(): void;
Date(): Date;
Date(year: number): Date;