aboutsummaryrefslogtreecommitdiff
path: root/src/lib/functions.ts
diff options
context:
space:
mode:
authorJoris2023-02-13 08:18:42 +0100
committerJoris2023-02-13 08:18:55 +0100
commitdfdde2daf238628dfb110c807a5249c31b903af1 (patch)
tree86976e201cde613c100dfc320aececd936a8a224 /src/lib/functions.ts
parent25ecb1cb75b7b5b584ad223e12d74c3e3ee7da89 (diff)
Upgrade rx to 1.0.1 and add type hints
Diffstat (limited to 'src/lib/functions.ts')
-rw-r--r--src/lib/functions.ts2
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)