Merging and Extension
Merging and extension refer to two different concepts related to working with types and interfaces.
Merging allows you to combine multiple declarations of the same name into a single definition, for example, when you define an interface with the same name multiple times:
Extension refers to the ability to extend or inherit from existing types or interfaces to create new ones. It is a mechanism to add additional properties or methods to an existing type without modifying its original definition. Example: