So ideally I would want to have Typescript running in Golang. Is there such a possibility?
Programming in general has become a lot more abstract and standardised so with some exceptions (C/rust) you can easily use multiple languages without incurring much if any costs.
Something else you can do thats slightly unorthodox is to write in typescript then ask chatGPT to rewrite your code in golang. You still have to maintain in golang but you get do the initial implementation part in typescript.
There are many good programming languages that might work if neither Go nor Typescript individually would meet your needs.
I recommend examining the following to see if they would work better for you:
Ada: https://learn.adacore.com/courses/intro-to-ada/index.html
Elixir: https://elixir-lang.org/
Java: https://docs.oracle.com/javase/tutorial/
Rust: https://doc.rust-lang.org/book/
All of them have excellent support for concurrency and strong typing to various degrees that help you to write complex logic quickly.
But the good thing is A. Horizontal scalability is far better approach for most usecases anyway B. Nodejs is so performant youd rarely beat it with other GC languages in real applications.
Otherwise you probably want to just switch to go.
Use https://connect.build to connect them.
What is it about Go that prevents you from writing this complex logic?