Chapter 1. Introducing TypeScript

This book focuses on TypeScript's object-oriented nature and how it can help you to write better code. Before diving into the object-oriented programing features of TypeScript, this chapter will give you an overview of the history behind TypeScript and introduce you to some of the basics.

In this chapter, you will learn about the following concepts:

  • The TypeScript architecture
  • Type annotations
  • Variables and primitive data types
  • Operators
  • Flow control statements
  • Functions
  • Classes
  • Interfaces
  • Modules

The TypeScript architecture

In this section, we will focus on the TypeScript's internal architecture and its original design goals.

Design goals

In the following points, you will find the main design goals and architectural decisions ...

Get TypeScript: Modern JavaScript Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.