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

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.

主站蜘蛛池模板: 白沙| 无极县| 宣武区| 绩溪县| 尉氏县| 美姑县| 南靖县| 安国市| 长顺县| 盐池县| 富蕴县| 榕江县| 怀远县| 天祝| 东安县| 兰坪| 凤庆县| 浙江省| 铅山县| 南木林县| 定日县| 马公市| 海盐县| 丽江市| 龙口市| 石阡县| 阿勒泰市| 屏南县| 马尔康县| 崇义县| 乐至县| 东台市| 崇左市| 山东| 漠河县| 河北区| 铜梁县| 紫阳县| 沿河| 鄂温| 堆龙德庆县|