npm安装typescript

https://www.cnblogs.com/lucm/p/11136112.html

npm安装typescript

 
  1. npm config set registry https://registry.npm.taobao.org
  2.  npm config set disturl https://npm.taobao.org/dist
  3. npm -g install typescript
  4.  如果需要指定typescript版本,则使用@符号,如下图

    npm -g install typescript@3.1.3
  5. 转自:https://blog.csdn.net/missmecn/article/details/89375181
posted @ 2020-09-21 20:08  shiningrise  阅读(1327)  评论(0编辑  收藏  举报
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css