diff --git a/src/curry/debounce.ts b/src/curry/debounce.ts index ffa9fe91..70614c2a 100644 --- a/src/curry/debounce.ts +++ b/src/curry/debounce.ts @@ -37,12 +37,15 @@ export type DebounceFunction = { * ``` */ export function debounce( - { delay, leading = false }: { - delay: number; + { + delay, + leading = false, + }: { + delay: number /** * Decides whether the source function is called on the first * invocation of the throttle function or not - * + * * @default false */ leading?: boolean