New content added weeklyLive
Master Typescript with Adaptive AI.
Master Typescript across 30 topics - Foundations, Type System Mastery, and Advanced Type Engineering - guided by Leyaa's adaptive intelligence.
3Parts
30Topics
236Patterns
60hEst. duration
Typescript Course
3 - part learning journey
Foundations
12 topics · 88 patterns
Type System Mastery
9 topics · 73 patterns
Advanced Type Engineering
9 topics · 75 patterns
✦ Course Structure
Your Typescript Journey in 3 Parts
Each part builds on the last - a deliberate progression from beginner to advanced.
Part 1: Foundations
Covers TypeScript Basics and Compilation, Type Annotations and Inference, Primitive Types and 9 more topics.
12Topics
88Patterns
View topics
Part 2: Type System Mastery
Covers Generics Fundamentals, Generic Interfaces and Classes, Type Guards and Narrowing and 6 more topics.
9Topics
73Patterns
View topics
Part 3: Advanced Type Engineering
Covers Conditional Types, Mapped Types, Utility Types Part 2 and 6 more topics.
9Topics
75Patterns
View topics
Curriculum
Everything You'll Learn
Explore every topic and pattern in the course.

Typescript
3 parts · 30 topics · 236 patterns100% freeEvery pattern is free. Create a free account to start, and Leyaa tracks what you actually know.
Part 1: Foundations12 topics · 88 patterns
Beginner01
TypeScript Basics and Compilation
7 patterns
Free
What is TypeScriptStart free Why TypeScript over JavaScriptStart free How TypeScript compiles to JavaScriptStart free TypeScript Compiler Installation and SetupStart free tsconfig.json Configuration BasicsStart free Running TypeScript with ts-nodeStart free TypeScript Strict Mode and Why It MattersStart free
02
Type Annotations and Inference
8 patterns
Free
Why type annotations are neededStart free Explicit type annotationsStart free How TypeScript infers types automaticallyStart free Type annotation on variablesStart free Type annotation on function parametersStart free Type annotation on return valuesStart free The any type and why to avoid itStart free Unknown type vs any typeStart free
03
Primitive Types
8 patterns
Free
04
Arrays and Tuples
8 patterns
Free
05
Object Types
7 patterns
Free
06
Union and Intersection Types
7 patterns
Free
07
Type Aliases
6 patterns
Free
08
Interfaces
8 patterns
Free
Why interfaces are neededStart free Interface declaration syntaxStart free Optional properties in interfacesStart free Readonly properties in interfacesStart free Extending interfacesStart free Multiple interface extensionStart free Interface vs type alias decisionStart free Implementing interfaces in classesStart free
09
Structural Typing and Type Compatibility
6 patterns
Free
What structural typing meansStart free Duck typing mental model in TypeScriptStart free How assignment compatibility is checkedStart free Excess property checks vs structural compatibilityStart free How structural typing differs from nominal typingStart free Fresh object literals vs variable assignment behaviorStart free
10
Compile-Time vs Runtime Boundary
6 patterns
Free
11
Functions in TypeScript
8 patterns
Free
12
Enums
9 patterns
Free
Why enums are neededStart free Numeric enumsStart free String enumsStart free Heterogeneous enumsStart free Enum member accessStart free Reverse mapping in numeric enumsStart free Const enums and optimizationStart free When enums add unnecessary runtime codeStart free Enum vs union literal type trade-offsStart free
Part 2: Type System Mastery9 topics · 73 patterns
Intermediate01
Generics Fundamentals
8 patterns
Free
Why generics are neededStart free Generic function syntaxStart free How TypeScript infers generic typesStart free Generic constraints with extendsStart free Multiple generic parametersStart free Default generic typesStart free Generic functions with arraysStart free Generic arrow functionsStart free
02
Generic Interfaces and Classes
7 patterns
Free
03
Type Guards and Narrowing
9 patterns
Free
Why type narrowing is neededStart free typeof type guardsStart free instanceof type guardsStart free Truthiness narrowingStart free Equality narrowingStart free The in operator narrowingStart free Custom type guard functionsStart free Discriminated union narrowingStart free Assertion functionsStart free
04
Advanced Type Operations
8 patterns
Free
05
Classes in TypeScript
10 patterns
Free
Why typed classes matterStart free Class property declarationsStart free Constructor parameter typesStart free Access modifiers public private protectedStart free Readonly class propertiesStart free Parameter properties shorthandStart free Getter and setter with typesStart free Static members with typesStart free Abstract classesStart free Abstract methodsStart free
06
Class Inheritance and Polymorphism
7 patterns
Free
07
Modules and Namespaces
9 patterns
Free
Why modules are needed in TypeScriptStart free Export syntax variationsStart free Import syntax variationsStart free Default exports vs named exportsStart free Re-exporting modulesStart free Type-only imports and exportsStart free Dynamic imports with typesStart free Namespace declarationStart free Namespace mergingStart free
08
Type Narrowing Patterns
7 patterns
Free
Part 3: Advanced Type Engineering9 topics · 75 patterns
Advanced01
Conditional Types
8 patterns
Free
Why conditional types are neededStart free Conditional type syntaxStart free Conditional type with genericsStart free Inferring types with infer keywordStart free Distributive conditional typesStart free Non-distributive conditional typesStart free Nested conditional typesStart free Conditional types for overload replacementStart free
02
Mapped Types
8 patterns
Free
Why mapped types are neededStart free Basic mapped type syntaxStart free Mapped type modifiers (readonly, optional)Start free Removing modifiers with minusStart free Key remapping with as clauseStart free Mapped type with template literalsStart free Mapped type with conditional typesStart free Mapped type for deep transformationsStart free
03
Utility Types Part 2
9 patterns
Free
04
Template Literal Types
7 patterns
Free
Why template literal types are powerfulStart free Template literal type syntaxStart free String manipulation types (Uppercase, Lowercase)Start free Capitalize and Uncapitalize typesStart free Pattern matching with template literalsStart free Template literal with unionsStart free Building type-safe string patternsStart free
05
Declaration Files
9 patterns
Free
Why declaration files are neededStart free Declaration file syntax (.d.ts)Start free Declaring modulesStart free Declaring global variablesStart free Declaring functions and classesStart free Ambient declarationsStart free DefinitelyTyped and @types packagesStart free Writing custom declaration filesStart free Triple-slash directivesStart free
06
Decorators
9 patterns
Free
Why decorators are neededStart free Enabling decorators in TypeScriptStart free Class decoratorsStart free Method decoratorsStart free Property decoratorsStart free Parameter decoratorsStart free Decorator factoriesStart free Decorator composition and execution orderStart free Metadata reflection with decoratorsStart free
07
Advanced Generics
8 patterns
Free
Why advanced generics matterStart free Recursive generic typesStart free Generic type varianceStart free Covariance and contravarianceStart free Generic conditional constraintsStart free Higher-order function typesStart free Builder pattern with genericsStart free Type-safe event emitter patternStart free
08
Module Augmentation and Merging
7 patterns
Free
09
Advanced Patterns and Best Practices
10 patterns
Free
Why type design patterns matterStart free Branded types for safetyStart free Phantom typesStart free Type-safe builder patternStart free Discriminated union state machinesStart free Exhaustive pattern matchingStart free Type-safe API response handlingStart free Strict configuration objectsStart free Migrating JavaScript to TypeScriptStart free TypeScript compiler API basicsStart free
Not just a course. A learning intelligence.
Leyaa doesn't just deliver content - it understands where you are, what you need, and how to get you there fastest.
Adaptive Diagnostics
Leyaa identifies which of the 236 patterns you've mastered and which need work - before you waste time on what you already know.
Pattern-Level Precision
Every pattern gets a verdict - Learn, Practice, or Skip - so your study time goes exactly where it counts.
Intelligent Pacing
Leyaa reads your velocity across the whole course and adapts your focus list dynamically, keeping you in the optimal learning zone.
Before & After Visibility
Every assessment creates a snapshot. Retake anytime to see exactly how much you've grown - topic by topic, pattern by pattern.
Learner Autonomy
Leyaa recommends, never restricts. Override any suggestion and explore at your own pace - the system tracks everything regardless.
Clear Learning Path
Foundations → Type System Mastery → Advanced Type Engineering - a structured journey where each part sets you up perfectly for the next.
Typescript
Ready to master Typescript?
Start your journey today
Start your diagnostic now. Build mastery across all 30 topics in under 15 minutes.
30 Topics
236 Patterns
Personalized roadmap












