I know it's a boring job, but copying the few 20 types you might have, from python to typescript, even if you have to maintain them once every 2 weeks, is really not much of a work compared to the plenty of struggles one'll have when things turn to be bad/the documentation you have to read to make it right/the limitations you'll have to overcome and workaround
yea im a full stack typescript dev pretty much haha so like types are shared and auto updated n shi pre much