diff --git a/index.d.ts b/index.d.ts index db01dc2..f9089db 100644 --- a/index.d.ts +++ b/index.d.ts @@ -240,7 +240,7 @@ declare module "@uidotdev/usehooks" { export function useSpeech(text: string, options?: SpeechOptions): SpeechState; - export function useThrottle(value: T, delay: number): T; + export function useThrottle(value: T, delay?: number): T; export function useToggle( initialValue?: boolean