TypeScript Getting Started
TypeScript is typed JavaScript. TypeScript adds types to JavaScript to help you speed up the development by catching errors before you even run the JavaScript code.
TypeScript is an open-source programming language that builds on top of JavaScript. It works on any web browser, any OS, and any environment that JavaScript runs.
In this post, you’ll learn:
- Why TypeScript offers a lot of benefits over vanilla JavaScript.
- Understand what TypeScript truly is and how it works under the hood.
- Use TypeScript and its rich features like Types, Classes, Interfaces, Modules, and much more.
Prerequisites
- Basic JavaScript knowledge. If you want to learn JavaScript, check out the JavaScript Tutorial.
- ECMAScript 2015 or ES6 knowledge.
There are following 10 sections to learn TypeScript
- Section 1. Getting Started
- Section 2. Basic Types
- Section 3. Control Flow Statements
- Section 4. Functions
- Section 5. Classes
- Section 6. Interfaces
- Section 7. Advanced Types
- Section 8. Generics
- Section 9. Modules
-
Section 10. TypeScript in Node.js
To learn all of the above sections go through the TypeScript Tutorial
Conclusion
In this post we have talked about TypeScript as a language, which is an open-source programming language that builds on top of JavaScript. It works on any web browser, any OS, and any environment that JavaScript runs.
in the end we reference to a Tutorial URL to learn detail of this language.
In my next post, I will explore Automation of TypeScript by Node.js
This post is part of TypeScript-step-by-step