That's the beauty of it. You need less "experience" with Rails because it curb-stomps Javascript for productivity.
Tests confirm correct results. The fact that they also confirm expected types is a free side effect.
...
> I had to fallback to using `any
What? Are you sure you worked with Java?