1 Understanding TypeScript

This chapter covers

  • Understanding the TypeScript developer features
  • Deciding when to use TypeScript in a project
  • Recognizing the limitations of TypeScript
  • Understanding the contents of this book
  • Reporting errors in this book
  • Contacting the author

TypeScript is a superset of the JavaScript language that focuses on producing safe and predictable code that can be executed by any JavaScript runtime. Its headline feature is static typing, which makes working with JavaScript more predictable for programmers familiar with languages such as C# and Java. In this book, I explain what TypeScript does and describe the different features it provides.

1.1 Should you use TypeScript?

TypeScript isn’t the solution to every problem, ...

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.