"11th" The most complete Chinese typescript introduction Guide detailed case tutorial and code case

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.