I'm pretty sure I'll be able to solve this issue by myself but if it can help somebody else I want to share and save somebody else time.
I had to add the es6-promise
library to get rid of this error
Promise only result to a type, but is only used as a value here.
when I was trying to use Promise.all (see this discussion ). It worked fine until now, I get an error when I'm trying to use a Promise from MongoDB.
Promise<whatever> is not assignable to Promise<any>
Property 'finally' is missing in type Promise<whatever>
According to this issue on es6-promise (if I got that right), the new finally property is breaking compatibility. It's there on the Promise Mongo return but not on the one I imported from es6-promise.
Any idea?