Erick Cinco
Erick Cinco
Hermano, encontre la solucion, no es tanto una solucion potente, pero es lo que hay, toca que lo importes directamente asi bro, con el [ var aggregatePaginate = require("mongoose-aggregate-paginate-v2"); ]...
Brother, I found the solution, it is not so much a powerful solution, but it is what it is, just import it directly like this bro, with [ var addedPaginate...

And here is one query: 
I forgot add this, if u want use the typed of result queries, you should add this  into 