Skip to content

Instantly share code, notes, and snippets.

@stableShip
Last active August 29, 2015 14:22
Show Gist options
  • Save stableShip/045d57aa2a68119c86d6 to your computer and use it in GitHub Desktop.
Save stableShip/045d57aa2a68119c86d6 to your computer and use it in GitHub Desktop.
如何使用visual stdio code编写TypeScript
#如何使用visual stdio code编写TypeScript
----
## 运行环境
* [nodejs](http://nodejs.org/)
* Windows、Linux 或 MacOS 操作系统
* [visual studio code](https://code.visualstudio.com/)
* [tsd](https://github.com/DefinitelyTyped/tsd)
* [typescript](http://www.typescriptlang.org/)
----
## 部署环境
### 下载visual studio code
自行官网下载
### 安装nodejs
[百度](http://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&tn=baidu&wd=%E5%AE%89%E8%A3%85nodejs%20&rsv_pq=febfea420000a14f&rsv_t=e86fk%2B6Ub%2Bp%2BJmR0TKHHphWoDk7%2B0f4sBno1S08JPmJ8j2EaB46t8L1weew&rsv_enter=0&inputT=264&rsv_sug=1)
### 安装tsd
`npm install tsd@next -g`
### 安装typescript
`npm install typescript -g`
----
##配置visual stdio code的TypeScript环境
[msdn的例子](http://blogs.msdn.com/b/typescript/archive/2015/04/30/using-typescript-in-visual-studio-code.aspx)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment