DEV Community

Discussion on: Adapter Pattern using a payment gateway as a case study.

Collapse
 
walosha profile image
Olawale Afuye • Edited

Thank you for the feedback! I have implemented an interface using typescript. I would rather not implement same interface for both ( adpater and adapte classes) to prevent a tight coupling of both classes