↧
Answer by T.J. Crowder for When to use classes vs. interfaces in a TypeScript...
(From your comment):I'm asking why they defined them as classes and not interfaces.There's overlap between type, interface, and class (you clearly know that, but I have to start somewhere :-) ), but...
View ArticleWhen to use classes vs. interfaces in a TypeScript library?
I have seen related questions like this one, but they all assume the difference between classes and interfaces are that classes can be instantiated while interfaces cannot. However, take for example...
View Article