Getting Started with TypeScript

In the previous chapter, we discussed the challenges we may encounter because of the loose-type nature of the JavaScript language. We also saw various attempts of mitigating these challenges, none of which felt natural at all. We also introduced TypeScript as a tool that could help; how TypeScript can help is what we will discuss in this chapter.

The building blocks of TypeScript and its core concepts are matters of the heart, and we need to treat them as such. Therefore, backed with hands-on examples, we will discuss these building blocks, how they work together, and how you can integrate them into your workflow as a JavaScript developer. But first, we need to learn how to set up TypeScript.

In this chapter, ...

Get TypeScript 2.x for Angular Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.