diff options
Diffstat (limited to 'src/utils/debounce.ts')
-rw-r--r-- | src/utils/debounce.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/debounce.ts b/src/utils/debounce.ts index 6a1756b..f001b7b 100644 --- a/src/utils/debounce.ts +++ b/src/utils/debounce.ts @@ -4,4 +4,4 @@ export function debounce<T extends Function>(func: T, delay = 300): T { clearTimeout(timeout); timeout = setTimeout(() => { func(...args); }, delay); } as any; -}
\ No newline at end of file +} |