UNPKG

tav-ui

Version:
15 lines (14 loc) 416 B
declare interface Fn<T = any, R = T> { (...arg: T[]): R; } export declare function useTimeoutFn(handle: Fn<any>, wait: number, native?: boolean): { readyRef: import("vue").Ref<boolean, boolean>; stop: () => void; start: () => void; }; export declare function useTimeoutRef(wait: number): { readyRef: import("vue").Ref<boolean, boolean>; stop: () => void; start: () => void; }; export {};