Table of contents
What is Typescript
Typescript is a superset of JavaScript.
It is developed by Microsoft.
TypeScript is a development tool.
When Typescript code runs, code converted into JavaScript code .
Chance of producing error is less in TypeScript because static checking . Its means analyze the code as we type.
How to install TypeScript
Use Git Bash for installing in Windows.
Use Visual Studio Code as IDE .
Install TypeScript globally.
Before Installing TypeScript, need to check we commands in system,
- Check Node js installed or not in system
node -v
Check NPM version
npm -v
Install TypeScript globally using command
npm install -g typescript
Check TypeScript version
tsc -v
Uses
TypeScript is designed for the development of large application.
Strong Static typing, Compilation and Object Oriented Programming.