Skip to content

Commit b489eea

Browse files
committed
fix(plugin): useDebouncedCallback lint
1 parent fff7943 commit b489eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useDebouncedCallback.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {useState} from 'react'
22

3-
export default function useDebouncedCallback<A extends any[]>(
3+
export default function useDebouncedCallback<A extends unknown[]>(
44
callback: (...args: A) => void,
55
delay: number,
66
): (...args: A) => void {

0 commit comments

Comments
 (0)