generated from Klectr/KTemplate
update timer type
This commit is contained in:
parent
f9d0315bd7
commit
e40d405840
@ -2,7 +2,7 @@ import { sideEffectsEnabled, useHook } from "kaioken"
|
|||||||
import { noop } from "kaioken/utils"
|
import { noop } from "kaioken/utils"
|
||||||
|
|
||||||
type UseDebounceState = {
|
type UseDebounceState = {
|
||||||
timer: Timer | undefined
|
timer: NodeJS.Timeout | undefined
|
||||||
debounce: (func: (...args: unknown[]) => void, timeout?: number) => void
|
debounce: (func: (...args: unknown[]) => void, timeout?: number) => void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user