UNPKG

@figliolia/react-hooks

Version:

A small collection of simple React Hooks you're probably rewriting on a regular basis

8 lines (7 loc) 227 B
import type { Callback } from "../Types"; export declare class Timeout { private IDs; execute(callback: Callback, delay?: number): () => void; abortAll(): void; clear(ID: ReturnType<typeof setTimeout>): void; }