TypeScript
Intermediate
JavaScript with superpowers. Write safer, scalable code with static types, interfaces, generics and compiler tools.
Requires:JavaScript
0 / 34 lessons
Lessons
34
Complete to finish this stage
Est. time
21.8h
At a comfortable pace
Difficulty
Intermediate
For complete beginners
Why TypeScript Matters
TypeScript adds static types and tooling to JavaScript, eliminating runtime bugs before code ever reaches production.
Start learning
Stage progress0%
TypeScript lessons
34 lessons · follow them in order for best results.
TypeScript FundamentalsMaster the core foundational concepts of TypeScript: architecture, TypeScript vs JavaScript, compiler tsc, configuration, and type inference.Beginner 30 min Level 1 — BeginnerBasic TypesUnderstand every primitive and special type in TypeScript: string, number, boolean, bigint, symbol, null, undefined, any, unknown, never, and void.Beginner 30 min Level 1 — BeginnerVariables & FunctionsMaster typed variables, explicit type annotations, function parameters, return types, optional and default parameters, rest parameters, and arrow functions.Beginner 30 min Level 1 — BeginnerArrays & TuplesMaster typed collections in TypeScript: array syntax, generic arrays, readonly arrays, tuples, optional tuple elements, and rest elements.Beginner 30 min Level 1 — BeginnerObjectsMaster object modeling in TypeScript: object type annotations, optional and readonly properties, nested objects, index signatures, excess property checks, type aliases, and interfaces.Beginner 35 min Level 1 — BeginnerUnions & LiteralsMaster union types, intersection types, string/number/boolean literal types, and discriminated unions for type-safe state machines.Beginner 35 min Level 1 — BeginnerEnumsMaster TypeScript enums: numeric enums, string enums, const enums, runtime output, and modern alternatives like const objects and union literals.Beginner 30 min Level 1 — BeginnerNarrowingMaster TypeScript type narrowing: control-flow analysis, typeof, instanceof, in operator, equality and truthiness checks, and custom type predicates.Beginner 35 min Level 1 — BeginnerBasic ClassesMaster Object-Oriented Programming in TypeScript: class properties, constructors, access modifiers (public, private, protected), readonly, getters, setters, and static members.Beginner 35 min Level 1 — BeginnerTypeScript ConfigurationMaster tsconfig.json compiler settings: target, module, strict mode flags, rootDir, outDir, include/exclude, source maps, and declaration files (.d.ts).Beginner 30 min Level 1 — BeginnerBeginner ProjectsBuild 6 complete, production-ready TypeScript beginner applications: Todo App, Calculator, Expense Tracker, Quiz App, Weather App, and Product Management.Beginner 45 min Level 1 — BeginnerAdvanced TypesMaster intermediate type operations in TypeScript: keyof, typeof, indexed access, mapped types, conditional types, template literals, recursive types, and infer.Intermediate 40 min Level 2 — IntermediateGenericsMaster Generics in TypeScript: generic functions, interfaces, type aliases, classes, generic constraints with extends, default parameters, and typed API responses.Intermediate 40 min Level 2 — IntermediateUtility TypesMaster all 15 built-in TypeScript utility types: Partial, Required, Readonly, Pick, Omit, Record, Exclude, Extract, NonNullable, ReturnType, Parameters, ConstructorParameters, InstanceType, Awaited, and ThisType.Intermediate 40 min Level 2 — IntermediateFunctionsMaster advanced function techniques in TypeScript: function overloads, generic functions, higher-order functions, callback types, this typing, callable interfaces, and construct signatures.Intermediate 35 min Level 2 — IntermediateClasses & OOPMaster advanced Object-Oriented Programming in TypeScript: abstract classes, abstract methods, interface implementation, inheritance, method overriding, and generic classes.Intermediate 40 min Level 2 — IntermediateModulesMaster TypeScript module systems: ES Modules, CommonJS, named and default exports, type-only imports, path aliases, module resolution, and ambient declarations.Intermediate 35 min Level 2 — IntermediateError Handling & SafetyMaster type-safe error handling in TypeScript: unknown catch variables, custom error classes, assertion functions, type guards, exhaustive checking, and Result monad patterns.Intermediate 40 min Level 2 — IntermediateJavaScript & TypeScript IntegrationMaster migrating JavaScript codebases to TypeScript: allowJs, checkJs, JSDoc type annotations, declaration inference, and gradual adoption strategies.Intermediate 35 min Level 2 — IntermediateTypeScript with Frontend FrameworksMaster TypeScript across modern UI frameworks: React (props, hooks, events), Vue 3 (script setup, defineProps, ref), Svelte 5, form typing, and DOM event handling.Intermediate 40 min Level 2 — IntermediateAPI & Backend IntegrationMaster backend and full-stack TypeScript: typed REST APIs, request/response DTOs, Fetch & Axios clients, Express, Node.js HTTP, and Fastify type providers.Intermediate 40 min Level 2 — IntermediateTestingMaster type-safe testing in TypeScript: Vitest, Jest, type-safe mocks with vi.fn(), Mocked interfaces, testing API responses, and custom type assertions.Intermediate 35 min Level 2 — IntermediateIntermediate ProjectsBuild 7 complete intermediate TypeScript architectures: E-commerce Engine, Typed REST API Client, Admin Dashboard, Authentication System, CRUD App, and SaaS Multi-Tenant Manager.Intermediate 45 min Level 2 — IntermediateAdvanced Type SystemMaster advanced TypeScript type theory: distributive conditional types, recursive conditional evaluation, type variance (covariance/contravariance), structural typing, and branded nominal types.Advanced 45 min Level 3 — AdvancedAdvanced GenericsMaster higher-order generics, variadic tuple types, generic recursion, type-safe builder patterns, and fluent API architectures in TypeScript.Advanced 45 min Level 3 — AdvancedAdvanced Type ManipulationMaster deep type transformations: DeepPartial, DeepReadonly, DeepRequired, Key Remapping with as, Object Path types (Path<T>, Get<T, P>), and type-safe event buses.Advanced 45 min Level 3 — AdvancedDeclaration FilesMaster TypeScript declaration files (.d.ts): ambient declarations, declare module, global augmentation, declaration merging, and publishing types to npm.Advanced 40 min Level 3 — AdvancedAdvanced TypeScript ConfigurationMaster advanced tsconfig compiler flags: noUncheckedIndexedAccess, exactOptionalPropertyTypes, verbatimModuleSyntax, Project References, and incremental compilation.Advanced 40 min Level 3 — AdvancedType-Safe ArchitectureMaster enterprise-grade type-safe software architecture in TypeScript: Domain-Driven Design (DDD), DTO layers, Repository pattern, Dependency Injection, and end-to-end type safety.Advanced 45 min Level 3 — AdvancedFull-Stack TypeScriptMaster full-stack TypeScript ecosystems: Node.js, Fastify, NestJS, Next.js, Nuxt, Prisma ORM, Drizzle, tRPC, GraphQL Code Generator, and end-to-end schemas.Advanced 45 min Level 3 — AdvancedRuntime ValidationMaster schema validation in TypeScript: compile-time vs runtime types, Zod, Valibot, schema inference with z.infer, safe parsing, API payload validation, and form schemas.Advanced 40 min Level 3 — AdvancedPerformance & ToolingMaster enterprise TypeScript compiler performance: build optimization, profiling with --extendedDiagnostics, Vite, esbuild, SWC, ESLint type-aware linting, and CI pipelines.Advanced 40 min Level 3 — AdvancedLibrary DevelopmentMaster authoring and publishing type-safe TypeScript npm packages: API design, dual ESM/CJS builds with tsup, package.json exports mapping, and semantic versioning.Advanced 40 min Level 3 — AdvancedAdvanced Projects & Architecture PortfolioBuild 9 production-grade advanced TypeScript systems: Type-Safe REST Framework, Validation Engine, State Management Store, Reactive Form Library, and Design System Tokens.Advanced 50 min Level 3 — Advanced