When I wrote typescript, it was half a joke as a result of the language ranking in one of the comments.
As you said, the most important factor is the platform, not the language itself. Writing the software in a language that run well on the platform you aim for, is the right decision.