官术网_书友最值得收藏!

Technical requirements

In order to complete this chapter, you are going to need Node.js installed. You can download and install Node.js from https://nodejs.org/en/.

You will also need the TypeScript compiler installed. There are two ways to do this through Node.js using the Node Package Manager (NPM). If you want the same version of TypeScript used in all of your applications and are happy that they will all run on the same version whenever you update it, use the following command:

npm install -g typescript

If you want the version of TypeScript to be local to a particular project, type the following in the project folder:

npm install typescript --save-dev

For a code editor, you can use any suitable editor or even a basic text editor. Throughout this book, I will be using Visual Studio Code, a free cross-platform integrated development environment (IDE), available at https://code.visualstudio.com/

All code is available on GitHub at https://github.com/PacktPublishing/Advanced-TypeScript-3-Programming-Projects/tree/master/Chapter01.

主站蜘蛛池模板: 井陉县| 临高县| 锡林郭勒盟| 依兰县| 邹城市| 孙吴县| 普兰店市| 长子县| 丰镇市| 灵寿县| 安多县| 蒙山县| 威远县| 海林市| 东辽县| 门源| 贺兰县| 凤凰县| 稷山县| 株洲县| 宝兴县| 尼勒克县| 清镇市| 读书| 缙云县| 广河县| 兴隆县| 天门市| 普格县| 康乐县| 洛南县| 琼中| 霸州市| 上杭县| 枝江市| 汽车| 山阳县| 花莲县| 门头沟区| 金坛市| 苏尼特左旗|