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

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.

主站蜘蛛池模板: 平利县| 邹平县| 东平县| 白河县| 十堰市| 连云港市| 册亨县| 定远县| 巴青县| 酉阳| 韶山市| 伊春市| 民和| 福州市| 灵川县| 大方县| 绿春县| 楚雄市| 独山县| 赫章县| 德安县| 宜宾市| 中方县| 勃利县| 安仁县| 马公市| 东安县| 梅河口市| 密山市| 嘉黎县| 黎川县| 城市| 镇巴县| 凤庆县| 怀集县| 兴城市| 广汉市| 天柱县| 东方市| 黔东| 台北县|