From e40d405840839b0659b895d35512b9b8b3372352 Mon Sep 17 00:00:00 2001 From: Triston Armstrong Date: Fri, 8 Nov 2024 01:13:02 -0500 Subject: [PATCH] update timer type --- bun.lockb | Bin 192886 -> 192886 bytes src/utils/useDebounce.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/bun.lockb b/bun.lockb index 5717294ef18a1e29b614c4d3686518fd7041a896..3549df6c6d9812e29e6081d24cc4420fad0ba01e 100755 GIT binary patch delta 25 hcmezNi2K_k?uIRlx_{Xj;|%mH^bEF}{AG0d0sxlU3ZDP~ delta 25 dcmezNi2K_k?uIRlx_{Z37{Fk=$zMjNF93<_2~Ge2 diff --git a/src/utils/useDebounce.ts b/src/utils/useDebounce.ts index b7b3138..3b23582 100644 --- a/src/utils/useDebounce.ts +++ b/src/utils/useDebounce.ts @@ -2,7 +2,7 @@ import { sideEffectsEnabled, useHook } from "kaioken" import { noop } from "kaioken/utils" type UseDebounceState = { - timer: Timer | undefined + timer: NodeJS.Timeout | undefined debounce: (func: (...args: unknown[]) => void, timeout?: number) => void }