2
TypeScript Core Principles
Until now, we’ve discussed the basic programming constructs of TypeScript, for example, interfaces, classes, objects, and enums. In this chapter, we’ll examine more details about TypeScript. We’ll explore advanced types that provide the compiler with a more precise understanding of your code, leading to cleaner, more concise, and readable programs.
This chapter will not only equip you with advanced TypeScript features but also introduce the concept of design patterns. We’ll explore their origins, their connection (and sometimes separation) from Object-Oriented Programming (OOP) and their role in overcoming limitations in your code. In the following chapters, we’ll analyze them one by one for their practical considerations. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access