1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +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 = [];
promises.push(this.apiService.getCollections(organizationId).then((collections) => {
const collectionPromises = [];
const collectionPromises: any = [];
if (collections != null && collections.data != null && collections.data.length > 0) {
collections.data.forEach((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) => {
const cipherPromises = [];
const cipherPromises: any = [];
if (ciphers != null && ciphers.data != null && ciphers.data.length > 0) {
ciphers.data.forEach((c) => {
const cipher = new Cipher(new CipherData(c));