diff --git a/src/content/notificationBar.ts b/src/content/notificationBar.ts index 0b7aa4c754..3efa7164ef 100644 --- a/src/content/notificationBar.ts +++ b/src/content/notificationBar.ts @@ -345,7 +345,7 @@ document.addEventListener('DOMContentLoaded', (event) => { } } if (!disabledChangedPasswordNotification && formData[i].passwordEls != null) { - const passwords = formData[i].passwordEls + const passwords: string[] = formData[i].passwordEls .filter((el: HTMLInputElement) => el.value != null && el.value !== '') .map((el: HTMLInputElement) => el.value);