1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-19 04:49:37 +02:00

Convert indentation to tabs, as my vscode did not want to cooperate

This commit is contained in:
Thies 2025-01-30 13:02:49 +01:00
parent 94fca45af0
commit cc6a98d23b
No known key found for this signature in database
4 changed files with 81 additions and 80 deletions

View file

@ -466,11 +466,11 @@ export function osmTagToEmoji(tag: string) {
}
export function debounce(func: Function, timeout: number) {
let timer: number | NodeJS.Timeout;
return (...args: any) => {
clearTimeout(timer);
timer = setTimeout(() => {
func(...args);
}, timeout);
};
let timer: number | NodeJS.Timeout;
return (...args: any) => {
clearTimeout(timer);
timer = setTimeout(() => {
func(...args);
}, timeout);
};
}