TypeScript
IntermediateLearn TypeScript - JavaScript with types for safer, more scalable code
Course Lessons
Introduction to TypeScript
Learn what TypeScript is and why it matters
Basic Types
Master TypeScript primitive types
Arrays and Tuples
Work with typed arrays and tuples
Objects and Interfaces
Define object shapes with interfaces
Functions with Types
Add types to function parameters and returns
Union and Literal Types
Use union types and literal values
Type Aliases
Create reusable type definitions
Enums
Define sets of named constants
Generics Basics
Create reusable, type-safe functions
Generic Interfaces
Create flexible interface definitions
Classes with Types
Add TypeScript to classes
Class Inheritance
Extend classes with proper typing
Implementing Interfaces
Use interfaces with classes
Type Assertions
Tell TypeScript about types you know
Utility Types - Partial & Required
Use built-in utility types
Utility Types - Pick & Omit
Select or exclude properties from types
Utility Types - Record & Readonly
Create mapped and immutable types
Type Guards
Narrow types with runtime checks
Discriminated Unions
Pattern match with tagged unions
Mapped Types
Transform types programmatically
Conditional Types
Types that depend on conditions
Template Literal Types
Create types from string templates
Index Signatures
Define dynamic property types
Decorators
Metaprogramming with decorators
Modules and Namespaces
Organize code with modules
Type Declaration Files
Work with .d.ts files
Advanced Generics - Constraints
Constrain generic types
Infer Keyword
Extract types from other types
TypeScript with React
Type React components and hooks
PROJECT: Type-Safe API Client
Build a fully typed API client