Extending and Merging Object Types An interface can inherit the property definitions of another interface with the extends keyword. interface Animal { name: string}interface Dog extends Animal { breed: string}const myHamster: Animal = { name: 'Hamtaro' }const myDog: Dog = { name: 'Darwin', breed: 'Golden Retriever' }