webservices/node_modules/mqtt/build/lib/get-timer.d.ts

8 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;