This. Haxe is a more sane TS alternative in 2024.
That said Haxe has externs, enabling you to target JS/PHP and use the rich ecosystem both langauges have. The best part of externs is that IF i only use 4 things from given package, i statically KNOW i only use these 4 things, and can refactor more easily, or even build the thing i need myself.
More news about Haxe can be found here: https://haxe.io/ (the old blog is not updated AFAIK)