UNPKG

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