Hello,
Going through several tutorials and came a cross the following examples
"*export
class Hero*" or "*export interface User*" it seems like its interchangeable
pending who writes the tutorial. so the question is, does it matter which
format I use?
Which is the correct format if not when should the difference be applied?
*export interface User *{
email: string;
password: string;
}
*export class Hero* {
id: number;
name: string;
}
--
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 angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/angular/e2137784-52f5-41f0-b31c-7ef41fd2a6be%40googlegroups.com.