Learning TypeScript 2.x
上QQ阅读APP看书,第一时间看更新

Types

As we have already learned, TypeScript is a typed superset of JavaScript. TypeScript added a static type system and optional static type annotations to JavaScript to transform it into a strongly-typed programming language.

TypeScript's type analysis occurs entirely at compile time and adds no runtime overhead to program execution.