Hi LearningA, Not much of an Angular question, and more of a typescript one. Ok, an interface is a type, and only exists during developing time. This means that during runtime there is no cost left. No extra memory, and no unneeded initializations. There is for cases like this, no upside in using a class.
Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/7ee66e0c-8fd9-4303-9a75-b597fcc74988%40googlegroups.com.
