Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 533 Bytes

File metadata and controls

16 lines (11 loc) · 533 Bytes

SOLID Principles in TypeScript

This project demonstrates violations of the SOLID principles using TypeScript. Each folder contains:

  • A bad.ts file showing a non-SOLID implementation.
  • A good.ts file with an explanation in README.md.

Principles Covered

  1. SRP – Single Responsibility Principle
  2. OCP – Open/Closed Principle
  3. LSP – Liskov Substitution Principle
  4. ISP – Interface Segregation Principle
  5. DIP – Dependency Inversion Principle

Fork the project, improve it, and learn!