fix: update types

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