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

TypeScript primer

Angular uses TypeScript extensively for app development. Hence as part of the Angular primer, we will refresh the necessary TypeScript concepts as well.

If you are new to TypeScript, TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. TypeScript provides static typing, classes, and interfaces and supports almost all features of ES6 and ES7 before they land in the browser.

A TypeScript file is saved with a .ts extension.

The main advantage of adding typings to an untyped language (JavaScript) is to make IDEs understand what we are trying to do and better assist us while coding; in other words, Intellisense.

Having said that, here is what we can do with TypeScript.

主站蜘蛛池模板: 谷城县| 田东县| 建湖县| 泸定县| 中卫市| 进贤县| 金华市| 仁怀市| 南召县| 舟曲县| 恩平市| 新竹市| 鱼台县| 宁强县| 宁乡县| 金溪县| 营口市| 宁晋县| 黄梅县| 鄂温| 惠安县| 安西县| 惠安县| 临夏市| 米林县| 浦江县| 香港| 仲巴县| 英吉沙县| 莎车县| 雷波县| 阿拉善盟| 当涂县| 肥乡县| 庆安县| 武功县| 沂南县| 静海县| 明星| 密云县| 开平市|