I was just wondering about creating type.
for example:
export class UserType {
ID: number;
name: string;
userName: string;
password: string;
}
Should I be creating type for everything I pull from the database for
example if i wanted to populate a dropdown menu there there could be couple
of dropdown menu, should each category have its own type?
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.