fixing typescript and mongoose error related to new version.
fixing typescript and mongoose error related to new version.

mjuez/TFM2016_Analisis-Visual-Revisiones-Codigo,mjuez/TFM2016_Analisis-Visual-Revisiones-Codigo,mjuez/TFM2016_Analisis-Visual-Revisiones-Codigo