Design Patterns In TypeScript — Adapter
How to allow objects with incompatible interfaces to collaborate.
3 min readOct 24, 2021
--
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.