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?
Dawg 's gravatar image asked Mar 11 2017 at 18:43 in Angularjs by Dawg

0 Answers