This is a good question and I probably can go long on this one. So the vast majority of my team is very familiar with node and typescript, however, there are the obvious issues with typescript. The real appeal to this style of programming for me came from elm, I loved the idea of if it compiles, it runs, and found that to be quite true. The error messages not being this giant blob of crap was also pretty incredible. The main problem is, we are still writing typescript on the server, so can we get those guarantees on the server?
My considerations were all over the place, F#, Haskell, OCaml, Rust, Go. Basically looking to solve the whole terrible error message drag of typescript, but also have more security. The issue is now we lose isomorphism and in some cases simplicity. I run an agency so speed of development is pretty equal in importance to correctness. I also have to be able to sell my customers on the idea. F# and Go are pretty easy to sell in to enterprises at this point I think. Haskell and OCaml would be a tougher sell outside of a finance customer. All this being said, the other reason I like node is because of all the integrations with different software solutions. Lots of my customers already are integrated with 5 - 10 SaaS platforms or more and almost all of them have docs and drivers for node, ruby, python, and now sometimes go. So the appeal to rescript is totally there for the server because I get isomorphism, exceptional type safety and correctness, the ability to use the node packages from all these other services a customer may use, and way better error messaging.
The part that gives me pause was there not being a great first class server framework. It seemed silly to use rescript on the front end (since it has first class react support) and then nest on the back end, so my hope was there was some type of first class support coming or that someone had build for express or fastify etc. It seems like right now, it still might be too soon to go all in on a production project for someone outside of the front end. However the answers in this thread show me that it might be ready ready quite soon.
I don’t know if anyone else is really wrestling with this decision the same way I am though. I really like typescript, but I just feel like there is something better out there that gets me to the promised land where we can have correctness, development speed and productivity, as well as access to this amazing ecosystem.