1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +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

@@ -42,7 +42,7 @@ export class InactiveTwoFactorReportComponent extends CipherReportComponent impl
if (this.services.size > 0) {
const allCiphers = await this.getAllCiphers();
const inactive2faCiphers: CipherView[] = [];
const promises: Array<Promise<void>> = [];
const promises: Promise<void>[] = [];
const docs = new Map<string, string>();
allCiphers.forEach((c) => {
if (c.type !== CipherType.Login || (c.login.totp != null && c.login.totp !== '') || !c.login.hasUris) {