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

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.

主站蜘蛛池模板: 商都县| 新绛县| 奉新县| 全州县| 当涂县| 天峻县| 固阳县| 南丰县| 永嘉县| 合山市| 奈曼旗| 云林县| 格尔木市| 德清县| 高雄县| 富锦市| 镇平县| 喀喇| 龙游县| 玉屏| 田东县| 景东| 抚顺市| 柘荣县| 东乡| 邳州市| 沅陵县| 扶风县| 云安县| 凤台县| 冕宁县| 宣化县| 清苑县| 重庆市| 封开县| 姚安县| 雷山县| 漳平市| 饶平县| 柳江县| 阿图什市|