Latest Posts
Day 16: Generic Constraints
Stop using "any" in Generics. Learn how to constrain your types to ensure they have the properties you need.
Day 15: Generics - Making Reusable Code
Donβt repeat yourself. Use Generics to create reusable, type-safe components and functions.
Day 14: Literal Types and Enums
Lock down your types to specific values using Literal Types and Enums. Choose the right one for your use case.
Day 13: Union and Intersection Types
Combine types to create flexible and precise definitions using Union (|) and Intersection (&) operators.
Day 12: Implementing Interfaces in Classes
Enforce class structure using Interfaces. Learn the `implements` keyword.
Day 11: Static Members and Getters/Setters
Master shared class data with Statics and control property access with Getters and Setters.
Day 10: Inheritance and Abstract Classes
Learn how to extend classes to reuse logic and use Abstract Classes to define contracts for sub-classes.
Day 9: Access Modifiers
Control who can see and modify your class members using Public, Private, and Protected.
Day 8: Introduction to Classes
Dive into Object-Oriented Programming (OOP) with TypeScript Classes. Constructors, properties, and methods.