Design Patterns In TypeScript — Adapter

How to allow objects with incompatible interfaces to collaborate.

Cesar William Alvarenga

--

Photo made with Canva.

Adapter Pattern is a way to organize your code to use a third-party library to compose features of your application. This pattern is also helpful when you want to have a feature abstraction, but you are using a code that you do not have access to or can’t modify.

--

--