Skip to content

Glossary: TypeScript Beyond the Basics

Module augmentation

Adding to a package's types with `declare module "name"` inside a file that is a module. Combined with declaration merging, it let Alex add `phone` to `Shipment`.

Where the book teaches it

Related terms

Declaration mergingdeclare