Skip to content

Commit

Permalink
fix(plugin): useDebouncedCallback lint
Browse files Browse the repository at this point in the history
  • Loading branch information
codercatdev committed Jun 3, 2024
1 parent fff7943 commit b489eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useDebouncedCallback.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {useState} from 'react'

export default function useDebouncedCallback<A extends any[]>(
export default function useDebouncedCallback<A extends unknown[]>(
callback: (...args: A) => void,
delay: number,
): (...args: A) => void {
Expand Down

0 comments on commit b489eea

Please sign in to comment.