摘要: 用ctrl+r切换到对象的目录,以管理圆的身份执行 npm cache clean first. If that doesn’t fix things, take a look in %APPDATA%\npm-cache, or if you’re using PowerShell, $env:A 阅读全文
posted @ 2017-12-07 19:53 layfork 阅读(1264) 评论(0) 推荐(0) 编辑
摘要: 命令行使用tsc 1.安装typescript npm install -g typescript 2.新建一个index.ts 输入export hello class{} 3.编译 tsc index.ts 4.查看编译后的文件 在webstorm使用tsc 1.创建typescript文件2. 阅读全文
posted @ 2017-12-07 18:03 layfork 阅读(195) 评论(0) 推荐(0) 编辑