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

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!

主站蜘蛛池模板: 新竹县| 从江县| 钟祥市| 天镇县| 惠水县| 万全县| 曲靖市| 太仆寺旗| 阳东县| 湟源县| 抚松县| 赤壁市| 安多县| 健康| 娄底市| 长顺县| 湟中县| 新巴尔虎左旗| 应用必备| 阿拉善左旗| 建始县| 福鼎市| 大余县| 禹城市| 兴宁市| 聊城市| 长丰县| 醴陵市| 绥德县| 元阳县| 阳西县| 龙井市| 林西县| 贞丰县| 修水县| 台中县| 吉隆县| 汉川市| 沙河市| 武穴市| 永年县|