Typescript is the best for AI along with Python. Purely because there’s so much training on it. The LLMs are better at typescript.
Also typescript is a better overall language than golang. More expressive types. Golang wins in performance and simplicity and raw ugliness.