mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-12-06 19:56:45 +10:30
fix: update types
This commit is contained in:
1 parent
e6f36edabf
commit
ea46ab41ce
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user