Solid Principles in Typescript Examples of how to implement the 5 principles in JS using Typescript Single Responsibility Principle Open-Closed Principle Liskov Substitution Principle Interface Segregation Dependency Inversion Principle