1import { DependencyClass } from './depency-file1'; 2class Animal { 3 constructor(public name: string) { 4 } 5 makeSound(): void { 6 } 7} 8class Cat extends Animal { 9 makeSound(): void { 10 } 11} 12class Dog extends Animal { 13 makeSound(): void { 14 } 15} 16const cat = new Cat('Kitty'); 17const dog = new Dog('Buddy'); 18cat.makeSound(); 19dog.makeSound(); 20let depenIns = new DependencyClass(); 21depenIns.depencyMethod1(); 22depenIns.depencyProp1; 23depenIns.depencyProp2; 24