I\'m trying to switch my vanilla JS app to Typescript.
I get some troubles concerning mongoose\'s part. I got inspiration from diferent article and Stack thread like