It brought scalability through static typing, improved developer tooling, and OOP features.
The introduction of TypeScript gave JavaScript a new lease of life to many web developers.
The development of TypeScript was a response to the shortcomings of JavaScript & its use in modern web development; led by Microsoft.
Creating scalable JavaScript applications requires complex modularisation; which can get messy and is often time-consuming to learn the many module patterns out there.