Hhertz/node_modules/mqtt/build/lib/get-timer.d.ts
2025-07-31 23:47:20 +03:00

9 lines
282 B
TypeScript

import { clearInterval as clearI, setInterval as setI } from 'worker-timers';
import type { TimerVariant } from './shared';
export interface Timer {
set: typeof setI;
clear: typeof clearI;
}
declare const getTimer: (variant: TimerVariant) => Timer;
export default getTimer;