1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

Upgrade TypeScript (#600)

* Upgrade typescript to 3.6.5.

* Resolve compile error and warnings
This commit is contained in:
Oscar Hinton
2020-08-12 21:43:26 +02:00
committed by GitHub
parent 20408347fb
commit f5034effd2
5 changed files with 161 additions and 289 deletions

View File

@@ -41,7 +41,7 @@ export class ExposedPasswordsReportComponent extends CipherReportComponent imple
async setCiphers() {
const allCiphers = await this.getAllCiphers();
const exposedPasswordCiphers: CipherView[] = [];
const promises: Array<Promise<void>> = [];
const promises: Promise<void>[] = [];
allCiphers.forEach((c) => {
if (c.type !== CipherType.Login || c.login.password == null || c.login.password === '') {
return;