From 718ded5ef260d7c6f21a14dbfebd4738573a8e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Rish=C3=B8j?= Date: Sun, 11 Aug 2024 18:16:34 +0200 Subject: [PATCH] style: format --- src/curry/debounce.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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