loading...

re: My confusions about TypeScript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: This works, but it's rather annoying to have to reinvent the wheel this way Interfaces are not for reinventing the wheel. Your interfaces should ...
 

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.

code of conduct - report abuse