From 049faf1abc37cbc3dc80b84c731b3fed3c931b4e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 7 Sep 2018 15:15:01 -0400 Subject: [PATCH] string[] type on passwords --- src/content/notificationBar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);