1 | import { Clock } from './interpreter';
|
2 | export interface SimulatedClock extends Clock {
|
3 | start(speed: number): void;
|
4 | increment(ms: number): void;
|
5 | set(ms: number): void;
|
6 | }
|
7 | export declare class SimulatedClock implements SimulatedClock {
|
8 | private timeouts;
|
9 | private _now;
|
10 | private _id;
|
11 | now(): number;
|
12 | private getId;
|
13 | setTimeout(fn: (...args: any[]) => void, timeout: number): number;
|
14 | clearTimeout(id: number): void;
|
15 | private flushTimeouts;
|
16 | }
|
17 | //# sourceMappingURL=SimulatedClock.d.ts.map |
\ | No newline at end of file |