What
Update Typescript's moduleResolution to nodenext and fix problems that appear when doing so.
Why
To help TypeScript correctly resolve types inside more modern packages, as well as acknowledge the fact that we run a modern version of Node.JS.
Who needs to work on this
Developers
Who needs to review this
Developers
Done when