Don't you think it depends on the LLM provider? And when you say better, it isn't obvious what you mean since one would imagine the types on typescript would act as a feedback loop to the LLM when something is off?
Discussion
Depends on the model, yeah, for sure. I tried multiple models and the generated Python was still better in my opinion.
I donāt think it was the types: the code was objectively better structured, more maintainable, less junior level mistakes, if you catch my drift.