1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-17 01:31:25 +01:00

fix implicit any

This commit is contained in:
Kyle Spearrin 2018-07-05 14:49:48 -04:00
parent 87e273252b
commit 91081d9232

View File

@ -72,7 +72,7 @@ export class ExportService implements ExportServiceAbstraction {
const promises = []; const promises = [];
promises.push(this.apiService.getCollections(organizationId).then((collections) => { promises.push(this.apiService.getCollections(organizationId).then((collections) => {
const collectionPromises = []; const collectionPromises: any = [];
if (collections != null && collections.data != null && collections.data.length > 0) { if (collections != null && collections.data != null && collections.data.length > 0) {
collections.data.forEach((c) => { collections.data.forEach((c) => {
const collection = new Collection(new CollectionData(c)); const collection = new Collection(new CollectionData(c));
@ -85,7 +85,7 @@ export class ExportService implements ExportServiceAbstraction {
})); }));
promises.push(this.apiService.getCiphersOrganization(organizationId).then((ciphers) => { promises.push(this.apiService.getCiphersOrganization(organizationId).then((ciphers) => {
const cipherPromises = []; const cipherPromises: any = [];
if (ciphers != null && ciphers.data != null && ciphers.data.length > 0) { if (ciphers != null && ciphers.data != null && ciphers.data.length > 0) {
ciphers.data.forEach((c) => { ciphers.data.forEach((c) => {
const cipher = new Cipher(new CipherData(c)); const cipher = new Cipher(new CipherData(c));