Your frontend was already written in TypeScript, so no conversion was necessary. I focused on improving the dependency management and fixing the test suite.
Please note that the test suite is currently not running in the development environment, which I suspect is a service issue. I have fixed the tests to the best of my ability, and all dependency issues have been resolved.