In this chapter, we'll dive deeper into the TypeScript language. We'll learn about TypeScript's explicit type declaration syntax, as well as about the many built-in types in TypeScript and their purpose.
We'll also learn how to create our own types and build applications adhering to object-oriented principles. Finally, we'll review some of the latest features added to the language, such as optional chaining and nullish coalescing.
By the end of this chapter, you will have a strong understanding of the TypeScript language, which will allow you to read and understand existing TypeScript code with ease. You will also know enough about the language to produce high-quality code that achieves your application goals and is reliable.
In this chapter, we're going to cover the following main topics:
- What are types?
- Exploring TypeScript types
- Understanding classes and interfaces
- Understanding inheritance...