diff --git a/src/webapp/components/search-input/SearchInput.tsx b/src/webapp/components/search-input/SearchInput.tsx index 1ee7e43a..bb744691 100644 --- a/src/webapp/components/search-input/SearchInput.tsx +++ b/src/webapp/components/search-input/SearchInput.tsx @@ -72,7 +72,7 @@ function debounce any>(func: F, delay: number) { timeout = setTimeout(() => func(...args), delay); }; - return debounced as (...args: Parameters) => ReturnType; + return debounced; } const Container = styled.div`