mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 12:01:00 +00:00
9 lines
306 B
TypeScript
9 lines
306 B
TypeScript
export interface UseTimeoutOptions {
|
|
autoInvoke: boolean;
|
|
}
|
|
export interface UseTimeoutReturnValue {
|
|
start: (...args: any[]) => void;
|
|
clear: () => void;
|
|
}
|
|
export declare function useTimeout(callback: (...args: any[]) => void, delay: number, options?: UseTimeoutOptions): UseTimeoutReturnValue;
|