2Jumping into TypeScript

Angular is built on TypeScript, so it is important that you have an understanding of it in order to use Angular. This chapter will help you understand the fundamentals of TypeScript.

This chapter will familiarize you with the additions TypeScript gives to JavaScript. If you are familiar with C# and object-oriented programming, TypeScript will seem more familiar than JavaScript. This chapter will also familiarize you with the basics of programming in TypeScript; it discusses types, interfaces, classes, modules, functions, and generics. Like Chapter 1, “Jumping into JavaScript,” it is not intended to be a full language guide; rather, it is a primer on the language to help prepare you for using Angular.

Learning the Different ...

Get Learning Angular, 2nd 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.