DEV Community

Discussion on: My confusions about TypeScript

Collapse
 
kenbellows profile image
Ken Bellows

The point is that the base classes are already defined in the library I'm using, and I was only using the interface as a hack to be able to pass around the classes in the way I needed to. I understand the purpose and usefulness of interfaces as a construct, but that wasn't my situation.