diff options
Diffstat (limited to 'src/lib/functions.ts')
-rw-r--r-- | src/lib/functions.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/functions.ts b/src/lib/functions.ts index 0ec9f00..21fdad9 100644 --- a/src/lib/functions.ts +++ b/src/lib/functions.ts @@ -1,4 +1,4 @@ -export function debounce(func: Function, timeout: number) { +export function debounce(func: Function, timeout: number): any { let timer: any return (...args: any) => { clearTimeout(timer) |