Use TypeScript in WebStorm

Source: Internet
Author: User

Use TypeScript in WebStorm

TypeScript can also be developed using Visual Studio.
TypeScript official website address: (http://www.typescriptlang.org /)

1. Install WebStorm first

WebStorm (https://www.jetbrains.com/webstorm)

2. Install Node. js1. download and install Node. js node-v0.12.4-x64.msi

Baidu Network Disk download: http://pan.baidu.com/s/1jG3pm9C

For more information, see:

------------------------------------------ Split line ------------------------------------------

FTP address: ftp://ftp1.bkjia.com

Username: ftp1.bkjia.com

Password: www.bkjia.com

Use TypeScript in LinuxIDC.com/July \ WebStorm

For the download method, see

Do not change the default settings

2. Open cmd and type npm. If the following information is displayed, the installation is successful.

Otherwise, you may need to create an npm folder under C: \ Users \ [user name] \ AppData \ Roaming.

3. Install typescript

Open cmd and type npm install-g typescript

3. Enable WebStorm to set

The current version is WebStorm 10.

Step: File> Setting> Tools> File Weatchers> Add

Content

4. Solve Chinese garbled characters

Create a new TypeScript File, select a character, right-click File Encoding> switch to UTF-8

Basic TypeScript syntax

I have been using TypeScript for seven months.

WebStorm details: click here
WebStorm: click here

This article permanently updates the link address:

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.