From a0f5c95dbff20971b4ea3c02caac9dd21f1da0a2 Mon Sep 17 00:00:00 2001 From: Sven Fehler <38158426+Sv443@users.noreply.github.com> Date: Fri, 24 Jan 2025 19:57:43 +0100 Subject: [PATCH] docs: fix wrong return type of `debounce()` --- docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs.md b/docs.md index fd4fe0c..53e789c 100644 --- a/docs.md +++ b/docs.md @@ -1846,7 +1846,7 @@ debounce< fn: TFunc, timeout?: number, type?: "immediate" | "idle" -): TFunc +): TFunc & { debouncer: Debouncer } ``` A standalone function that debounces a given function to prevent it from being executed too often.