It is way easier for me to read than what you proposed in Typescript, more characters to write? sure but how many times do I have to write a piece of code and how many times do I have to read it?
I guess ultimately it depends on which language you are more familiar with...
I guess ultimately it depends on which language you are more familiar with...