DEV Community

loading...

Discussion on: Factory Pattern 🏭

Collapse
shubhamzanwar profile image
Shubham Zanwar Author

Ah, good catch! You're right about the type on the interface and the type keyword as an argument. Making the changes :D