Summary
Learning OOP development patterns for the first time can be a challenging task. In this chapter, you learned about OOP development, how to define classes in TypeScript, how to instantiate classes and create objects, how to combine data and methods in a class to encapsulate a full set of behavior, how to utilize interfaces in order to define the data that can be passed to a TypeScript class, and finally, how to pass the objects to classes of various types.
You also now have a basic understanding of how an authentication system works and how to utilize TypeScript to generate HTML code.
Now that you have a basic understanding of how classes and objects work in TypeScript, in the next chapter, you'll learn how to work with the concept of class inheritance and take a deeper dive into interfaces.