Hm, I've just tested it again and although I mentioned specifically in the prompt that I was talking about Python it insisted on generating TypeScript code for me... that's bad :(