📄️ Union type & Literal type
How to use union type and type narrowing in typescript.
📄️ Tuple
How to use tuple type in typescript
📄️ Enum
Don't use enum, use literal type
📄️ Type Guards
How to use type guard for writing safe code
📄️ Type Predicates
How to use type predicates
📄️ Discriminate property
How to discriminate type using literal type
📄️ Why should we use `never` in switch case in typescript
How to use switch - case safely in typescript
📄️ Use generic instead of `any`
When and Why need generic type
📄️ Type declaration
How to use .d.ts file?
📄️ Type declaration module
How to use .d.ts file?