From dfdde2daf238628dfb110c807a5249c31b903af1 Mon Sep 17 00:00:00 2001 From: Joris Date: Mon, 13 Feb 2023 08:18:42 +0100 Subject: Upgrade rx to 1.0.1 and add type hints --- src/lib/functions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/functions.ts') 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) -- cgit v1.2.3