What is Typescript ?
- Typescript is pure object-oriented high-level programming language which let you write the JavaScript.
- It is the super set of JavaScript.
- TypeScript was developed and is maintained by Microsoft.
- TypeScript helps to develop large-scale, maintainable, and robust code.
- you can use typescript syntax to write React js applications, Angular JS application and many more.
Prerequisites
To start learning typescript, one should have understanding of below concept:
- OOPS concept
- basic of JavaScript
- basic of Node and NPM
Why TypeScript ?
TypeScript is mostly used in real-world applications for its benefits over plain JavaScript. Some of these benefits include:
- Strong Typing: TypeScript provides optional type annotations, making it easier to catch type-related errors during development.
- Better tooling: TypeScript has excellent support from popular development tools such as Visual Studio Code, making it easier for developers to write, navigate, and maintain code.
- Large-scale Applications: TypeScript is used to build complex and large-scale applications by companies such as Microsoft, Asana, and Airbnb.
- Interoperability: TypeScript is designed to be compatible with existing JavaScript libraries and code, making it easy to integrate into existing projects.
- Improved code maintainability: TypeScript makes it easier to refactor and maintain code over time, reducing the cost of maintenance for large projects.
In summarise, TypeScript is a popular language for building large-scale, maintainable, and scalable applications, and is widely used in industries such as finance, healthcare, e-commerce, and more.