First, the most complete Chinese typescript Introductory Guide detailed case tutorial
Document download
Second, the Code case
Source code Download
Mobile phone sweep has a surprise ...
=============================================================================================================== ==
1, detailed installation articles please see
http://blog.csdn.net/jilongliang/article/details/21942911
2. Typescript Official Handbook
Http://www.typescriptlang.org/Handbook
3, Typescript official example
Https://github.com/Microsoft/TypeScriptSamples
http://typescript.codeplex.com/
4, note typescript TS file will have a red xx, does not mean that it has errors, if it is myeclipse words can be in
MyEclipse--->> Exclude from validation ignoring the red question
5, see typescript Example source code situation. ts file, JavaScript source is. js
6, reference Blog.
http://ju.outofmemory.cn/entry/954
http://www.oschina.net/question/12_72250
Http://www.cnblogs.com/whitewolf/p/4103328.html
7. Precautions:
A, you must choose ECMAScript Target version ES3 or ES5, select the ES6 version is too high, the generated JS file will have the class keyword
B, Eclipse set default. ts file format is typescript
Window--->general-editor--->file associatior-->*.ts select default Typescript
C, do not tick the Enable TypeScript Builder, tick This it will not help you to generate JS file
Tick Disable TypeScript Builder to
D, to find the official copy of the Jquery.d.ts file to the project, in the study of development will be quoted.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
"11th" The most complete Chinese typescript introduction Guide detailed case tutorial and code case