Skip to content

Glossary: TypeScript Beyond the Basics

Declaration merging

Also written: merging interfaces

Two `interface` declarations with the same name combine into one that has the properties of both. This lets you add to types you don't own.

Where the book teaches it

Related terms

Module augmentation