Fix typing issue when using Dockerfile.dev.

This commit is contained in:
Clement Michaud 2018-10-21 15:25:09 +02:00
parent a8460d3c7b
commit ad6b064063

View File

@ -43,7 +43,7 @@ export class MongoCollection implements ICollection {
.then((collection) => collection.insert(document)); .then((collection) => collection.insert(document));
} }
count(query: any): Bluebird<number> { count(query: any): Bluebird<any> {
return this.collection() return this.collection()
.then((collection) => collection.count(query)); .then((collection) => collection.count(query));
} }