fix: update types

This commit is contained in:
SethBurkart123 committed 2025-03-18 07:54:50 +11:00
1 parent e6f36edabf
commit ea46ab41ce
1 file changed
+1 -1
+1 -1
View File
@@ -362,7 +362,7 @@ export async function loadHomePage() {
func: T,
wait: number,
): (...args: Parameters<T>) => void {
let timeout: NodeJS.Timeout
let timeout: any
return (...args: Parameters<T>) => {
clearTimeout(timeout)
timeout = setTimeout(() => func(...args), wait)