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

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.

主站蜘蛛池模板: 遵化市| 南城县| 松桃| 喀喇沁旗| 静乐县| 高州市| 新竹县| 洱源县| 大姚县| 花垣县| 呈贡县| 皋兰县| 改则县| 班戈县| 大英县| 衡山县| 西华县| 当涂县| 平陆县| 阿图什市| 达日县| 齐河县| 铁力市| 镇康县| 渭源县| 白河县| 黑龙江省| 财经| 老河口市| 古交市| 宾川县| 绥化市| 永兴县| 麻江县| 平顺县| 明光市| 涟源市| 宁南县| 屏山县| 长岭县| 河池市|