Class basics
In this chapter, you learn the basics of how to write classes in TypeScript.
In this chapter, you learn the basics of how to write classes in TypeScript.
Designing classes and interfaces in TypeScript. Explains information hiding (encapsulation) / single responsibility / keeping classes small / preferring composition over inheritance with Bad / Good comparisons. Also covers the ideas of cohesion and coupling.
In this chapter, you learn about class inheritance and interfaces in TypeScript.