Typescript provides the ability for Javascript programmers to write typesafe code. Java is a typesafe language that provides a Reflection API allowing introspection of Java classes to determine type ...
if you don't like how the formatter laid out your code, you may need to introduce new functions/variables the formatter is not as clever as humans are, so it can sometimes produce less readable code ...