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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -