2 Your first TypeScript application

This chapter covers

  • Preparing the tools required for TypeScript development
  • Creating and configuring a TypeScript project
  • Using the TypeScript compiler to generate pure JavaScript code
  • Executing pure JavaScript code using the Node.js runtime
  • Preparing a TypeScript project for use with ECMAScript modules
  • Installing and using a third-party JavaScript package
  • Using type declarations for a third-party JavaScript package

The best way to get started with TypeScript is to dive in. In this chapter, I take you through a simple development process to create an application that keeps track of to-do items. Later chapters show how TypeScript features work in detail, but a simple example will be enough to demonstrate how ...

Get Essential TypeScript 5, Third Edition 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.