npm install typescript --registry=http://registry.npm.taobao.org
使用下面的命令。
npm 被墙怎么办
原文:https://www.cnblogs.com/sexintercourse/p/11863698.html