fix: clean lint issues

This commit is contained in:
Peter Steinberger
2026-01-08 11:07:04 +00:00
parent 63bad210c9
commit 959a19d8ae
3 changed files with 4 additions and 9 deletions

View File

@@ -57,11 +57,7 @@ const isGetUpdatesConflict = (err: unknown) => {
};
const errorCode = typed.error_code ?? typed.errorCode;
if (errorCode !== 409) return false;
const haystack = [
typed.method,
typed.description,
typed.message,
]
const haystack = [typed.method, typed.description, typed.message]
.filter((value): value is string => typeof value === "string")
.join(" ")
.toLowerCase();