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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

Command prompt result in label. Python 2.7 -