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

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.

主站蜘蛛池模板: 洛扎县| 瑞丽市| 沽源县| 明溪县| 桐庐县| 巴东县| 津市市| 沛县| 石楼县| 吉木萨尔县| 通榆县| 司法| 富宁县| 宾川县| 印江| 米林县| 九江县| 朝阳区| 金川县| 无棣县| 鄂尔多斯市| 平安县| 天柱县| 夏津县| 河北区| 正阳县| 保亭| 嵊州市| 通渭县| 江油市| 平山县| 苍南县| 沙洋县| 冕宁县| 安图县| 闸北区| 长兴县| 淮北市| 济阳县| 德清县| 永嘉县|