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

Installing TypeScript

Next, we will be installing the TypeScript compiler. As mentioned in Chapter 1, Angular - A Primer, we will be using TypeScript to write the JavaScript code. To install the TypeScript compiler, run the following:

npm install typescript -g

Once TypeScript is successfully installed, we can verify it by running this command:

tsc -v
> message TS6029: Version 1.7.5

The latest version of TypeScript at the time of release of Ionic 3 is 2.2.2. You may need to update the version of TSC to 2.2.2 or higher when working with Ionic 3.

主站蜘蛛池模板: 正宁县| 铜陵市| 金寨县| 吉林省| 清流县| 和硕县| 偃师市| 芒康县| 东乌| 白银市| 卢湾区| 象山县| 宿松县| 迁西县| 五原县| 科技| 右玉县| 湘西| 永登县| 宁陵县| 文昌市| 大宁县| 田东县| 灵璧县| 韶关市| 馆陶县| 广昌县| 房产| 恩平市| 花莲县| 北辰区| 宝兴县| 建湖县| 正定县| 涿鹿县| 漳浦县| 武冈市| 玉门市| 舟山市| 尉氏县| 汶川县|