If you read what I wrote you'd see that I said JavaScript/Typescript on the BACKEND is always a mistake. It is an unfortunate reality on the front end, and one that should have been replaced entirely when the web started to move towards webapps.
WASM is obviously an option these days and well, but my understanding is that it's a long way from taking over.