javascript - Is there a way to group same type variable in Angular 2 Typescript component? -
this question has answer here:
is there java-like way group same type variables in component?
for example, have:
foo1: string; foo2: string; donald3: string;
is there way this?
foo1, foo2, donald3: string;
there no such syntax. gotta have include type each variable.
Comments
Post a Comment