As written earlier "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript", in plain words we can say that "TypeScript is another programming language to write better JavaScript code".
The applications of JavaScript like maps, document editing, web E-mail, collaboration tools, etc.…. are vastly increased in the everyday computing life. To meet the daily needs of the JavaScript programmers/programming teams Typescript is designed, it helps programmers/programming teams to define interfaces between software components and also to gain insight into the behavior of existing JavaScript files.
Classes enable programmers/programming teams to make features like inheritance more interoperable & readable and also to express common object-oriented patterns in a standard way.
Modules enable programmers/programming teams to organize their own code into components while avoiding naming conflicts.