For desktop game development it seems better. I don't know if you can use Typescript for GUI applications without Electron or something equivalent. There are some successful modern games that were developed using haxe[0].
There are Electron applications written in Haxe too (via the JS target and Node + Electron type definitions), such as these two level editors for games:
[0] https://haxe.org/use-cases/games/