Commit eae858e2 authored by email's avatar email

fix: type error

parent 02b37ef4
......@@ -16,7 +16,7 @@ export default function useDebounce<T extends (...args: any[]) => any>(func: T,
}
}, []);
const run = useCallback((...args) => {
const run = useCallback((...args: any) => {
cancel();
timer.current = window.setTimeout(() => {
func(...args);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment