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

Chapter 2: Introduction to TypeScript

As we learned in the previous chapter, where we built our very first Angular application, the code of an Angular project is written in TypeScript. Writing in TypeScript and leveraging its static typing gives us a remarkable advantage over other scripting languages. This chapter is not a thorough overview of the TypeScript language. Instead, we'll just focus on the core elements and study them in detail on our journey through Angular. The good news is that TypeScript is not all that complex, and we will manage to cover most of its relevant parts.

In this chapter, we will cover the following topics:

  • Look at the background and rationale behind TypeScript
  • Discover online resources to practice with while we learn
  • Recap on the concept of typed values and their representation
  • Build our custom types, based on classes and interfaces
  • Emphasize the use of advanced types in an Angular project
  • Learn to organize our application architecture with modules

Let's get started!

主站蜘蛛池模板: 洮南市| 阜康市| 乐山市| 贵港市| 通海县| 嘉祥县| 双辽市| 八宿县| 大安市| 响水县| 福鼎市| 陆丰市| 六枝特区| 松原市| 堆龙德庆县| 闽侯县| 大厂| 裕民县| 西充县| 宁化县| 佛冈县| 通辽市| 洛宁县| 花莲县| 五台县| 彭州市| 石河子市| 揭阳市| 新乐市| 海南省| 塔河县| 凯里市| 磐安县| 永泰县| 繁峙县| 甘孜县| 屏山县| 万全县| 临海市| 元氏县| 正蓝旗|