Currently, I am in the process of developing a server-side node-based application utilizing TypeScript. My database of choice is mongo, which I interact with using the npm library mongodb. Unfortunately, this library does not contain declarations by default. However, there is a package available called @types/mongodb which can help address this issue.
I find myself confused by the fact that the latest version of mongo supported is 3.1. Even Docker Hub does not offer a container with this specific version. Can you provide any guidance on how to proceed in this situation? Despite facing challenges, TypeScript was chosen for its compatibility with Angular, an integral component of the project.