标签:bsp 生成 运行 web webstorm 自动生成 storm 编辑 tor
1,在线编译,进入typescript官网http://www.typescriptlang.org/,点击里面的playground就可以直接写代码了。
2,在本地编译运行Typescript需要使用npm下载typescript npm install -g typescript
tsc Hello.ts
运行后就会发现在同一文件夹下生成了Hello.js
3,webstorm编辑器可以自动生成相应的js
标签:bsp 生成 运行 web webstorm 自动生成 storm 编辑 tor
原文地址:http://www.cnblogs.com/maxwell-xu/p/7874804.html