TypeScript安装

1.Installing Node.js and updating npm

   Updating npm----npm install npm@latest -g

   Installing TypeScript----npm install -g typescript 

   This will install the latest version of TypeScript globally meaning PATH environment variable is set.using  "tsc -v" verify;

   using above command to install latest version and delete any existing versions.

  

原文地址:https://www.cnblogs.com/ctddjyds/p/7008517.html