LearningTypeScript.org
LessonsPlaygroundAbout
Sign In
Lessons/intermediate/Generics
PreviousPracticeNext

Next lesson

Modules

Organize TypeScript code with ES modules. Learn named exports, default exports, type-only imports, re-exports, and barrel files.

20 min

Related lessons

  • Error HandlingLearn robust TypeScript error handling with try/catch, custom error classes, the Result pattern, and type narrowing for caught errors.
  • Utility TypesMaster TypeScript utility types like Partial, Pick, Omit, and Record. Transform existing types without repetition.
  • Type NarrowingLearn TypeScript type narrowing with typeof, instanceof, in operator, discriminated unions, and user-defined type guards.

Also learn

JavaScriptMaster JavaScript ProgrammingSQLMaster SQL & Databases

Also learn

JavaScriptMaster JavaScript ProgrammingSQLMaster SQL & Databases

A14A

Building digital products that matter.

© 2026 A14A. All rights reserved.
KVK: 87105004PrivacyTerms