Put in order · JavaScript and TypeScript course · Module 10: TypeScript in Practice
The Module Augmentation Process
Arrange the steps of extending a module through module augmentation:
Items to put in order
- TypeScript automatically merges the declarations
- Import the original module
- Use declare module to open the declaration
- Add new properties or methods to the interface
You can check the correct answer by solving this task in the CodeWorlds game.