kernelsrinivas / solid_principles

typescript basic for SOLID principles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solid Principles in Typescript

typescript basic for SOLID principles

The SOLID concepts are

The Single-responsibility principle:

Every class should have only one responsibility.

The Open–closed principle:

"Entities should be open for extension, but closed for modification."

The Liskov substitution principle:

"Base classes must be able to use objects of derived classes without knowing it."

The Interface segregation principle:

"Many client-specific interfaces are better than one general-purpose interface."

The Dependency inversion principle:

"Depend upon abstractions, not concretions."

About

typescript basic for SOLID principles


Languages

Language:TypeScript 100.0%