Mastering TypeScript 3
上QQ阅读APP看书,第一时间看更新

The benefits of TypeScript

To give you a flavor of the benefits of TypeScript, let's take a very quick look at some of the things that TypeScript brings to the table:

  • Compilation
  • Strong typing
  • Type definitions for popular JavaScript libraries
  • Encapsulation
  • Public and private accessors