Upgrading to newer version of Unity isn't possible in the short-term. I'd open a PR, but I can't push my branch (more than happy to contribute if you'll have me). Replace line 587 in ...
This project looks interesting to me, it it possible to compile ts code into so/dylib for Android or iOS? I've an Unity game project targeting Android/iOS, with TypeScriptToLua as the scripting ...