Day 6/100 in Typescript Let’s dive in! #100DaysOfCode#LearnTypeScript#buildinpublic
A narrow in TypeScript is when you refine a broad type (like string | number) to a more specific type (like string or number) based on conditions in your code.
Day 5/100 in Typescript Let’s dive in! #100DaysOfCode#LearnTypeScript#buildinpublic
Using #TypeScript to handle user roles with Union & Intersection Types:
Union (|): Flexible type selection
Intersection (&): Combine types for richer structures
Day 3/100 in Typescript
Let’s dive in!
#100DaysOfCode#LearnTypeScript#buildinpublic
Let’s explore type aliases and interfaces =>
🔹 Type Aliases: A flexible way to define data shapes (objects, unions, etc.).
🔹Interface: Defines object structures and is extendable for OOP.
Day 1/100 in Typescript
Let’s dive in! 🌊
#100DaysOfCode#LearnTypeScript#buildinpublic
🔹 What is TypeScript?
TypeScript = JavaScript + Types. It's a superset of JS that adds static typing, making your code robust and easier to maintain.