What is TypeScript ?
Type script is type superset of JavaScript that compiles to plain JavaScript.
Installation
You have to replace
Type script is type superset of JavaScript that compiles to plain JavaScript.
Installation
- To install TypeScript using node manager CLI, you will have to setup nodejs Manager. For this you can follow the previous post "How to install Nodejs".
- After completing the Nodejs installation you can go to command prompt /Powershell on windows and type below command to install the typescript
- npm install -g typescript
- You might also end up finding below error if you are using proxy Server in your network for the internet connection.
- In this case you might want to setup the proxy setting for the npm.
npm config set proxy http://:@:
npm config set https-proxy http://:@:
You have to replace
,
,
,
with the values specific to your proxy server credentials