Module Augmentation
Understand how to extend or modify existing modules and libraries to better suit your project’s needs.
1
Introduction to Module Augmentation
Module augmentation allows you to extend or modify existing modules, making it possible to add custom properties or methods to libraries or modules in TypeScript.
This is especially useful when working with third-party libraries that need additional functionality or custom types.

2
What is Module Augmentation?
Module augmentation involves reopening an existing module and adding or modifying its types or functionality using the declare module syntax.
All lessons in this course
- Strict Null Checking
- Dynamic Type Creation
- Module Augmentation