Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
crishoj committed Aug 11, 2024
1 parent 06c5b74 commit 718ded5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/curry/debounce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,15 @@ export type DebounceFunction<TArgs extends any[]> = {
* ```
*/
export function debounce<TArgs extends any[]>(
{ 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
Expand Down

0 comments on commit 718ded5

Please sign in to comment.