UNPKG

@dvcol/common-utils

Version:

Typescript library for common utility functions and constants

8 lines (6 loc) 210 B
declare const useTimeout: <T extends any[]>(cb: (...args: T) => void, delay: number) => { start: (...args: T) => void; immediate: (...args: T) => void; clear: () => void; }; export { useTimeout };