1 | import type { TimerHandle } from './timerHandle';
|
2 | declare type SetIntervalFunction = (handler: () => void, timeout?: number, ...args: any[]) => TimerHandle;
|
3 | declare type ClearIntervalFunction = (handle: TimerHandle) => void;
|
4 | interface IntervalProvider {
|
5 | setInterval: SetIntervalFunction;
|
6 | clearInterval: ClearIntervalFunction;
|
7 | delegate: {
|
8 | setInterval: SetIntervalFunction;
|
9 | clearInterval: ClearIntervalFunction;
|
10 | } | undefined;
|
11 | }
|
12 | export declare const intervalProvider: IntervalProvider;
|
13 | export {};
|
14 |
|
\ | No newline at end of file |