Skip to content

Commit

Permalink
style: reformat curry.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
LynnSha1ng committed Mar 19, 2024
1 parent 0f5c6ab commit 5e275be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/curry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -499,12 +499,12 @@ export type DebounceConfig = {
* The time in milliseconds to wait before calling the
* source function
*/
delay: number;
delay: number
/**
* whether the source function will be called on the first
* invocation of the debounce function. `false` by default
*/
leading?: boolean;
leading?: boolean
}

export type ThrottledFunction<TArgs extends any[]> = {
Expand Down

0 comments on commit 5e275be

Please sign in to comment.