Adapter design pattern in TypeScript
Easiest way to understand adapter design pattern is to go through specific problem, and try to solve that same problem with it. Let's say that we have
Shop class that looks as shown in the picture below.
Shop class have methods for adding and remov...
danilob.hashnode.dev